Fix synchronization of TPP min/max priorities.
[glibc.git] / ChangeLog
blob50be79d787499ab27ba376d87fc26433158ffb51
1 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
4         Change synchronization of __sched_fifo_min_prio and
5         __sched_fifo_max_prio.
6         * nptl/pthread_mutexattr_getprioceiling.c
7         (pthread_mutexattr_getprioceiling): Likewise.
8         * nptl/pthread_mutexattr_setprioceiling.c
9         (pthread_mutexattr_setprioceiling): Likewise.
10         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
11         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
12         Likewise.
14 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
16         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
17         void.
19 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
21         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
22         third argument const.
24 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26         fnmatch: work around GCC compiler warning bug with uninit var
27         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28         This works around a bug with x86-64 GCC 4.9.2 and earlier
29         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
30         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
31         used uninitialized in this function [-Wmaybe-uninitialized]".
33 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
35         * posix/bug-regex31.c (main): Return RES not 0.
37 2014-11-25  Anton Blanchard <anton@samba.org>
39         * sysdeps/powerpc/bits/atomic.h
40         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42 2014-11-24  Sterling Augustine  <saugustine@google.com>
44         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
46 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
48         [BZ #17608]
49         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
51 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
53         [BZ #17633]
54         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
55         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
56         variable.
57         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
58         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
60 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
62         * string/strncpy.c (strncpy): Improve performance by using memset.
64 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
66         * string/strcpy.c (strcpy):
67         Improve performance by using strlen and memcpy.
69 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
71         * string/strcoll_l.c (get_next_seq): __always_inline.
72         * string/strcoll_l.c (do_compare): __always_inline.
74 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
76         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
77         defined.
78         * include/mqueue.h: Likewise.
79         * include/stdlib.h: Likewise.
81         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
82         (get_null_defines): Adjust.
83         * sunrpc/Makefile: Adjust comment.
84         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
85         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
86         (CFLAGS-interp.c): Likewise.
87         (CFLAGS-ldconfig.c): Likewise.
88         (CPPFLAGS-.os): Likewise.
89         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
90         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
91         * extra-modules.mk (extra-modules.mk): Likewise.
92         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
93         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
94         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
95         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
96         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
97         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
98         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
99         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
100         * iconvdata/Makefile (CPPFLAGS): Likewise.
101         (cpp-srcs-left): Add libof for all iconvdata routines.
102         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
103         * include/assert.h: Likewise.
104         * include/ctype.h: Likewise.
105         * include/errno.h: Likewise.
106         * include/libc-symbols.h: Likewise.
107         * include/math.h: Likewise.
108         * include/netdb.h: Likewise.
109         * include/resolv.h: Likewise.
110         * include/stdio.h: Likewise.
111         * include/stdlib.h: Likewise.
112         * include/string.h: Likewise.
113         * include/sys/stat.h: Likewise.
114         * include/wctype.h: Likewise.
115         * intl/l10nflist.c: Likewise.
116         * libidn/idn-stub.c: Likewise.
117         * libio/libioP.h: Likewise.
118         * nptl/libc_multiple_threads.c: Likewise.
119         * nptl/pthreadP.h: Likewise.
120         * posix/regex_internal.h: Likewise.
121         * resolv/res_hconf.c: Likewise.
122         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
123         * sysdeps/arm/memmove.S: Likewise.
124         * sysdeps/arm/sysdep.h: Likewise.
125         * sysdeps/generic/_itoa.h: Likewise.
126         * sysdeps/generic/symbol-hacks.h: Likewise.
127         * sysdeps/gnu/errlist.awk: Likewise.
128         * sysdeps/gnu/errlist.c: Likewise.
129         * sysdeps/i386/i586/memcpy.S: Likewise.
130         * sysdeps/i386/i586/memset.S: Likewise.
131         * sysdeps/i386/i686/memcpy.S: Likewise.
132         * sysdeps/i386/i686/memmove.S: Likewise.
133         * sysdeps/i386/i686/mempcpy.S: Likewise.
134         * sysdeps/i386/i686/memset.S: Likewise.
135         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
136         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
137         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
138         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
139         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
140         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
141         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
142         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
143         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
144         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
145         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
146         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
147         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
148         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
149         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
150         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
151         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
152         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
153         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
154         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
155         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
156         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
157         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
158         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
159         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
160         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
161         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
162         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
163         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
164         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
165         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
166         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
167         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
168         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
169         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
170         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
171         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
172         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
173         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
174         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
175         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
176         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
177         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
178         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
179         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
180         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
181         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
182         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
183         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
184         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
185         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
186         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
187         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
188         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
189         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
190         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
191         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
192         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
193         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
194         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
195         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
196         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
197         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
198         * sysdeps/nptl/bits/libc-lock.h: Likewise.
199         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
200         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
201         * sysdeps/posix/closedir.c: Likewise.
202         * sysdeps/posix/opendir.c: Likewise.
203         * sysdeps/posix/readdir.c: Likewise.
204         * sysdeps/posix/rewinddir.c: Likewise.
205         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
206         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
207         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
208         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
209         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
210         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
211         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
212         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
213         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
215         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
216         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
217         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
218         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
219         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
220         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
221         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
222         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
223         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
224         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
225         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
226         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
227         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
228         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
229         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
230         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
231         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
232         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
233         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
234         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
235         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
236         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
237         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
238         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
239         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
240         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
241         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
242         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
243         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
244         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
245         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
246         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
247         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
248         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
249         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
250         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
251         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
252         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
253         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
254         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
255         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
256         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
257         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
258         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
259         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
260         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
261         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
262         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
263         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
264         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
265         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
266         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
267         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
268         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
269         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
270         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
271         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
272         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
273         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
274         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
275         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
276         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
277         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
278         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
279         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
280         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
281         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
282         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
283         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
284         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
285         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
286         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
287         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
288         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
289         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
290         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
291         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
292         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
293         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
294         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
295         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
296         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
297         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
298         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
299         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
301         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
303         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
304         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
305         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
306         * sysdeps/unix/alpha/sysdep.S: Likewise.
307         * sysdeps/unix/alpha/sysdep.h: Likewise.
308         * sysdeps/unix/make-syscalls.sh: Likewise.
309         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
311         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
312         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
313         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
314         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
315         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
316         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
317         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
318         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
319         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
320         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
321         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
322         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
323         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
324         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
325         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
326         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
327         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
328         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
329         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
330         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
331         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
332         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
333         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
334         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
335         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
338         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
339         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
340         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
341         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
342         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
343         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
344         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
345         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
346         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
347         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
348         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
349         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
350         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
351         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
352         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
353         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
354         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
356         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
357         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
359         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
360         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
361         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
362         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
363         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
364         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
365         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
366         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
367         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
368         * sysdeps/x86_64/memcpy.S: Likewise.
369         * sysdeps/x86_64/memmove.c: Likewise.
370         * sysdeps/x86_64/memset.S: Likewise.
371         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
372         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
373         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
374         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
375         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
376         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
377         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
378         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
379         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
380         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
381         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
382         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
383         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
384         * sysdeps/x86_64/multiarch/memset.S: Likewise.
385         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
386         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
387         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
388         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
389         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
390         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
391         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
392         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
393         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
394         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
395         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
396         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
397         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
398         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
399         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
400         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
401         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
402         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
403         * sysdeps/x86_64/strcmp.S: Likewise.
405         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
407         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
408         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
409         * elf/rtld-Rules: Likewise.
410         * elf/setup-vdso.h: Likewise.
411         * include/assert.h: Likewise.
412         * include/bits/stdlib-float.h: Likewise.
413         * include/errno.h: Likewise.
414         * include/sys/stat.h: Likewise.
415         * include/unistd.h: Likewise.
416         * sysdeps/aarch64/setjmp.S: Likewise.
417         * sysdeps/alpha/setjmp.S: Likewise.
418         * sysdeps/arm/__longjmp.S: Likewise.
419         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
420         * sysdeps/arm/setjmp.S: Likewise.
421         * sysdeps/arm/sysdep.h: Likewise.
422         * sysdeps/generic/_itoa.h: Likewise.
423         * sysdeps/generic/dl-sysdep.h: Likewise.
424         * sysdeps/generic/ldsodefs.h: Likewise.
425         * sysdeps/i386/dl-tls.h: Likewise.
426         * sysdeps/i386/setjmp.S: Likewise.
427         * sysdeps/m68k/setjmp.c: Likewise.
428         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
429         * sysdeps/mach/hurd/opendir.c: Likewise.
430         * sysdeps/posix/getcwd.c: Likewise.
431         * sysdeps/posix/opendir.c: Likewise.
432         * sysdeps/posix/profil.c: Likewise.
433         * sysdeps/powerpc/dl-procinfo.h: Likewise.
434         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
435         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
436         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
437         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
438         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
439         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
440         * sysdeps/s390/dl-tls.h: Likewise.
441         * sysdeps/s390/s390-32/setjmp.S: Likewise.
442         * sysdeps/s390/s390-64/setjmp.S: Likewise.
443         * sysdeps/sh/sh3/setjmp.S: Likewise.
444         * sysdeps/sh/sh4/setjmp.S: Likewise.
445         * sysdeps/unix/alpha/sysdep.h: Likewise.
446         * sysdeps/unix/arm/sysdep.S: Likewise.
447         * sysdeps/unix/i386/sysdep.S: Likewise.
448         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
449         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
450         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
451         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
452         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
453         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
454         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
455         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
456         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
457         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
458         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
459         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
460         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
463         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
464         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
466         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
467         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
468         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
469         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
470         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
471         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
472         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
473         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
474         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
475         * sysdeps/unix/x86_64/sysdep.S: Likewise.
476         * sysdeps/x86_64/setjmp.S: Likewise.
478         * include/math.h: Use IS_IN instead of IS_IN_libm.
479         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
480         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
481         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
482         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
483         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
484         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
485         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
486         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
487         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
488         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
489         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
490         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
491         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
492         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
493         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
494         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
495         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
496         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
497         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
498         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
499         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
500         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
501         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
502         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
503         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
504         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
505         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
506         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
507         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
508         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
509         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
510         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
511         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
513         Likewise.
514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
515         Likewise.
516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
517         Likewise.
518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
519         Likewise.
520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
521         Likewise.
522         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
523         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
524         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
525         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
526         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
527         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
529         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
531         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
533         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
534         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
535         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
536         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
537         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
538         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
539         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
540         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
541         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
542         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
543         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
544         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
545         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
546         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
547         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
548         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
550         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
551         * nptl/pthreadP.h: Likewise.
552         * nptl_db/structs.def: Likewise.
553         * sysdeps/arm/sysdep.h: Likewise.
554         * sysdeps/nptl/bits/libc-lock.h: Likewise.
555         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
556         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
557         * sysdeps/unix/alpha/sysdep.h: Likewise.
558         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
559         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
560         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
561         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
562         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
563         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
564         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
565         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
566         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
567         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
568         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
569         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
570         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
571         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
574         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
575         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
576         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
577         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
578         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
579         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
580         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
581         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
582         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
583         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
585         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
586         * nptl/pthreadP.h: Likewise.
587         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
588         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
589         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
590         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
591         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
592         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
593         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
594         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
595         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
596         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
597         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
598         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
600         Likewise.
601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
602         Likewise.
603         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
604         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
605         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
606         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
607         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
608         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
609         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
610         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
612         * dlfcn/dladdr.c: Use IS_IN.
613         * dlfcn/dladdr1.c: Likewise.
614         * dlfcn/dlclose.c: Likewise.
615         * dlfcn/dlerror.c: Likewise.
616         * dlfcn/dlinfo.c: Likewise.
617         * dlfcn/dlmopen.c: Likewise.
618         * dlfcn/dlopen.c: Likewise.
619         * dlfcn/dlsym.c: Likewise.
620         * dlfcn/dlvsym.c: Likewise.
622         * include/ifaddrs.h: Use IS_IN.
623         * inet/check_pf.c: Likewise.
624         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
625         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
627         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
628         IS_IN_ldconfig.
629         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
630         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
632         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
633         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
634         IS_IN (libc).
636         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
638         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
639         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
640         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
641         * include/libc-symbols.h (IS_IN_LIB): New macro.
642         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
643         * include/netdb.h: Likewise.
644         * include/stap-probe.h: Remove all uses of IN_LIB.
646         * Makeconfig (module-cppflags-real): Define MODULE_NAME
647         instead of IN_MODULE.
648         * include/libc-symbols.h (IN_MODULE): Define using
649         MODULE_NAME.
650         (PASTE_NAME, PASTE_NAME1): New macros.
651         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
652         of IN_LIB.
653         (STAP_PROBE_ASM): Likewise.
655 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
657         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
658         __mach_init in dlopened libc.
660 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
662         * sysdeps/arm/preconfigure.ac: Delete EABI check.
663         * sysdeps/arm/preconfigure: Regenerate.
665 2014-11-21  Roland McGrath  <roland@hack.frob.com>
667         * nptl/pthread_create.c (__pthread_create_2_1): Set
668         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
669         when copying values from IATTR into PD.
671 2014-11-21  Will Newton  <will.newton@linaro.org>
672             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
674         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
675         Refactor inline-asm.  Also add comment.
677         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
678         ElfW macro instead of hardcoded Elf64 types.
679         (la_aarch64_gnu_pltenter): Likewise.
680         * sysdeps/aarch64/dl-machine.h
681         (elf_machine_runtime_setup): Use ElfW(Addr).
683         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
684         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
685         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
686         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
687         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
688         (R_AARCH64_TLS_DTPMOD64): Rename to ..
689         (R_AARCH64_TLS_DTPMOD): This.
690         (R_AARCH64_TLS_DTPREL64): Rename to ...
691         (R_AARCH64_TLS_DTPREL): This.
692         (R_AARCH64_TLS_TPREL64): Rename to ...
693         (R_AARCH64_TLS_TPREL): This.
694         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
695         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
696         R_AARCH64_TLS_TPREL64.
697         (elf_machine_rela): Likewise.
699 2014-11-21  Torvald Riegel  <triegel@redhat.com>
701         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
702         by setting it to 0.  64b atomics are not supported currently.
704 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
706         [BZ #16469]
707         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
708         search domain names.
710 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
712         [BZ #16469]
713         * NEWS: Update.
714         * resolv/res_query.c (__libc_res_nquerydomain): Retain
715         trailing dot.
716         * posix/tst-getaddrinfo5.c: New.
717         * posix/Makefile (tests): Add it.
719 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
721         [BZ #14498]
722         * NEWS: Fixed.
723         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
724         after parsing line but before break_if_match.
725         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
726         if there is a protocol mismatch.
728 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
730         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
731         because the potential race is on the user-supplied stream.
733 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
735         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
736         string literal if not passed a buffer.
737         * manual/job.texi (ctermid): Update reasoning, note deviation
738         from posix, suggest mtasurace when not passed a buffer, for
739         future non-preliminary safety notes.
741 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
743         * manual/users.texi (cuserid): Fix MT-Safety note for the case
744         of not passing it a buffer.
745         Reported by Peng Haitao.
747 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
749         * manual/Makefile ($(objpfx)stamp-summary): Require
750         check-safety.sh to pass.
751         * manual/check-safety.sh: Wish for verification that every
752         @deftypefn and @deftypefun is followed by a @safety remark.
754 2014-11-20  Roland McGrath  <roland@hack.frob.com>
756         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
758         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
759         PTHREAD_CANCEL_ASYNCHRONOUS.
760         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
761         send SIGCANCEL.
763         * nptl/default-sched.h: New file.
764         * sysdeps/unix/sysv/linux/default-sched.h: New file.
765         * nptl/pthread_create.c: Include it.
766         (__pthread_create_2_1): Use collect_default_sched instead of making
767         Linux syscalls here directly.
769 2014-11-20  Torvald Riegel  <triegel@redhat.com>
771         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
772         __pthread_once): Use C11 atomics.
774 2014-11-20  Torvald Riegel  <triegel@redhat.com>
776         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
778 2014-11-20  Torvald Riegel  <triegel@redhat.com>
780         * include/atomic.h (__atomic_link_error, __atomic_check_size,
781         atomic_thread_fence_acquire, atomic_thread_fence_release,
782         atomic_thread_fence_seq_cst, atomic_load_relaxed,
783         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
784         atomic_compare_exchange_weak_relaxed,
785         atomic_compare_exchange_weak_acquire,
786         atomic_compare_exchange_weak_release,
787         atomic_exchange_acquire, atomic_exchange_release,
788         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
789         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
790         atomic_fetch_and_acquire,
791         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
793 2014-11-20  Torvald Riegel  <triegel@redhat.com>
795         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
796         USE_ATOMIC_COMPILER_BUILTINS): Define.
797         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
798         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
799         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
800         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
801         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
802         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
803         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
804         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
805         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
806         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
807         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
808         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
809         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
810         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
811         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
812         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
813         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
814         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
815         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
816         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
817         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
818         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
819         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
820         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
821         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
822         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
823         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
824         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
825         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
826         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
827         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
828         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
829         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
830         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
831         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
832         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
833         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
834         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
835         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
836         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
838 2014-11-19  Roland McGrath  <roland@hack.frob.com>
840         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
841         the sched_priority value here.  It was already checked when the user
842         called pthread_attr_setschedparam.
844         * nptl/tst-bad-schedattr.c: New file.
845         * nptl/Makefile (tests): Add it.
847 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
848             Florian Weimer  <fweimer@redhat.com>
849             Joseph Myers  <joseph@codesourcery.com>
850             Adam Conrad  <adconrad@0c3.net>
851             Andreas Schwab  <schwab@suse.de>
852             Brooks  <bmoses@google.com>
854         [BZ #17625]
855         * wordexp-test.c (__dso_handle): Add prototype.
856         (__register_atfork): Likewise.
857         (__app_register_atfork): New function.
858         (registered_forks): New global.
859         (register_fork): New function.
860         (test_case): Add 3 new tests for WRDE_CMDSUB.
861         (main): Call __app_register_atfork.
862         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
863         fork count is non-zero fail the test.
864         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
865         is set.
866         (parse_dollars): Remove check for WRDE_NOCMD.
867         (parse_dquote): Likewise.
869 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
871         * Makeconfig (built-modules): List non-library modules to be
872         built.
873         (module-cppflags): Include libc-modules.h for
874         everything except shlib-versions.v.i.
875         (CPPFLAGS): Use it.
876         (before-compile): Add libc-modules.h.
877         ($(common-objpfx)libc-modules.h,
878         $(common-objpfx)libc-modules.stmp): New targets.
879         (common-generated): Add libc-modules.h and libc-modules.stmp.
880         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
881         * include/libc-symbols.h: Don't include libc-modules.h.
882         * include/libc-modules.h: Remove file.
883         * scripts/gen-libc-modules.awk: New script to generate
884         libc-modules.h.
885         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
886         Depend on libc-modules.stmp.
888         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
890         * Makeconfig (in-module): Get value of libof set for the
891         translation unit.
892         (CPPFLAGS): Use $(in-module).
893         * Makerules: Don't suffix routine names for nonlib.
894         * include/libc-modules.h: New file.
895         * include/libc-symbols.h: Include libc-modules.h
896         (IS_IN): New macro to replace IS_IN_* macros.
897         * elf/Makefile: Set libof-* for each routine.
898         * elf/rtld-Rules: Likewise.
899         * extra-modules.mk: Likewise.
900         * iconv/Makefile: Likewise.
901         * iconvdata/Makefile: Likewise.
902         * locale/Makefile: Likewise.
903         * malloc/Makefile: Likewise.
904         * nss/Makefile: Likewise.
905         * sysdeps/gnu/Makefile: Likewise.
906         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
907         * sysdeps/unix/sysv/linux/Makefile: Likewise.
908         * sysdeps/s390/s390-64/Makefile: Likewise.
909         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
910         CPPFLAGS for nscd instead of nonlib.
912 2014-11-18  Roland McGrath  <roland@hack.frob.com>
914         * nptl/createthread.c: New file.
916         * nptl/createthread.c: Moved ...
917         * sysdeps/unix/sysv/linux/createthread.c: ... here.
919         * nptl/createthread.c: Add proper top-line comment.
920         (do_clone): Folded into ...
921         (create_thread): ... here.  Take new arguments STOPPED_START and
922         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
923         increment __nptl_threads, do event-reporting logic, do
924         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
925         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
926         resource cleanup if sched_setaffinity or sched_setscheduler fails,
927         just send SIGCANCEL.
928         * nptl/pthread_create.c: Forward-declare create_thread before
929         including createthread.c.
930         (start_thread): Use new macro START_THREAD_DEFN to replace defining
931         declaration, and new macro START_THREAD_SELF to replace argument.
932         Remove return statement.
933         (report_thread_creation): New function.
934         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
935         synchronization logic, and __nptl_nthreads increment here, around
936         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
937         PD->parent_cancelhandling here, before create_thread.  When
938         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
939         __deallocate_stack, and ENOMEM translation here.
941 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
943         [BZ #17616]
944         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
945         (mptwo): Rename to __mptwo.
946         (__inv): Use __mptwo instead of mptwo.
947         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
948         (mptwo): Rename to __mptwo.
949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
950         of mpone and __mptwo instead of mptwo.
951         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
952         instead of mpone.
953         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
954         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
955         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
956         of mpone and __mptwo instead of mptwo.
957         (__mpranred): Use __mpone instead of mpone.
958         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
959         variable.
960         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
961         (test-xfail-ISO99/math.h/linknamespace): Likewise.
962         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
963         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
964         (test-xfail-ISO11/math.h/linknamespace): Likewise.
965         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
966         (test-xfail-XPG3/math.h/linknamespace): Likewise.
967         (test-xfail-XPG4/math.h/linknamespace): Likewise.
968         (test-xfail-POSIX/math.h/linknamespace): Likewise.
969         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
970         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
971         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
972         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
973         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
974         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
975         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
976         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
977         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
978         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
980 2014-11-18  Tom de Vries  <tom@codesoucery.com>
982         * manual/signal.texi (Primitives Interrupted by Signals): In section,
983         replace BSD Handler xref with BSD Signal Handling.
985 2014-11-17  Richard Henderson  <rth@redhat.com>
987         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
988         (_FP_PACK_RAW_2): Remove.
989         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
990         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
991         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
992         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
993         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
994         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
995         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
996         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
997         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
998         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
999         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1000         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1001         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1002         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1003         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1004         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1006 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1008         * signal/signal.h [__USE_MISC]
1009         (struct sigvec): Remove type.
1010         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1011         (sigvec): Remove declaration.
1012         * sysdeps/posix/sigvec.c: Moved ...
1013         * signal/sigvec.c: ... here, replacing old file.
1014         (struct sigvec): New type, copied from old signal.h definition.
1015         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1016         (__sigvec): Convert definition to prototype.
1017         (sigvec): Replace weak_alias with compat_symbol.
1018         * signal/Versions (libc: GLIBC_2.21): New version set.
1019         * include/signal.h: Remove __sigvec declaration.
1020         * sysdeps/unix/bsd/sigvec.c: Remove file.
1021         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1022         * manual/signal.texi (BSD Handler): Remove subsection.
1023         Move siginterrupt up to ...
1024         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1025         (Blocking in BSD): Fold subsection into its parent.
1026         * NEWS: Mention sigvec removal.
1028 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1030         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1031         (DLA_FMS): Make definition conditional only on [__FMA4__].
1032         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1033         definition.
1035         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1036         Make definition conditional only on [PROF].
1037         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1038         definition.
1039         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1040         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1042         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1043         !__GNUC__].
1044         * include/signal.h (__sigpause): Move declaration above call to
1045         libc_hidden_proto.
1046         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1047         variable.
1048         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1049         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1051 2014-11-14  David S. Miller  <davem@davemloft.net>
1053         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1054         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1056 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1058         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1059         * configure: Regenerated.
1060         * manual/install.texi (Tools for Compilation): Document a
1061         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1062         compiler verified to work.
1063         * INSTALL: Regenerated.
1065         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1066         redeclare with asm name.
1067         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1068         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1069         including <string.h>.
1070         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1071         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1072         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1073         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1074         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1075         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1076         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1078 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1080         * stdlib/strtol.c (__strtol): Use prototype definition.
1082         [BZ #17594]
1083         * stdlib/strtol.c (SYM__): New macro.
1084         (SYM__1): Likewise.
1085         (__strtol): Likewise.
1086         (strtol): Rename to __strtol and define as weak alias of
1087         __strtol.  Use libc_hidden_weak.
1089 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1091         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1092         Use numbered labels in inline assembly.
1094 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1096         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1097         Add setjmp LIBC_PROBE.
1098         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1099         Likewise.
1100         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1101         Add longjmp, longjmp_target LIBC_PROBE.
1102         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1103         Likewise.
1105 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1107         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1108         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1109         to get rid of unused variable warning.
1111 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1113         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1114         Check for unwind_backtrace ==  NULL only in SHARED case.
1115         (__backchain_backtrace): Compile only in SHARED case.
1116         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1117         Likewise.
1118         (__backchain_backtrace): Declare as static.
1120 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1122         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1123         (__libc_multiple_threads_ptr): Variable moved ...
1124         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1126 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1128         * conform/GlibcConform.pm: New file.
1129         * conform/conformtest.pl: Use GlibcConform module.
1130         * conform/linknamespace.pl: New file.
1131         * conform/list-header-symbols.pl: Likewise.
1132         * conform/Makefile (linknamespace-symlists-base): New variable.
1133         (linknamespace-symlists-tests): Likewise.
1134         (linknamespace-header-base): Likewise.
1135         (linknamespace-header-tests): Likewise.
1136         (tests-special): Add new tests.
1137         ($(linknamespace-symlists-tests)): New rule.
1138         (linknamespace-libs): New variable.
1139         ($(objpfx)symlist-stdlibs): New rule.
1140         ($(linknamespace-header-tests)): Likewise.
1141         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1142         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1143         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1144         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1145         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1146         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1147         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1148         (test-xfail-ISO/math.h/linknamespace): Likewise.
1149         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1150         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1151         (test-xfail-ISO/time.h/linknamespace): Likewise.
1152         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1153         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1154         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1155         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1156         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1157         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1158         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1159         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1160         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1161         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1162         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1163         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1164         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1165         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1166         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1167         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1168         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1169         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1170         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1171         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1172         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1173         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1174         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1175         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1176         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1177         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1178         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1179         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1180         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1181         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1182         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1183         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1184         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1185         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1186         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1187         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1188         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1189         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1190         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1191         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1192         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1193         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1194         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1195         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1196         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1197         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1198         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1199         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1200         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1201         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1202         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1203         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1204         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1205         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1206         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1207         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1208         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1209         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1210         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1211         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1212         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1213         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1214         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1215         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1216         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1217         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1218         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1219         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1220         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1221         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1222         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1223         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1224         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1225         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1226         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1227         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1228         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1229         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1230         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1231         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1232         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1233         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1234         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1235         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1236         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1237         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1238         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1239         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1240         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1241         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1242         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1243         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1244         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1245         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1246         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1247         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1248         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1249         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1250         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1251         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1252         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1253         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1254         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1255         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1256         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1257         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1258         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1259         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1260         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1261         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1262         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1263         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1264         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1265         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1266         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1267         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1268         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1269         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1270         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1271         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1272         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1273         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1274         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1275         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1276         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1277         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1278         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1279         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1280         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1281         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1282         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1283         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1284         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1285         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1286         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1287         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1288         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1289         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1290         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1291         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1292         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1293         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1294         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1295         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1296         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1297         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1298         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1299         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1300         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1301         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1303         [BZ #17589]
1304         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1305         of fgets_unlocked.
1307         [BZ #17585]
1308         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1309         (memmem): Rename to __memmem and define as weak alias of
1310         __memmem.  Use libc_hidden_weak.
1311         (__memmem): Use libc_hidden_def.
1312         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1313         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1314         memmem.
1316         [BZ #17582]
1317         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1318         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1319         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1320         and define as weak alias of __fgets_unlocked.  Use
1321         libc_hidden_weak.
1322         (__fgets_unlocked): Use libc_hidden_def.
1323         * include/stdio.h (__fgets_unlocked): Declare.  Use
1324         libc_hidden_proto.
1325         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1326         __fgets_unlocked instead of fgets_unlocked.
1327         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1328         (GET_NPROCS_CONF_PARSER): Likewise.
1329         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1330         (GET_NPROCS_CONF_PARSER): Likewise.
1332         [BZ #17574]
1333         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1334         weak alias of __wmemset.  Use libc_hidden_weak.
1335         (__wmemset): Use libc_hidden_def.
1336         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1337         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1338         of wmemset.
1340         [BZ #17573]
1341         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1342         with asm name __mempcpy.
1343         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1345         [BZ #17572]
1346         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1347         and define as weak alias of __rawmemchr.
1348         (__rawmemchr): Do not define as strong alias of rawmemchr.
1350         [BZ #17571]
1351         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1352         alias of __qsort_r.
1353         (qsort): Call __qsort_r instead of qsort_r.
1354         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1355         (__qsort_r): Declare.  Call libc_hidden_proto.
1356         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1357         instead of qsort_r.
1358         * nscd/gai.c (__qsort_r): Define to qsort_r.
1359         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1360         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1361         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1363         [BZ #17570]
1364         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1365         define as weak alias of __malloc_info.
1367         [BZ #17584]
1368         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1369         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1370         (__rewinddir): Use libc_hidden_def.
1371         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1372         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1373         (__rewinddir): Use libc_hidden_def.
1374         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1375         weak alias of __rewinddir.  Don't use libc_hidden_def.
1376         (__rewinddir): Use libc_hidden_def.
1377         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1378         (__rewinddir): Use libc_hidden_proto.
1379         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1380         rewinddir.
1381         (__getcwd): Use __rewinddir instead of rewinddir.
1383         [BZ #17583]
1384         * libio/fileno.c (fileno): Rename to __fileno and define as weak
1385         alias of __fileno.  Use libc_hidden_weak.
1386         (__fileno): Use libc_hidden_def.
1387         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1388         * libio/ftello.c (ftello): Rename to __ftello and define as weak
1389         alias of __ftello.
1390         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1391         __ftello.
1392         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1393         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
1394         libc_hidden_def.
1395         (fread_unlocked): Don't use libc_hidden_ver.
1396         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1397         and define as weak alias of __fread_unlocked.  Don't use
1398         libc_hidden_def.
1399         (__fread_unlocked): Use libc_hidden_def.
1400         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
1401         (ftello): Don't use libc_hidden_proto.
1402         (__ftello): Declare.  Use libc_hidden_proto.
1403         (fread_unlocked): Don't use libc_hidden_proto.
1404         (__fread_unlocked): Declare.  Use libc_hidden_proto.
1405         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1406         and __ftello instead of fileno, fread_unlocked and ftello.
1408 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1410         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1411         GOT12.
1412         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1413         Likewise.
1414         (_dl_start_user): Likewise.
1415         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1417 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
1418             Siddhesh Poyarekar  <siddhesh@redhat.com>
1420         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1421         Move argv and envp down instead of moving argc up.
1422         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1424 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
1426         [BZ #17506]
1427         * test-skeleton.c (main): Return successful if one of
1428         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1429         * string/tst-strcoll-overflow.c: Define expected status.
1431 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
1433         [BZ #17475]
1434         * locale/iso-639.def: Define Bhili and Tulu language codes.
1436 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
1438         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1440 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
1442         [BZ #17555]
1443         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1445 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1447         * configure.ac: Updated check of minimal required version to
1448         2.22.
1449         * manual/install.texi (Tools for Compilation): Updated version
1450         number.
1451         * configure: Regenerated.
1452         * INSTALL: Likewise.
1454 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
1456         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1457         __tls_get_addr.
1459 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
1461         * include/sys/wait.h (__libc_waitpid): Remove declaration.
1462         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1463         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1464         libc_hidden_weak.
1465         (waitpid): Define as alias of __waitpid.
1466         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1467         __waitpid.
1468         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1469         libc_hidden_weak.
1470         (waitpid): Define as alias of __waitpid.
1471         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1472         __libc_waitpid alias.
1473         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1474         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1475         Likewise.
1476         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1477         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1478         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1479         alias.
1480         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1481         __waitpid.
1482         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1483         libc_hidden_weak.
1484         (waitpid): Define as alias of __waitpid.
1486 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
1488         * manual/llio.texi: Add comment that write safety has been
1489         fixed in Linux.
1491         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1492         (localplt-build-dso): Add elf/ld.so.
1493         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1494         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1495         and free for ld.so.
1496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1497         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1499         Likewise.
1500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1501         Likewise.
1502         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1503         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1504         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1505         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1506         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1507         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1508         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1509         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1510         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1511         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1512         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1514 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
1516         [BZ #14132]
1517         * include/libc-symbols.h (INTUSE): Remove macro.
1518         (INTDEF): Likewise.
1519         (INTVARDEF): Likewise.
1520         (_INTVARDEF): Likewise.
1521         (INTDEF2): Likewise.
1522         (INTVARDEF2): Likewise.
1523         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1524         rtld_hidden_def instead of INTVARDEF.
1525         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1526         (_dl_starting_up_internal): Remove declaration.
1527         (_dl_starting_up): Use rtld_hidden_proto.
1528         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1529         declaration.
1530         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1531         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1532         _dl_starting_up.
1533         * elf/dl-writev.h (_dl_writev): Likewise.
1534         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1535         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1536         _dl_starting_up_internal.
1538 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1540         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1541         test-skeleton.c.
1543 2014-11-05  Will Newton  <will.newton@linaro.org>
1545         * benchtests/Makefile: (bench-malloc): Add malloc thread
1546         scalability benchmark.
1547         * benchtests/bench-malloc-threads.c: New file.
1549 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
1551         * sysdeps/aarch64/strchrnul.S: New file.
1553 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1555         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1556         definition.
1557         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1558         Likwise.
1559         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1560         Likewise.
1561         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1562         Likewise.
1563         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1564         Likewise.
1565         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1566         Likewise.
1568 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
1570         * catgets/test-gencat.c: Use test-skeleton.c.
1571         * catgets/tst-catgets.c: Likewise.
1572         * csu/tst-empty.c: Likewise.
1573         * elf/tst-audit2.c: Likewise.
1574         * elf/tst-global1.c: Likewise.
1575         * elf/tst-pathopt.c: Likewise.
1576         * elf/tst-piemod1.c: Likewise.
1577         * elf/tst-tls10.c: Likewise.
1578         * elf/tst-tls11.c: Likewise.
1579         * elf/tst-tls12.c: Likewise.
1580         * gnulib/tst-gcc.c: Likewise.
1581         * iconvdata/tst-e2big.c: Likewise.
1582         * iconvdata/tst-loading.c: Likewise.
1583         * iconv/tst-iconv1.c: Likewise.
1584         * iconv/tst-iconv2.c: Likewise.
1585         * inet/test-inet6_opt.c: Likewise.
1586         * inet/tst-gethnm.c: Likewise.
1587         * inet/tst-network.c: Likewise.
1588         * inet/tst-ntoa.c: Likewise.
1589         * intl/tst-codeset.c: Likewise.
1590         * intl/tst-gettext2.c: Likewise.
1591         * intl/tst-gettext3.c: Likewise.
1592         * intl/tst-ngettext.c: Likewise.
1593         * intl/tst-translit.c: Likewise.
1594         * io/test-stat.c: Likewise.
1595         * libio/test-fmemopen.c: Likewise.
1596         * libio/tst-freopen.c: Likewise.
1597         * libio/tst-sscanf.c: Likewise.
1598         * libio/tst-ungetwc1.c: Likewise.
1599         * libio/tst-ungetwc2.c: Likewise.
1600         * libio/tst-widetext.c: Likewise.
1601         * localedata/tst-ctype.c: Likewise.
1602         * localedata/tst-digits.c: Likewise.
1603         * localedata/tst-leaks.c: Likewise.
1604         * localedata/tst-mbswcs1.c: Likewise.
1605         * localedata/tst-mbswcs2.c: Likewise.
1606         * localedata/tst-mbswcs3.c: Likewise.
1607         * localedata/tst-mbswcs4.c: Likewise.
1608         * localedata/tst-mbswcs5.c: Likewise.
1609         * localedata/tst-setlocale.c: Likewise.
1610         * localedata/tst-trans.c: Likewise.
1611         * localedata/tst-wctype.c: Likewise.
1612         * localedata/tst-xlocale1.c: Likewise.
1613         * login/tst-grantpt.c: Likewise.
1614         * malloc/tst-calloc.c: Likewise.
1615         * malloc/tst-malloc.c: Likewise.
1616         * malloc/tst-mallocstate.c: Likewise.
1617         * malloc/tst-mcheck.c: Likewise.
1618         * malloc/tst-mtrace.c: Likewise.
1619         * malloc/tst-obstack.c: Likewise.
1620         * math/atest-exp2.c: Likewise.
1621         * math/atest-exp.c: Likewise.
1622         * math/atest-sincos.c: Likewise.
1623         * math/test-matherr.c: Likewise.
1624         * math/test-misc.c: Likewise.
1625         * math/test-powl.c: Likewise.
1626         * math/tst-definitions.c: Likewise.
1627         * misc/tst-dirname.c: Likewise.
1628         * misc/tst-efgcvt.c: Likewise.
1629         * misc/tst-fdset.c: Likewise.
1630         * misc/tst-hsearch.c: Likewise.
1631         * misc/tst-mntent2.c: Likewise.
1632         * nptl/tst-sem7.c: Likewise.
1633         * nptl/tst-sem8.c: Likewise.
1634         * nptl/tst-sem9.c: Likewise.
1635         * nss/test-netdb.c: Likewise.
1636         * posix/tst-fnmatch.c: Likewise.
1637         * posix/tst-getlogin.c: Likewise.
1638         * posix/tst-gnuglob.c: Likewise.
1639         * posix/tst-mmap.c: Likewise.
1640         * pwd/tst-getpw.c: Likewise.
1641         * resolv/tst-inet_ntop.c: Likewise.
1642         * rt/tst-timer.c: Likewise.
1643         * stdio-common/test-fseek.c: Likewise.
1644         * stdio-common/test-popen.c: Likewise.
1645         * stdio-common/test-vfprintf.c: Likewise.
1646         * stdio-common/tst-cookie.c: Likewise.
1647         * stdio-common/tst-fileno.c: Likewise.
1648         * stdio-common/tst-gets.c: Likewise.
1649         * stdio-common/tst-obprintf.c: Likewise.
1650         * stdio-common/tst-perror.c: Likewise.
1651         * stdio-common/tst-sprintf2.c: Likewise.
1652         * stdio-common/tst-sprintf3.c: Likewise.
1653         * stdio-common/tst-sprintf.c: Likewise.
1654         * stdio-common/tst-swprintf.c: Likewise.
1655         * stdio-common/tst-tmpnam.c: Likewise.
1656         * stdio-common/tst-unbputc.c: Likewise.
1657         * stdio-common/tst-wc-printf.c: Likewise.
1658         * stdlib/tst-environ.c: Likewise.
1659         * stdlib/tst-fmtmsg.c: Likewise.
1660         * stdlib/tst-limits.c: Likewise.
1661         * stdlib/tst-rand48-2.c: Likewise.
1662         * stdlib/tst-rand48.c: Likewise.
1663         * stdlib/tst-random2.c: Likewise.
1664         * stdlib/tst-random.c: Likewise.
1665         * stdlib/tst-strtol.c: Likewise.
1666         * stdlib/tst-strtoll.c: Likewise.
1667         * stdlib/tst-tls-atexit.c: Likewise.
1668         * stdlib/tst-xpg-basename.c: Likewise.
1669         * string/test-ffs.c: Likewise.
1670         * string/tst-bswap.c: Likewise.
1671         * string/tst-inlcall.c: Likewise.
1672         * string/tst-strtok.c: Likewise.
1673         * string/tst-strxfrm.c: Likewise.
1674         * sysdeps/x86_64/tst-audit10.c: Likewise.
1675         * sysdeps/x86_64/tst-audit3.c: Likewise.
1676         * sysdeps/x86_64/tst-audit4.c: Likewise.
1677         * sysdeps/x86_64/tst-audit5.c: Likewise.
1678         * time/tst-ftime_l.c: Likewise.
1679         * time/tst-getdate.c: Likewise.
1680         * time/tst-mktime3.c: Likewise.
1681         * time/tst-mktime.c: Likewise.
1682         * time/tst-posixtz.c: Likewise.
1683         * time/tst-strptime2.c: Likewise.
1684         * time/tst-strptime3.c: Likewise.
1685         * wcsmbs/tst-btowc.c: Likewise.
1686         * wcsmbs/tst-mbrtowc.c: Likewise.
1687         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1688         * wcsmbs/tst-wchar-h.c: Likewise.
1689         * wcsmbs/tst-wcpncpy.c: Likewise.
1690         * wcsmbs/tst-wcrtomb.c: Likewise.
1691         * wcsmbs/tst-wcsnlen.c: Likewise.
1692         * wcsmbs/tst-wcstof.c: Likewise.
1694 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1696         [BZ #14132]
1697         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1698         INTDEF.
1699         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1700         declaration.
1701         (_dl_mcount): Use rtld_hidden_proto.
1702         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1703         _dl_mcount.
1704         * elf/rtld.c (_rtld_global_ro): Likewise.
1706         [BZ #14132]
1707         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1708         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1709         of _dl_init_internal.
1710         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1711         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1712         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1713         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1714         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1715         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1716         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1717         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1718         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1719         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1720         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1721         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1722         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1723         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1724         * sysdeps/tile/dl-start.S (_start): Likewise.
1725         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1726         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1728         [BZ #14132]
1729         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1730         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1731         (rtld_progname): Make macro definition unconditional.
1732         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1733         INTDEF.
1734         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1735         (dl_main): Likewise.
1736         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1737         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1738         instead of _dl_argv_internal.
1739         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1740         __GI__dl_argv instead of INTUSE(_dl_argv).
1741         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1742         __GI__dl_argv instead of _dl_argv_internal.
1744         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1745         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1746         macro.
1747         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1748         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1749         New macro.
1750         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1751         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1752         macro.
1753         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1754         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1756 2014-11-04  Andreas Schwab  <schwab@suse.de>
1758         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1760 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1762         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1763         mtvsrd instruction in binary form.
1765 2014-11-03  Andreas Schwab  <schwab@suse.de>
1767         [BZ #17522]
1768         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1769         for less than MB_LEN_MAX use a local buffer of that size.
1770         * libio/tst-fputws.c: New file.
1771         * libio/Makefile (tests): Add tst-fputws.
1773 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1775         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1776         the size of the fpu_fr.fpu_dregs[] array.
1778 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1780         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1781         (__nanosleep): Do not define as alias.
1782         (nanosleep): Define as alias of __nanosleep.
1783         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1784         __libc_nanosleep name.
1786 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1788         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1789         install.texi in comment.
1791 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1793         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1794         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1795         ... add here and use lwsync or sync ...
1796         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1797         ... and add here using lwsync.
1799 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1801         * elf/dl-machine-reject-phdr.h: New file.
1802         * elf/dl-load.c: #include that.
1803         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1804         if that returned true.
1806 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1808         [BZ #17496]
1809         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1810         gen-as-const-headers chunk.  Add a big scare comment after the last
1811         safe place to touch before-compile.
1813 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1815         * manual/install.texi (Tools for Compilation): Update autoconf
1816         version requirements.
1817         * INSTALL: Regenerated.
1819         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1820         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1821         (__libc_pselect): Likewise.
1823         [BZ #14138]
1824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1829 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1831         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1832         correct barrier instruction.
1833         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1834         Likewise.
1835         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1836         Likewise.
1838 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1840         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1841         after defining inlines.  Instead, just use parens to defeat macro
1842         expansion of __isctype in its declaration.
1844 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1846         * include/sys/uio.h (__libc_readv): Remove declaration.
1847         (__libc_writev): Likewise.
1848         * misc/readv.c (__libc_readv): Rename to __readv.
1849         (__readv): Do not define as alias.
1850         (readv): Define as alias of __readv.
1851         * misc/writev.c (__libc_writev): Rename to __writev.
1852         (__writev): Do not define as alias.
1853         (writev): Define as alias of __writev.
1854         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1855         (__readv): Do not define as alias.
1856         (readv): Define unconditionally as alias of __readv.
1857         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1858         (__writev): Do not define as alias.
1859         (writev): Define unconditionally as alias of __writev.
1860         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1861         name.
1862         (writev): Do not define __libc_writev name.
1864 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1866         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1867         (convert_charseq): New function, broken out of ...
1868         (use_from_charmap): ... here.  Call it.
1869         (use_to_charmap): Use convert_charseq and free instead of duplicating
1870         its code with a variable-length stack struct.
1872 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1874         * include/fcntl.h (__libc_creat): Remove declaration.
1875         * io/creat.c (__libc_creat): Rename to creat.
1876         (creat): Do not define as alias.
1877         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1878         of creat instead of __libc_creat.
1879         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1880         to creat.
1881         (creat): Do not define as alias.
1882         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1883         __libc_creat.
1884         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1885         __libc_creat name.
1886         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1887         Likewise.
1889 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1891         * manual/llio.texi: Add comments discussing why write() may be
1892         considered MT-unsafe on Linux.
1894 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1896         * dl-load.c (local_strdup): Remove.
1897         (expand_dynamic_string_token): Use __strdup.
1898         (decompose_rpath): Likewise.
1899         (_dl_map_object): Likewise.
1901 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1903         [BZ #14132]
1904         * sysdeps/generic/unwind-dw2-fde.c
1905         (__register_frame_info_bases_internal): Do not declare.
1906         (__register_frame_info_table_bases_internal): Likewise.
1907         (__deregister_frame_info_bases_internal): Likewise.
1908         (__register_frame_info_bases): Declare and use hidden_proto before
1909         definition.  Use hidden_def instead of INTDEF.
1910         (__register_frame_info_table_bases): Likewise.
1911         (__deregister_frame_info_bases): Likewise.
1912         (__register_frame_info): Do not use INTUSE.
1913         (__register_frame): Likewise.
1914         (__register_frame_info_table): Likewise.
1915         (__register_frame_table): Likewise.
1916         (__deregister_frame_info): Likewise.
1917         (__deregister_frame): Likewise.
1919 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1921         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1922         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1923         not undefine.
1924         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1925         Likewise.
1926         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1927         Likewise.
1929 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1931         [BZ #14138]
1932         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1933         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1934         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1935         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1936         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1937         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1938         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1939         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1940         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1941         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1942         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1943         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1944         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1945         syscall.
1946         (setfsuid): Likewise.
1947         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1948         (setfsuid): Likewise.
1949         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1950         (setfsuid): Likewise.
1951         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1952         Likewise.
1953         (setfsuid): Likewise.
1954         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1955         (setfsuid): Likewise.
1956         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1957         Likewise.
1958         (setfsuid): Likewise.
1960 2014-10-27  Andreas Schwab  <schwab@suse.de>
1962         [BZ #17501]
1963         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1964         check for Slow_SSE4_2 feature bit.
1965         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1966         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1967         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1968         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1970 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1972         * configure.ac: Validate compiler version with a empirical test of
1973         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1974         $CC -v output.
1975         * configure: Regenerated.
1977         * inet/htons.c (htons): Prototypify.
1978         * inet/htonl.c (htonl): Likewise.
1980 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1982         * string/strncat.c (strncat): Improve performance by using strlen.
1984 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1986         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
1988 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1990         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
1991         Call libc_fetestexcept_aarch64.
1993 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
1995         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
1996         Call libc_feholdexcept_aarch64.
1998 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2000         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2001         Call get_rounding_mode.
2003 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2005         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2006         Simplify logic.
2008 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2010         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2011         Simplify logic.
2013 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2015         [BZ #14138]
2016         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2017         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2018         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2019         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2020         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2021         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2022         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2023         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2024         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2025         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2026         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2027         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2028         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2029         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2030         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2031         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2032         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2033         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2034         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2035         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2036         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2037         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2038         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2039         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2040         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2041         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2042         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2043         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2044         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2045         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2046         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2047         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2048         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2049         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2050         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2051         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2052         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2053         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2054         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2055         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2056         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2057         syscall.
2058         (geteuid): Likewise.
2059         (getgid): Likewise.
2060         (getuid): Likewise.
2061         (getresgid): Likewise.
2062         (getresuid): Likewise.
2063         (getgroups): Likewise.
2064         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2065         (geteuid): Likewise.
2066         (getgid): Likewise.
2067         (getuid): Likewise.
2068         (getresgid): Likewise.
2069         (getresuid): Likewise.
2070         (getgroups): Likewise.
2071         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2072         (geteuid): Likewise.
2073         (getgid): Likewise.
2074         (getuid): Likewise.
2075         (getresgid): Likewise.
2076         (getresuid): Likewise.
2077         (getgroups): Likewise.
2078         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2079         Likewise.
2080         (geteuid): Likewise.
2081         (getgid): Likewise.
2082         (getuid): Likewise.
2083         (getresgid): Likewise.
2084         (getresuid): Likewise.
2085         (getgroups): Likewise.
2086         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2087         (geteuid): Likewise.
2088         (getgid): Likewise.
2089         (getuid): Likewise.
2090         (getresgid): Likewise.
2091         (getresuid): Likewise.
2092         (getgroups): Likewise.
2093         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2094         Likewise.
2095         (geteuid): Likewise.
2096         (getgid): Likewise.
2097         (getuid): Likewise.
2098         (getgroups): Likewise.
2100         [BZ #14138]
2101         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2102         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2103         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2104         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2105         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2106         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2107         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2108         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2109         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2110         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2111         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2112         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2113         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2114         __chown.
2115         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2116         (lchown): Likewise.
2117         (fchown): Likewise.
2118         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2119         Likewise.
2120         (lchown): Likewise.
2121         (fchown): Likewise.
2122         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2123         (lchown): Likewise.
2124         (fchown): Likewise.
2125         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2126         Likewise.
2127         (lchown): Likewise.
2128         (fchown): Likewise.
2130 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2132         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2133         Simplify logic.
2135 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2137         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2138         Cleanup logic.
2140 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2142         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2143         Remove unused include.
2145 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2147         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2148         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2149         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2150         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2152 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2153             Helge Deller <deller@gmx.de>
2155         [BZ #17508]
2156         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2157         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2158         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2160 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2162         [BZ #14132]
2163         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2164         Remove macro definition.
2165         (__ashrdi3_v_glibc20): Likewise.
2166         (__lshrdi3_v_glibc20): Likewise.
2167         (__cmpdi2_v_glibc20): Likewise.
2168         (__ucmpdi2_v_glibc20): Likewise.
2169         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2170         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2171         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2172         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2173         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2174         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2176 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2178         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2179         old GNU extension [0] syntax.
2180         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2181         alloca rather than an array member with variable length.
2182         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2183         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2184         (parse_opt): ... here.  Likewise use alloca there.
2185         Validate the -i argument before checking for rootness.
2186         (send_shutdown): New function, broken out of ...
2187         (parse_opt): ... here.
2189 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2191         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2192         macro to get at the _rt_local_ro field.
2193         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2194         ([PIC] case) or _dl_hwcap ([!PIC] case).
2195         * sysdeps/arm/setjmp.S: Likewise.
2197         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2198         * sysdeps/arm/configure.ac: New check to define it.
2199         * sysdeps/arm/configure: Regenerated.
2200         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2201         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2202         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2203         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2204         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2205         Use move/movt pair instead of a load.
2206         (LDST_GLOBAL): Macro removed.
2207         (LDR_GLOBAL): New macro replaces it.
2208         (LDR_HIDDEN): New macro.
2209         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2210         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2212         * setjmp/tst-setjmp-static.c: New file.
2213         * setjmp/Makefile (tests): Add it.
2214         (tests-static): New variable.
2216 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2218         [BZ #17485]
2219         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2221 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2223         [BZ #14132]
2224         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2226 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2228         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2230 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2232         * io/fts.c (dirent_not_directory): New function.
2233         (fts_build): Call it.
2235 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2237         * nptl/version.c (__nptl_main): Use normal __write rather than
2238         INTERNAL_SYSCALL.
2239         (banner): Update copyright years.
2241         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2242         gettimeofday.
2243         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2244         * nptl/pthread_cond_timedwait.c: Likewise.
2245         * nptl/pthread_mutex_timedlock.c: Likewise.
2246         * nptl/sem_timedwait.c: Likewise.
2248         * sysdeps/nptl/bits/libc-lock.h
2249         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2250         (__libc_lock_init_recursive): Return void, not 0.
2251         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2252         (__libc_rwlock_init): Likewise.
2253         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2255 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2257         [BZ #15215]
2258         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2259         (__pthread_once_slow): ... here.
2260         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2261         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2263 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2265         [BZ #15215]
2266         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2267         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2268         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2269         * nptl/pthread_once.c (__pthread_once): Likewise.
2270         Update comments.
2272 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2274         [BZ #14138]
2275         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2276         name.
2277         (writev): Use __libc_writev as strong name.
2278         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2279         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2281 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2283         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2285         * sysdeps/i386/nptl/tls.h
2286         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2287         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2288         New macros.
2289         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2290         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2291         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2292         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2293         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2294         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2296         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2297         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2298         on [__NR_futex].
2299         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2300         broken out of ...
2301         (__pthread_mutex_init): ... here.  Call it.
2302         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2303         Conditionalize PI cases on [__NR_futex].
2304         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2305         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2306         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2308         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2309         conditional on [SIGSETXID].
2310         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2311         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2312         is defined.  Likewise for SIGSETXID.
2313         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2314         Conditionalize definitions on [SIGSETXID].
2315         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2316         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2317         unblocking on [SIGCANCEL].
2319         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2320         [__NR_set_robust_list].
2322 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2324         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2325         (do_compare): Likewise.
2327 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2329         [BZ #15884]
2330         * string/strcoll_l.c: Don't include stdio.h.
2331         (coll_seq): Remove members idxarr and rulearr.
2332         (get_next_seq_cached): Remove function.
2333         (get_next_seq): Likewise.
2334         (get_next_seq_nocache): Rename to get_next_seq.
2335         (do_compare): Remove function.
2336         (do_compare_nocache): Rename to do_compare.
2337         (STRCOLL): Remove weight and rules cache.
2339 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2341         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2342         * sysdeps/arm/sfp-machine.h: ... to here.
2343         * sysdeps/arm/Implies: Remove arm/soft-fp.
2345 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2347         * conform/data/sys/utsname.h-data (*_t): Allow.
2348         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2349         [POSIX] (WEXITED): Do not expect constant.
2350         [POSIX] (WSTOPPED): Likewise.
2351         [POSIX] (WNOHANG): Likewise.
2352         [POSIX] (WNOWAIT): Likewise.
2353         [POSIX] (siginfo_t): Do not expect type or elements.
2354         [POSIX] (pid_t): Do not expect type.
2355         [POSIX] (signal.h): Do not allow header.
2356         [POSIX] (sys/resource.h): Likewise.
2357         [POSIX] (si_*): Do not allow pattern.
2358         [POSIX] (W*): Likewise.
2359         [POSIX] (P_*): Likewise.
2360         [POSIX] (BUS_*): Likewise.
2361         [POSIX] (CLD_*): Likewise.
2362         [POSIX] (FPE_*): Likewise.
2363         [POSIX] (ILL_*): Likewise.
2364         [POSIX] (POLL_*): Likewise.
2365         [POSIX] (SEGV_*): Likewise.
2366         [POSIX] (SI_*): Likewise.
2367         [POSIX] (TRAP_*): Likewise.
2368         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2369         variable.
2371 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2373         [BZ #12926]
2374         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2375         infinite loop when __recvmsg returns 0.
2377 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
2379         * CANCEL-FCT-WAIVE: Remove file.
2380         * CANCEL-FILE-WAIVE: Likewise.
2382         [BZ #14132]
2383         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2384         instead of INTVARDEF.
2385         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2386         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2387         rtld_hidden_data_def instead of INTVARDEF.
2388         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2389         * elf/dl-deps.c (expand_dst): Likewise.
2390         * elf/dl-load.c (_dl_dst_count): Likewise.
2391         (_dl_dst_substitute): Likewise.
2392         (decompose_rpath): Likewise.
2393         (_dl_init_paths): Likewise.
2394         (open_path): Likewise.
2395         (_dl_map_object): Likewise.
2396         * elf/rtld.c (dl_main): Likewise.
2397         (process_dl_audit): Likewise.
2398         (process_envvars): Likewise.
2399         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2400         Remove declaration.
2401         (__libc_enable_secure): Use rtld_hidden_proto.
2403 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2405         * elf/dl-load.c
2406         (add_path): New function broken out of _dl_rtld_di_serinfo.
2407         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
2409 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2411         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2412         parentheses around macro arguments.
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         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2431         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2432         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2433         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2434         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2435         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2436         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2437         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2438         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2439         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2440         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2441         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2442         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2443         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2444         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2445         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2446         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2447         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2448         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2449         Likewise.
2450         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2451         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2453         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2454         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2455         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2456         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2457         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2458         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2459         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2460         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2461         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2462         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2463         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2464         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2465         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2466         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2467         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2468         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2469         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2470         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2471         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2472         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2473         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2474         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2475         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2476         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2477         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2478         (_FP_FRAC_SRS_1): Likewise.
2479         (_FP_FRAC_CLZ_1): Likewise.
2480         (_FP_MUL_MEAT_1_imm): Likewise.
2481         (_FP_MUL_MEAT_1_wide): Likewise.
2482         (_FP_MUL_MEAT_1_hard): Likewise.
2483         (_FP_SQRT_MEAT_1): Likewise.
2484         (_FP_FRAC_ASSEMBLE_1): Likewise.
2485         (_FP_FRAC_DISASSEMBLE_1): Likewise.
2486         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2487         (__FP_CLZ_2): Likewise.
2488         (_FP_MUL_MEAT_2_wide): Likewise.
2489         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2490         (_FP_MUL_MEAT_2_gmp): Likewise.
2491         (_FP_MUL_MEAT_2_120_240_double): Likewise.
2492         (_FP_SQRT_MEAT_2): Likewise.
2493         (_FP_FRAC_ASSEMBLE_2): Likewise.
2494         (_FP_FRAC_DISASSEMBLE_2): Likewise.
2495         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2496         (_FP_FRAC_CLZ_4): Likewise.
2497         (_FP_MUL_MEAT_4_wide): Likewise.
2498         (_FP_MUL_MEAT_4_gmp): Likewise.
2499         (_FP_SQRT_MEAT_4): Likewise.
2500         (_FP_FRAC_ASSEMBLE_4): Likewise.
2501         (_FP_FRAC_DISASSEMBLE_4): Likewise.
2502         * soft-fp/op-common.h (_FP_CMP): Likewise.
2503         (_FP_CMP_EQ): Likewise.
2504         (_FP_CMP_UNORD): Likewise.
2505         (_FP_TO_INT): Likewise.
2506         (_FP_FROM_INT): Likewise.
2507         [!__FP_CLZ] (__FP_CLZ): Likewise.
2508         (_FP_DIV_HELP_imm): Likewise.
2509         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2510         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         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2529         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2530         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2531         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2532         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2533         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2534         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2535         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2536         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2537         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2538         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2539         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2540         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2541         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2542         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2543         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2544         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2545         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2546         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2547         (FP_UNPACK_RAW_SP): Likewise.
2548         (FP_PACK_RAW_S): Likewise.
2549         (FP_PACK_RAW_SP): Likewise.
2550         (FP_UNPACK_S): Likewise.
2551         (FP_UNPACK_SP): Likewise.
2552         (FP_UNPACK_SEMIRAW_S): Likewise.
2553         (FP_UNPACK_SEMIRAW_SP): Likewise.
2554         (FP_PACK_S): Likewise.
2555         (FP_PACK_SP): Likewise.
2556         (FP_PACK_SEMIRAW_S): Likewise.
2557         (FP_PACK_SEMIRAW_SP): Likewise.
2558         (_FP_SQRT_MEAT_S): Likewise.
2559         (FP_CMP_S): Likewise.
2560         (FP_CMP_EQ_S): Likewise.
2561         (FP_CMP_UNORD_S): Likewise.
2562         (FP_TO_INT_S): Likewise.
2563         (FP_FROM_INT_S): Likewise.
2565         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2567         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2568         (FP_EX_INVALID_IMZ): Likewise.
2569         (FP_EX_INVALID_IMZ_FMA): Likewise.
2570         (FP_EX_INVALID_ISI): Likewise.
2571         (FP_EX_INVALID_ZDZ): Likewise.
2572         (FP_EX_INVALID_IDI): Likewise.
2573         (FP_EX_INVALID_SQRT): Likewise.
2574         (FP_EX_INVALID_CVI): Likewise.
2575         (FP_EX_INVALID_VC): Likewise.
2576         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2577         "invalid" exceptions.
2578         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2579         (_FP_ADD_INTERNAL): Likewise.
2580         (_FP_MUL): Likewise.
2581         (_FP_FMA): Likewise.
2582         (_FP_DIV): Likewise.
2583         (_FP_CMP_CHECK_NAN): Likewise.
2584         (_FP_SQRT): Likewise.
2585         (_FP_TO_INT): Likewise.
2586         (FP_EXTEND): Likewise.
2588 2014-10-09  Allan McRae  <allan@archlinux.org>
2590         * po/fr.po: Update French translation from translation project.
2592 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2594         [BZ #14132]
2595         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2596         of INTDEF.
2597         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2598         (__cxa_atexit): Use libc_hidden_proto.
2599         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2601         [BZ #14132]
2602         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2603         declaration.
2604         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2605         [!_ISOMAC] (__iswspace_l_internal): Likewise.
2606         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2607         [!_ISOMAC] (__iswctype_internal): Likewise.
2608         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2609         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2610         alias.
2611         (fcntl): Remove __fcntl_internal alias.
2612         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2613         __connect_internal alias.
2614         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2615         Likewise.
2617         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2618         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2619         FP_DENORM_ZERO.
2620         (_FP_CHECK_FLUSH_ZERO): New macro.
2621         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2622         (_FP_CMP): Likewise.
2623         (_FP_CMP_EQ): Likewise.
2624         (_FP_TO_INT): Do not set inexact for subnormal arguments if
2625         FP_DENORM_ZERO.
2626         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2627         (FP_TRUNC): Likewise.
2629         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2630         treated as invalid conversion, not as normal exponent.
2632         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2633         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
2634         (_FP_CMP_EQ): Likewise.
2635         (_FP_CMP_UNORD): Likewise.
2636         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2637         (FP_CMP_EQ_D): Likewise.
2638         (FP_CMP_UNORD_D): Likewise.
2639         * soft-fp/extended.h (FP_CMP_E): Likewise.
2640         (FP_CMP_EQ_E): Likewise.
2641         (FP_CMP_UNORD_E): Likewise.
2642         * soft-fp/quad.h (FP_CMP_Q): Likewise.
2643         (FP_CMP_EQ_Q): Likewise.
2644         (FP_CMP_UNORD_Q): Likewise.
2645         * soft-fp/single.h (FP_CMP_S): Likewise.
2646         (FP_CMP_EQ_S): Likewise.
2647         (FP_CMP_UNORD_S): Likewise.
2648         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2649         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2650         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2651         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2652         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2653         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2654         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2655         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2656         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2657         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2658         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2659         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2660         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2661         to FP_CMP_Q.
2662         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2663         FP_CMP_Q.
2664         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2665         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2666         FP_CMP_EQ_Q.
2667         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2668         FP_CMP_Q.
2669         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2670         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2671         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2672         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2673         FP_CMP_EQ_Q.
2674         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2675         FP_CMP_Q.
2676         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2677         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2678         FP_CMP_EQ_Q.
2679         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2680         FP_CMP_Q.
2681         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2682         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2683         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2684         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2685         FP_CMP_EQ_Q.
2687         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2688         a subnormal result, set the underflow exception if trapping on
2689         underflow is enabled.
2690         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2691         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2692         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2693         redefine to 0.
2694         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2695         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2696         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2697         * soft-fp/extendxftf2.c (__extendxftf2): Use
2698         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2700         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2701         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2702         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2703         FP_HANDLE_EXCEPTIONS.
2704         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2705         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2706         FP_HANDLE_EXCEPTIONS.
2707         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2708         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2709         FP_HANDLE_EXCEPTIONS.
2710         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2711         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2712         FP_HANDLE_EXCEPTIONS.
2714 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2716         [BZ #14132]
2717         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2718         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2719         use INTUSE.
2720         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2721         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2722         Remove alias.
2723         (__adjtimex): Define using libc_hidden_ver.
2724         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2725         Remove declaration.
2726         (ntp_gettime): Call __adjtimex directly.
2727         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2728         Remove declaration.
2729         (ntp_gettimex): Call __adjtimex directly.
2730         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2731         __adjtimex_internal alias.
2733 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2735         [BZ #17460]
2736         * nscd/nscd.c (more_help): Rewrite list of tables collection
2737         using xstrdup and asprintf.
2739         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2741 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2742             Roland McGrath  <roland@hack.frob.com>
2744         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2745         (do_lookup_unique): ... local function 'enter' here; update callers.
2747 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2749         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2750         compat_symbol calls on [SHARED].
2751         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2752         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2753         Remove.
2754         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2755         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2756         (oldsetrlimit): Remove.
2757         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2759         (lchown): New syscall entry.
2760         (oldsetrlimit): Remove.
2761         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2762         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2763         (oldsetrlimit): Remove.
2764         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2766         [BZ #14138]
2767         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2768         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2769         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2770         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2771         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2772         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2773         (fchown): Likewise.
2774         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2775         (fchown): Likewise.
2776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2777         Likewise.
2779 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2781         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2782         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2783         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2784         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2785         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2786         Likewise.
2787         (__old_sem_post): Likewise.
2789 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2791         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2792         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2793         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2794         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2795         Use INLINE_VSYSCALL macro.
2796         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2797         __vdso_clock_gettime.
2798         * sysdeps/unix/sysv/linux/tile/init-first.c
2799         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2800         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2801         __vdso_clock_gettime.
2803         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2804         to set up frame more cleanly.
2806         * sysdeps/tile/memcmp.c: New file.
2808         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2810         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2811         * sysdeps/tile/tilegx/strcasestr.c: New file.
2812         * sysdeps/tile/tilegx/strnlen.c: New file.
2813         * sysdeps/tile/tilegx/strstr.c: New file.
2815         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2817 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2819         * nptl/tst-setuid3.c: Write errors to stdout.
2821 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2823         * elf/dl-deps.c
2824         (preload): New functions broken out of _dl_map_object_deps.
2825         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2827 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2829         [BZ #14138]
2830         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2831         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2833 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2835         * sysdeps/mips/strcmp.S: New.
2837 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2839         [BZ #14138]
2840         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2841         (linkat): Likewise.
2842         (mkdirat): Likewise.
2843         (readlinkat): Likewise.
2844         (renameat): Likewise.
2845         (symlinkat): Likewise.
2846         (unlinkat): Likewise.
2847         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2848         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2849         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2850         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2851         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2852         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2853         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2855 2014-09-30  Will Newton  <will.newton@linaro.org>
2857         * math/math.h: Define long double math functions if
2858         _LIBC_TEST is defined.
2859         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2861         * localedata/Makefile: Move assignment to tests-special
2862         into an ifdef testing run-built-tests.
2863         * timezone/Makefile: Likewise.
2865 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2867         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2868         with $(BASH) not $(SHELL).
2870 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2871             Matthew LeGendre  <legendre1@llnl.gov>
2873         [BZ #17411]
2874         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2875         l_reloc_result.
2877 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2879         * stdio-common/printf_fp.c
2880         (hack_digit): New function, broken out of ...
2881         (__printf_fp): ... local function here.  Update call sites.
2882         hack_digit now takes an additional parameter that is a pointer
2883         to a struct of the referenced locals.  Those locals moved inside
2884         the struct and references updated.
2886 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2888         * aclocal.m4: Require autoconf 2.69.
2889         * configure: Regenerated.
2890         * sysdeps/aarch64/configure: Likewise.
2891         * sysdeps/alpha/configure: Likewise.
2892         * sysdeps/arm/armv7/configure: Likewise.
2893         * sysdeps/arm/configure: Likewise.
2894         * sysdeps/ia64/configure: Likewise.
2895         * sysdeps/mach/configure: Likewise.
2896         * sysdeps/mips/configure: Likewise.
2897         * sysdeps/s390/configure: Likewise.
2898         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2901         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2902         file.
2903         * sysdeps/ia64/configure.ac: Likewise.
2905 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2908         specify symbol version for ld.so.  Do not include entry for
2909         libpthread.
2910         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2911         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2912         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2914         [BZ #14171]
2915         * Makeconfig [$(build-shared) = yes]
2916         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2917         makefiles.
2918         [$(build-shared) = yes && $(soversions.mk-done) = t]
2919         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2920         [$(build-shared) = yes && $(soversions.mk-done) = t]
2921         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2922         to Makerules.
2923         [$(build-shared) = yes && $(soversions.mk-done) = t]
2924         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2925         here.
2926         [$(build-shared) = yes && $(soversions.mk-done) = t]
2927         (common-generated): Don't append gnu/lib-names.h and
2928         gnu/lib-names.stmp here.
2929         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2930         (lib-names-h-abi): New variable.
2931         [$(build-shared) = yes && $(soversions.mk-done) = t]
2932         (lib-names-stmp-abi): Likewise.
2933         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2934         abi-variants] (before-compile): Append
2935         $(common-objpfx)$(lib-names-h-abi).
2936         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2937         abi-variants] (common-generated): Append gnu/lib-names.h.
2938         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2939         abi-variants] (install-others-nosubdir): Depend on
2940         $(inst_includedir)/$(lib-names-h-abi).
2941         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2942         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2943         [$(build-shared) = yes && $(soversions.mk-done) = t]
2944         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2945         [$(build-shared) = yes && $(soversions.mk-done) = t]
2946         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2947         [$(build-shared) = yes && $(soversions.mk-done) = t]
2948         (common-generated): Append $(lib-names-h-abi) and
2949         $(lib-names-stmp-abi).
2950         * scripts/lib-names.awk: Do not handle multi being set.
2951         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2952         Remove variable.
2953         (abi-lp64_be-ld-soname): Likewise.
2954         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2955         Likewise.
2956         (abi-hard-ld-soname): Likewise.
2957         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2958         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2959         Remove variable.
2960         (abi-o32_hard-ld-soname): Likewise.
2961         (abi-o32_soft_2008-ld-soname): Likewise.
2962         (abi-o32_hard_2008-ld-soname): Likewise.
2963         (abi-n32_soft-ld-soname): Likewise.
2964         (abi-n32_hard-ld-soname): Likewise.
2965         (abi-n32_soft_2008-ld-soname): Likewise.
2966         (abi-n32_hard_2008-ld-soname): Likewise.
2967         (abi-n64_soft-ld-soname): Likewise.
2968         (abi-n64_hard-ld-soname): Likewise.
2969         (abi-n64_soft_2008-ld-soname): Likewise.
2970         (abi-n64_hard_2008-ld-soname): Likewise.
2971         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2972         Likewise.
2973         (abi-64-v2-ld-soname): Likewise.
2974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2975         ld.so entries.
2976         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
2977         variable.
2978         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
2979         entry.
2980         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
2981         variable.
2982         (abi-64-ld-soname): Likewise.
2983         (abi-x32-ld-soname): Likewise.
2984         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
2985         entry.
2986         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2988 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
2990         [BZ #14138]
2991         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
2992         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
2993         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
2994         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
2995         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
2996         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
2997         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
2998         syscall entry for GLIBC_2.2 symbol version.
2999         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3000         Likewise.
3001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3002         (setrlimit): Likewise.
3003         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3004         Likewise.
3006 2014-09-23  Will Newton  <will.newton@linaro.org>
3008         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3009         _LINUX_ARM_SYSDEP_H include guard too.
3010         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3011         define.
3013 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3015         * sysdeps/unix/sysv/linux/eventfd.c:
3016         Make first argument unsigned.
3017         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3018         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3020 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3022         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3023         * socket/sys/socket.h: Likewise
3024         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3026 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3028         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3030 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3032         * time/tst-ftime.c: New test.
3033         * time/Makefile (tests): Add tst-ftime.
3035 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3037         * soft-fp/extended.h: Fix comment formatting.
3038         * soft-fp/op-1.h: Likewise.
3039         * soft-fp/op-2.h: Likewise.
3040         * soft-fp/op-4.h: Likewise.
3041         * soft-fp/op-8.h: Likewise.
3042         * soft-fp/op-common.h: Likewise.
3043         * soft-fp/soft-fp.h: Likewise.
3045         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3047 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3049         [BZ #6652]
3050         * Makeconfig (soversions-default-setname): Remove variable.
3051         ($(common-objpfx)soversions.i): Don't pass default_setname to
3052         soversions.awk.
3053         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3054         oldest_abi to abi-versions.awk.
3055         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3056         * config.make.in (oldest-abi): Remove variable.
3057         * configure.ac (--enable-oldest-abi): Remove configure option.
3058         * configure: Regenerated.
3059         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3060         text.
3061         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3062         * scripts/soversions.awk: Do not handle default_setname variable.
3063         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3064         variable.
3065         * sysdeps/mach/hurd/configure: Regenerated.
3066         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3067         variable.
3068         * sysdeps/unix/sysv/linux/configure: Regenerated.
3070 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3072         * elf/Makefile (CFLAGS-interp.c): Remove.
3073         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3074         path string.
3075         * elf/interp.c: Include generated runtime-linker.h
3077         * Makerules (lib%.so): Don't include $(+interp) in
3078         prerequisites.
3079         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3080         * dlfcn/eval.c: Remove file.
3082         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3083         macros.
3085         [BZ #17266]
3086         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3087         4.2 and newer.
3089         [BZ #17370]
3090         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3092 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3093             Jakub Jelinek  <jakub@redhat.com>
3095         [BZ #17266]
3096         * libio/stdio.h: Check definition of __fortify_function
3097         instead of __extern_always_inline to include bits/stdio2.h.
3098         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3099         check if __extern_always_inline is defined.
3100         [__USE_MISC || __USE_XOPEN]: Likewise.
3101         [__USE_ISOC99] Likewise.
3102         * misc/sys/cdefs.h (__fortify_function): Define only if
3103         __extern_always_inline is defined.
3104         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3105         __extern_always_inline and __extern_inline only for g++-4.3
3106         and newer or a compatible gcc.
3108 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3110         [BZ #17371]
3111         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3112         last change to handle zero prefix length.
3114 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3116         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3117         _SC_REGEX_VERSION.
3119         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3120         _POSIX_RAW_SOCKETS.
3122 2014-09-13  Allan McRae  <allan@archlinux.org>
3124         * po/ru.po: Update Russian translation from translation project.
3126 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3128         * locale/programs/locale.c (show_locale_vars): Inline local function
3129         into its sole call site.  Clean up some style nits.
3130         (print_item): New function, broken out of ...
3131         (show_info): ... local function here.  Clean up style nits.
3133         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3134         out of ...
3135         (set_class_defaults): ... local function set_default here.
3136         Define set_default as a macro locally to pass constant parameters.
3137         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3138         rather than a shared local.
3140         * stdlib/rpmatch.c (try): New function, broken out of ...
3141         (rpmatch): ... local function here.  Also, prototypify definition.
3143 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3145         * scripts/soversions.awk: Do not handle configuration names.
3146         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3147         vendor and os variables to soversions.awk.
3148         * configure.ac: Do not modify gnu-* host_os.
3149         * configure: Regenerated
3150         * shlib-versions: Remove first column with configuration names.
3151         * nptl/shlib-versions: Likewise.
3152         * nptl_db/shlib-versions: Likewise.
3153         * sysdeps/hppa/shlib-versions: Likewise.
3154         * sysdeps/m68k/shlib-versions: Likewise.
3155         * sysdeps/mach/hurd/shlib-versions: Likewise.
3156         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3157         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3158         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3159         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3160         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3161         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3162         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3163         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3165         Likewise.
3166         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3167         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3168         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3169         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3170         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3171         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3172         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3173         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3176         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3178         Regenerated.
3179         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3181         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3183         * shlib-versions: Remove OS-specific entries.  Moved to files in
3184         sysdeps.
3185         * sysdeps/mach/hurd/shlib-versions: New file.
3186         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3188         * nptl/shlib-versions: Remove architecture-specific entries.
3189         Moved to files in sysdeps.
3190         * shlib-versions: Likewise.
3191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3192         file.
3193         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3194         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3195         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3196         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3198         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3199         (UDP_NO_CHECK6_RX): Likewise.
3201 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3203         * sysdeps/posix/sysconf.c (__sysconf): Spell
3204         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3206 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3208         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3209         loading.
3210         * iconv/Versions (__gconv_transliterate): Export for use from
3211         gconv modules.
3212         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3213         (struct __gconv_trans_data, __gconv_trans_fct,
3214         __gconv_trans_context_fct, __gconv_trans_query_fct,
3215         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3216         definitions.
3217         (struct __gconv_step_data): Remove __trans member.
3218         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3219         longer hidden.  Remove unused trans_data argument.
3220         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3221         (__gconv_translit_find): Remove declaration.
3222         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3223         prototype.
3224         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3225         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3226         trans_data argument.  Add hidden definition.
3227         (__gconv_translit_find): Remove.
3228         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3229         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3230         * iconv/skeleton.c: Remove transliteration initialization.
3231         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3232         __gconv_step_data initialization.
3233         * libio/iofwide.c (__libio_translit_): Remove.
3234         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3235         * wcsmbs/btowc.c (__btowc): Likewise.
3236         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3237         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3238         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3239         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3240         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3241         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3242         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3243         * wcsmbs/wctob.c (wctob): Likewise.
3245 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3247         [BZ #16194]
3248         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3249         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3250         register usage.
3251         * sysdeps/x86/Makefile: Adjust.
3253 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3254             Roland McGrath  <roland@hack.frob.com>
3256         * locale/weight.h: Add include guard.
3257         (findidx): Make static rather than auto; take new parameters
3258         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3259         * locale/weightwc.h: Likewise.
3260         * posix/fnmatch_loop.c
3261         (FCT): Change type of EXTRA from int32_t to wint_t.
3262         Don't include either header inside the function.
3263         Call FINDIDX rather than findidx, and pass new arguments.
3264         #undef FINDIDX at the end of the file.
3265         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3266         FINDIDX before including fnmatch_loop.c for the non-wide version.
3267         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3268         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3269         for the wide version.
3270         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3271         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3272         Pass new arguments to findidx.
3273         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3274         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3275         Don't #include it inside the function.  Pass new arguments to findidx.
3276         * posix/regex_internal.h
3277         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3278         (re_string_elem_size_at): Don't #include it inside the function.
3279         Pass new arguments to findidx.
3280         * string/strcoll_l.c: #include WEIGHT_H at top level.
3281         (get_next_seq): Don't #include it inside the function.
3282         Pass new arguments to findidx.
3283         (get_next_seq_nocache): Likewise.
3284         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3285         (STRXFRM): Don't #include it inside the function.
3286         Pass new arguments to findidx.
3288 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3290         [BZ #17344]
3291         * malloc/malloc.c (unlink): Turn asserts into a call to
3292         malloc_printerr.
3294 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3296         [BZ #17370]
3297         * libio/wfileops (do_ftell_wide): Free OUT.
3299 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3301         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3303 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3305         [BZ #17363]
3306         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3307         group if the current group is empty.
3309 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3311         * benchtests/bench-memset.c (test_main): Add more test from size
3312         from 32 to 512 bytes.
3313         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3314         Add POWER8 memset object.
3315         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3316         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3317         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3318         implementation.
3319         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3320         Likewise.
3321         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3322         multiarch POWER8 memset optimization.
3323         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3324         POWER8 memset optimization.
3326         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3327         Remove bzero multiarch objects.
3328         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3329         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3330         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3331         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3332         Remove define.
3333         [__bzero]: Redefine to specific name.
3334         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3335         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3336         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3337         define.
3338         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3339         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3341 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3343         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3344         warnings into errors.
3346         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3347         __cxa_thread_atexit_impl prototype.
3349 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3351         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3352         Fix capitalization of error message.
3354 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3356         * sysdeps/mips/preconfigure: Modify ABI tests.
3358 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3360         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3362 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3363             Carlos O'Donell  <carlos@systemhalted.org>
3365         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3366         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3367         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3368         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3369         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3370         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3371         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3372         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3373         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3374         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3375         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3376         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3377         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3378         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3379         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3380         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3381         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3382         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3383         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3384         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3385         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3386         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3387         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3388         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3389         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3390         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3391         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3392         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3393         Deconditionalize the code that was previously under [RESET_PID].
3394         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3395         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3396         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3397         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3398         include sysdep.h.
3400 2014-09-08  Allan McRae  <allan@archlinux.org>
3402         * version.h (RELEASE): Set to "development".
3403         (VERSION): Set to "2.20.90"
3405 2014-09-07  Allan McRae  <allan@archlinux.org
3407         * version.h (RELEASE): Set to "stable".
3408         (VERSION): Set to "2.20"
3409         * include/features.h (__GLIBC_MINOR__): Set to 20.
3411         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3412         Liebler.
3414         * po/ko.po: Update Korean translation from translation project.
3416 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
3418         [BZ #17354]
3419         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3420         macro for handling signed relocations.
3422 2014-09-03  Florian Weimer  <fweimer@redhat.com>
3424         [BZ #17325]
3425         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3426         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3427         assert.
3428         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3429         * iconvdata/ibm935.c (BODY): Likewise.
3430         * iconvdata/ibm937.c (BODY): Likewise.
3431         * iconvdata/ibm939.c (BODY): Likewise.
3432         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3433         assert.
3434         * iconvdata/Makefile (iconv-test.out): Pass module list to test
3435         script.
3436         * iconvdata/run-iconv-test.sh: New test loop for checking for
3437         decoder crashers.
3439 2014-09-02  Khem Raj  <raj.khem@gmail.com>
3441         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3442         libm_hidden_ver.
3444 2014-09-01  Allan McRae  <allan@archlinux.org>
3446         * po/eo.po: Update Esperanto translation from translation project.
3448         * po/ca.po: Update Catalan translation from translation project.
3450 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3452         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3453         __proc_dostop call.
3455 2014-08-27  Mark Wielaard  <mjw@redhat.com>
3457         [BZ #17319]
3458         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3459         to call set_thread_area instead of hand written asm.
3460         (__NR_set_thread_area): Removed define.
3461         (TLS_FLAG_WRITABLE): Likewise.
3462         (__ASSUME_SET_THREAD_AREA): Remove check.
3463         (TLS_EBX_ARG): Remove define.
3464         (TLS_LOAD_EBX): Likewise.
3466 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3468         Simplify atomicity of socket creation in bind.
3470         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3471         looking up the name after linking the file.
3473 2014-08-27  Allan McRae  <allan@archlinux.org>
3475         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3477 2014-08-26  Florian Weimer  <fweimer@redhat.com>
3479         [BZ #17187]
3480         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3481         trans_compare, open_translit, __gconv_translit_find):
3482         Remove module loading code.
3484 2014-08-26  Allan McRae  <allan@archlinux.org>
3486         * po/vi.po: Update Vietnamese translation from translation project.
3488         * po/uk.po: Update Ukrainian translation from translation project.
3490         * po/fr.po: Update French translation from translation project.
3492         * po/ru.po: Update Russian translation from translation project.
3494         * po/pl.po: Update Polish translation from translation project.
3496         * po/cs.po: Update Czech translation from translation project.
3498         * po/de.po: Update German translation from translation project.
3500         * po/bg.po: Update Bulgarian translation from translation project.
3502         * po/sv.po: Update Sweedish translation from translation project.
3504         * po/nl.po: Update Dutch translation from translation project.
3506         * po/es.po: Update Spanish translation from translation project.
3508 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3510         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3512         * catgets/Makefile (CPPFLAGS-gencat): Remove.
3513         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3514         (CPPFLAGS-iconvconfig): Likewise.
3515         * timezone/Makefile (CPPFLAGS-zic): Likewise.
3517         * include/libc-symbols.h: Remove unnecessary check for
3518         NOT_IN_libc.
3519         * nptl/pthreadP.h: Likewise.
3520         * sysdeps/aarch64/setjmp.S: Likewise.
3521         * sysdeps/alpha/setjmp.S: Likewise.
3522         * sysdeps/arm/sysdep.h: Likewise.
3523         * sysdeps/i386/setjmp.S: Likewise.
3524         * sysdeps/m68k/setjmp.c: Likewise.
3525         * sysdeps/posix/getcwd.c: Likewise.
3526         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3527         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3528         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3529         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3530         * sysdeps/sh/sh3/setjmp.S: Likewise.
3531         * sysdeps/sh/sh4/setjmp.S: Likewise.
3532         * sysdeps/unix/alpha/sysdep.h: Likewise.
3533         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3534         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3535         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3536         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3539         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3540         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3541         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3542         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3543         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3544         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3546         * sysdeps/x86_64/setjmp.S: Likewise.
3548 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
3550         [BZ #17263]
3551         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3552         <stdint.h>.
3553         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3554         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3556 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3558         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3560         [BZ #17262]
3561         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3562         and __x86_64__ when disabling x87 inline functions.
3564 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3566         [BZ #17259]
3567         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3568         asm statement with __cpuid_count.
3570 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
3572         * configure.ac: Change __ehdr_start code to dereference the struct.
3573         Run readelf on the output to look for relocations.
3574         * configure: Regenerated.
3576 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
3578         [BZ #17261]
3579         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3580         value to 0.
3581         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3583 2014-08-12  Roland McGrath  <roland@hack.frob.com>
3585         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3587 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
3589         [BZ #16892]
3590         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3591         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3593 2014-08-12  Sean Anderson  <seanga2@gmail.com>
3595         * malloc/malloc.c: Fix typo in comment.
3597 2014-08-09  Allan McRae  <allan@archlinux.org>
3599         * Regenerate libc.po.
3601 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
3603         * intl/tst-gettext2.sh: Check every lang file for creation.
3605 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3607         * sysdeps/aarch64/fpu/math_private.h
3608         (libc_feholdsetround_noex_aarch64_ctx): New function.
3610 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3612         * sysdeps/arm/armv6/strcpy.S (strcpy):
3613         Fix performance issue in misaligned cases.
3615 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3617         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3618         Move definition from termios.h.
3619         (struct termio): Likewise.
3620         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3621         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3622         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3623         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3624         Likewise.
3625         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3626         Move definition to ioctl-types.h
3627         (struct termio): Likewise.
3628         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3629         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3630         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3631         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3632         Likewise.
3634 2014-08-05  Richard Henderson  <rth@redhat.com>
3636         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3637         exceptions.
3638         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3639         Add fraiseexcpt.
3640         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3641         Use __feraiseexcept.
3642         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3643         Protect libm symbols with IS_IN_libm.
3645         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3647 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
3649         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3651 2014-08-04  Will Newton  <will.newton@linaro.org>
3653         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3654         file.
3656 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
3658         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3659         variants for each function.
3661 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3663         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3664         appended ...
3665         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3666         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3667         appended ...
3668         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3669         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3670         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3671         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3672         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3673         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3674         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3675         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3676         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3677         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3678         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3679         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3680         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3681         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3682         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3683         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3684         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3685         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3686         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3687         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3688         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3689         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3690         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3691         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3692         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3693         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3694         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3695         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3696         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3697         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3698         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3699         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3700         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3701         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3702         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3703         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3704         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3705         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3706         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3707         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3708         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3709         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3710         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3711         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3712         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3713         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3714         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3715         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3716         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3717         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3718         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3719         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3720         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3721         Update #include.
3722         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3723         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3725 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3727         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3728         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3729         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3730         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3731         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3732         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3734 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3736         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3737         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3738         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3739         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3741 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3743         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3744         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3745         (__libc_vfork): Define function under this name.
3746         (__vfork): Define as an alias.
3747         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3748         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3750 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3752         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3753         that was previously under [RESET_PID].
3754         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3756 2014-08-04  Andreas Schwab  <schwab@suse.de>
3758         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3760 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3762         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3763         (main): Likewise.
3765 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3767         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3769 2014-08-01  Richard Henderon  <rth@redhat.com>
3771         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3772         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3773         typo in exact zero test.
3774         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3775         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3776         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3778 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3780         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3781         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3782         * sysdeps/arm/sysdep.h: ... here.
3783         [!__ASSEMBLER__]: Include <stdint.h>.
3785 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3787         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3788         (HAVE_WCTYPE_H): Likewise.
3789         (HAVE_ISWCTYPE): Likewise.
3790         (ENABLE_NLS): Likewise.
3791         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3792         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3794         * posix/regex_internal.c: Check if DEBUG is defined and is
3795         set.
3797         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3798         (HAVE_MBSRTOWCS): Likewise.
3799         * posix/fnmatch.c: Include string.h unconditionally.
3801 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3803         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3804         reversal.
3806 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3808         * sysdeps/generic/safe-fatal.h: New file.
3809         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3810         * nptl/forward.c: Include it.
3811         (__pthread_unwind): Use __safe_fatal as default action, rather
3812         than a bogus use of INTERNAL_SYSCALL that could never work.
3814         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3815         * configure.ac (libc_cv_builtin_trap): New test.
3816         * configure: Regenerated.
3817         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3818         (ABORT_INSTRUCTION): Define using __builtin_trap.
3820         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3821         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3822         * sysdeps/nptl/nptl-signals.h: New file.
3823         * nptl/pthreadP.h: Include <nptl-signals.h>.
3825 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3827         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3828         (ONE_DIRECTION): Define.
3829         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3830         (ONE_DIRECTION): Define.
3831         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3832         (ONE_DIRECTION): Define.
3834 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3836         * sysdeps/s390/Makefile: Delete file.
3837         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3838         * sysdeps/s390/__longjmp.c: Delete file.
3839         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3840         Remove fields __flags and __reserved.
3841         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3842         and add versioning.
3843         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3844         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3845         * sysdeps/s390/rtld-setjmp.S: Likewise.
3846         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3847         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3848         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3849         * sysdeps/s390/s390-32/setjmp.S: ... here.
3850         Add versioning.
3851         (__sigsetjmp): Remove setting __flags field.
3852         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3853         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3854         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3855         * sysdeps/s390/s390-64/setjmp.S: ... here.
3856         Add versioning.
3857         (__sigsetjmp): Remove setting __flags field.
3858         * sysdeps/s390/setjmp.S: Delete file.
3859         * sysdeps/s390/sigjmp.c: Likewise.
3860         * sysdeps/s390/v1-longjmp.c: Likewise.
3861         * sysdeps/s390/v1-setjmp.h: Likewise.
3862         * sysdeps/s390/v1-sigjmp.c: Likewise.
3863         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3864         Remove v1-longjmp_chk.
3865         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3866         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3867         Include debug/longjmp_chk.c and add versioning.
3868         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3869         Include nptl/pt-longjmp.c and add versioning.
3870         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3871         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3872         Include __longjmp.c.
3873         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3874         Move to ...
3875         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3876         (__getcontext): Remove setting __flags field.
3877         Add versioning.
3878         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3879         Don't restore upper high grps.
3880         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3881         Likewise.
3882         (__swapcontext): Remove setting uc_flags field.
3883         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3884         Delete file.
3885         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3886         Include __longjmp.c.
3887         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3888         Move to ...
3889         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3890         (__getcontext): Remove setting __flags field.
3891         Add versioning.
3892         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3893         (__swapcontext): Remove setting uc_flags field.
3894         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3895         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3896         Remove fields uc_high_gprs and __reserved.
3897         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3898         New file with reverted content.
3899         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3900         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3901         Regenerated.
3902         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3903         Regenerated.
3905 2014-07-31  Andreas Schwab  <schwab@suse.de>
3907         * config.h.in (HAVE_IFUNC): Define to 0.
3908         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3909         definedness.
3911 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3913         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3914         memmove-avx-unaligned, memcpy-avx-unaligned and
3915         mempcpy-avx-unaligned.
3916         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3917         Add tests for AVX memcpy functions.
3918         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3919         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3920         memcpy_chk.
3921         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3922         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3923         memmove_chk.
3924         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3925         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3926         mempcpy_chk.
3927         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3928         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3929         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3931 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3933         [BZ #17213]
3934         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3935         powerpc64le.
3937 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3939         [BZ #16839]
3940         * manual/llio.texi: Add section about open file description locks.
3941         * manual/examples/ofdlocks.c: Example of open file description
3942         lock usage.
3943         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3944         F_OFD_SETLK, and F_OFD_SETLKW.
3946 2014-07-23  Allan McRae  <allan@archlinux.org>
3948         * po/es.po: Update Spanish translation from translation project.
3950 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3952         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3954 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3956         [BZ #17078]
3957         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3958         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3959         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3961 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3963         [BZ #17088]
3964         * math/fesetenv.c (__fesetenv)
3965         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3966         * math/feupdateenv.c (__feupdateenv)
3967         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3969         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3970         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3971         (__ASSUME_SOCKETCALL): Do not define.
3973         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3974         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3975         (__ASSUME_SOCKETCALL): Do not define.
3976         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
3977         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3978         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3979         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
3980         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3981         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
3982         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3983         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3985         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
3986         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
3987         (__ASSUME_SOCKETCALL): Do not define.
3988         (__ASSUME_IPC64): Define unconditionally.
3989         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3990         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
3991         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
3992         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3993         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
3994         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
3995         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
3996         Likewise.
3998         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
3999         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4000         (__ASSUME_SOCKETCALL): Do not define.
4001         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4002         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4003         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4004         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4005         (__ASSUME_REQUEUE_PI): Define unconditionally.
4006         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4007         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4008         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4009         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4010         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4011         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4013         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4014         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4015         (__ASSUME_SOCKETCALL): Do not define.
4016         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4017         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4018         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4019         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4020         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4021         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4023         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4024         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4025         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4026         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4027         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4028         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4029         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4030         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4031         (__ASSUME_GETCPU_SYSCALL): Likewise.
4033         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4034         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4035         cases for individual architectures.
4036         * sysdeps/gnu/configure: Regenerated.
4037         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4038         LIBC_SLIBDIR_RTLDDIR.
4039         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4040         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4041         LIBC_SLIBDIR_RTLDDIR.
4042         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4044         LIBC_SLIBDIR_RTLDDIR.
4045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4046         Regenerated.
4047         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4048         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4049         file.
4050         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4051         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4052         file.
4053         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4054         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4055         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4056         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4058         * sysdeps/aarch64/shlib-versions: Move to ...
4059         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4060         * sysdeps/alpha/shlib-versions: Move to ...
4061         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4062         * sysdeps/arm/shlib-versions: Move to ...
4063         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4064         * sysdeps/hppa/shlib-versions: Move all contents except for
4065         libgcc_s entry to ...
4066         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4067         entry from ...
4068         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4069         * sysdeps/ia64/shlib-versions: Move to ...
4070         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4071         entry from ...
4072         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4073         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4074         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4075         * sysdeps/microblaze/shlib-versions: Move to ...
4076         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4077         * sysdeps/mips/shlib-versions: Move to ...
4078         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4079         entry from ...
4080         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4081         * sysdeps/tile/shlib-versions: Move to ...
4082         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4083         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4084         from ...
4085         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4086         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4087         entry from ...
4088         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4090 2014-07-17  Will Newton  <will.newton@linaro.org>
4092         * sysdeps/arm/bits/atomic.h
4093         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4094         (__arch_compare_and_exchange_bool_16_int): Likewise.
4095         (__arch_compare_and_exchange_bool_64_int): Likewise.
4097         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4098         into an #else block.
4100 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4102         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4103         just Linux configurations.  Test empirically that the compiler sets
4104         __ARM_EABI__, rather than using the tuple to decide.
4105         * sysdeps/arm/preconfigure: Regenerated.
4106         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4107         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4108         contents appended ...
4109         * sysdeps/arm/configure.ac: ... here.
4110         * sysdeps/arm/configure: Regenerated.
4112 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4114         * nptl/pthread_kill.c: New file.
4115         * nptl/pthread_sigmask.c: New file.
4116         * nptl/pthread_sigqueue.c: New file.
4118         * sysdeps/nptl/lowlevellock.h: New file.
4119         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4120         * sysdeps/nptl/lowlevellock-futex.h: New file.
4122         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4123         Remove dead declarations.
4125 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4127         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4128         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4129         config-cflags-avx2.
4130         * sysdeps/x86_64/configure.ac: Likewise.
4131         * sysdeps/i386/configure: Regenerated.
4132         * sysdeps/x86_64/configure: Likewise.
4133         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4134         memset-avx2 only if config-cflags-avx2 is yes.
4135         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4136         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4137         defined.
4138         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4139         only if HAVE_AVX2_SUPPORT is defined.
4140         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4142 2014-07-14  Alan Modra  <amodra@gmail.com>
4144         [BZ #17153]
4145         * elf/elf.h (DT_PPC64_NUM): Correct value.
4146         * NEWS: Add to fixed bug list.
4148 2014-07-13  Jim Meyering  <meyering@fb.com>
4150         [BZ 17150]
4151         regex: don't deref NULL upon heap allocation failure
4152         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4153         failure in one more place.
4154         To trigger the segfault, configure grep -with-included-regex,
4155         build it, and run these commands:
4156         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4158 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4160         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4162 2014-07-11  Richard Henderson  <rth@redhat.com>
4164         * sysdeps/aarch64/libm-test-ulps: Update.
4166 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4168         [BZ #17135]
4169         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4170         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4171         (__nptl_setxid): Initialize error member.  Call
4172         __nptl_setxid_error.
4173         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4174         * nptl/descr.h (struct xid_command): Add error member.
4175         * nptl/tst-setuid3.c: New file.
4176         * nptl/Makefile (tests): Add it.
4178 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4180         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4181         New define.
4182         (__lll_trylock): Use __lll_base_trylock.
4183         (__lll_cond_trylock): Likewise.
4185 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4187         * nptl/pthread_create.c (start_thread): Use atomic_or and
4188         lll_futex_wake directly rather than lll_robust_dead.
4189         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4190         (lll_robust_dead): Macro removed.
4191         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4192         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4193         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4194         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4195         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4196         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4197         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4198         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4199         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4200         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4201         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4202         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4203         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4204         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4205         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4207         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4208         Use atomic_compare_and_exchange_val_acq directly rather than
4209         lll_robust_trylock.
4210         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4211         (__lll_robust_trylock, lll_robust_trylock): Removed.
4212         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4213         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4214         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4215         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4216         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4217         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4218         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4219         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4220         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4221         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4222         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4223         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4224         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4225         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4227 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4229         * manual/locale.texi (Locale Names): New section documenting
4230         locale name syntax.  Adjust menu and node chaining accordingly.
4231         (Choosing Locale): Reference Locale Names, Locale Categories.
4232         Mention setting LC_ALL=C.  Reflect that name syntax is now
4233         documented.
4234         (Locale Categories): New section title.  Reference Locale Names.
4235         LC_ALL is an environment variable, but not a category.
4236         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4237         description, now in Locale Name.  Reference that section.  Locale
4238         name syntax is now documented.
4240 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4242         [BZ #17137]
4243         * locale/findlocale.c (name_present, valid_locale_name): New
4244         functions.
4245         (_nl_find_locale): Use the loc_name variable to store name
4246         candidates.  Call name_present and valid_locale_name to check and
4247         validate locale names.  Return an error if the locale is invalid.
4249 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4251         * locale/setlocale.c (setlocale): Use strdup for allocating
4252         composite name copy.
4254 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4256         Sync up with gnulib.
4257         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4258         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4259         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4260         and _GL_ARG_NONNULL.
4261         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4262         [!_LIBC]: Include code for Windows and Cygwin.
4263         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4264         Include prototype for int strerror_r.
4265         [!_LIBC] (is_open): New function.
4266         (flush_stdout): New function.
4267         (print_errno_message): Use it.
4268         (error): Likewise.
4269         (error_at_line): Likewise.
4270         (error_tail) Add function attribute macros.  Use
4271         __builtin_expect.
4273         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4275         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4277         * io/ftw.c: Include sys/param.h unconditionally.
4279         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4281         [BZ #17125]
4282         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4283         libc_freeres_ptr.
4284         (freecache): New function to free CACHE on exit.
4286         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4287         initialization.
4289 2014-07-09  David S. Miller  <davem@davemloft.net>
4291         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4293         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4294         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4295         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4296         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4297         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4298         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4299         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4300         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4301         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4302         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4303         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4304         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4305         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4307 2014-07-09  Andreas Schwab  <schwab@suse.de>
4309         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4310         output.
4311         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4312         (do_test): Likewise.
4314         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4316 2014-07-09  Will Newton  <will.newton@linaro.org>
4318         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4319         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4320         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4321         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4322         * sysdeps/hppa/start.S (_start): Likewise.
4324 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4326         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4328         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4329         defined.
4331 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4333         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4334         after checking that it is non-NULL.
4336         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4338 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4340         * sysdeps/powerpc/memmove.c: Remove file.
4341         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4342         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4343         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4344         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4345         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4346         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4347         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4348         string memmove instead of removed powerpc one.
4350         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4351         [weak_alias]: Fix compiler warning due trailing data.
4352         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4353         [weak_alias]: Likewise.
4354         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4355         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4358         (__libc_ifunc_impl_list): Add memmove functions.
4360 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4362         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4363         Remove code.
4364         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4365         Likewise
4366         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4367         Likewise
4368         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4369         Likewise
4370         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4371         Likewise
4372         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4373         Likewise
4374         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4375         Likewise
4376         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4377         Likewise
4378         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4379         Likewise
4380         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4381         Likewise
4382         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4383         Likewise
4384         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4385         Likewise
4386         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4387         Likewise
4388         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4389         Likewise
4390         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4391         Likewise
4392         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4393         Likewise
4394         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4395         Likewise
4397 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4399         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4400         to avoid alignment traps in non-cacheable memory.
4401         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4403         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4404         multiarch objects.
4405         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4406         file: multiarch power7 memmove.
4407         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4408         multiarch default memmove.
4409         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4410         multiarch memove for powerpc32/power4.
4412         * string/bcopy.c: Use full path to include memmove.c.
4413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4414         multiarch objects.
4415         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4416         bcopy for powerpc64.
4417         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4418         bcopy for powerpc64.
4419         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4420         and memmove implementations.
4421         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4422         optimized multiarch memmove for POWER7/powerpc64.
4423         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4424         default multiarch memmove for powerpc64.
4425         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4426         multiarch for powerpc64.
4427         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4428         for POWER7/powerpc64.
4429         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4430         memmove for POWER7/powerpc64.
4432         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4433         glibc default one.
4435         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4436         __ELF_NATIVE_CLASS equal to 64.
4438 2014-07-07  Roland McGrath  <roland@hack.frob.com>
4440         * sysdeps/nptl/lowlevellock.h: File removed.
4442         * NEWS: NPTL is no longer an add-on!
4443         * nptl/internaltypes.h: Moved ...
4444         * sysdeps/nptl/internaltypes.h: ... here.
4445         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4446         * sysdeps/nptl/fork.c: Likewise.
4447         * sysdeps/nptl/gai_misc.h: Likewise.
4448         * sysdeps/nptl/librt-cancellation.c: Likewise.
4449         * sysdeps/nptl/jmp-unwind.c: Likewise.
4450         * sysdeps/nptl/setxid.h: Likewise.
4451         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4452         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4453         * sysdeps/unix/sysv/linux/arm/Implies: New file.
4454         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4455         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4456         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4457         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4458         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4459         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4460         * sysdeps/unix/sysv/linux/mips/Implies: New file.
4461         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4462         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4463         * sysdeps/unix/sysv/linux/sh/Implies: New file.
4464         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4465         * sysdeps/unix/sysv/linux/tile/Implies: New file.
4466         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4467         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4468         * nptl/Makeconfig: Moved ...
4469         * sysdeps/nptl/Makeconfig: ... here.
4470         * nptl/configure: File removed.
4471         * nptl/ANNOUNCE: File removed.
4472         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4473         * sysdeps/unix/sysv/linux/configure: Regenerated.
4475         * nptl/Makefile (routines): Add libc_pthread_init,
4476         libc_multiple_threads, register-atfork and unregister-atfork.
4477         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4478         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4479         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4480         pthread-pi-defines.sym, structsem.sym.
4481         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4482         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4483         [$(subdir) = nptl] (tests): Add tst-setgetname.
4484         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4485         * sysdeps/unix/sysv/linux/sigaction.c: Just include
4486         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4487         [!LIBC_SIGACTION]: Remove aliases.
4488         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4489         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4490         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4491         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4492         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4493         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4494         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4495         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4496         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4497         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4498         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4499         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4500         __libc_allocate_rtsig_private.
4501         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4502         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4503         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4504         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4505         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4506         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4507         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4508         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4509         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4510         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4511         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4512         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4513         * nptl/internaltypes.h: ... here.
4514         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4515         * sysdeps/nptl/jmp-unwind.c: ... here.
4516         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4517         * nptl/libc-lowlevellock.c: ... here.
4518         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4519         * nptl/libc_multiple_threads.c: ... here.
4520         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4521         * nptl/libc_pthread_init.c: ... here.
4522         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4523         * nptl/lowlevelbarrier.sym: ... here.
4524         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4525         * nptl/lowlevelcond.sym: ... here.
4526         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4527         * nptl/lowlevellock.c: ... here.
4528         * nptl/lowlevellock.h: Moved ...
4529         * sysdeps/nptl/lowlevellock.h: ... here.
4530         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4531         * nptl/lowlevelrobustlock.c: ... here.
4532         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4533         * nptl/lowlevelrobustlock.sym: ... here.
4534         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4535         * nptl/lowlevelrwlock.sym: ... here.
4536         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4537         * nptl/pt-fork.c: ... here.
4538         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4539         * nptl/pthread-pi-defines.sym: ... here.
4540         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4541         * nptl/pthread_attr_getaffinity.c: ... here.
4542         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4543         * nptl/pthread_attr_setaffinity.c: ... here.
4544         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4545         * nptl/pthread_mutex_cond_lock.c: ... here.
4546         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4547         Update #include.
4548         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4549         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4550         * nptl/pthread_once.c: ... here, replacing old file.
4551         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4552         * nptl/pthread_yield.c: ... here.
4553         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4554         * nptl/register-atfork.c: ... here.
4555         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4556         * nptl/sem_post.c: ... here.
4557         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4558         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4559         * nptl/sem_timedwait.c: ... here.
4560         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4561         * nptl/sem_trywait.c: ... here.
4562         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4563         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4564         * nptl/sem_wait.c: ... here.
4565         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4566         * nptl/structsem.sym: ... here.
4567         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4568         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4569         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4570         * nptl/unregister-atfork.c: ... here.
4571         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4572         * nptl/unwindbuf.sym: ... here.
4573         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4574         * sysdeps/nptl/fork.c: ... here.
4575         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4576         * sysdeps/nptl/fork.h: ... here.
4577         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4578         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4579         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4580         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4581         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4582         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4583         * sysdeps/unix/sysv/linux/getpid.c: ... here.
4584         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4585         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4586         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4587         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4588         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4589         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4590         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4591         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4592         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4593         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4594         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4595         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4596         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4597         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4598         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4599         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4600         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4601         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4602         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4603         * sysdeps/unix/sysv/linux/raise.c: ... here.
4604         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4605         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4606         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4607         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4608         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4609         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4610         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4611         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4612         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4613         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4614         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4615         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4616         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4617         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4618         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4620 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4622         * sysdeps/generic/memcopy.h: Add comment for
4623         MEMCPY_OK_FOR_FWD_MEMMOVE.
4625 2014-07-04  Will Newton  <will.newton@linaro.org>
4627         * string/memchr.c: Merge from gnulib.
4628         [_LIBC]: Remove conditionals.
4629         (__ptr_t): Remove define.
4630         (LONG_MAX_32_BITS): Likewise.
4631         (LONG_MAX): Likewise.
4632         (MEMCHR): Use ANSI prototype and optimize algorithm.
4634         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4636 2014-07-03  Roland McGrath  <roland@hack.frob.com>
4638         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4639         (lll_futex_timed_wait_bitset): Fix syscall argument count.
4641         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4642         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4643         in a bare environment with no <stdlib.h> installed.
4644         * sysdeps/nptl/configure: Regenerated.
4646         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4648         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4649         AC_EGREP_CPP for kernel header checks, so they only succeed if
4650         including <linux/version.h> actually works right.
4651         * sysdeps/unix/sysv/linux/configure: Regenerated.
4653         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4654         value so it's not diagnosed as unused.
4656         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4657         thing) with "ifeq ($(subdir),rt)".
4659 2014-07-03  Richard Henderson  <rth@redhat.com>
4661         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4662         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4663         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4665         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4666         (math_force_eval): New.
4668         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4669         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4671         * sysdeps/alpha/fpu/s_round.c: Remove file.
4672         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4674         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4675         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4676         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4677         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4678         (_dl_start, print_statistics): Likewise.
4679         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4680         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4682         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4683         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4684         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4685         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4686         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4687         (HP_SMALL_TIMING_AVAIL): Define.
4688         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4689         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4690         (HP_SMALL_TIMING_AVAIL): Define.
4691         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4692         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4694         * sysdeps/aarch64/hp-timing.h: New file.
4696         * sysdeps/generic/hp-timing.h: Remove dead comment.
4697         * sysdeps/generic/hp-timing-common.h: New file.
4698         * sysdeps/alpha/hp-timing.h: Include it.
4699         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4700         * sysdeps/i386/i686/hp-timing.h: Likewise.
4701         * sysdeps/ia64/hp-timing.h: Likewise.
4702         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4703         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4704         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4705         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4706         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4707         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4708         (hp_timing_t): New.
4710         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4711         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4712         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4713         * elf/rtld.c (_dl_start_final): Likewise.
4714         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4715         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4716         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4717         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4718         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4719         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4720         (HP_TIMING_DIFF_INIT): Remove.
4721         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4722         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4723         (HP_TIMING_DIFF_INIT): Remove.
4724         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4725         * sysdeps/i386/i686/hp-timing.c: Remove file.
4726         * sysdeps/x86_64/hp-timing.c: Remove file.
4727         * sysdeps/ia64/hp-timing.c: Remove file.
4728         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4729         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4730         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4731         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4733         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4734         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4735         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4736         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4737         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4738         (HP_TIMING_ACCUM): Remove.
4739         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4740         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4741         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4743         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4744         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4745         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4746         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4747         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4748         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4749         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4750         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4752         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4754 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4756         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4758 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4760         Sync up with gettext.
4761         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4762         [_MSC_VER]: Include malloc.h
4763         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4764         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4765         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4766         TEMP_FAILURE_RETRY.  Cast return of alloca.
4767         [!_LIBC] Call gl_rwlock_init.
4768         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4770 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4772         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4773         before checking its value.
4775 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4777         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4779         * debug/memcpy_chk.c: Don't include pagecopy.h.
4780         * debug/mempcpy_chk.c: Likewise.
4781         * string/memcpy.c: Likewise.
4782         * string/memmove.c: Likewise.
4783         * sysdeps/powerpc/memmove.c: Likewise.
4784         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4785         definition of PAGE_COPY_FWD_MAYBE here...
4786         * sysdeps/generic/pagecopy.h: ... from here.
4787         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4789 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4790             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4792         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4793         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4794         optimizations.
4795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4796         (__libc_ifunc_impl_list): Likewise.
4797         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4798         multiarch strcat for PPC64.
4799         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4800         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4802 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4804         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4806 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4808         * intl/loadmsgcat.c: Remove declaration of
4809         get_sysdep_segment_value.
4810         (get_sysdep_segment_value): Use ISO C style.
4811         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4812         semicolon.  Fix typo and formatting in comment.
4813         (_nl_unload_domain): Use ISO C style.
4815         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4817 2014-07-02  Will Newton  <will.newton@linaro.org>
4819         * malloc/obstack.c: Merge from gnulib master.
4820         [HAVE_CONFIG_H]: Remove conditional code.
4821         [!_LIBC]: Include config.h.
4822         [!ELIDE_CODE]: Don't include inttypes.h, include
4823         stdint.h unconditionally.
4824         (print_and_abort): Mark as _Noreturn.
4825         (_obstack_allocated_p): Mark as __attribute_pure__.
4826         (obstack_free): Rename to __obstack_free.
4827         [!__attribute__]: Remove conditional code.
4828         * malloc/obstack.h: Merge from gnulib master.
4829         [__cplusplus]: Move conditional down.
4830         [!__attribute_pure__]: Define __attribute_pure__ here
4831         if it is not already defined.
4832         (_obstack_memory_used): Mark as __attribute_pure__.
4833         [!__obstack_free]: Define as obstack_free.
4834         [__GNUC__]: Remove check for ancient NeXT gcc.
4836 2014-07-02  Will Newton  <will.newton@linaro.org>
4837             Paul Eggert  <eggert@cs.ucla.edu>
4839         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4841 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4843         * resolv/gethnamaddr.c: Add comment warning that the file is
4844         not maintained.
4846 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4848         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4849         entries.
4851         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4852         entry for aio_cancel and aio_cancel64.
4853         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4854         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4855         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4856         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4857         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4858         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4859         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4860         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4861         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4862         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4863         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4864         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4865         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4867 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4869         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4870         * nptl/pthread_mutex_lock.c: Likewise.
4871         * nptl/pthread_mutex_timedlock.c: Likewise.
4872         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4874 2014-07-01  Richard henderson  <rth@redhat.com>
4876         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4877         (__isnan, __isnanl): Remove.
4878         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4880         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4882 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4884         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4886 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4888         * resolv/nss_dns/dns-host.c (getanswer_r)
4889         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4891 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4893         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4894         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4895         undefine.
4896         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4897         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4899 2014-07-01  Roland McGrath <roland@hack.frob.com>
4901         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4902         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4904         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4905         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4907         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4908         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4909         ... here.
4910         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4911         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4913         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4914         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4915         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4916         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4918         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4919         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4920         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4921         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4922         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4923         Moved ...
4924         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4925         ... here.
4926         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4927         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4928         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4929         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4930         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4931         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4932         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4933         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4934         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4935         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4936         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4937         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4938         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4939         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4940         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4941         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4942         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4943         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4944         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4945         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4946         ... here.
4947         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4948         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4949         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4950         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4951         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4952         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4953         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4954         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4956 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4958         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4959         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4960         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4961         Add sysdep.
4963 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4967 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4969         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4970         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4972         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4974         * sysdeps/arm/libm-test-ulps: Regenerated.
4976 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
4977             Roland McGrath <roland@hack.frob.com>
4979         * test-skeleton.c (signal_handler): Kill the whole process group
4980         before killing the child individually.
4981         (main): Report any failure on `setpgid'.
4983 2014-06-30  Roland McGrath  <roland@hack.frob.com>
4985         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
4986         from _TLS_H to _ARM_NPTL_TLS_H.
4987         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
4988         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
4990 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4992         [BZ #16539]
4993         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
4994         (__expm1l): Return argument unchanged when small but not
4995         subnormal.
4997         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
4998         include macro name.
4999         (_FP_UNPACK_RAW_1_P): Likewise.
5000         (_FP_PACK_RAW_1): Likewise.
5001         (_FP_PACK_RAW_1_P): Likewise.
5002         (_FP_MUL_MEAT_1_wide): Likewise.
5003         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5004         (_FP_MUL_MEAT_1_hard): Likewise.
5005         (_FP_DIV_MEAT_1_imm): Likewise.
5006         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5007         (_FP_DIV_MEAT_1_udiv): Likewise.
5008         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5009         (_FP_UNPACK_RAW_2): Likewise.
5010         (_FP_UNPACK_RAW_2_P): Likewise.
5011         (_FP_PACK_RAW_2): Likewise.
5012         (_FP_PACK_RAW_2_P): Likewise.
5013         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5014         (_FP_MUL_MEAT_2_wide): Likewise.
5015         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5016         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5017         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5018         (_FP_MUL_MEAT_2_gmp): Likewise.
5019         (_FP_DIV_MEAT_2_udiv): Likewise.
5020         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5021         (_FP_FRAC_SRL_4): Likewise.
5022         (_FP_FRAC_SRST_4): Likewise.
5023         (_FP_FRAC_SRS_4): Likewise.
5024         (_FP_UNPACK_RAW_4): Likewise.
5025         (_FP_UNPACK_RAW_4_P): Likewise.
5026         (_FP_PACK_RAW_4): Likewise.
5027         (_FP_PACK_RAW_4_P): Likewise.
5028         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5029         (_FP_MUL_MEAT_4_wide): Likewise.
5030         (_FP_MUL_MEAT_4_gmp): Likewise.
5031         (umul_ppppmnnn): Likewise.
5032         (_FP_DIV_MEAT_4_udiv): Likewise.
5033         (__FP_FRAC_ADD_4): Likewise.
5034         (__FP_FRAC_SUB_3): Likewise.
5035         (__FP_FRAC_SUB_4): Likewise.
5036         (__FP_FRAC_DEC_3): Likewise.
5037         (__FP_FRAC_DEC_4): Likewise.
5038         (__FP_FRAC_ADDI_4): Likewise.
5039         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5040         (_FP_FRAC_SRL_8): Likewise.
5041         (_FP_FRAC_SRS_8): Likewise.
5043         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5044         include macro name.
5045         (FP_UNPACK_RAW_EP): Likewise.
5046         (FP_PACK_RAW_E): Likewise.
5047         (FP_PACK_RAW_EP): Likewise.
5048         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5049         (_FP_ISSIGNAN): Likewise.
5050         (_FP_ADD_INTERNAL): Likewise.
5051         (_FP_FMA): Likewise.
5052         (_FP_CMP): Likewise.
5053         (_FP_SQRT): Likewise.
5054         (_FP_TO_INT): Likewise.
5055         (_FP_FROM_INT): Likewise.
5056         (FP_EXTEND): Likewise.
5057         (_FP_DIV_MEAT_N_loop): Likewise.
5059 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5061         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5062         throughout.
5064 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5066         [BZ #17097]
5067         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5068         result with correct sign in case of exponents that produce
5069         overflow except for X very close to 1.
5071 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5073         mktime: merge #if/#ifdef usage from glibc
5074         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5075         as that works with both Glibc's and Gnulib's style.
5076         See thread starting at Siddhesh Poyarekar's bug report at:
5077         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5079 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5081         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5082         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5083         * sysdeps/tile/tilegx/memmove.c: Remove file.
5085 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5087         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5088         abi-name definition.
5089         * scripts/soversions.awk: Do not handle or generate ABI lines.
5090         * shlib-versions: Remove ABI entries.
5091         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5092         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5094 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5097         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5098         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5099         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5100         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5101         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5102         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5103         Moved ...
5104         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5105         ... here.
5106         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5107         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5108         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5109         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5110         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5111         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5112         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5113         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5114         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5115         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5116         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5117         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5118         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5119         Moved ...
5120         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5121         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5122         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5124         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5126         Moved ...
5127         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5128         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5129         Moved ...
5130         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5132         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5133         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5134         Moved ...
5135         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5136         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5137         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5138         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5139         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5140         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5141         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5142         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5143         Moved ...
5144         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5146         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5147         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5148         Moved ...
5149         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5150         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5151         Moved ...
5152         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5153         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5154         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5155         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5156         Moved ...
5157         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5158         ... here.
5159         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5160         Identical file removed.
5161         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5162         Moved ...
5163         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5164         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5165         Identical file removed.
5166         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5167         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5168         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5169         Moved ...
5170         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5171         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5172         Identical file removed.
5173         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5174         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5175         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5176         Identical file removed.
5177         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5178         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5179         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5180         Identical file removed.
5181         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5182         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5183         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5184         Identical file removed.
5185         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5186         Moved ...
5187         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5188         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5189         Identical file removed.
5190         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5191         Moved ...
5192         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5193         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5194         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5195         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5196         Identical file removed.
5197         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5198         Moved ...
5199         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5200         ... here.
5201         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5202         Identical file removed.
5203         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5204         Moved ...
5205         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5207         Identical file removed.
5208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5209         Moved ...
5210         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5211         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5212         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5213         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5214         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5215         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5216         Moved ...
5217         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5218         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5219         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5221         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5222         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5223         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5224         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5225         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5227 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5229         [BZ #17092]
5230         * nscd/nscd.c (monitor_child): Return exit status of child
5231         instead of return value from wait syscall.
5233 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5235         * configure.ac (libc_commonpagesize): Remove variable.
5236         (libc_relro_required): Likewise.
5237         (libc_cv_z_relro): Remove configure test.
5238         * configure: Regenerated.
5239         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5240         variable.
5241         (libc_relro_required): Likewise.
5242         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5243         (libc_relro_required): Likewise.
5244         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5245         (libc_relro_required): Likewise.
5246         * sysdeps/arm/preconfigure: Regenerated.
5247         * sysdeps/ia64/preconfigure: Remove file.
5248         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5249         variable.
5250         (libc_relro_required): Likewise.
5252         [BZ #16561]
5253         [BZ #16562]
5254         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5255         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5256         recompute overflowing results in original rounding mode.
5257         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5258         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5259         recompute overflowing results in original rounding mode.
5260         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5261         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5262         recompute overflowing results in original rounding mode.
5263         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5264         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5265         recompute overflowing results in original rounding mode.
5266         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5267         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5268         recompute overflowing results in original rounding mode.
5269         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5270         (libc_feholdsetround_ctx): New macro.
5271         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5272         * sysdeps/i386/fpu/libm-test-ulps: Update.
5273         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5275 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5277         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5278         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5279         corresponding .cpsetup call.
5281 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5283         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5284         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5285         * sysdeps/arm/Makefile [$(subdir) = csu]
5286         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5287         (static-only-routines): Add aeabi_read_tp here.
5288         (shared-only-routines): Add libc-aeabi_read_tp here.
5289         (CFLAGS-libc-start.c): Add -fexceptions here.
5290         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5291         (sysdep_routines, static-only-routines, shared-only-routines):
5292         Don't add to these here.
5293         (CFLAGS-libc-start.c): Likewise.
5295         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5296         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5297         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5298         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5299         * sysdeps/arm/Makefile [$(subdir) = rt]
5300         (librt-sysdep_routines, librt-shared-only-routines):
5301         Append rt-aeabi_unwind_cpp_pr1 here.
5302         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5303         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5304         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5305         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5306         Append nptl-aeabi_unwind_cpp_pr1 here.
5307         (tests): Filter out tst-cleanupx4 here.
5308         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5309         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5310         Don't do those here.
5312 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5314         * scripts/list-sources.sh: Do not handle ports specially.
5316 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5318         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5319         * sysdeps/arm/feupdateenv.c: Likewise.
5321         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5323 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5325         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5326         trailing whitespace removed.
5327         * scripts/config.guess: Update to version 2014-03-23.
5328         * scripts/config.sub: Update to version 2014-05-01
5329         * scripts/install-sh: Update to version 2013-12-25.23.
5330         * scripts/move-if-change: Update from gnulib.
5332 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5334         * debug/memmove_chk.c: Remove pagecopy.h include.
5336 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5338         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5339         identical to gnulib mktime.
5341 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5343         * configure.ac: Do not test for machine being rs6000.  Do not test
5344         for powerpc*-*soft.
5345         * configure: Regenerated.
5347         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5348         test.
5349         * configure: Regenerated.
5350         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5351         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5352         Remove configure test.
5353         * sysdeps/arm/configure: Regenerated.
5354         * sysdeps/nptl/configure.ac: Do not check
5355         libc_cv_asm_cfi_directives.
5356         * sysdeps/nptl/configure: Regenerated.
5357         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5358         * sysdeps/x86_64/nptl/configure: Remove generated file.
5359         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5360         unconditional.
5361         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5363 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5365         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5366         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5367         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5368         it is defined.
5370         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5371         instead of whether it is defined.
5372         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5373         * sysdeps/hppa/dl-machine.h: Likewise.
5374         * sysdeps/ia64/dl-machine.h: Likewise.
5375         * sysdeps/m68k/dl-machine.h: Likewise.
5376         * sysdeps/microblaze/dl-machine.h: Likewise.
5377         * sysdeps/mips/dl-machine.: Likewise.
5378         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5379         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5380         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5381         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5382         * sysdeps/sh/dl-machine.h: Likewise.
5383         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5384         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5385         * sysdeps/tile/dl-machine.h: Likewise.
5386         * sysdeps/x86_64/dl-machine.h: Likewise.
5388         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5389         code.
5390         (verify_persistent_db): Likewise.
5392 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5394         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5395         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5396         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5397         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5398         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5399         Moved ...
5400         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5401         ... here.
5402         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5403         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5405         Identical file removed.
5406         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5407         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5409         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5410         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5411         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5413         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5415         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5417         Moved ...
5418         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5420         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5422         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5423         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5424         Moved ...
5425         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5427         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5429         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5430         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5431         Identical file removed.
5432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5433         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5434         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5435         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5437         Moved ...
5438         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5439         ... here.
5440         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5441         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5442         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5443         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5444         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5445         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5446         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5447         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5448         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5449         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5450         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5451         Moved ...
5452         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5454         Moved ...
5455         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5457         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5458         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5459         Moved ...
5460         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5462         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5464         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5465         folded into ...
5466         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5467         * sysdeps/unix/sysv/linux/s390/Versions
5468         (libpthread: GLIBC_2.19): New version set.
5469         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5470         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5471         (librt: GLIBC_2.3.3): New version set.
5472         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5473         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5474         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5475         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5476         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5477         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5478         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5479         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5480         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5481         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5482         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5483         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5484         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5485         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5486         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5488         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5489         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5490         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5491         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5492         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5493         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5494         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5495         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5496         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5497         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5498         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5499         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5500         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5501         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5502         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5503         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5504         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5505         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5506         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5507         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5508         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5509         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5510         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5511         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5512         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5513         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5514         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5515         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5516         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5519         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5520         (__libc_vfork): Define the function under this name.
5521         [!NOT_IN_libc] (__vfork): Make this an alias.
5522         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5523         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5524         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5525         (__libc_vfork): Define the function under this name.
5526         [!NOT_IN_libc] (__vfork): Make this an alias.
5527         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5528         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5529         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5531         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5532         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5534         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5535         code that was previously under [RESET_PID].
5536         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5537         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5538         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5540         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5541         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5542         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5543         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5544         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5545         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5546         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5547         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5548         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5549         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5550         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5551         Moved ...
5552         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5553         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5554         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5555         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5556         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5557         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5558         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5559         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5560         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5561         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5562         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5563         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5564         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5565         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5566         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5567         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5568         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5569         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5570         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5571         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5572         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5573         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5574         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5575         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5576         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5577         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5578         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5579         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5580         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5582 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5584         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5585         that was previously under [RESET_PID].
5586         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5588 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5590         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5591         not undefine and redefine.
5592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5593         [O_CLOEXEC]: Make code unconditional.
5594         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5595         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5596         <kernel-features.h>.
5597         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5598         conditional variable definition.
5599         (shm_open) [O_CLOEXEC]: Make code unconditional.
5600         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5601         code.
5603         * configure.ac (USE_REGPARMS): Don't define here.
5604         * configure: Regenerated.
5605         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5606         * sysdeps/i386/configure: Regenerated.
5608         * nptl/createthread.c: Don't include kernel-features.h.
5609         * nptl/pthread_cancel.c: Likewise.
5610         * nptl/pthread_condattr_setclock.c: Likewise.
5611         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5612         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5613         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5614         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5615         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5616         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5617         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5620         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5621         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5622         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5623         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5624         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5625         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5626         * nscd/gai.c: Likewise.
5627         * nss/nss_db/db-open.c: Likewise.
5628         * sysdeps/generic/ldsodefs.h: Likewise.
5629         * sysdeps/sh/nptl/tls.h: Likewise.
5630         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5631         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5632         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5633         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5634         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5635         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5636         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5637         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5638         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5639         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5640         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5641         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5642         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5643         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5644         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5645         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5646         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5647         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5648         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5649         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5650         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5651         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5652         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5653         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5654         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5655         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5656         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5657         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5658         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5659         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5660         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5661         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5662         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5663         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5664         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5665         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5666         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5667         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5668         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5669         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5670         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5671         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5672         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5673         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5674         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5675         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5676         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5677         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5678         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5679         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5680         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5681         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5682         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5683         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5684         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5685         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5686         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5687         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5710         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5711         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5712         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5713         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5714         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5715         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5716         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5717         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5718         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5719         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5720         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5721         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5722         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5723         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5724         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5725         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5726         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5727         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5728         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5729         * sysdeps/unix/sysv/linux/system.c: Likewise.
5730         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5731         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5732         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5733         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5734         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5735         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5736         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5738         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5739         * configure: Regenerated.
5740         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5742         * configure.ac (base_machine): Do not set specially for particular
5743         machines here.
5744         * configure: Regenerated.
5745         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5746         settings from configure.ac.
5747         * sysdeps/i386/preconfigure: New file.
5748         * sysdeps/s390/preconfigure: Likewise.
5749         * sysdeps/sh/preconfigure: Likewise.
5750         * sysdeps/sparc/preconfigure: Likewise.
5752 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5754         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5755         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5756         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5757         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5758         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5759         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5760         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5761         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5762         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5763         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5764         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5765         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5766         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5767         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5768         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5769         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5770         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5771         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5772         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5774         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5775         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5776         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5777         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5778         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5779         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5780         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5781         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5782         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5783         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5784         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5785         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5786         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5787         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5788         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5789         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5790         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5791         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5792         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5793         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5794         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5795         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5796         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5797         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5798         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5799         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5800         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5801         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5803         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5804         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5805         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5806         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5807         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5808         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5809         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5810         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5811         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5814         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5815         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5816         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5817         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5818         Moved ...
5819         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5820         ... here.
5821         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5822         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5823         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5824         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5825         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5826         Moved ...
5827         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5828         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5829         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5830         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5831         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5832         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5833         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5834         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5835         Moved ...
5836         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5838         Moved ...
5839         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5841         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5842         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5843         Moved ...
5844         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5845         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5846         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5848         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5849         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5850         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5851         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5852         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5854         Moved ...
5855         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5856         ... here.
5857         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5858         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5859         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5860         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5861         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5862         Moved ...
5863         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5864         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5865         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5866         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5867         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5868         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5869         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5870         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5871         Moved ...
5872         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5873         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5874         Moved ...
5875         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5877         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5878         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5879         Moved ...
5880         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5881         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5882         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5883         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5884         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5886 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5888         * timezone/checktab.awk: Update from tzcode 2014e.
5889         * timezone/private.h: Likewise.
5890         * timezone/tzfile.h: Likewise.
5891         * timezone/zdump.c: Likewise.
5892         * timezone/zic.c: Likewise.
5894         * sysdeps/unix/sysv/linux/kernel-features.h
5895         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5896         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5897         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5898         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5899         Remove conditional code.
5901 2014-06-25  Will Newton  <will.newton@linaro.org>
5903         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5904         (_dl_arm_cap_flags): Add HWCAP2 values.
5905         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5906         (_DL_HWCAP_COUNT): Increase to 37.
5907         (_DL_HWCAP_LAST): New define.
5908         (_DL_HWCAP2_LAST): New define.
5909         (_dl_procinfo): Add support for printing
5910         AT_HWCAP2 entries.
5911         (_dl_string_hwcap): Use _dl_hwcap_string.
5913 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5917 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5919         * README: Do not mention ports directory.
5921         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5922         Remove macro.
5923         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5924         <kernel-features.h>.
5925         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5926         conditional variable definition.
5927         (__futimes): Update comment.
5928         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5929         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5931         [BZ #16560]
5932         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5933         arguments close to 0.
5934         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5935         Likewise.
5936         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5937         Likewise.
5938         * math/auto-libm-test-in: Add more tests of exp10.
5939         * math/auto-libm-test-out: Regenerated.
5940         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5942         * sysdeps/unix/sysv/linux/kernel-features.h
5943         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5944         * sysdeps/unix/sysv/linux/readv.c: Do not include
5945         <kernel-features.h>.
5946         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5947         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5948         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5949         unconditional.
5950         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5951         conditional code.
5952         * sysdeps/unix/sysv/linux/writev.c: Do not include
5953         <kernel-features.h>.
5954         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5955         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5956         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5957         unconditional.
5958         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5959         conditional code.
5961 2014-06-25  Will Newton  <will.newton@linaro.org>
5963         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5964         comment changes throughout the file.  Remove checks
5965         for HAVE_*_H definitions that are not required.
5966         (__gen_tempname): Call abort if an unknown kind value is
5967         passed.
5969 2014-06-25  Andreas Schwab  <schwab@suse.de>
5971         [BZ #17086]
5972         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5973         scalbln, scalblnf, scalblnl in libc.
5975 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
5977         [BZ #17086]
5978         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
5979         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
5980         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
5982 2014-06-24  Roland McGrath  <roland@hack.frob.com>
5984         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
5985         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
5986         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
5987         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
5988         Update #include.
5989         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
5990         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
5991         Update #include.
5992         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
5993         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
5994         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
5995         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
5996         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
5997         * sysdeps/x86/bits/pthreadtypes.h: ... here.
5998         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
5999         * sysdeps/x86/bits/semaphore.h: ... here.
6000         * sysdeps/x86/nptl/elide.h: Moved ...
6001         * sysdeps/x86/elide.h: ... here.
6002         * sysdeps/x86_64/nptl/Implies: File removed.
6003         * sysdeps/i386/nptl/Implies: File removed.
6005 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6007         [BZ #16539]
6008         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6009         return the argument for normal arguments with exponent below -64.
6010         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6011         Likewise.
6012         * math/auto-libm-test-in: Add another test of expm1.
6013         * math/auto-libm-test-out: Regenerated.
6015         [BZ #16287]
6016         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6017         calling __erfcl for arguments at least 16.
6018         * math/auto-libm-test-in: Add more tests of erf.
6019         * math/auto-libm-test-out: Regenerated.
6021         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6022         individual architectures.
6023         * sysdeps/unix/sysv/linux/configure: Regenerated.
6024         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6025         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6026         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6027         (ldd_rewrite_script): Define variable.
6028         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6030         file.
6031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6032         generated file.
6033         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6034         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6035         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6036         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6037         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6038         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6039         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6040         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6042 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6044         [BZ #17084]
6045         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6046         Rename member __data.d to __data.__elision_data.
6048 2014-06-24  Wilco  <wdijkstr@arm.com>
6050         * NEWS: Add 16918 to fixed bug list.
6052 2014-06-24  Wilco  <wdijkstr@arm.com>
6054         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6056 2014-06-24  Wilco  <wdijkstr@arm.com>
6058         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6059         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6060         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6061         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6062         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6063         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6064         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6065         Use _FPU_MASK_RM.
6067 2014-06-24  Wilco  <wdijkstr@arm.com>
6069         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6071 2014-06-24  Wilco  <wdijkstr@arm.com>
6073         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6074         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6075         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6076         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6078 2014-06-24  Wilco  <wdijkstr@arm.com>
6080         [BZ #16918]
6081         * sysdeps/arm/feupdateenv.c (feupdateenv):
6082         Rewrite to reduce FPSCR accesses and fix return value.
6084 2014-06-24  Wilco  <wdijkstr@arm.com>
6086         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6087         Optimize to avoid unnecessary FPSCR writes.
6088         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6089         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6090         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6091         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6093 2014-06-24  Wilco  <wdijkstr@arm.com>
6095         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6096         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6097         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6098         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6099         Call libc_fetestexcept_vfp.
6100         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6101         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6102         __SOFTFP__ ifdef so that they can be built for softfp.
6104 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6106         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6107         argument type signed char.
6109         * Makerules (check-abi): Dump diff of symlist if the test
6110         fails.
6112 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6114         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6115         using abort.
6117         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6118         Remove unused variable ST.
6120 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6122         [BZ #16354]
6123         [BZ #17061]
6124         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6125         small arguments before calling __expm1.
6126         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6127         small arguments before calling __expm1f.
6128         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6129         small arguments before calling __expm1l.
6130         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6131         Likewise.
6132         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6133         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6134         spurious underflow for some cosh tests.
6135         * math/auto-libm-test-out: Regenerated.
6136         * sysdeps/i386/fpu/libm-test-ulps: Update.
6138         [BZ #17050]
6139         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6140         (__ieee754_y1): Set errno if return value overflows.
6141         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6142         (__ieee754_y1f): Set errno if return value overflows.
6143         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6144         (__ieee754_y1l): Set errno if return value overflows.
6145         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6146         (__ieee754_y1l): Set errno if return value overflows.
6147         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6148         * math/auto-libm-test-out: Regenerated.
6150         * math/gen-auto-libm-tests.c: Document use of
6151         ignore-zero-inf-sign.
6152         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6153         (input_flags): Add ignore-zero-inf-sign.
6154         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6155         * math/gen-libm-test.pl (generate_testfile): Handle
6156         ignore-zero-inf-sign.
6157         * math/auto-libm-test-in: Mark some cpow tests with
6158         ignore-zero-inf-sign and some with xfail-rounding.
6159         * math/auto-libm-test-out: Regenerated.
6160         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6161         * sysdeps/i386/fpu/libm-test-ulps: Update.
6162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6164         [BZ #16315]
6165         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6166         overflowing or underflowing operations take place with sign of
6167         result.
6168         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6169         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6170         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6171         (__ieee754_pow): Recompute overflowing and underflowing results in
6172         original rounding mode.
6173         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6174         (__powl_helper): Allow negative argument X and scale negated value
6175         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6176         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6177         overflowing or underflowing operations take place with sign of
6178         result.
6179         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6180         Include <math.h>.
6181         * math/auto-libm-test-in: Add more tests of pow.
6182         * math/auto-libm-test-out: Regenerated.
6183         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6184         (pow_tonearest_test_data): Remove.
6185         (pow_test_tonearest): Likewise.
6186         (pow_towardzero_test_data): Likewise.
6187         (pow_test_towardzero): Likewise.
6188         (pow_downward_test_data): Likewise.
6189         (pow_test_downward): Likewise.
6190         (pow_upward_test_data): Likewise.
6191         (pow_test_upward): Likewise.
6192         (main): Don't call removed functions.
6193         * sysdeps/i386/fpu/libm-test-ulps: Update.
6194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6196 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6199         Moved ...
6200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6202         Moved ...
6203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6204         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6205         Moved ...
6206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6208         Moved ...
6209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6211         File removed.
6212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6213         File removed.
6214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6215         File removed.
6216         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6217         File removed.
6218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6219         File removed.
6220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6221         File removed.
6222         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6223         File removed.
6224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6225         File removed.
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6227         File removed.
6228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6229         File removed.
6230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6231         File removed.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6233         File removed.
6234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6235         Moved ...
6236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6238         Moved ...
6239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6240         ... here.
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6242         Moved ...
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6245         Moved ...
6246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6248         Moved ...
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6251         Moved ...
6252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6254         Moved ...
6255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6257         Moved ...
6258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6260         Moved ...
6261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6264         ... here.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6266         Moved ...
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6269         Moved ...
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6271         ... here.
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6273         Moved ...
6274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6275         ... here.
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6277         Moved ...
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6279         ... here.
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6281         Moved ...
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6284         Moved ...
6285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6289         Moved ...
6290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6291         ... here.
6292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6293         Moved ...
6294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6295         ... here.
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6297         Moved ...
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6303         Moved ...
6304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6306         Moved ...
6307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6309         Moved ...
6310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6311         ... here.
6312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6313         Moved ...
6314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6316         Moved ...
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6319         Moved ...
6320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6322         Moved ...
6323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6327         Moved ...
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6330         Moved ...
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6333         Moved ...
6334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6335         ... here.
6336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6337         Moved ...
6338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6339         ... here.
6340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6341         Moved ...
6342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6343         ... here.
6344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6345         Moved ...
6346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6348         Moved ...
6349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6351         Moved ...
6352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6354         Moved ...
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6356         ... here.
6357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6358         Moved ...
6359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6360         ... here.
6361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6362         Moved ...
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6364         ... here.
6365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6366         Moved ...
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6369         Moved ...
6370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6372 2014-06-23  Will Newton  <will.newton@linaro.org>
6373             Wilco  <wdijkstr@arm.com>
6375         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6376         implementation.  Include get-rounding-mode.h.
6377         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6378         [!libc_feholdsetround_noex_ctx]: Define
6379         libc_feholdsetround_noex_ctx.
6380         [!libc_feholdsetround_noexf_ctx]: Define
6381         libc_feholdsetround_noexf_ctx.
6382         [!libc_feholdsetround_noexl_ctx]: Define
6383         libc_feholdsetround_noexl_ctx.
6384         (libc_feholdsetround_ctx): New function.
6385         (libc_feresetround_ctx): New function.
6386         (libc_feholdsetround_noex_ctx): New function.
6387         (libc_feresetround_noex_ctx): New function.
6389 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6391         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6392         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6393         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6394         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6395         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6396         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6398         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6399         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6400         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6401         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6402         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6403         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6404         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6405         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6406         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6407         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6408         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6409         Moved ...
6410         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6411         ... here.
6412         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6413         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6414         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6415         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6416         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6417         Moved ...
6418         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6419         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6420         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6421         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6422         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6423         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6424         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6425         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6426         Moved ...
6427         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6428         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6429         Moved ...
6430         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6432         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6433         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6434         Moved ...
6435         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6436         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6437         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6438         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6439         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6440         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6441         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6442         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6443         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6444         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6445         Moved ...
6446         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6447         ... here.
6448         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6449         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6450         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6451         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6452         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6453         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6454         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6455         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6456         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6457         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6458         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6459         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6460         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6461         Moved ...
6462         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6463         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6464         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6465         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6466         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6468         Moved ...
6469         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6470         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6471         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6472         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6473         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6475         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6476         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6477         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6478         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6479         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6480         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6482         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6483         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6484         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6485         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6486         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6487         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6488         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6489         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6490         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6491         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6492         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6493         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6494         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6495         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6496         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6497         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6498         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6499         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6500         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6501         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6502         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6504 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6506         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6507         (FALLOC_FL_COLLAPSE_RANGE): New macro.
6508         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6509         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6510         (IPV6_PMTUDISC_INTERFACE): Likewise.
6511         (IPV6_PMTUDISC_OMIT): Likewise.
6513 2014-06-23  Andreas Schwab  <schwab@suse.de>
6515         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6516         Remove unused errout label.
6518 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6520         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6521         macro: hardware supports Vector Crypto instructions.
6523 2014-06-23  Will Newton  <will.newton@linaro.org>
6525         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6526         rather than __builtin_expect.
6528         * elf/dl-lookup.c (undefined_msg): Remove variable.
6529         (_dl_lookup_symbol_x): Replace undefined_msg with string
6530         literal.
6532         * elf/dl-lookup.c (do_lookup_unique): New function.
6533         (do_lookup_x): Move STB_GNU_UNIQUE handling code
6534         to a separate function.
6536 2014-06-23  Andreas Schwab  <schwab@suse.de>
6538         [BZ #17079]
6539         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6540         before reading the next line.
6542 2014-06-23  Will Newton  <will.newton@linaro.org>
6544         * test-skeleton.c (signal_handler): Use printf and %m
6545         rather than perror.  Use printf rather than fprintf to
6546         stderr.  Use puts rather than fputs to stderr.
6547         (main): Likewise.
6549 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
6551         * nscd/nscd.c (thread_info_t): Remove typedef.
6552         (thread_info): Remove variable.
6554 2014-06-21  Allan McRae  <allan@archlinux.org>
6556         * NEWS: Mention CVE-2014-4043.
6558 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6560         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6561         * nptl/smp.h: ... here.
6563         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6565         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6566         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6567         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6568         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6570         * nptl/allocatestack.c: Include <stack-aliasing.h>.
6571         * nptl/stack-aliasing.h: New file.
6572         * sysdeps/i386/i686/stack-aliasing.h: New file.
6573         * sysdeps/i386/i686/nptl/Makefile: File removed.
6574         * sysdeps/x86_64/stack-aliasing.h: New file.
6575         * sysdeps/x86_64/nptl/Makefile
6576         (CFLAGS-pthread_create.c): Variable removed.
6578         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6579         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6580         old file.
6581         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6582         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6583         old file.
6585 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
6587         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6588         (__ASSUME_SIGFRAME_V2): Remove macro.
6589         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6590         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6591         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6592         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6593         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6594         Declare as function.  Remove conditional macro definitions.
6595         (__default_rt_sa_restorer): Likewise.
6596         (__default_sa_restorer_v1): Remove declaration.
6597         (__default_sa_restorer_v2): Likewise.
6598         (__default_rt_sa_restorer_v1): Likewise.
6599         (__default_rt_sa_restorer_v2): Likewise.
6600         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6601         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6602         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6604 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6606         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6607         (libpthread-routines): Add sysdep.
6608         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6609         * sysdeps/unix/sysv/linux/sparc/Versions
6610         (libpthread: GLIBC_2.3.3): New version set.
6611         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6612         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6613         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6614         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6615         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
6616         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6617         Moved ...
6618         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6619         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6620         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6621         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6622         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6623         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6624         * sysdeps/sparc/nptl/sem_init.c: ... here.
6625         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6626         * sysdeps/sparc/nptl/sem_post.c: ... here.
6627         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6628         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6629         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6630         * sysdeps/sparc/nptl/sem_wait.c: ... here.
6631         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6632         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6633         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6634         (libpthread-routines): Add cpu_relax.
6635         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6636         File removed.
6637         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6638         (librt: GLIBC_2.3.3): New version set.
6639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6640         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6641         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6642         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6644         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6645         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6646         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6647         Moved ...
6648         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6649         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6650         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6651         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6652         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6653         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6654         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6655         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6656         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6657         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6658         Moved ...
6659         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6660         Update #include.
6661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6662         Moved ...
6663         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6664         Update #include.
6665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6666         Moved ...
6667         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6668         Update #include.
6669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6670         Moved ...
6671         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6672         Update #include.
6673         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6674         Moved ...
6675         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6676         Update #include.
6677         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6678         Moved ...
6679         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6680         Update #include.
6681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6682         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6684         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6686         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6688         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6690         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6691         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6692         Moved ...
6693         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6694         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6695         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6697         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6699 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6701         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6702         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6703         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6704         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6705         * nscd/nscd.c: Likewise.
6706         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6707         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6708         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6709         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6711         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6712         <kernel-features.h>.
6713         (init_mq_netlink): Remove conditional have_sock_cloexec
6714         definitions.  Remove code conditional on have_sock_cloexec < 0.
6715         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6716         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6717         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6718         <kernel-features.h>.
6719         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6720         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6722 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6725         Add tests for memset_chk and memset.
6727         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6728         with AVX2_Usable.
6730 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6732         [BZ #16046]
6733         * elf/tst-dl-iter-static.c: New file.
6734         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6736         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6737         error.
6739 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6741         * sysdeps/unix/sysv/linux/kernel-features.h
6742         (__ASSUME_F_GETOWN_EX): Remove macro.
6743         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6744         <kernel-features.h>.
6745         (miss_F_GETOWN_EX): Remove variable or macro.
6746         (do_fcntl): Do not check miss_F_GETOWN_EX.
6747         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6749         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6750         Remove macro.
6751         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6752         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6753         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6755         * sysdeps/unix/sysv/linux/kernel-features.h
6756         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6757         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6758         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6759         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6761 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6763         [BZ #17075]
6764         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6765         Fix calculation of the symbol's value.
6766         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6767         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6768         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6769         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6770         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6771         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6772         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6773         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6774         (modules-names): Add `tst-armtlsdescmod',
6775         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6776         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6777         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6778         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6779         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6780         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6781         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6782         ($(objpfx)tst-armtlsdescloc): New dependency.
6783         ($(objpfx)tst-armtlsdescextnow): Likewise.
6784         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6785         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6786         TLS scheme support.
6787         * sysdeps/arm/configure: Regenerate.
6789 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6791         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6792         (__atfct_seterrno_2): Likewise.
6793         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6794         <kernel-features.h>.
6795         (__ASSUME_ATFCTS): Do not undefine and redefine.
6796         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6797         (__have_atfcts): Remove conditional definition.
6798         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6799         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6800         unreachable if [__ASSUME_ATFCTS].
6801         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6802         not undefine and redefine.
6803         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6804         <kernel-features.h>.
6805         (faccessat) [__NR_faccessat]: Make code unconditional.
6806         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6807         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6808         <kernel-features.h>.
6809         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6810         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6811         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6812         <kernel-features.h>.
6813         (fchownat) [__NR_fchownat]: Make code unconditional.
6814         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6815         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6816         <kernel-features.h>.
6817         (futimesat) [__NR_futimesat]: Make code unconditional.
6818         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6819         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6820         <kernel-features.h>.
6821         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6822         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6823         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6824         <kernel-features.h>.
6825         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6826         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6827         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6828         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6829         <kernel-features.h>.
6830         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6831         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6832         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6833         <kernel-features.h>.
6834         (linkat) [__NR_linkat]: Make code unconditional.
6835         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6836         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6837         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6838         <kernel-features.h>.
6839         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6840         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6841         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6842         <kernel-features.h>.
6843         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6844         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6845         * sysdeps/unix/sysv/linux/openat.c: Do not include
6846         <kernel-features.h>.
6847         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6848         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6849         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6850         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6851         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6852         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6853         <kernel-features.h>.
6854         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6855         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6856         result of INLINE_SYSCALL directly, not via int variable.
6857         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6858         <kernel-features.h>.
6859         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6860         (renameat) [__NR_renameat]: Make code unconditional.
6861         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6862         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6863         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6864         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6865         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6866         (__ASSUME_ATFCTS): Do not undefine and redefine.
6867         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6868         <kernel-features.h>.
6869         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6870         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6871         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6872         <kernel-features.h>.
6873         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6874         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6875         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6876         (__ASSUME_ATFCTS): Do not undefine and redefine.
6877         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6878         <kernel-features.h>.
6879         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6880         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6881         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6882         <kernel-features.h>.
6883         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6884         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6886 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6888         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6890 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6892         [BZ #17069]
6893         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6894         constructed tree before returning error.
6895         * posix/bug-regexp36.c: Expand test case.
6897 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6899         [BZ #6803]
6900         * math/libm-test.inc (scalbln_test_date):
6901         Add errno expectations.
6902         * math/w_scalblnf.c: New File.
6903         Add wrapper which checks for setting errno to ERANGE.
6904         Add weak_alias for corresponding scalbln function.
6905         * math/w_scalbln.c: Likewise.
6906         * math/w_scalblnl.c: Likewise.
6907         * math/Makefile (libm-calls): Add w_scalbln.
6908         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6909         Remove weak_alias for corresponding scalbln function.
6910         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6911         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6912         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6913         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6914         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6915         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6916         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6917         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6918         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6919         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6920         Remove long_double_symbol for scalblnl function in libm, libc.
6921         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6922         Add wrapper which checks for setting errno to ERANGE.
6923         Add long_double_symbol for scalblnl function in libm, libc.
6924         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6925         Remove long_double_symbol for scalblnl in libm.
6926         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6927         Add wrapper which checks for setting errno to ERANGE.
6928         Add long_double_symbol for scalblnl function in libm.
6929         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6930         Do not use wrapper because of own implementation.
6932 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6934         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6935         3 bytes for __pad1 for x32.
6936         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6938 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6939             H.J. Lu  <hongjiu.lu@intel.com>
6941         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6942         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6943         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6944         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6945         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6947 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6949         [BZ #17069]
6950         * posix/regcomp.c (parse_expression): Deallocate partially
6951         constructed tree before returning error.
6952         * posix/Makefile.c (tests): Add bug-regex36.
6953         (generated): Add bug-regex36.mtrace.
6954         (tests-special): Add $(objpfx)bug-regex36-mem.out
6955         (bug-regex36-ENV): New variable.
6956         ($(objpfx)bug-regex36-mem.out): New rule.
6957         * posix/bug-regex36.c: New file.
6959 2014-06-19  Will Newton  <will.newton@linaro.org>
6961         * malloc/malloc.c (systrim): If extra is zero then return
6962         early.
6964 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6966         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6968 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6970         * sysdeps/aarch64/strchr.S: New file.
6972 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6974         [BZ #17022]
6975         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6976         from arguments -2 or below.
6977         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
6978         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
6980 2014-06-18  Andreas Schwab  <schwab@suse.de>
6982         [BZ #17062]
6983         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
6984         of a bracket expr not to run off the end of the string.
6985         * posix/Makefile (tests): Add tst-fnmatch3.
6986         * posix/tst-fnmatch3.c: New file.
6988 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6990         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
6991         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
6992         [$(cross-compiling) = no]: Likewise.
6993         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
6994         [$(cross-compiling) = no]: Likewise.
6996 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
6998         [BZ #17031]
6999         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7000         double, adjusted for any remainder from the high double.
7001         * math/libm-test.inc (nearbyint): Add tests.
7002         (rint): Likewise.
7004 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7006         * nptl/sysdeps/powerpc/Makefile: Moved ...
7007         * sysdeps/powerpc/nptl/Makefile: ... here.
7008         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7009         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7010         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7011         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7012         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7013         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7014         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7015         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7016         * nptl/sysdeps/powerpc/tls.h: Moved ...
7017         * sysdeps/powerpc/nptl/tls.h: ... here.
7019 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7021         [BZ #16681]
7022         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7023         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7024         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7025         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7026         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7027         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7028         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7029         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7030         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7032 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7034         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7036 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7038         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7039         defined operator.
7041         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7042         $TIMEOUTFACTOR.
7044 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7046         [BZ #17058]
7047         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7048         non-executed part of the test.
7050 2014-06-16  Andreas Schwab  <schwab@suse.de>
7052         * string/bits/string2.h (strdup, strndup): Update feature guard.
7054 2014-06-14  David S. Miller  <davem@davemloft.net>
7056         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7058 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7060         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7061         that was previously under [RESET_PID].
7062         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7064         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7065         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7066         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7067         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7068         (__libc_vfork): New strong alias.
7069         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7071 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7073         * sysdeps/generic/elide.h: New file.
7075 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7077         * Makefile (installed-headers): Adjust path of pthread.h header.
7079 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7081         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7082         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7083         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7084         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7086         * nptl/sysdeps/s390/Makefile: Moved ...
7087         * sysdeps/s390/nptl/Makefile: ... here.
7088         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7089         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7090         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7091         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7092         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7093         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7094         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7095         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7096         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7097         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7098         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7099         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7100         * nptl/sysdeps/s390/tls.h: Moved ...
7101         * sysdeps/s390/nptl/tls.h: ... here.
7103         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7104         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7106 2014-06-13  David S. Miller  <davem@davemloft.net>
7108         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7110         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7111         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7112         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7114         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7115         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7116         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7117         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7118         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7119         Remove RESET_PID cpp guards.
7120         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7121         Remove RESET_PID cpp guards.
7122         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7124 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7126         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7127         __sp to uintptr_t.
7129 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7131         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7132         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7133         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7134         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7135         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7136         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7137         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7138         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7139         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7140         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7141         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7142         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7143         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7144         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7145         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7146         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7147         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7148         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7149         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7150         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7152         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7153         (pthread_rwlock_rdlock): Add elision.
7154         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7155         (pthread_rwlock_wrlock): Add elision.
7156         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7157         (pthread_rwlock_trywrlock): Add elision.
7158         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7159         (pthread_rwlock_tryrdlock): Add elision.
7160         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7161         (pthread_rwlock_tryrdlock): Add elision unlock.
7162         * nptl/sysdeps/pthread/pthread.h:
7163         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7164         (PTHREAD_RWLOCK_INITIALIZER,
7165         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7166         Handle new elision field.
7167         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7168         * sysdeps/arm/nptl/bits/pthreadtypes.h
7169         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7170         * sysdeps/sh/nptl/bits/pthreadtypes.h
7171         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7172         * sysdeps/tile/nptl/bits/pthreadtypes.h
7173         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7174         * sysdeps/a/nptl/bits/pthreadtypes.h
7175         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7176         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7177         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7178         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7179         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7180         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7181         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7182         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7183         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7184         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7185         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7186         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7187         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7188         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7189         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7190         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7191         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7192         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7193         (elision_init): Set try_xbegin to zero when no RTM.
7194         * sysdeps/x86/nptl/bits/pthreadtypes.h
7195         (pthread_rwlock_t): Change __pad1 to __rwelision.
7196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7198 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7200         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7201         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7202         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7203         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7205 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7207         [BZ #16996]
7208         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7209         that the cached result has been set before returning it.
7211 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7213         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7214         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7215         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7216         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7217         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7218         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7220         * nptl/sysdeps/sparc/Makefile: Moved ...
7221         * sysdeps/sparc/nptl/Makefile: ... here.
7222         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7223         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7224         * nptl/sysdeps/sparc/tls.h: Moved ...
7225         * sysdeps/sparc/nptl/tls.h: ... here.
7226         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7227         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7228         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7229         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7230         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7231         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7232         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7233         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7234         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7235         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7236         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7237         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7238         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7239         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7240         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7241         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7242         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7243         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7244         Update #include.
7245         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7247         Update #include.
7248         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7249         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7250         Update #include.
7251         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7253         Update #include.
7255         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7257         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7258         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7260         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7261         (struct list_links): Type removed.
7262         (struct thread_node, struct timer_node): Replace struct list_links
7263         with struct list_head.
7264         (list_unlink_ip): Likewise.
7265         * sysdeps/pthread/timer_routines.c
7266         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7267         (list_append, list_insbefore): Likewise.
7268         (list_init): Function removed.
7269         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7270         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7271         * sysdeps/pthread/Makefile: ... here, new file.
7273         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7274         * sysdeps/nptl/Implies: ... here.
7275         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7276         * nptl/sysdeps/pthread/list.h: Moved ...
7277         * include/list.h: ... here.
7278         * nptl/sysdeps/pthread/createthread.c: Moved ...
7279         * nptl/createthread.c: ... here.
7280         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7281         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7282         * nptl/pt-longjmp.c: ... here.
7283         * nptl/sysdeps/pthread/Makefile: Moved ...
7284         * sysdeps/nptl/Makefile: ... here.
7285         * nptl/sysdeps/pthread/Subdirs: Moved ...
7286         * sysdeps/nptl/Subdirs: ... here.
7287         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7288         * sysdeps/nptl/aio_misc.h: ... here.
7289         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7290         * sysdeps/nptl/bits/libc-lock.h: ... here.
7291         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7292         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7293         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7294         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7295         * nptl/sysdeps/pthread/configure: Moved ...
7296         * sysdeps/nptl/configure: ... here.
7297         * nptl/sysdeps/pthread/configure.ac: Moved ...
7298         * sysdeps/nptl/configure.ac: ... here.
7299         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7300         * sysdeps/nptl/gai_misc.h: ... here.
7301         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7302         * sysdeps/nptl/librt-cancellation.c: ... here.
7303         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7304         * sysdeps/nptl/malloc-machine.h: ... here.
7305         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7306         * sysdeps/nptl/pthread-functions.h: ... here.
7307         * nptl/sysdeps/pthread/pthread.h: Moved ...
7308         * sysdeps/nptl/pthread.h: ... here.
7309         * nptl/sysdeps/pthread/setxid.h: Moved ...
7310         * sysdeps/nptl/setxid.h: ... here.
7311         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7312         * sysdeps/nptl/sigfillset.c: ... here.
7313         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7314         * sysdeps/nptl/tcb-offsets.h: ... here.
7315         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7316         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7317         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7318         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7319         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7320         * sysdeps/pthread/allocalim.h: ... here.
7321         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7322         * sysdeps/pthread/bits/sigthread.h: ... here.
7323         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7324         * sysdeps/pthread/flockfile.c: ... here.
7325         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7326         * sysdeps/pthread/ftrylockfile.c: ... here.
7327         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7328         * sysdeps/pthread/funlockfile.c: ... here.
7329         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7330         * sysdeps/pthread/posix-timer.h: ... here.
7331         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7332         * sysdeps/pthread/timer_create.c: ... here.
7333         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7334         * sysdeps/pthread/timer_delete.c: ... here.
7335         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7336         * sysdeps/pthread/timer_getoverr.c: ... here.
7337         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7338         * sysdeps/pthread/timer_gettime.c: ... here.
7339         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7340         * sysdeps/pthread/timer_routines.c: ... here.
7341         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7342         * sysdeps/pthread/timer_settime.c: ... here.
7343         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7344         * sysdeps/pthread/tst-timer.c: ... here.
7345         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7346         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7348         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7349         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7351         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7352         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7353         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7354         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7355         Update #include target.
7356         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7357         * sysdeps/i386/i686/nptl/Makefile: ... here.
7358         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7359         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7360         Update #include target.
7361         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7362         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7363         * nptl/sysdeps/i386/Makefile: Moved ...
7364         * sysdeps/i386/nptl/Makefile: ... here.
7365         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7366         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7367         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7368         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7369         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7370         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7371         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7372         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7373         * sysdeps/i386/nptl/pthreaddef.h: ... here.
7374         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7375         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7376         * nptl/sysdeps/i386/tls.h: Moved ...
7377         * sysdeps/i386/nptl/tls.h: ... here.
7379         * sysdeps/sh/Makefile [$(subdir) = csu]
7380         (gen-as-const-headers): Add tcb-offsets.sym.
7381         * nptl/sysdeps/sh/Makefile: File removed.
7382         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7383         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7384         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7385         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7386         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7387         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7388         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7389         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7390         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7391         * sysdeps/sh/nptl/pthreaddef.h: ... here.
7392         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7393         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7394         * nptl/sysdeps/sh/tls.h: Moved ...
7395         * sysdeps/sh/nptl/tls.h: ... here.
7396         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7397         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7398         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7399         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7400         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7401         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7402         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7403         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7404         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7405         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7406         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7407         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7408         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7409         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7410         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7411         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7412         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7413         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7414         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7415         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7416         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7417         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7418         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7419         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7420         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7421         Moved ...
7422         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7423         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7424         Moved ...
7425         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7426         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7427         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7428         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7429         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7430         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7431         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7432         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7433         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7434         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7435         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7436         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7437         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7438         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7439         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7440         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7441         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7442         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7443         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7445 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7447         * posix/spawn_faction_addopen.c: Include string.h.
7449 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7451         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7452         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7453         * nptl/sysdeps/x86_64/Makefile: Moved ...
7454         * sysdeps/x86_64/nptl/Makefile: ... here.
7455         * nptl/sysdeps/x86_64/configure: Moved ...
7456         * sysdeps/x86_64/nptl/configure: ... here.
7457         * nptl/sysdeps/x86_64/configure.ac: Moved ...
7458         * sysdeps/x86_64/nptl/configure.ac: ... here.
7459         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7460         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7461         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7462         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7463         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7464         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7465         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7466         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7467         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7468         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7469         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7470         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7471         * nptl/sysdeps/x86_64/tls.h: Moved ...
7472         * sysdeps/x86_64/nptl/tls.h: ... here.
7473         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7474         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7475         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7476         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7478         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7480 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7482         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7484 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
7486         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7487         type.
7488         [POSIX] (off_t): Likewise.
7489         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7490         [POSIX] (S_ISBLK): Require macro.
7491         [POSIX] (S_ISCHR): Likewise.
7492         [POSIX] (S_ISDIR): Likewise.
7493         [POSIX] (S_ISFIFO): Likewise.
7494         [POSIX] (S_ISREG): Likewise.
7495         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7496         optional-macro.
7497         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7498         type.
7499         [POSIX] (time_t): Likewise.
7500         [POSIX] (timer_t): Likewise.
7502 2014-06-11  Florian Weimer  <fweimer@redhat.com>
7504         [BZ #17048]
7505         * posix/spawn_int.h (struct __spawn_action): Make the path string
7506         non-const to support deallocation.
7507         * posix/spawn_faction_addopen.c
7508         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7509         * posix/spawn_faction_destroy.c
7510         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
7511         path in all spawn_do_open actions.
7512         * posix/tst-spawn.c (do_test): Exercise the copy operation in
7513         posix_spawn_file_actions_addopen.
7515 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
7517         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7518         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7519         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7520         conditional code always true.
7521         (__libc_vfork): New alias.
7523 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7525         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7526         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7528         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7530         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7531         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7533         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7534         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7536         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7537         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7539 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7541         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7542         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7543         multiarch strcmp for PPC64.
7544         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7545         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7547         multiarch optimizations.
7548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7549         (__libc_ifunc_impl_list): Likewise.
7551 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7553         * benchtests/scripts/validate_benchout.py: New script.
7554         * benchtests/Makefile (bench-func): Call it.
7555         * benchtests/scripts/benchout.schema.json: New file.
7557 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
7559         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7560         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7561         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7562         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7563         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7564         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7565         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7566         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7567         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7568         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7569         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7570         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7571         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7572         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7573         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7574         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7576         Moved ...
7577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7578         ... here.
7579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7580         Moved ...
7581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7583         Moved ...
7584         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7585         ... here.
7586         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7587         Moved ...
7588         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7589         ... here.
7590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7591         Moved ...
7592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7593         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7594         Moved ...
7595         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7596         ... here.
7597         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7598         Moved ...
7599         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7600         ... here.
7601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7602         Moved ...
7603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7605         Moved ...
7606         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7607         ... here.
7608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7609         Moved ...
7610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7611         ... here.
7612         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7613         Moved ...
7614         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7615         ... here.
7616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7617         Moved ...
7618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7620         Moved ...
7621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7622         ... here.
7623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7624         Moved ...
7625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7626         ... here.
7627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7628         Moved ...
7629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7630         ... here.
7631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7632         Moved ...
7633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7634         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7635         Moved ...
7636         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7637         ... here.
7638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7639         Moved ...
7640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7641         ... here.
7642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7643         Moved ...
7644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7645         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7646         Moved ...
7647         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7648         ... here.
7649         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7650         Moved ...
7651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7653         Moved ...
7654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7655         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7656         Moved ...
7657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7658         ... here.
7659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7660         Moved ...
7661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7662         ... here.
7663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7664         Moved ...
7665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7666         ... here.
7667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7668         Moved ...
7669         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7671         Moved ...
7672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7673         ... here.
7674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7675         Moved ...
7676         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7677         ... here.
7678         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7679         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7680         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7681         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7682         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7683         Moved ...
7684         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7685         ... here.
7686         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7687         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7688         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7689         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7690         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7691         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7692         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7693         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7694         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7695         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7696         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7697         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7698         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7699         Moved ...
7700         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7702         Moved ...
7703         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7704         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7705         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7706         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7707         Moved ...
7708         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7710         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7711         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7712         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7713         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7714         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7716 2014-06-10  Wilco  <wdijkstr@arm.com>
7718         * math/test-fenv-return.c: New file.
7719         * math/Makefile: Add new test test-fenv-return.
7721 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7723         [BZ #17042]
7724         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7725         when x - 1 is zero.
7726         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7727         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7728         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7729         0.0L for an argument of 1.0L.
7730         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7731         Likewise.
7732         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7733         value when x - 1 is zero.
7734         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7735         * sysdeps/i386/fpu/libm-test-ulps: Update.
7736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7738 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7740         [BZ #15119]
7741         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7743 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7745         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7746         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7748 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7750         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7751         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7753         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7754         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7756         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7757         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7759         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7760         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7762         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7763         if not already defined.
7764         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7765         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7766         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7767         (TLS_INIT_TP): Use it.
7768         (TLS_DEFINE_INIT_TP): New macro.
7769         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7771 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7773         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7774         constant.
7775         [POSIX] (IXANY): Likewise.
7776         [POSIX] (OLCUC): Likewise.
7777         [POSIX || POSIX2008] (CBAUD): Do not allow.
7778         [POSIX || POSIX2008] (DEFECHO): Likewise.
7779         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7780         [POSIX || POSIX2008] (ECHOKE): Likewise.
7781         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7782         [POSIX || POSIX2008] (EXTA): Likewise.
7783         [POSIX || POSIX2008] (EXTB): Likewise.
7784         [POSIX || POSIX2008] (FLUSHO): Likewise.
7785         [POSIX || POSIX2008] (LOBLK): Likewise.
7786         [POSIX || POSIX2008] (PENDIN): Likewise.
7787         [POSIX || POSIX2008] (SWTCH): Likewise.
7788         [POSIX || POSIX2008] (VDISCARD): Likewise.
7789         [POSIX || POSIX2008] (VDSUSP): Likewise.
7790         [POSIX || POSIX2008] (VLNEXT): Likewise.
7791         [POSIX || POSIX2008] (VREPRINT): Likewise.
7792         [POSIX || POSIX2008] (VSTATUS): Likewise.
7793         [POSIX || POSIX2008] (VWERASE): Likewise.
7794         (B*): Change to B[0123456789]*.
7795         * conform/data/time.h-data [POSIX || UNIX98]
7796         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7797         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7798         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7799         [POSIX] (tm_*): Do not allow.
7801 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7803         * Makefile (install): Don't set LANGUAGE.
7804         * Makefile.in (install): Likewise.
7805         * assert/Makefile (test-assert-ENV): Remove variable.
7806         (test-assert-perr-ENV): Likewise.
7807         * elf/Makefile (neededtest4-ENV): Likewise.
7808         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7809         [$(cross-compiling) = no]: Don't set LANGUAGE.
7810         * io/ftwtest-sh (LANG): Remove variable.
7811         * libio/Makefile (tst-widetext-ENV): Likewise.
7812         * manual/install.texi (Running make install): Don't refer to
7813         environment settings for make install.
7814         * INSTALL: Regenerated.
7815         * nptl/tst-tls6.sh: Don't set LANG.
7816         * posix/globtest.sh (LANG): Remove variable.
7817         * string/Makefile (tester-ENV): Likewise.
7818         (inl-tester-ENV): Likewise.
7819         (noinl-tester-ENV): Likewise.
7820         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7821         [$(cross-compiling) = no]: Don't set LANGUAGE.
7822         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7823         without explicit environment settings.
7825 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7827         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7828         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7829         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7830         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7832 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7834         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7835         other files in the crypt directory.
7836         * crypt/crypt.c: Remove duplicate includes.
7837         * crypt/crypt-entry.c: Likewise.
7838         * crypt/crypt_util.c: Likewise.
7840 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7842         * Makeconfig (run-program-env): New variable.
7843         (run-program-prefix-before-env): Likewise.
7844         (run-program-prefix-after-env): Likewise.
7845         (run-program-prefix): Define in terms of new variables.
7846         (built-program-cmd-before-env): New variable.
7847         (built-program-cmd-after-env): Likewise.
7848         (built-program-cmd): Define in terms of new variables.
7849         (test-program-prefix-before-env): New variable.
7850         (test-program-prefix-after-env): Likewise.
7851         (test-program-prefix): Define in terms of new variables.
7852         (test-program-cmd-before-env): New variable.
7853         (test-program-cmd-after-env): Likewise.
7854         (test-program-cmd): Define in terms of new variables.
7855         * Rules (make-test-out): Use $(run-program-env).
7856         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7857         (help): Do not mention environment variables.  Mention
7858         --timeoutfactor option.
7859         (timeoutfactor): New variable.
7860         (blacklist_exports): Remove function.
7861         (exports): Remove variable.
7862         (command): Do not include ${exports}.
7863         * manual/install.texi (Configuring and compiling): Do not mention
7864         test wrappers preserving environment variables.  Mention that last
7865         assignment to a variable must take precedence.
7866         * INSTALL: Regenerated.
7867         * benchtests/Makefile (run-bench): Use $(run-program-env).
7868         * catgets/Makefile ($(objpfx)test1.cat): Use
7869         $(built-program-cmd-before-env), $(run-program-env) and
7870         $(built-program-cmd-after-env).
7871         ($(objpfx)test2.cat): Do not specify environment variables
7872         explicitly.
7873         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7874         $(run-program-env) and $(built-program-cmd-after-env).
7875         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7876         $(run-program-env) and $(test-program-cmd-after-env).
7877         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7878         explicitly.
7879         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7880         run_program_env and test_program_cmd_after_env arguments.
7881         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7882         * elf/tst-pathopt.sh: Use run_program_env argument.
7883         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7884         $(test-wrapper-env) and $(run-program-env).
7885         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7886         run_program_env arguments.
7887         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7888         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7889         $(test-program-prefix-before-env), $(run-program-env) and
7890         $(test-program-prefix-after-env).
7891         ($(objpfx)tst-gettext2.out): Likewise.
7892         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7893         run_program_env and test_program_prefix_after_env arguments.
7894         * intl/tst-gettext2.sh: Likewise.
7895         * intl/tst-gettext4.sh: Do not set environment variables
7896         explicitly.
7897         * intl/tst-gettext6.sh: Likewise.
7898         * intl/tst-translit.sh: Likewise.
7899         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7900         $(test-program-prefix-before-env), $(run-program-env) and
7901         $(test-program-prefix-after-env).
7902         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7903         run_program_env and test_program_prefix_after_env arguments.
7904         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7905         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7906         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7907         explicitly with each use of ${test_wrapper_env}.
7908         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7909         $(test-program-prefix-before-env), $(run-program-env) and
7910         $(test-program-prefix-after-env).
7911         * posix/tst-getconf.sh: Do not set environment variables
7912         explicitly.
7913         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7914         run_program_env and test_program_prefix_after_env arguments.
7915         * stdio-common/tst-printf.sh: Do not set environment variables
7916         explicitly.
7917         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7918         $(test-program-prefix-before-env), $(run-program-env) and
7919         $(test-program-prefix-after-env).
7920         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7921         run_program_env and test_program_prefix_after_env arguments.
7922         Split $test calls into $test_pre and $test.
7923         * timezone/Makefile (build-testdata): Use
7924         $(built-program-cmd-before-env), $(run-program-env) and
7925         $(built-program-cmd-after-env).
7927 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7929         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7930         strlen for non SHARED builds.
7932 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7934         * nptl/allocatestack.c (check_list): Inlined function...
7935         (__reclaim_stacks): ... here.
7937 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7939         [BZ #15698]
7940         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7941         memory overrun.
7943 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7945         * Rules (make-test-out): Include
7946         LOCPATH=$(common-objpfx)localedata in default environment.
7947         * debug/Makefile (tst-chk1-ENV): Remove variable.
7948         (tst-chk2-ENV): Likewise.
7949         (tst-chk3-ENV): Likewise.
7950         (tst-chk4-ENV): Likewise.
7951         (tst-chk5-ENV): Likewise.
7952         (tst-chk6-ENV): Likewise.
7953         (tst-lfschk1-ENV): Likewise.
7954         (tst-lfschk2-ENV): Likewise.
7955         (tst-lfschk3-ENV): Likewise.
7956         (tst-lfschk4-ENV): Likewise.
7957         (tst-lfschk5-ENV): Likewise.
7958         (tst-lfschk6-ENV): Likewise.
7959         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7960         (tst-iconv7-ENV): Likewise.
7961         * intl/Makefile (LOCPATH-ENV): Likewise.
7962         (tst-codeset-ENV): Likewise.
7963         (tst-gettext3-ENV): Likewise.
7964         (tst-gettext5-ENV): Likewise.
7965         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7966         (tst-fopenloc-ENV): Likewise.
7967         (tst-fgetws-ENV): Remove variable.
7968         (tst-ungetwc1-ENV): Likewise.
7969         (tst-ungetwc2-ENV): Likewise.
7970         (bug-ungetwc2-ENV): Likewise.
7971         (tst-swscanf-ENV): Likewise.
7972         (bug-ftell-ENV): Likewise.
7973         (tst-fgetwc-ENV): Likewise.
7974         (tst-fseek-ENV): Likewise.
7975         (tst-ftell-partial-wide-ENV): Likewise.
7976         (tst-ftell-active-handler-ENV): Likewise.
7977         (tst-ftell-append-ENV): Likewise.
7978         * posix/Makefile (tst-fnmatch-ENV): Likewise.
7979         (tst-regexloc-ENV): Likewise.
7980         (bug-regex1-ENV): Likewise.
7981         (tst-regex-ENV): Likewise.
7982         (tst-regex2-ENV): Likewise.
7983         (bug-regex5-ENV): Likewise.
7984         (bug-regex6-ENV): Likewise.
7985         (bug-regex17-ENV): Likewise.
7986         (bug-regex18-ENV): Likewise.
7987         (bug-regex19-ENV): Likewise.
7988         (bug-regex20-ENV): Likewise.
7989         (bug-regex22-ENV): Likewise.
7990         (bug-regex23-ENV): Likewise.
7991         (bug-regex25-ENV): Likewise.
7992         (bug-regex26-ENV): Likewise.
7993         (bug-regex30-ENV): Likewise.
7994         (bug-regex32-ENV): Likewise.
7995         (bug-regex33-ENV): Likewise.
7996         (bug-regex34-ENV): Likewise.
7997         (bug-regex35-ENV): Likewise.
7998         (tst-rxspencer-ENV): Likewise.
7999         (tst-rxspencer-no-utf8-ENV): Likewise.
8000         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8001         (tst-sscanf-ENV): Likewise.
8002         (tst-swprintf-ENV): Likewise.
8003         (tst-swscanf-ENV): Likewise.
8004         (test-vfprintf-ENV): Likewise.
8005         (scanf13-ENV): Likewise.
8006         (bug14-ENV): Likewise.
8007         (tst-grouping-ENV): Likewise.
8008         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8009         (tst-strtod3-ENV): Likewise.
8010         (tst-strtod4-ENV): Likewise.
8011         (tst-strtod5-ENV): Likewise.
8012         (testmb2-ENV): Likewise./
8013         * string/Makefile (tst-strxfrm-ENV): Likewise.
8014         (tst-strxfrm2-ENV): Likewise.
8015         (bug-strcoll1-ENV): Likewise.
8016         (test-strcasecmp-ENV): Likewise.
8017         (test-strncasecmp-ENV): Likewise.
8018         * time/Makefile (tst-strptime-ENV): Likewise.
8019         (tst-ftime_l-ENV): Likewise.
8020         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8021         (tst-mbrtowc-ENV): Likewise.
8022         (tst-wcrtomb-ENV): Likewise.
8023         (tst-mbrtowc2-ENV): Likewise.
8024         (tst-c16c32-1-ENV): Likewise.
8025         (tst-mbsnrtowcs-ENV): Likewise.
8027 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8029         * manual/resource.texi (How to get information about the memory
8030         subsystem?): Fix typo.
8031         Reported by Peon de la Parra Ivan <peon@keba.com>
8033 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8035         [BZ #16882]
8036         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8037         (pthread_spin_lock): Branch out of spin loop to proper location.
8038         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8039         (pthread_spin_lock): Likewise.
8041         * nptl/tst-spin4.c: New test.
8042         * nptl/Makefile (tests): Add tst-spin4.
8044 2014-06-03  Andreas Schwab  <schwab@suse.de>
8046         [BZ #15946]
8047         * resolv/res_send.c (send_dg): Reload file descriptor after
8048         calling reopen.
8050 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8052         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8054 2014-06-03  Richard Henderson  <rth@redhat.com>
8056         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8057         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8058         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8059         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8060         in the SAVE_PID block.
8061         (__libc_vfork): New alias.
8062         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8064         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8065         child in registers, not on the stack.  Remove RESET_PID conditionals.
8066         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8068 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8070         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8072 2014-06-03  Wilco  <wdijkstr@arm.com>
8074         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8075         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8076         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8077         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8078         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8079         Likewise.
8081 2014-06-03  Wilco  <wdijkstr@arm.com>
8083         * sysdeps/aarch64/fpu/math_private.h
8084         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8085         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8086         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8087         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8088         Fix declarations.
8090 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8092         * crypt/crypt-private.h: Include ufc-crypt.h.
8093         (__b64_from_24bit): Declare extern.
8094         * crypt/crypt_util.c(__b64_from_24bit): New function.
8095         (b64t): New static const variable.
8096         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8097         (b64t): Remove variable.
8098         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8099         * crypt/sha256-crypt.c: Include crypt-private.h.
8100         (b64t): Remove variable.
8101         (__sha256_crypt_r): Remove b64_from_24bit and replace
8102         with __b64_from_24bit.
8103         * crypt/sha512-crypt.c: Likewise.
8105 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8107         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8108         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8109         Label the code __libc_vfork rather than __vfork.
8110         [!NOT_IN_libc] (vfork): Define as weak alias.
8111         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8112         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8113         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8115 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8117         * malloc/malloc.c (malloc_info): Fix format specifier for
8118         n_mmaps.
8120 2014-06-02  Wilco  <wdijkstr@arm.com>
8122         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8123         FPCR write.
8125 2014-06-02  Wilco  <wdijkstr@arm.com>
8127         [BZ #17009]
8128         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8129         Rewrite to reduce FPCR/FPSR accesses.
8131 2014-06-01  David S. Miller  <davem@davemloft.net>
8133         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8135 2014-05-31  David S. Miller  <davem@davemloft.net>
8137         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8138         to occur in round to nearest mode when |x| >= 2.0
8140 2014-05-30  Richard Henderson  <rth@twiddle.net>
8142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8143         (PSEUDO_RET_NOERRNO): Remove.
8144         (ret): Don't redefine.
8145         (ret_NOERRNO): Define in terms of ret.
8146         (ret_ERRVAL): Likewise.
8148         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8149         use of PSEUDO_RET; perform the error check directly.
8151 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8153         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8154         with __int128_t.
8156 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8158         * malloc/malloc (malloc_info): Fix formatting.
8160 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8161             Roland McGrath  <roland@hack.frob.com>
8163         * malloc/malloc (malloc_info): Also print mmapped statistics.
8165 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8167         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8168         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8170 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8172         * malloc/malloc.c (malloc_info): Inline mi_arena.
8174 2014-05-29  Richard Henderson  <rth@twiddle.net>
8176         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8177         Remove comma before expanding ASM_ARGS_##nr.
8178         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8179         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8180         of ASM_ARGS_##nr.
8181         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8182         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8183         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8184         (ASM_ARGS_1): Add leading comma.
8186         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8187         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8188         to __errno_location.
8189         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8190         Remove the expected plt for __errno_location.
8192         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8193         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8194         call to __read_tp.
8196         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8197         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8198         it and break it down.
8199         (DOCARGS_0, DOCARGS_1): Do nothing.
8200         (DOCARGS_2): Update to store into the new stack frame.
8201         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8202         (UNDOCARGS_1): Update to restore from the new stack frame.
8203         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8204         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8206         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8207         (SINGLE_THREAD_P): New parameter for result regno.
8208         (PSEUDO): Update to match; use cbz instead of beq.
8210         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8211         Use ENTRY to define the _nocancel entry point.  Share the syscall
8212         and syscall error check paths with the cancel path.
8213         (PSEUDO_END): New.
8215         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8216         whitespace; tabs before and after asm mnemonics.
8218 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8220         [BZ #15132]
8221         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8222         Call fstat64 or stat64 internally, depending on arguments passed.
8223         Replace stat buffer argument with file descriptor argument.
8224         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8225         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8226         Pass fd to __internal_statvfs instead of calling fstat64.
8227         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8228         Pass fd to __internal_statvfs64 instead of calling fstat64.
8229         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8230         Pass -1 to __internal_statvfs instead of calling stat64.
8231         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8232         Pass -1 to __internal_statvfs64 instead of calling stat64.
8234 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8236         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8237         that was previously under [RESET_PID].
8238         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8240         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8241         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8243 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8245         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8247         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8248         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8250 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8252         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8254 2014-05-27  Andreas Schwab  <schwab@suse.de>
8256         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8257         TLS_INIT_TP macro.
8258         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8259         * elf/rtld.c (init_tls, dl_main): Likewise.
8260         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8261         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8262         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8263         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8264         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8265         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8266         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8267         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8268         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8269         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8270         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8271         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8272         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8273         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8274         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8275         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8276         * sysdeps/generic/tls.h: Update description.
8278 2014-05-27  Will Newton  <will.newton@linaro.org>
8280         [BZ #16990]
8281         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8282         and restore r2 rather than just restoring.
8284 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8286         [BZ #16724]
8287         * libio/tst-ftell-append.c: New test case.
8288         * libio/Makefile (tests): Add test case.
8289         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8290         append mode.
8291         * libio/wfileops.c (do_ftell_wide): Likewise.
8293 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8295         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8297         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8298         ...
8299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8301         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8302         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8303         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8304         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8305         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8306         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8308         Moved ...
8309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8310         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8311         Moved ...
8312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8313         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8314         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8315         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8316         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8317         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8318         ...
8319         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8320         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8321         Moved ...
8322         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8323         here.
8324         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8325         ...
8326         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8327         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8328         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8330         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8331         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8332         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8333         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8336         merge into ...
8337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8338         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8339         ...
8340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8342         ...
8343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8345         Moved ...
8346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8347         here.
8348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8349         Moved ...
8350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8351         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8352         Moved ...
8353         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8356         conditional [RESET_PID].
8357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8359         removed.
8360         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8361         removed.
8363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8364         <tcb-offsets.h>.
8365         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8366         (__libc_vfork): New strong alias.
8367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8368         removed.
8369         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8370         Removed.
8372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8373         <tcb-offsets.h>.
8374         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8375         (__libc_vfork): New strong alias.
8376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8377         removed.
8378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8379         removed.
8381 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
8383         * malloc/malloc.c (mi_arena): New function.
8384         (malloc_info): Remove nested function mi_arena. Call non-nosted
8385         function mi_arena.
8387 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8389         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8390         by insrwi.
8391         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8392         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8393         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8394         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8395         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8396         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8397         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8399 2014-05-26  Andreas Schwab  <schwab@suse.de>
8401         [BZ #16984]
8402         * locale/programs/repertoire.c (repertoire_read): Add slash
8403         between I18NPATH element and file name.
8404         * locale/programs/locfile.c (locfile_read): Likewise.
8406 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8408         * nptl/pthread_mutexattr_settype.c
8409         (__pthread_mutexattr_settype):
8410         Disable lock elision for PTHREAD_MUTEX_NORMAL.
8412 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8414         * nptl/tst-mutex5 (do_test):
8415         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8417 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8419         * benchtests/README: Document 'init' directive.
8420         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8421         BENCH_INIT.
8422         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8423         (parse_file): Recognize 'init' directive.
8425 2014-05-26  Kyle McMartin  <kyle@redhat.com>
8427         [BZ #16796]
8428         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8429         alignment of struct pthread.
8431 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8433         [BZ #16878]
8434         * nscd/netgroupcache.c (addgetnetgrentX): Look for
8435         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8436         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8437         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8439 2014-05-25  Richard Henderson  <rth@twiddle.net>
8441         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8442         (SINGLE_THREAD_P_PIC): Remove.
8443         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8444         (SINGLE_THREAD_P_PIC): Remove.
8446         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8447         branch to syscall error ...
8448         (PSEUDO): ... here.
8449         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8450         from __local_syscall_error to .Lsyscall_error.
8451         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8452         (SYSCALL_ERROR): Update label name.
8454         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8455         Do not use DOARGS/UNDOARGS.
8456         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8457         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8458         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8459         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8460         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8462         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8463         block comment.
8465         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8466         define if !NOT_IN_libc.
8467         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8468         define with non-default symbol versions.
8470 2014-05-23  Richard Henderson  <rth@twiddle.net>
8472         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8473         (vfork, __vfork): Define via compat_symbol.
8475         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8476         [!HAVE_IFUNC] (vfork_compat): Remove.
8477         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8479 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8481         [BZ #16978]
8482         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8483         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8484         variable.
8486 2014-05-23  Richard Henderson  <rth@twiddle.net>
8488         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8489         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8490         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8491         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8493         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8494         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8495         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8496         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8497         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8498         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8499         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8500         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8501         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8502         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8503         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8504         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8505         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8506         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8507         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8508         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8509         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8510         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8511         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8512         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8513         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8514         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8515         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8516         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8517         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8518         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8519         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8520         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8521         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8522         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8523         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8524         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8525         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8526         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8527         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8528         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8529         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8530         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8531         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8532         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8533         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8534         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8535         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8536         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8537         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8538         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8539         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8540         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8541         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8542         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8543         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8544         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8545         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8546         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8547         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8548         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8550         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8551         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8552         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
8553         before exiting on error.
8554         (__libc_vfork): New strong alias.
8555         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8556         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8558         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8559         that was previously under [RESET_PID].
8560         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8562         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8564 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8566         [BZ #16977]
8567         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8568         value when x - 1 is zero.
8569         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8570         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8571         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8572         0.0L for an argument of 1.0L.
8573         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8574         Likewise.
8575         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8576         value when x - 1 is zero.
8577         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8578         * sysdeps/i386/fpu/libm-test-ulps: Update.
8579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8581 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8583         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8584         alphasort and versionsort.
8586 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8588         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8589         macro.
8590         [copysignf]: Likewise.
8592 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8594         * crypt/md5-crypt.c: Fix formatting.
8596 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8598         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8599         (b64_from_24bit): New function.
8601 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8603         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8604         libc_hidden_builtin_def to ifunc.
8605         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8606         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8608 2014-05-21  Roland McGrath  <roland@hack.frob.com>
8610         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8611         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8613 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
8615         * nscd/Depend (linuxthreads): Remove.
8616         (nptl): Add.
8617         * resolv/Depend (linuxthreads): Remove.
8618         * rt/Depend (linuxthreads): Remove.
8620         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8621         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8622         $(common-objpfx)elf/.
8623         (link-libc-before-gnulib): Likewise.
8624         (elfobjdir): Remove variable.
8625         * Makefile (install): Use $(elf-objpfx) instead of
8626         $(common-objpfx)elf/.
8627         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8628         $(elfobjdir)/.
8629         (link-libc-deps): Likewise.
8630         ($(common-objpfx)libc.so): Likewise.
8631         ($(common-objpfx)linkobj/libc.so): Likewise.
8632         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8633         instead of $(common-objpfx)elf/.
8634         (symbolic-link-list): Likewise.
8635         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8636         [$(cross-compiling) = no]: Likewise.
8637         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8638         $(elfobjdir)/.
8639         (static-gnulib-arch): Likewise.
8640         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8641         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8642         $(common-objpfx)elf/.
8644 2014-05-21  Richard Henderson  <rth@redhat.com>
8646         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8647         (SINGLE_THREAD_P): Use the correct width load.  Fold
8648         into the ldr offset.
8650         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8651         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8653 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
8655         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8656         (libgcc_s_resume): Use __attribute_used__.
8657         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8658         Likewise.
8660 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8662         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8663         optimization when used with float constants.
8665         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8667 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8669         [BZ #16915]
8670         * locale/nl_langinfo_l.c: Make direct reference to every
8671         _nl_current_CATEGORY symbol.
8672         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8673         (tests-static): Add tst-langinfo-static.
8674         (tests-special): Add tst-langinfo-static.out.
8675         ($(objpfx)tst-langinfo.out): Redirect output.
8676         ($(objpfx)tst-langinfo-static.out): New.
8677         * localedata/tst-langinfo.sh: Send output to stdout.
8678         * localedata/tst-langinfo-static.c: New file.
8680         [BZ #16965]
8681         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8682         when the shift amount is modulo the limb size.
8684 2014-05-20  Richard Henderson  <rth@redhat.com>
8686         [BZ #16967]
8687         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8688         Change type of sa_flags from unsigned int to int.
8690         [BZ #16966]
8691         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8693         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8695 2014-05-20  Will Newton  <will.newton@linaro.org>
8697         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8698         Test the return value of the system call in the nocancel case.
8700 2014-05-20  Will Newton  <will.newton@linaro.org>
8701             Yvan Roux  <yvan.roux@linaro.org>
8703         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8704         #include of asm/ptrace.h.
8705         (PTRACE_GET_THREAD_AREA): Remove #undef.
8706         (PTRACE_GETHBPREGS): Likewise.
8707         (PTRACE_SETHBPREGS): Likewise.
8708         (struct user_regs_struct): New structure.
8709         (struct user_fpsimd_struct): New structure.
8710         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8711         #include of asm/ptrace.h and second #include of sys/user.h.
8712         (PTRACE_GET_THREAD_AREA): Remove #undef.
8713         (PTRACE_GETHBPREGS): Likewise.
8714         (PTRACE_SETHBPREGS): Likewise.
8715         (ELF_NGREG): Use new struct user_regs_struct.
8716         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8718 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8720         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8721         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8723 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8725         [BZ #16958]
8726         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8727         membar to avoid block loads/stores to overlap previous stores.
8729 2014-05-17  Richard Henderson  <rth@redhat.com>
8731         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8732         Create the __##syscall_name##_nocancel entry point.
8733         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8734         Remove; let the sysdep-cancel.h code create it.
8736 2014-05-17  David S. Miller  <davem@davemloft.net>
8738         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8739         Protect with __USE_GNU.
8740         (TIOCSET_TEMPT): Likewise.
8741         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8742         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8743         these are already provided in bits/ioctl-types.h
8745 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8747         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8748         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8750         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8751         Use wait4 regardless of [__NR_waitpid].
8753 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8755         PR libgcc/60166
8756         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8757         (_FP_NANSIGN_Q): Set the quiet bit.
8759 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8761         * benchtests/Makefile
8762         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8763         not $(common-objpfx)math/libm.so.
8764         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8765         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8766         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8767         $(common-objpfx)dlfcn/libdl.so.
8768         ($(objpfx)tst-audit8): Depend on $(libm), not
8769         $(common-objpfx)math/libm.so.
8770         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8771         not $(common-objpfx)dlfcn/libdl.so.
8772         * math/Makefile
8773         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8774         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8775         [$(build-shared) = yes].
8776         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8777         $(common-objpfx)nptl/libpthread.so.
8778         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8779         $(common-objpfx)math/libm.so$(libm.so-version) or
8780         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8781         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8782         $(common-objpfx)dlfcn/libdl.so.
8783         * setjmp/Makefile (link-libm): Remove variable.
8784         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8785         * stdio-common/Makefile (link-libm): Remove variable.
8786         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8787         * stdlib/Makefile (link-libm): Remove variable.
8788         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8789         ($(objpfx)tst-strtod-round): Likewise.
8790         ($(objpfx)tst-tininess): Likewise.
8791         ($(objpfx)tst-strtod-underflow): Likewise.
8792         ($(objpfx)tst-strtod6): Likewise.
8793         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8794         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8795         $(common-objpfx)dlfcn/libdl.so.
8797 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8799         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8800         BSD terminal modes definitions.
8802 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8804         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8805         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8807         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8808         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8809         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8810         Don't do #include_next.
8811         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8812         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8813         Don't do #include_next.
8814         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8815         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8816         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8817         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8819 2014-05-16  Allan McRae  <allan@archlinux.org>
8821         * po/sv.po: Update Swedish translation from translation project.
8823         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8824         in sed expression.
8826 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8828         [BZ #16917]
8829         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8830         errno if the TIOCGPTN ioctl fails with an error different than
8831         EINVAL.
8832         * login/tst-ptsname.c: New file.
8833         * login/Makefile (tests): Add tst-ptsname.
8835         [BZ #16943]
8836         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8837         and prlimit64.
8839 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8841         [BZ #16849]
8842         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8843         herrno to return EAI_AGAIN.
8845 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8847         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8848         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8849         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8850         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8852         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8853         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8854         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8855         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8856         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8857         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8858         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8859         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8860         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8861         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8862         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8863         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8864         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8865         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8866         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8867         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8868         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8869         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8870         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8871         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8872         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8873         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8874         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8875         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8876         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8878         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8879         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8880         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8881         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8882         Moved ...
8883         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8886         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8889         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8891         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8901         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8903         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8905         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8906         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8907         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8908         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8909         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8910         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8911         Moved ...
8912         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8913         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8914         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8915         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8916         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8917         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8918         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8919         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8920         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8921         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8922         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8923         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8924         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8925         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8926         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8930         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8932         Moved ...
8933         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8934         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8935         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8937         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8938         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8939         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8940         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8941         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8942         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8943         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8944         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8945         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8946         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8947         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8948         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8949         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8950         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8951         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8952         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8953         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8954         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8955         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8956         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8957         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8958         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8959         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8960         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8961         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8962         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8963         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8964         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8965         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8966         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8967         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8969         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8970         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8972         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8973         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8974         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8975         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8976         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
8977         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
8978         Moved ...
8979         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
8980         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
8981         Moved ...
8982         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
8983         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
8984         Moved ...
8985         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
8986         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
8987         Moved ...
8988         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
8989         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
8990         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
8991         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
8992         Moved ...
8993         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
8994         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
8995         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
8996         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
8997         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
8998         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
8999         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9000         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9001         Moved ...
9002         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9003         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9004         Moved ...
9005         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9006         ... here.
9007         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9008         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9009         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9010         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9011         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9012         Moved ...
9013         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9014         ... here.
9015         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9016         Moved ...
9017         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9018         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9019         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9020         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9021         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9022         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9023         Moved ...
9024         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9025         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9026         Moved ...
9027         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9028         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9029         Moved ...
9030         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9031         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9032         Moved ...
9033         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9034         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9035         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9036         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9037         Moved ...
9038         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9039         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9040         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9041         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9042         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9043         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9044         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9045         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9046         Moved ...
9047         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9048         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9049         Moved ...
9050         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9051         ... here.
9052         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9053         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9054         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9055         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9056         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9057         Moved ...
9058         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9059         ... here.
9060         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9061         Moved ...
9062         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9063         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9064         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9065         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9066         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9067         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9068         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9069         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9070         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9071         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9072         Moved ...
9073         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9074         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9075         Moved ...
9076         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9077         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9078         Moved ...
9079         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9080         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9081         Moved ...
9082         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9083         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9084         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9085         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9086         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9087         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9088         Moved ...
9089         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9090         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9091         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9092         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9093         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9094         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9095         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9096         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9097         Moved ...
9098         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9099         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9100         Moved ...
9101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9102         ... here.
9103         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9104         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9105         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9106         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9107         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9108         Moved ...
9109         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9110         ... here.
9111         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9112         Moved ...
9113         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9114         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9115         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9116         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9117         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9118         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9119         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9120         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9121         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9122         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9123         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9125         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9126         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9128         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9129         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9131         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9132         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9133         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9134         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9135         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9136         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9137         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9138         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9139         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9140         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9141         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9142         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9143         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9144         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9145         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9146         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9147         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9148         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9149         Moved ...
9150         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9151         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9152         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9153         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9154         Moved ...
9155         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9156         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9157         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9159         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9160         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9161         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9162         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9163         Moved ...
9164         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9165         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9166         Moved ...
9167         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9168         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9169         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9170         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9171         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9172         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9173         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9174         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9175         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9176         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9177         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9178         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9179         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9180         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9181         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9182         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9183         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9185         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9186         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9187         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9188         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9189         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9191         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9192         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9193         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9194         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9195         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9196         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9197         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9198         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9199         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9200         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9202         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9203         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9205         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9206         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9207         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9208         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9209         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9210         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9211         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9212         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9213         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9214         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9215         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9216         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9217         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9218         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9219         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9220         Update #include.
9221         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9222         Likewise.
9223         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9224         Likewise.
9225         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9226         Likewise.
9227         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9228         Likewise.
9229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9230         Likewise.
9231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9232         Likewise.
9233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9234         Likewise.
9235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9236         Likewise.
9237         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9238         Likewise.
9239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9240         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9241         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9242         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9243         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9244         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9245         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9246         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9247         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9248         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9249         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9250         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9251         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9252         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9253         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9255         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9256         that was previously under [RESET_PID].
9257         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9258         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9259         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9261         * sysdeps/i386/nptl/Implies: New file.
9262         * sysdeps/x86_64/nptl/Implies: New file.
9263         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9264         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9265         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9266         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9268         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9269         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9270         (__libc_vfork): New strong alias.
9271         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9272         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9274         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9275         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9276         (__libc_vfork): New strong alias.
9277         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9278         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9280         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9281         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9282         (__libc_vfork): New strong alias.
9283         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9284         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9285         * nptl/pt-vfork.c: New file.
9286         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9287         (libpthread: GLIBC_2.20): New version set (empty).
9289 2014-05-14  Will Newton  <will.newton@linaro.org>
9291         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9292         rather than #if.
9294 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9296         [BZ #16564]
9297         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9298         arguments with exponent 65 or above.
9299         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9300         arguments 0x1p113L or above.
9301         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9302         to arguments 0x1p107L or above.
9303         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9304         positive arguments with exponent 65 or above.
9305         * math/auto-libm-test-in: Add more tests of log1p.
9306         * math/auto-libm-test-out: Regenerated.
9308         [BZ #16928]
9309         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9310         non-finite arguments is +0.
9311         * math/s_cacosf.c (__cacosf): Likewise.
9312         * math/s_cacosl.c (__cacosl): Likewise.
9313         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9314         * sysdeps/i386/fpu/libm-test-ulps: Update.
9315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9317         [BZ #16927]
9318         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9319         value.
9320         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9321         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9322         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9323         for explicit high bit of mantissa when testing for argument equal
9324         to 1.
9325         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9326         * sysdeps/i386/fpu/libm-test-ulps: Update.
9327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9329         [BZ #16516]
9330         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9331         (__erf): Scale by 16 instead of 8 in potentially underflowing
9332         case.  Ensure exception if result actually underflows.
9333         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9334         (__erff): Scale by 16 instead of 8 in potentially underflowing
9335         case.  Ensure exception if result actually underflows.
9336         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9337         (efx8): Remove variable.
9338         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9339         case.  Ensure exception if result actually underflows.
9340         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9341         (efx8): Remove variable.
9342         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9343         case.  Ensure exception if result actually underflows.
9344         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9345         (efx8): Remove variable.
9346         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9347         case.  Ensure exception if result actually underflows.
9348         * math/auto-libm-test-in: Add more tests of erf.
9349         * math/auto-libm-test-out: Regenerated.
9351 2014-05-14  Andreas Schwab  <schwab@suse.de>
9353         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9354         Remove code conditionalized on USE___THREAD.
9356         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9357         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9358         not definedness.
9360 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9362         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9363         Define unconditionally.
9364         (__ASSUME_O_CLOEXEC): Likewise.
9365         (__ASSUME_SOCK_CLOEXEC): Likewise.
9366         (__ASSUME_IN_NONBLOCK): Likewise.
9367         (__ASSUME_PIPE2): Likewise.
9368         (__ASSUME_EVENTFD2): Likewise.
9369         (__ASSUME_SIGNALFD4): Likewise.
9370         (__ASSUME_DUP3): Likewise.
9371         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9372         (__ASSUME_DUP3): Do not define.
9373         (__ASSUME_EVENTFD2): Likewise.
9374         (__ASSUME_IN_NONBLOCK): Likewise.
9375         (__ASSUME_O_CLOEXEC): Likewise.
9376         (__ASSUME_PIPE2): Likewise.
9377         (__ASSUME_SIGNALFD4): Likewise.
9378         (__ASSUME_SOCK_CLOEXEC): Likewise.
9379         (__ASSUME_UTIMES): Undefine.
9380         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9381         (__ASSUME_UTIMES): Do not define.
9382         (__ASSUME_O_CLOEXEC): Likewise.
9383         (__ASSUME_SOCK_CLOEXEC): Likewise.
9384         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9385         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9386         0x020621].
9387         (__ASSUME_PIPE2): Likewise.
9388         (__ASSUME_EVENTFD2): Likewise.
9389         (__ASSUME_SIGNALFD4): Likewise.
9390         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9391         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9392         Do not define.
9393         (__ASSUME_EVENTFD2): Likewise.
9394         (__ASSUME_SIGNALFD4): Likewise.
9395         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9396         (__ASSUME_32BITUIDS): Likewise.
9397         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9398         (__ASSUME_IPC64): Likewise.
9399         (__ASSUME_ST_INO_64_BIT): Likewise.
9400         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9401         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9402         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9403         (__ASSUME_UTIMES): Do not define.
9404         (__ASSUME_PSELECT): Likewise.
9405         (__ASSUME_PPOLL): 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/m68k/kernel-features.h
9414         (__ASSUME_UTIMES): Likewise.
9415         (__ASSUME_O_CLOEXEC): Likewise.
9416         (__ASSUME_SOCK_CLOEXEC): Likewise.
9417         (__ASSUME_IN_NONBLOCK): Likewise.
9418         (__ASSUME_PIPE2): Likewise.
9419         (__ASSUME_EVENTFD2): Likewise.
9420         (__ASSUME_SIGNALFD4): Likewise.
9421         (__ASSUME_DUP3): Likewise.
9422         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9423         (__ASSUME_UTIMES): Likewise.
9424         (__ASSUME_O_CLOEXEC): Likewise.
9425         (__ASSUME_SOCK_CLOEXEC): Likewise.
9426         (__ASSUME_IN_NONBLOCK): Likewise.
9427         (__ASSUME_PIPE2): Likewise.
9428         (__ASSUME_EVENTFD2): Likewise.
9429         (__ASSUME_SIGNALFD4): Likewise.
9430         (__ASSUME_DUP3): Likewise.
9431         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9432         Likewise.
9433         (__ASSUME_UTIMES): Likewise.
9434         (__ASSUME_EVENTFD2): Likewise.
9435         (__ASSUME_SIGNALFD4): Likewise.
9436         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9437         (__ASSUME_O_CLOEXEC): Likewise.
9438         (__ASSUME_SOCK_CLOEXEC): Likewise.
9439         (__ASSUME_IN_NONBLOCK): Likewise.
9440         (__ASSUME_PIPE2): Likewise.
9441         (__ASSUME_EVENTFD2): Likewise.
9442         (__ASSUME_SIGNALFD4): Likewise.
9443         (__ASSUME_DUP3): Likewise.
9444         (__ASSUME_UTIMES): Undefine.
9446         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9447         feclearexcept.  Remove symbol versioning code.
9448         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
9449         symbol versioning code.
9450         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
9451         symbol versioning code.
9452         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9453         feupdateenv.  Remove symbol versioning code.
9454         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9455         fegetexceptflag.  Remove symbol versioning code.
9456         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9457         fesetexceptflag.  Remove symbol versioning code.
9458         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9459         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
9460         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9461         (__posix_fadvise64_l32): Remove prototype.
9462         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9463         code.
9465 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9467         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9468         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9469         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9470         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9472 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
9474         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9475         current working directory
9477 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9479         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9480         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9481         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9482         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9483         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9484         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9485         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9486         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9487         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9488         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9489         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9490         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9491         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9492         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9493         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9494         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9495         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9496         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9497         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9498         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9499         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9500         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9501         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9502         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9503         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9504         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9505         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9506         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9507         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9508         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9509         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9510         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9511         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9512         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9513         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9514         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9515         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9516         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9517         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9518         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9519         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9520         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9522         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9523         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9525         * sysdeps/unix/sysv/linux/arm/Makefile
9526         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9527         Add rt-aeabi_unwind_cpp_pr1.
9528         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9529         Add nptl-aeabi_unwind_cpp_pr1.
9530         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9531         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9532         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9533         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9534         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9535         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9537         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9538         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9539         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9540         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9542         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9543         Deconditionalize the code that was previously under [RESET_PID].
9544         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9546         * sysdeps/generic/exit-thread.h: New file.
9547         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9548         * include/unistd.h (__exit_thread): Remove declaration.
9549         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9550         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9551         * csu/libc-start.c: Include <exit-thread.h>.
9552         (LIBC_START_MAIN): Pass no argument to __exit_thread.
9553         * nptl/pthread_create.c: Include <exit-thread.h>.
9554         (start_thread): Call __exit_thread in place of __exit_thread_inline.
9555         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9556         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9557         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9558         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9559         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9560         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9561         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9562         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9563         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9564         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9565         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9566         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9567         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9568         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9569         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9570         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9572 2014-05-13  Andreas Schwab  <schwab@suse.de>
9574         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9576 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
9578         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9579         (__ASSUME_UTIMES): Do not condition on kernel version.
9580         (__ASSUME_PSELECT): Define unconditionally.
9581         (__ASSUME_PPOLL): Likewise.
9582         (__ASSUME_ATFCTS): Likewise.
9583         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9584         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9585         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9586         (__ASSUME_UTIMENSAT): Define unconditionally.
9587         (__ASSUME_PRIVATE_FUTEX): Likewise.
9588         (__ASSUME_FALLOCATE): Likewise.
9589         (__ASSUME_O_CLOEXEC): Likewise.
9590         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9591         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9592         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9593         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9594         (__ASSUME_IN_NONBLOCK): Likewise.
9595         (__ASSUME_PIPE2): Likewise.
9596         (__ASSUME_EVENTFD2): Likewise.
9597         (__ASSUME_SIGNALFD4): Likewise.
9598         (__ASSUME_DUP3): Likewise.
9599         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9600         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9601         (__ASSUME_AT_RANDOM): Likewise.
9602         (__ASSUME_PREADV): Likewise.
9603         (__ASSUME_PWRITEV): Likewise.
9604         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9605         (__ASSUME_F_GETOWN_EX): Define unconditionally.
9606         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9607         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9608         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9609         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9610         (__ASSUME_O_CLOEXEC): Define unconditionally.
9611         (__ASSUME_PSELECT): Do not undefine conditionally.
9612         (__ASSUME_PPOLL): Likewise.
9613         (__ASSUME_ATFCTS): Likewise.
9614         (__ASSUME_SET_ROBUST_LIST): Likewise.
9615         (__ASSUME_UTIMENSAT): Likewise.
9616         (__ASSUME_FDATASYNC): Define unconditionally.
9617         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9618         (__ASSUME_SIGFRAME_V2): Likewise.
9619         )__ASSUME_EVENTFD2): Likewise.
9620         (__ASSUME_SIGNALFD4): Likewise.
9621         (__ASSUME_PSELECT): Do not undefine conditionally.
9622         (__ASSUME_PPOLL): Likewise.
9623         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9624         (__ASSUME_PSELECT): Define unconditionally.
9625         (__ASSUME_PPOLL): Likewise.
9626         (__ASSUME_O_CLOEXEC): Likewise.
9627         (__ASSUME_SOCK_CLOEXEC): Likewise.
9628         (__ASSUME_IN_NONBLOCK): Likewise.
9629         (__ASSUME_PIPE2): Likewise.
9630         (__ASSUME_EVENTFD2): Likewise.
9631         (__ASSUME_SIGNALFD4): Likewise.
9632         (__ASSUME_DUP3): Likewise.
9633         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9634         (__ASSUME_O_CLOEXEC): Likewise.
9635         (__ASSUME_SOCK_CLOEXEC): Likewise.
9636         (__ASSUME_IN_NONBLOCK): Likewise.
9637         (__ASSUME_PIPE2): Likewise.
9638         (__ASSUME_EVENTFD2): Likewise.
9639         (__ASSUME_SIGNALFD4): Likewise.
9640         (__ASSUME_DUP3): Likewise.
9641         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9642         (__ASSUME_EVENTFD2): Likewise.
9643         (__ASSUME_SIGNALFD4): Likewise.
9644         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9646 2014-05-12  Andreas Schwab  <schwab@suse.de>
9648         [BZ #16932]
9649         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9650         (_nss_nis_gethostbyname4_r): Return error if item length is larger
9651         than maximum RPC packet size.
9652         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9653         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9654         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9655         (_nss_nis_getservbyport_r): Likewise.
9657 2014-05-12  Will Newton  <will.newton@linaro.org>
9659         * malloc/Makefile (tests): Add tst-mallopt.
9660         * malloc/tst-mallopt.c: New file.
9662 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9664         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9665         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9667 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9669         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9670         (tst-tlsmod6.so): Likewise.
9672 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9674         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9676 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9678         [BZ #16064]
9679         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9680         and <dl-procinfo.h>.
9681         (__fegetenv): Save SSE state in envp->__eip if supported.
9682         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9683         envp->__eip if supported.
9684         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9685         and <dl-procinfo.h>.
9686         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9687         __data_offset and __data_selector in environment to 0.  Set SSE
9688         state if supported.
9689         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9690         test-fenv-sse.
9691         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9692         -mfpmath=sse.
9693         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9695 2014-05-09  Will Newton  <will.newton@linaro.org>
9697         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9698         and libc_relro_required for ARM.
9699         * sysdeps/arm/preconfigure: Regenerate.
9701 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9702             Stefan Liebler  <stli@linux.vnet.ibm.com>
9704         * config.make.in (enable-lock-elision): New Makefile variable.
9705         * configure.ac: Likewise.
9706         * configure: Regenerate.
9707         * sysdeps/s390/configure.ac:
9708         Add check for gcc transactions support.
9709         * sysdeps/s390/configure: Regenerate.
9710         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9711         Build elision files if enabled.
9712         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9713         Add lock elision support for s390.
9714         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9715         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9716         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9717         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9718         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9719         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9720         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9721         Likewise.
9722         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9723         Likewise.
9724         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9725         Likewise.
9726         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9727         Likewise.
9728         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9729         (__lll_timedlock_elision, __lll_lock_elision)
9730         (__lll_unlock_elision, __lll_trylock_elision)
9731         (lll_timedlock_elision, lll_lock_elision)
9732         (lll_unlock_elision, lll_trylock_elision): Add.
9733         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9734         (pthread_mutex_t): Add lock elision support for s390.
9736 2014-05-14  Wilco  <wdijkstr@arm.com>
9738         * sysdeps/arm/fclrexcpt.c: Cleanup.
9739         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9740         * sysdeps/arm/feenablxcpt.c: Cleanup.
9741         * sysdeps/arm/fegetenv.c: Cleanup.
9742         * sysdeps/arm/fegetexcept.c: Cleanup.
9743         * sysdeps/arm/fegetround.c: Cleanup.
9744         * sysdeps/arm/feholdexcpt.c: Cleanup.
9745         * sysdeps/arm/fesetenv.c: Cleanup.
9746         * sysdeps/arm/fesetround.c: Cleanup.
9747         * sysdeps/arm/feupdateenv.c: Cleanup.
9748         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9749         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9750         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9751         * sysdeps/arm/ftestexcept.c: Cleanup.
9752         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9753         * sysdeps/arm/setfpucw.c: Cleanup.
9755 2014-05-09  Will Newton  <will.newton@linaro.org>
9757         * sysdeps/arm/armv7/strcmp.S: New file.
9758         * NEWS: Mention addition of ARMv7 optimized strcmp.
9760 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9762         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9763         look for %.ac rather than %.in.
9765         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9766         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9767         * sysdeps/mach/hurd/configure: Regenerated.
9768         * sysdeps/unix/sysv/linux/configure: Regenerated.
9770         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9772 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9774         [BZ# 16922]
9775         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9776         (LONG_SUB): Ditto.
9777         (PTR_SUB): Ditto.
9779 2014-05-07  Andreas Schwab  <schwab@suse.de>
9781         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9782         when skipping over non-matching result from nscd.
9784 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9786         [BZ #16876]
9787         * nptl/sockperf.c (client): Check socket return value.
9789         [BZ #16877]
9790         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9791         nscd security class.
9793 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9795         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9796         * sysdeps/arm/unwind.h: ... here.
9798 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9800         [BZ# 16916]
9801         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9802         Define.
9804 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9806         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9807         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9808         multiarch strncpy for PPC64.
9809         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9810         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9812         multiarch optimizations.
9813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9814         (__libc_ifunc_impl_list): Likewise.
9815         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9816         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9817         multiarch stpncpy for PPC64.
9818         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9819         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9821 2014-05-06  Andreas Schwab  <schwab@suse.de>
9823         [BZ #16912]
9824         * gmon/mcount.c (_MCOUNT_DECL): Use
9825         atomic_compare_and_exchange_bool_acq instead of
9826         catomic_compare_and_exchange_bool_acq.
9828 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9830         * elf/Makefile (others, install-bin): Remove pldd.
9831         (pldd-modules): Variable removed.
9832         ($(objpfx)pldd): Target removed.
9833         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9834         (others, install-bin): Append pldd here.
9835         ($(objpfx)pldd): New target.
9837         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9838         to 0, so the first #if test emitted later doesn't see it undefined.
9839         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9840         * sysdeps/gnu/errlist.c: Regenerated.
9842 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9844         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9845         [libc_hidden_builtin_def]: Define to empty value.
9846         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9847         [libc_hidden_builtin_def]: Likewise.
9848         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9849         [libc_hidden_builtin_def]: Likewise.
9850         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9851         [libc_hidden_builtin_def]: Likewise.
9852         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9853         __redirect_memcpy and define ifunc as default hidden symbol.
9854         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9855         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9857 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9859         * locale/iso-4217.def: Reintroduce XDR currency.
9861 2014-05-04  Allan McRae  <allan@archlinux.org>
9863         * po/eo.po: Update Esperanto translation from translation project.
9865 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9867         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9868         and FEATURE_INDEX_MAX to 1.
9869         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9871 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9873         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9874         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9875         * iconvdata/big5.c (ONE_DIRECTION): Define.
9876         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9877         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9878         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9879         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9880         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9881         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9882         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9883         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9884         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9885         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9886         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9887         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9888         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9889         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9890         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9891         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9892         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9893         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9894         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9895         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9896         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9897         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9898         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9899         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9900         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9901         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9902         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9903         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9904         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9905         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9906         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9907         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9908         * iconvdata/johab.c (ONE_DIRECTION): Define.
9909         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9910         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9911         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9912         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9913         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9914         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9915         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9916         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9917         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9918         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9920 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9922         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9923         (_IO_JUMPS_OFFSET): Define to 0.
9925         * nptl/sysdeps/pthread/bits/libc-lock.h
9926         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9927         (__libc_lock_define_initialized_recursive): Always define using
9928         initializer.  Modern compilers treat uninitialized (implicit zero) and
9929         explicit zero initializers the same (i.e. put the datum in bss).
9931 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9933         * nscd/nscd-client.h: Include <string.h>.
9935 2014-05-01  David S. Miller  <davem@davemloft.net>
9937         [BZ #16885]
9938         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9939         multiple zero bytes exist at the end of a string.
9940         Reported by Aurelien Jarno <aurelien@aurel32.net>
9942         * string/test-strcmp.c (check): Add explicit test for situations where
9943         there are multiple zero bytes after the first.
9945 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9947         [BZ #16890]
9948         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9949         when compiling wprintf.
9950         * stdio-common/tstdiomisc.c (t3): New function.
9951         (main): Call it.
9953 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9955         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9956         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9957         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9958         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9960 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9962         * stdlib/longlong.h: Updated from GCC.
9964 2014-05-01  Will Newton  <will.newton@linaro.org>
9965             Bernard Ogden  <bernie.ogden@linaro.org>
9967         * NEWS: Update fixed bug list.
9969         [BZ #15119]
9970         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9972 2014-04-30  David S. Miller  <davem@davemloft.net>
9974         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9975         (libc_feholdexcept_setround_sparc_ctx): New function.
9976         (libc_fesetenv_sparc_ctx): Likewise.
9977         (libc_feupdateenv_sparc_ctx): Likewise.
9978         (libc_feholdsetround_sparc_ctx): Likewise.
9979         (libc_feholdexcept_setround_ctx): Define.
9980         (libc_feholdexcept_setroundf_ctx): Likewise.
9981         (libc_feholdexcept_setroundl_ctx): Likewise.
9982         (libc_fesetenv_ctx): Likewise.
9983         (libc_fesetenvf_ctx): Likewise.
9984         (libc_fesetenvl_ctx): Likewise.
9985         (libc_feupdateenv_ctx): Likewise.
9986         (libc_feupdateenvf_ctx): Likewise.
9987         (libc_feupdateenvl_ctx): Likewise.
9988         (libc_feresetround_ctx): Likewise.
9989         (libc_feresetroundf_ctx): Likewise.
9990         (libc_feresetroundl_ctx): Likewise.
9991         (libc_feholdsetround_ctx): Likewise.
9992         (libc_feholdsetroundf_ctx): Likewise.
9993         (libc_feholdsetroundl_ctx): Likewise.
9995         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
9996         with __USE_GNU instead of XOPEN cpp guards.
9998         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
9999         0.
10001         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10002         with XOPEN cpp guards.
10004 2014-04-30  Julian Brown  <julian@codesourcery.com>
10006         [BZ #16888]
10007         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10008         handling.
10010 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10012         [BZ #9894]
10013         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10014         Change to 2.6.32.
10015         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10016         * sysdeps/unix/sysv/linux/configure: Regenerated.
10017         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10018         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10019         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10020         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10021         * README: Update reference to required Linux kernel version.
10022         * manual/install.texi (Linux): Update reference to required Linux
10023         kernel headers version.
10024         * INSTALL: Regenerated.
10026         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10027         header inclusion.
10028         [POSIX] (limits.h): Likewise.
10029         [POSIX] (math.h): Likewise.
10030         [POSIX] (sys/wait.h): Likewise.
10031         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10032         function.
10033         [POSIX] (stddef.h): Do not allow header inclusion.
10035 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10037         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10039 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10041         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10042         Return immediately after lll_futex_wake.
10044 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10046         [BZ #16791]
10047         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10048         structure.
10049         (datahead_init_pos): Call datahead_init_common early.
10050         (datahead_init_neg): Likewise.
10052         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10053         datahead_init_neg): New functions.
10054         * nscd/aicache.c (addhstaiX): Use them.
10055         * nscd/grpcache.c (cache_addgr): Likewise.
10056         * nscd/hstcache.c (cache_addhst): Likewise.
10057         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10058         * nscd/netgroupcache.c (do_notfound): Likewise.
10059         (addgetnetgrentX): Likewise.
10060         (addinnetgrX): Likewise.
10061         * nscd/pwdcache.c (cache_addpw): Likewise.
10062         * nscd/servicescache.c (cache_addserv): Likewise.
10064 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10065             Atsushi Onoe  <atsushi@onoe.org>
10067         [BZ #14308]
10068         [BZ #12994]
10069         [BZ #13651]
10070         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10071         one response is valid.
10072         * resolv/res_send.c (send_dg): Check for validity of other
10073         response if the current response is a referral.
10075 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10077         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10079 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10081         [BZ #16823]
10082         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10083         Always divide by positive zero when computing -Inf result.
10084         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10085         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10087 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10089         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10090         FPSCR if value do not change.
10091         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10092         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10093         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10094         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10095         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10096         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10097         function.
10099 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10101         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10102         * sysdeps/unix/sysv/linux/hppa: Move directory from
10103         ports/systeps/unix/sysv/linux/hppa.
10104         * README: Update listing for hppa-*-linux-gnu.
10106 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10108         [BZ #16754]
10109         * manual/stdio.texi (Hook functions): Fix types of stream hook
10110         functions.
10111         [BZ #16854]
10112         * socket/sys/socket.h: Fix typo in comment.
10114 2014-04-28  Wilco  <wdijkstr@arm.com>
10116         * sysdeps/arm/fenv_private.h: New file.
10117         * sysdeps/arm/math_private.h: New file.
10118         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10120 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10122         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10123         with __int128_t.
10124         (La_x86_64_retval): Likewise.
10126 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10128         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10129         fpsr if value didn't change.
10130         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10131         to fpcr if value didn't change.
10132         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10133         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10134         fpsr or fpcr if value didn't change.
10135         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10136         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10137         fpcr if value didn't change.
10138         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10139         to fpsr if value didn't change.
10141 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10143         * nptl/tst-sem3.c: Use test-skeleton.c
10144         (main): Rename to do_test.  Use return instead of
10145         exit.
10146         * nptl/tst-sem4.c: Use test-skeleton.c
10147         (main): Rename to do_test.
10149 2014-04-22  David S. Miller  <davem@davemloft.net>
10151         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10152         (struct sigaction): New struct member __glibc_reserved0, change
10153         type of sa_flags to int.
10155 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10157         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10158         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10160 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10162         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10163         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10165 2014-04-22  Will Newton  <will.newton@linaro.org>
10166             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10168         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10169         (__longjmp): Add longjmp and longjmp_target SystemTap
10170         probes.
10171         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10172         (__sigsetjmp): Add setjmp SystemTap probe.
10174 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10176         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10177         match manual order.
10179 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10181         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10183         * sysdeps/powerpc/fpu/fenv_private.h
10184         (libc_feholdexcept_setroundl_ctx): Define to
10185         libc_feholdexcept_setround_ppc_ctx.
10186         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10187         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10188         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10189         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10191 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10193         * sysdeps/aarch64/math-tests.h: New file.
10195 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10197         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10198         New.
10199         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10200         Check and set bit_AVX2_Usable.
10201         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10202         macro.
10203         (bit_AVX2): Likewise.
10204         (index_AVX2_Usable): Likewise.
10205         (CPUID_AVX2): Likewise.
10206         (HAS_AVX2): Likewise.
10208 2014-04-17  Will Newton  <will.newton@linaro.org>
10210         * manual/setjmp.texi (System V contexts): Add note that
10211         calling setcontext on a context created by a call to a
10212         signal handler is undefined.  Update text to note that
10213         setcontext from a signal handler is possible but not
10214         recommended.
10216         [BZ #16629]
10217         * stdlib/tst-setcontext.c: Include signal.h.
10218         (main): Check that the signal stack before and
10219         after swapcontext is the same.
10221         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10222         Re-implement to restore registers in user code and avoid
10223         rt_sigreturn system call.
10225 2014-04-17  Wilco  <wdijkstr@arm.com>
10227         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10228         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10229         * math/test-fenv.c: Skip exception trap tests on targets which only
10230         support non-stop mode.
10232 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10233             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10235         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10236         (libc_feholdsetround_aarch64_ctx)
10237         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10238         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10239         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10240         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10241         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10242         (libc_feresetround_noexl_ctx): Define.
10244 2014-04-16  Richard Henderson  <rth@redhat.com>
10246         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10248         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10249         unwind tables.
10251         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10252         const from the non-libc, non-ldso copy.
10254         * sysdeps/alpha/libm-test-ulps: Regenerate.
10256 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10257             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10259         * sysdeps/aarch64/fpu/math_private.h: New file.
10261 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10263         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10265 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10267         [BZ #16275]
10268         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10269         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10270         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10271         Intel MPX bound registers before _dl_profile_fixup.
10272         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10273         registers after _dl_profile_fixup.  Save and restore bound
10274         registers bnd0/bnd1 when calling _dl_call_pltexit.
10275         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10276         (LR_BND_OFFSET): Likewise.
10277         (LRV_BND0_OFFSET): Likewise.
10278         (LRV_BND1_OFFSET): Likewise.
10280 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10282         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10283         to...
10284         * sysdeps/mach/hurd/i386/tls.h: ... here.
10285         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10286         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10287         fields.
10289 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10291         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10293 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10295         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10297 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10299         [BZ #14770]
10300         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10301         * sysdeps/s390/configure: Regenerate.
10303         [BZ #16824]
10304         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10305         Set round-to-nearest internally to reduce error accumulation.
10307 2014-04-16  Alan Modra  <amodra@gmail.com>
10309         [BZ #16740]
10310         [BZ #16619]
10311         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10312         * math/libm-test.inc (frexp_test_data): Add tests.
10313         * NEWS: Update fixed bug list.
10315 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10317         * benchtests/Makefile: Depend on libraries in build directory.
10318         (bench-math): Separate out math tests.
10319         (bench-pthread): Separate out pthread tests.
10320         (bench): Include math and pthread tests.
10322 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10324         [BZ #16831]
10325         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10326         _dl_debug_initialize.
10328         * configure.ac: Remove SELinux header check.
10329         * configure: Regenerate.
10330         * nscd/selinux.c (perms): Array of const char* to permission names.
10331         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10332         default policy. Call string_to_security_class and string_to_av_perm to
10333         translate strings. Enforce default policy and call avs_has_perm with
10334         results of translated strings.
10336 2014-04-13  David S. Miller  <davem@davemloft.net>
10338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10340 2014-04-12  Allan McRae  <allan@archlinux.org>
10342         [BZ #16838]
10343         * manual/string.texi (Collation Functions): Fix qsort argument
10344         order in example.
10345         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10347 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10349         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10350         Make the test a no-op if there are no exceptions defined.
10352 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10354         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10355         enable-hardcoded-path-in-tests
10357 2014-04-11  Will Newton  <will.newton@linaro.org>
10359         * benchtests/Makefile (extra-objs): Add json-lib.o.
10360         (bench-func): Tidy up JSON output.
10361         * benchtests/bench-skeleton.c: Include json-lib.h.
10362         (main): Use JSON library functions to do output of
10363         benchmark results.
10364         * benchtests/bench-timing-type.c (main): Output the
10365         timing type simply, leaving formatting to the user.
10366         * benchtests/json-lib.c: New file.
10367         * benchtests/json-lib.h: Likewise.
10369 2014-04-11  Torvald Riegel  <triegel@redhat.com>
10371         [BZ #15215]
10372         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10373         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
10374         memory barriers.  Add comments.
10375         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10376         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10377         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10378         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10379         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10380         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10382 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10384         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10385         * sysdeps/s390/s390-64/configure.ac: ... this ...
10386         * sysdeps/s390/configure.ac: ... to here.
10387         * sysdeps/s390/s390-32/configure: Delete file.
10388         * sysdeps/s390/s390-64/configure: Delete file.
10389         * sysdeps/s390/configure: Regenerate.
10391 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
10393         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10395 2014-04-11  Will Newton  <will.newton@linaro.org>
10397         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10398         to zero if it is not defined elsewhere.  (mtrim): Test
10399         the value of MALLOC_DEBUG with #if rather than #ifdef.
10401 2014-04-10 Torvald Riegel  <triegel@redhat.com>
10403         * benchtests/pthread_once-inputs: New file.
10404         * benchtests/pthread_once-source.c: New file.
10405         * benchtests/README: Update documentation.
10407 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10408             H.J. Lu  <hongjiu.lu@intel.com>
10410         [BZ #16275]
10411         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10412         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10413         * sysdeps/x86_64/configure: Regenerated.
10414         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10415         macro.
10416         (REGISTER_SAVE_RAX): Likewise.
10417         (REGISTER_SAVE_RCX): Likewise.
10418         (REGISTER_SAVE_RDX): Likewise.
10419         (REGISTER_SAVE_RSI): Likewise.
10420         (REGISTER_SAVE_RDI): Likewise.
10421         (REGISTER_SAVE_R8): Likewise.
10422         (REGISTER_SAVE_R9): Likewise.
10423         (REGISTER_SAVE_BND0): Likewise.
10424         (REGISTER_SAVE_BND1): Likewise.
10425         (REGISTER_SAVE_BND2): Likewise.
10426         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
10427         bound registers when calling _dl_fixup.
10429 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10431         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10432         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10433         of its definition.
10434         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10435         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10436         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10437         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10438         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10439         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10440         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10442 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
10444         [BZ #15514]
10445         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10446         pathconf(_PC_NAME_MAX).
10448 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10450         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10451         Remove macro usage.
10452         (__PTHREAD_SPINS): Move definition to ...
10453         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10454         (__PTHREAD_SPINS): ... here.
10455         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10456         (__PTHREAD_SPIN): Likewise.
10457         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10458         (__PTHREAD_SPIN): Likewise.
10459         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10460         (__PTHREAD_SPIN): Likewise.
10461         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10462         (__PTHREAD_SPIN): Likewise.
10463         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10464         (__PTHREAD_SPIN): Likewise.
10465         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10466         (__PTHREAD_SPIN): Likewise.
10467         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10468         (__PTHREAD_SPIN): Likewise.
10469         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10470         (__PTHREAD_SPIN): Likewise.
10471         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10472         (__PTHREAD_SPIN): Likewise.
10473         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10474         (__PTHREAD_SPIN): Likewise.
10475         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10476         (__PTHREAD_SPIN): Likewise.
10477         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10478         (__PTHREAD_SPIN): Likewise.
10480         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10481         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10482         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10483         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10484         imply folder.
10485         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10486         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10487         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10488         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10489         correct imply path.
10490         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10491         strlen symbol for non multi-arch builds.
10492         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10493         missing hidden_def and weak_alias.
10495 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
10497         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10499 2014-04-07  Will Newton  <will.newton@linaro.org>
10501         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10502         and contents.  [!_LIBC] Remove #ifndef and contents.
10503         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
10504         * string/memccpy.c (__memccpy): Use ANSI prototype.
10505         * string/memfrob.c (memfrob): Likewise.
10506         * string/strcoll.c (STRCOLL): Likewise.
10507         * string/strlen.c (strlen): Likewise.
10508         * string/strtok.c (STRTOK): Likewise.
10509         * string/strcat.c: Remove unused #include of memcopy.h.
10510         (strcat): Use ANSI prototype.
10511         * string/strchr.c: Remove unused #include of memcopy.h.
10512         (strchr): Use ANSI prototype.
10513         * string/strcmp.c: Remove unused #include of memcopy.h.
10514         (strcmp): Use ANSI prototype.
10515         * string/strcpy.c: Remove unused #include of memcopy.h.
10516         (strcpy): Use ANSI prototype.
10518 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10520         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10521         * config.make.in (config-extra-cppflags): Set it from
10522         libc_extra_cppflags.
10523         * configure.ac (libc_extra_cflags): Make it accumulate over
10524         configure fragments.
10525         (libc_extra_cppflags): New flag.
10526         * configure. Regenerate.
10527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10528         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10529         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10532         [BZ #16815]
10533         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10534         result for FE_DOWNWARD rounding mode.
10535         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10536         Likewise.
10537         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10539 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
10541         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10542         in function argument name.
10544 2014-04-03  David Svoboda  <svoboda@cert.org>
10546         [BZ #5666]
10547         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10548         explicitly.
10550 2014-04-03  Roland McGrath  <roland@hack.frob.com>
10552         * elf/dl-unmap-segments.h: New file.
10553         * sysdeps/generic/ldsodefs.h
10554         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10555         * elf/dl-close.c: Include <dl-unmap-segments.h>.
10556         * elf/dl-fptr.c: Likewise.
10557         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10558         * sysdeps/aarch64/tlsdesc.c: Likewise.
10559         * sysdeps/arm/tlsdesc.c: Likewise.
10560         * sysdeps/i386/tlsdesc.c: Likewise.
10561         * sysdeps/tile/dl-runtime.c: Likewise.
10562         * sysdeps/x86_64/tlsdesc.c: Likewise.
10563         * elf/dl-load.h: New file.
10564         * elf/dl-load.c: Include it.
10565         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10566         Macros moved to dl-load.h.
10567         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10568         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10569         Use _dl_unmap_segments in place of __munmap.
10570         Break out segment-mapping loop into ...
10571         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10573 2014-04-03  Will Newton  <will.newton@linaro.org>
10575         * elf/dl-lookup.c (do_lookup_x): Remove comment
10576         referring to nested function and move variable
10577         declarations down to before first use.
10579 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
10581         [BZ #16799]
10582         [BZ #16800]
10583         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10584         with 0 numerator.
10585         * math/s_catanf.c (__catanf): Likewise.
10586         * math/s_catanh.c (__catanh): Likewise.
10587         * math/s_catanhf.c (__catanhf): Likewise.
10588         * math/s_catanhl.c (__catanhl): Likewise.
10589         * math/s_catanl.c (__catanl): Likewise.
10590         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10591         by positive zero when computing -Inf result.
10592         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10593         (catanh_test): Likewise.
10594         * sysdeps/i386/fpu/libm-test-ulps: Update.
10595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10597         [BZ #16789]
10598         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10599         instead of using underflowing value in computing result.
10600         * math/s_clog10.c (__clog10): Likewise.
10601         * math/s_clog10f.c (__clog10f): Likewise.
10602         * math/s_clog10l.c (__clog10l): Likewise.
10603         * math/s_clogf.c (__clogf): Likewise.
10604         * math/s_clogl.c (__clogl): Likewise.
10605         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10606         (clog10_test): Likewise.
10607         * sysdeps/i386/fpu/libm-test-ulps: Update.
10608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10610 2014-04-02  Alan Modra  <amodra@gmail.com>
10612         [BZ #16739]
10613         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10614         output when value is near a power of two.  Use int64_t for lx and
10615         remove casts.  Use decimal rather than hex exponent constants.
10616         Don't use long double multiplication when double will suffice.
10617         * math/libm-test.inc (nextafter_test_data): Add tests.
10618         * NEWS: Add 16739 and 16786 to bug list.
10620         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10622         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10624 2014-04-01  Will Newton  <will.newton@linaro.org>
10626         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10627         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
10629 2014-04-01  Florian Weimer  <fweimer@redhat.com>
10631         [BZ #13347]
10632         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10633         * nptl/tst-setuid2.c: New file.
10634         * nptl/Makefile (xtests): Add tst-setuid2.
10636 2014-04-01  Alan Modra  <amodra@gmail.com>
10638         [BZ #16786]
10639         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10641 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10643         [BZ #6803]
10644         [BZ #6804]
10645         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10646         set errno as appropriate.
10647         * math/w_scalbf.c (__scalbf): Likewise.
10648         * math/w_scalbl.c (__scalbl): Likewise.
10649         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10650         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10651         * math/libm-test.inc (scalb_test_data): Add errno expectations.
10652         Add more NaN tests.
10654         [BZ #16349]
10655         * math/w_atan2.c: Include <errno.h>.
10656         (__atan2): Set errno for result underflowing to zero.
10657         * math/w_atan2f.c: Include <errno.h>.
10658         (__atan2f): Set errno for result underflowing to zero.
10659         * math/w_atan2l.c: Include <errno.h>.
10660         (__atan2l): Set errno for result underflowing to zero.
10661         * math/auto-libm-test-in: Don't allow missing errno for some atan2
10662         tests.
10663         * math/auto-libm-test-out: Regenerated.
10665 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10667         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10668         Encode instruction correctly in little endian.
10669         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10670         Likewise.
10671         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10672         Likewise.
10673         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10674         Likewise.
10675         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10676         Likewise.
10678 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10680         [BZ #9894]
10681         * sysdeps/unix/sysv/linux/kernel-features.h
10682         [__sparc__ && !__arch64__ && !__sparc_v9__]
10683         (__ASSUME_SET_ROBUST_LIST): Do not define.
10684         [__sparc__ && !__arch64__ && !__sparc_v9__]
10685         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10686         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10687         Likewise.
10688         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10689         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10690         (__ASSUME_REQUEUE_PI): Likewise.
10691         (__ASSUME_SET_ROBUST_LIST): Likewise.
10692         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10693         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10694         Undefine.
10695         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10696         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10697         Likewise.
10698         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10699         Likewise.
10700         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10701         Likewise.
10702         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10703         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10704         Undefine.
10705         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10706         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10707         Likewise.
10709         [BZ #16648]
10710         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10711         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10712         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10714 2014-03-31  Will Newton  <will.newton@linaro.org>
10716         * benchtests/Makefile (bench): Add ffs and ffsll to list
10717         of tests.
10718         * benchtests/ffs-inputs: New file.
10719         * benchtests/ffsll-inputs: Likewise.
10721 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10723         [BZ #16770]
10724         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10725         too large before casting to int.
10726         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10727         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10728         * math/libm-test.inc (scalb_test_data): Add more tests.
10730 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10732         * benchtests/Makefile (DETAILED_OPT): New make option.
10733         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10734         set.
10735         * benchtests/bench-skeleton.c: Include stdbool.h.
10736         (main): Store and print timings per input.
10737         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10738         member to each argument value.
10739         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10740         (_print_arg_data): Initialize per-input timing to 0.
10742         * benchtests/Makefile (timing-type): New binary.
10743         (bench-clean): Also remove bench-timing-type.
10744         (bench): New target for timing-type.
10745         (bench-func): Print output in JSON format.
10746         * benchtests/bench-skeleton.c (main): Print output in JSON
10747         format.
10748         * benchtests/bench-timing-type.c: New file.
10749         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10750         (TIMING_PRINT_STATS): Remove.
10751         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10752         name separately.
10754         * benchtests/bench-modf.c: Remove.
10755         * benchtests/modf-inputs: New inputs file.
10757 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10759         [BZ #16362]
10760         * math/s_clog10.c (M_PI_LOG10E): New macro.
10761         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10762         imaginary parts are 0.
10763         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10764         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10765         imaginary parts are 0.
10766         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10767         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10768         imaginary parts are 0.
10769         * math/libm-test.inc (clog10_test_data): Update expected results
10770         for when real and imaginary parts are 0.
10772 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10774         * elf/dl-load.c: Finish conversion of __builtin_expect into
10775         __glibc_{un}likely.
10777 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10779         [BZ #16348]
10780         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10781         1+x for argument with exponent below -67.
10782         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10783         Likewise.
10784         * math/auto-libm-test-in: Add more tests of exp.
10785         * math/auto-libm-test-out: Regenerated.
10787 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10789         [BZ #16759]
10790         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10791         (nscd_getnetgrent): Use it.
10793         [BZ #16760]
10794         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10795         of stpcpy.
10797 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10799         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10800         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10801         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10802         (lll_robust_unlock): Remove out of line section. Use cfi
10803         intrinsics.
10804         (LLL_STUB_UNWIND_INFO*): Remove.
10805         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10806         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10807         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10808         (lll_robust_unlock): Remove out of line section. Use cfi
10809         intrinsics.
10810         (LLL_STUB_UNWIND_INFO*): Remove.
10812 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10814         [BZ #16758]
10815         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10816         blank values.
10818 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10820         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10822 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10824         [BZ #16198]
10825         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10826         fnstenv.
10827         * math/test-fenv-preserve.c: New file.
10828         * math/Makefile (tests): Add test-fenv-preserve.
10830 2014-03-26  Will Newton <will.newton@linaro.org>
10832         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10834 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10836         * scripts/versionlist.awk: Partition the version sets and emit all
10837         GLIBC_* (sorted) before all others (sorted).
10839 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10841         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10842         GLIBC_2.2.5 version.
10844 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10846         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10847         calls.
10849         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10850         previous change.
10852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10854 2014-03-25  Andreas Schwab  <schwab@suse.de>
10856         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10857         label to be used after in6ailist is initialized.
10859 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10861         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10862         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10864 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10866         [BZ #16357]
10867         [BZ #16599]
10868         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10869         min_plus_half.
10870         (fp_formats): Update initializers.
10871         (init_fp_formats): Initialize new field.
10872         (output_for_one_input_case): Allow underflow for results up to
10873         min_plus_half.
10874         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10875         * math/auto-libm-test-in: Don't mark some underflows from asin and
10876         atanh as spurious.
10877         * math/auto-libm-test-out: Regenerated.
10878         * sysdeps/i386/fpu/libm-test-ulps: Update.
10879         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10881 2014-03-25  Andreas Schwab  <schwab@suse.de>
10883         * libio/Makefile (tst-ftell-partial-wide-ENV)
10884         (tst-ftell-active-handler-ENV): Define.
10886 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10888         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10890 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10892         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10894 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10896         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10897         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10898         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10900 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10902         [BZ #16634]
10903         * elf/dl-load.c (open_verify): Add mode parameter.
10904         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10905         (open_path): Change from boolean 'secure' to complete flag 'mode'
10906         (_dl_map_object): Adjust.
10907         * elf/Makefile (tests): Add tst-dlopen-aout.
10908         * elf/tst-dlopen-aout.c: New test.
10910 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10912         [BZ #16714]
10913         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10914         (struct stat): Rename member pad0 to __glibc_reserved0.
10916         [BZ #16712]
10917         * sysdeps/s390/s390-32/bits/wordsize.h
10918         (__WORDSIZE32_SIZE_ULONG): New define.
10919         * sysdeps/s390/s390-64/bits/wordsize.h
10920         (__WORDSIZE32_SIZE_ULONG): Likewise.
10921         * sysdeps/generic/stdint.h (SIZE_MAX):
10922         Define as UL if __WORDSIZE32_SIZE_ULONG.
10924         [BZ #16713]
10925         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10926         (__glibc_reserved0): New variable.
10927         (sa_flags): Change type to int.
10929         * posix/Makefile (before-compile): Use += before-compile instead
10930         of a :=.
10932         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10933         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10935 2014-03-20  Andreas Schwab  <schwab@suse.de>
10937         [BZ #16743]
10938         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10939         non-matching result from nscd.
10941 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10943         * scripts/bench.py: Moved to ...
10944         * benchtests/scripts/bench.py: ... here.
10945         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10947 2014-03-24  Andreas Schwab  <schwab@suse.de>
10949         [BZ #16002]
10950         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10951         alloca_account and account alloca use for struct in6ailist.
10953 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10955         [BZ #16284]
10956         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10957         rounding mode to recompute results that overflow to infinity or
10958         underflow to zero.
10959         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10960         bug 16284.
10961         * math/auto-libm-test-out: Regenerated.
10962         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10963         (ccosh_test): Likewise.
10964         (csin_test_data): Use plus_oflow.
10965         (csin_test): Use ALL_RM_TEST.
10966         (csinh_test_data): Use plus_oflow.
10967         (csinh_test): Use ALL_RM_TEST.
10968         * sysdeps/i386/fpu/libm-test-ulps: Update.
10969         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10971 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10973         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10974         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10975         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
10977         [BZ #16731]
10978         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
10979         when x - 1 is zero.
10980         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
10981         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
10982         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10983         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
10984         argument is 1.
10985         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
10986         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
10987         zero.
10988         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
10989         * sysdeps/i386/fpu/libm-test-ulps: Update.
10990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10992 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
10994         * scripts/bench.pl: Remove file.
10995         * scripts/bench.py: New benchmark script.
10996         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
10997         * benchtests/README: Mention python dependency.
10998         * scripts/pylintrc: New file.
10999         * scripts/pylint: New file.
11001         * bits/mathdef.h: Use #ifdef instead of #if.
11002         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11003         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11004         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11005         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11006         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11007         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11009 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11010             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11012         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11013         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11014         and strpbrk-ppc64 objects.
11015         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11016         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11017         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11018         multiarch strpbrk for POWER7.
11019         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11020         multiarch strpbrk for PPC64.
11021         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11022         ifunc selector.
11023         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11024         strpbrk for POWER7.
11026 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11028         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11029         (atan_test): Likewise.
11030         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11031         (atanh_test): Use ALL_RM_TEST.
11032         (atan2_test_data): Likewise.
11033         (cabs_test): Likewise.
11034         (cacosh_test): Likewise.
11035         (carg_test): Likewise.
11036         (casin_test): Likewise.
11037         (casinh_test): Likewise.
11038         (cbrt_test): Likewise.
11039         (csqrt_test): Likewise.
11040         (erf_test): Likewise.
11041         (erfc_test): Likewise.
11042         (pow10_test): Likewise.
11043         (exp2_test): Likewise.
11044         (hypot_test): Likewise.
11045         (j0_test): Likewise.
11046         (j1_test): Likewise.
11047         (lgamma_test): Likewise.
11048         (gamma_test): Likewise.
11049         (sincos_test): Likewise.
11050         (tanh_test): Likewise.
11051         (y0_test): Likewise.
11052         (y1_test): Likewise.
11053         * sysdeps/i386/fpu/libm-test-ulps: Update.
11054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11056 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11058         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11060         and strcspn-ppc64 objects.
11061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11062         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11063         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11064         multiarch strcspn for POWER7.
11065         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11066         multiarch strcspn for PPC64.
11067         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11068         ifunc selector.
11069         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11070         strcspn for POWER7.
11072 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11074         * math/gen-libm-test.pl (generate_testfile): Expect only function
11075         name as argument to AUTO_TESTS_* and pass results for all rounding
11076         modes to parse_args.
11077         (parse_auto_input): Separate inputs of automatic tests from
11078         outputs before storing in %auto_tests.
11079         * math/libm-test.inc (acos_test_data): Update call to
11080         AUTO_TESTS_f_f.
11081         (acos_test): Use ALL_RM_TEST.
11082         (acos_tonearest_test_data): Remove.
11083         (acos_test_tonearest): Likewise.
11084         (acos_towardzero_test_data): Likewise.
11085         (acos_test_towardzero): Likewise.
11086         (acos_downward_test_data): Likewise.
11087         (acos_test_downward): Likewise.
11088         (acos_upward_test_data): Likewise.
11089         (acos_test_upward): Likewise.
11090         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11091         (asin_test_data): Likewise.
11092         (asin_test): Use ALL_RM_TEST.
11093         (asin_tonearest_test_data): Remove.
11094         (asin_test_tonearest): Likewise.
11095         (asin_towardzero_test_data): Likewise.
11096         (asin_test_towardzero): Likewise.
11097         (asin_downward_test_data): Likewise.
11098         (asin_test_downward): Likewise.
11099         (asin_upward_test_data): Likewise.
11100         (asin_test_upward): Likewise.
11101         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11102         (atan_test_data): Likewise.
11103         (atanh_test_data): Likewise.
11104         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11105         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11106         (carg_test_data): Likewise.
11107         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11108         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11109         (ccosh_test_data): Likewise.
11110         (cexp_test_data): Likewise.
11111         (clog_test_data): Likewise.
11112         (clog10_test_data): Likewise.
11113         (cos_test_data): Update call to AUTO_TESTS_f_f.
11114         (cos_test): Use ALL_RM_TEST.
11115         (cos_tonearest_test_data): Remove.
11116         (cos_test_tonearest): Likewise.
11117         (cos_towardzero_test_data): Likewise.
11118         (cos_test_towardzero): Likewise.
11119         (cos_downward_test_data): Likewise.
11120         (cos_test_downward): Likewise.
11121         (cos_upward_test_data): Likewise.
11122         (cos_test_upward): Likewise.
11123         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11124         (cosh_test): Use ALL_RM_TEST.
11125         (cosh_tonearest_test_data): Remove.
11126         (cosh_test_tonearest): Likewise.
11127         (cosh_towardzero_test_data): Likewise.
11128         (cosh_test_towardzero): Likewise.
11129         (cosh_downward_test_data): Likewise.
11130         (cosh_test_downward): Likewise.
11131         (cosh_upward_test_data): Likewise.
11132         (cosh_test_upward): Likewise.
11133         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11134         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11135         (ctan_test_data): Likewise.
11136         (ctan_test): Use ALL_RM_TEST.
11137         (ctan_tonearest_test_data): Remove.
11138         (ctan_test_tonearest): Likewise.
11139         (ctan_towardzero_test_data): Likewise.
11140         (ctan_test_towardzero): Likewise.
11141         (ctan_downward_test_data): Likewise.
11142         (ctan_test_downward): Likewise.
11143         (ctan_upward_test_data): Likewise.
11144         (ctan_test_upward): Likewise.
11145         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11146         (ctanh_test): Use ALL_RM_TEST.
11147         (ctanh_tonearest_test_data): Remove.
11148         (ctanh_test_tonearest): Likewise.
11149         (ctanh_towardzero_test_data): Likewise.
11150         (ctanh_test_towardzero): Likewise.
11151         (ctanh_downward_test_data): Likewise.
11152         (ctanh_test_downward): Likewise.
11153         (ctanh_upward_test_data): Likewise.
11154         (ctanh_test_upward): Likewise.
11155         (erf_test_data): Update call to AUTO_TESTS_f_f.
11156         (erfc_test_data): Likewise.
11157         (exp_test_data): Likewise.
11158         (exp_test): Use ALL_RM_TEST.
11159         (exp_tonearest_test_data): Remove.
11160         (exp_test_tonearest): Likewise.
11161         (exp_towardzero_test_data): Likewise.
11162         (exp_test_towardzero): Likewise.
11163         (exp_downward_test_data): Likewise.
11164         (exp_test_downward): Likewise.
11165         (exp_upward_test_data): Likewise.
11166         (exp_test_upward): Likewise.
11167         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11168         (exp10_test): Use ALL_RM_TEST.
11169         (exp10_tonearest_test_data): Remove.
11170         (exp10_test_tonearest): Likewise.
11171         (exp10_towardzero_test_data): Likewise.
11172         (exp10_test_towardzero): Likewise.
11173         (exp10_downward_test_data): Likewise.
11174         (exp10_test_downward): Likewise.
11175         (exp10_upward_test_data): Likewise.
11176         (exp10_test_upward): Likewise.
11177         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11178         (expm1_test_data): Likewise.
11179         (expm1_test): Use ALL_RM_TEST.
11180         (expm1_tonearest_test_data): Remove.
11181         (expm1_test_tonearest): Likewise.
11182         (expm1_towardzero_test_data): Likewise.
11183         (expm1_test_towardzero): Likewise.
11184         (expm1_downward_test_data): Likewise.
11185         (expm1_test_downward): Likewise.
11186         (expm1_upward_test_data): Likewise.
11187         (expm1_test_upward): Likewise.
11188         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11189         (fma_test): Use ALL_RM_TEST.
11190         (fma_towardzero_test_data): Remove.
11191         (fma_test_towardzero): Likewise.
11192         (fma_downward_test_data): Likewise.
11193         (fma_test_downward): Likewise.
11194         (fma_upward_test_data): Likewise.
11195         (fma_test_upward): Likewise.
11196         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11197         (j0_test_data): Update call to AUTO_TESTS_f_f.
11198         (j1_test_data): Likewise.
11199         (jn_test_data): Update call to AUTO_TESTS_if_f.
11200         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11201         (log_test_data): Update call to AUTO_TESTS_f_f.
11202         (log10_test_data): Likewise.
11203         (log1p_test_data): Likewise.
11204         (log2_test_data): Likewise.
11205         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11206         (pow_tonearest_test_data): Likewise.
11207         (sin_test_data): Update call to AUTO_TESTS_f_f.
11208         (sin_test): Use ALL_RM_TEST.
11209         (sin_tonearest_test_data): Remove.
11210         (sin_test_tonearest): Likewise.
11211         (sin_towardzero_test_data): Likewise.
11212         (sin_test_towardzero): Likewise.
11213         (sin_downward_test_data): Likewise.
11214         (sin_test_downward): Likewise.
11215         (sin_upward_test_data): Likewise.
11216         (sin_test_upward): Likewise.
11217         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11218         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11219         (sinh_test): Use ALL_RM_TEST.
11220         (sinh_tonearest_test_data): Remove.
11221         (sinh_test_tonearest): Likewise.
11222         (sinh_towardzero_test_data): Likewise.
11223         (sinh_test_towardzero): Likewise.
11224         (sinh_downward_test_data): Likewise.
11225         (sinh_test_downward): Likewise.
11226         (sinh_upward_test_data): Likewise.
11227         (sinh_test_upward): Likewise.
11228         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11229         (sqrt_test): Use ALL_RM_TEST.
11230         (sqrt_tonearest_test_data): Remove.
11231         (sqrt_test_tonearest): Likewise.
11232         (sqrt_towardzero_test_data): Likewise.
11233         (sqrt_test_towardzero): Likewise.
11234         (sqrt_downward_test_data): Likewise.
11235         (sqrt_test_downward): Likewise.
11236         (sqrt_upward_test_data): Likewise.
11237         (sqrt_test_upward): Likewise.
11238         (tan_test_data): Update call to AUTO_TESTS_f_f.
11239         (tan_test): Use ALL_RM_TEST.
11240         (tan_tonearest_test_data): Remove.
11241         (tan_test_tonearest): Likewise.
11242         (tan_towardzero_test_data): Likewise.
11243         (tan_test_towardzero): Likewise.
11244         (tan_downward_test_data): Likewise.
11245         (tan_test_downward): Likewise.
11246         (tan_upward_test_data): Likewise.
11247         (tan_test_upward): Likewise.
11248         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11249         (tgamma_test_data): Likewise.
11250         (y0_test_data): Likewise.
11251         (y1_test_data): Likewise.
11252         (yn_test_data): Update call to AUTO_TESTS_if_f.
11253         (main): Do not call removed functions.
11255 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11257         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11258         (ldexp_test_data): Remove.
11259         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11260         scalbn_test_data.
11261         (scalb_test): Use ALL_RM_TEST.
11263 2014-03-19  Andreas Schwab  <schwab@suse.de>
11265         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11267 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11269         [BZ #16649]
11270         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11271         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11272         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11273         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11274         (__ASSUME_PREADV): Undefine.
11275         (__ASSUME_PWRITEV): Likewise.
11277 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11279         * bits/mman-linux.h: Add comment about non-Linux use.
11280         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11281         bits/mman-linux.h resting place.
11283         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11284         * bits/mman-linux.h: ... here.
11286 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11288         * conform/conformtest.pl: Add standard definition when calling C
11289         preprocessor on data files.
11290         (checknamespace): Remove unused variable.
11292 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11294         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11295         minus_oflow, plus_uflow and minus_uflow in expected results.
11296         * math/libm-test.inc (scalbn_test_data): Add more tests of
11297         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11298         minus_uflow.
11299         (scalbn_test): Use ALL_RM_TEST.
11300         (scalbln_test_data): Add more tests of negative arguments.  Use
11301         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11302         (scalbln_test): Use ALL_RM_TEST.
11304 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11306         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11308 2014-03-18  Will Newton  <will.newton@linaro.org>
11310         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11311         inaccurate comment.
11313 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11315         * Makerules [!subdir] (check-abi): Exit with error status if a
11316         test failed.
11318 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11320         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11321         for rint.  Include results for all rounding modes.
11322         (nearbyint_test): Use ALL_RM_TEST.
11323         (rint_test_data): Include all tests used for nearbyint.
11325 2014-03-17  Will Newton  <will.newton@linaro.org>
11327         * nptl/sysdeps/pthread/pthread.h: Revert previous
11328         change.
11330         * sysdeps/generic/ldsodefs.h: Revert previous
11331         change.
11333         * libio/genops.c: Revert previous change.
11334         * libio/libioP.h: Likewise.
11335         * stdio-common/vfprintf.c: Likewise.
11337         * sysdeps/generic/math_private.h: Revert previous
11338         change.
11340         * sysdeps/generic/math_private.h: Check whether
11341         HAVE_RM_CTX is defined with #ifdef rather
11342         than #if.
11344         * argp/argp-fmtstream.h: Check whether
11345         __STRICT_ANSI__ is defined with #ifdef rather
11346         than #if.
11347         * argp/argp.h: Likewise.
11349         * libio/genops.c: Check whether
11350         _IO_JUMPS_OFFSET is defined with #ifdef rather
11351         than #if.
11352         * libio/libioP.h: Likewise.
11353         * stdio-common/vfprintf.c: Likewise.
11355         * sysdeps/generic/ldsodefs.h: Check whether
11356         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11357         than #if.
11359         * nptl/sysdeps/pthread/pthread.h: Check
11360         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11361         its value.
11363 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11365         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11366         setting O_APPEND.
11367         * libio/tst-ftell-active-handler.c (do_append_test): Add a
11368         test case.
11370         [BZ #16680]
11371         * libio/fileops.c (_IO_file_open): Seek to end of file but
11372         don't cache the offset.
11373         (get_file_offset): Remove function.
11374         (do_ftell): Use cached offset when available.
11375         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11376         don't cache the offset.
11377         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11378         case.
11379         (do_one_test): Call it.
11380         (do_ftell_test): Fix up expected old offset for a+ mode.
11381         * libio/wfileops.c (do_ftell_wide): Used cached offset when
11382         available.
11384         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11385         up test status with function return status.
11386         (do_write_test): Likewise.
11387         (do_append_test): Likewise.
11389         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11390         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11391         Remove.
11393 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11395         * math/gen-libm-test.pl (parse_args): Handle results specified for
11396         each rounding mode separately.
11397         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11398         tests and results from lrint_tonearest_test_data,
11399         lrint_towardzero_test_data, lrint_downward_test_data and
11400         lrint_upward_test_data.
11401         (lrint_test): Use ALL_RM_TEST.
11402         (lrint_tonearest_test_data): Remove.
11403         (lrint_test_tonearest): Likewise.
11404         (lrint_towardzero_test_data): Likewise.
11405         (lrint_test_towardzero): Likewise.
11406         (lrint_downward_test_data): Likewise.
11407         (lrint_test_downward): Likewise.
11408         (lrint_upward_test_data): Likewise.
11409         (lrint_test_upward): Likewise.
11410         (llrint_test_data): Merge in per-rounding-mode tests and results
11411         from llrint_tonearest_test_data, llrint_towardzero_test_data,
11412         llrint_downward_test_data and llrint_upward_test_data.
11413         (llrint_test): Use ALL_RM_TEST.
11414         (llrint_tonearest_test_data): Remove.
11415         (llrint_test_tonearest): Likewise.
11416         (llrint_towardzero_test_data): Likewise.
11417         (llrint_test_towardzero): Likewise.
11418         (llrint_downward_test_data): Likewise.
11419         (llrint_test_downward): Likewise.
11420         (llrint_upward_test_data): Likewise.
11421         (llrint_test_upward): Likewise.
11422         (rint_test_data): Merge in per-rounding-mode tests and results
11423         from rint_tonearest_test_data, rint_towardzero_test_data,
11424         rint_downward_test_data and rint_upward_test_data.  Add
11425         per-rounding-mode results for tests not in those arrays.
11426         (rint_test): Use ALL_RM_TEST.
11427         (rint_tonearest_test_data): Remove.
11428         (rint_test_tonearest): Likewise.
11429         (rint_towardzero_test_data): Likewise.
11430         (rint_test_towardzero): Likewise.
11431         (rint_downward_test_data): Likewise.
11432         (rint_test_downward): Likewise.
11433         (rint_upward_test_data): Likewise.
11434         (rint_test_upward): Likewise.
11435         (main): Don't call removed functions.
11437 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11439         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11440         "Compiled on ..." crapola.  It is anti-useful.
11442 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
11444         * scripts/evaluate-test.sh: Handle fourth argument to determine
11445         whether test run should stop on failure.
11446         * Makeconfig (stop-on-test-failure): New variable.
11447         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11448         $(stop-on-test-failure).
11449         * Makefile (tests): Give a summary of results from testing and
11450         exit with failure status if they include an ERROR or FAIL.
11451         (xtests): Likewise.
11452         * manual/install.texi (Configuring and compiling): Mention
11453         stop-on-test-failure=y.
11454         * INSTALL: Regenerated.
11456 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11458         * scripts/versionlist.awk: New file.
11459         * Makerules [$(build-shared) = yes]
11460         (postclean-generated): Add Versions.def, not Versions.def.v and
11461         Versions.def.v.i.
11462         ($(common-objpfx)Versions.def.v.i): Target removed.
11463         ($(common-objpfx)Versions.def): New target.
11464         ($(common-objpfx)Versions.all): Depend on that rather that
11465         $(common-objpfx)Versions.def.v.
11466         * Versions.def: File removed.
11468         * Makeconfig (+gccwarn): Add -Wundef.
11469         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11470         a dl-sysdep.h breaking its contract.
11471         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11472         * include/stackinfo.h: New file.
11473         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11474         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11475         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11476         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11477         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11478         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11479         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11480         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11481         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11482         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11483         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11484         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11485         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11486         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11487         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11489 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11491         [BZ #16707]
11492         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11493         implementation.
11494         * math/libm-test.inc (round_test_data): Add more tests.
11496         [BZ #16706]
11497         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11498         implementation.
11499         * math/libm-test.inc (nearbyint_test_data): Add more tests.
11501         [BZ #16701]
11502         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11503         implementation.
11504         * math/libm-test.inc (ceil_test_data): Add more tests.
11506         * math/libm-test.inc (trunc_test_data): Add more tests related to
11507         BZ#16414.
11509 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11511         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11512         with #if rather than #ifdef.
11513         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11515 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
11517         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11518         first.  Disable AVX-512 GCC support if assembler doesn't support
11519         it.
11520         * sysdeps/x86_64/configure: Regenerated.
11522 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
11524         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11525         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11526         (__old_pthread_attr_setstack): Likewise.
11527         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11528         [!_STACK_GROWS_DOWN]: Likewise.
11530 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11532         * config.make.in (have-bash2): Delete.
11533         * configure.ac (libc_cv_have_bash2): Delete.
11534         * configure: Regenerate.
11535         * elf/Makefile (common-ldd-rewrite): Rename to ...
11536         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
11537         (sh-ldd-rewrite): Delete.
11538         (bash-ldd-rewrite): Delete.
11539         (have-bash2): Delete checks.
11540         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11541         ldd-rewrite.
11543         * config.make.in (have-ksh): Delete.
11544         (KSH): Delete.
11545         * configure.ac (libc_cv_have_ksh): Delete.
11546         * configure: Regenerate.
11548         * elf/Makefile: Delete $(have-ksh) check.
11549         ($(objpfx)sotruss): Change KSH to BASH.
11550         * elf/sotruss.ksh: Rename to ...
11551         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
11552         function style to match POSIX.  Drop ksh vim mode setting.
11554         * manual/time.texi (Specifying the Time Zone with TZ): Change
11555         Tuesday to Thursday.
11557         * debug/tst-longjmp_chk2.c: Update header comment.
11558         (stackoverflow_handler): Add comment.  Call assert on pass value.
11560 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
11562         [BZ #16194]
11563         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11564         (HAVE_AVX512_ASM_SUPPORT): Likewise.
11565         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11566         (La_x86_64_vector): Add zmm.
11567         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11568         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11569         ($(objpfx)tst-audit10): New target.
11570         ($(objpfx)tst-audit10.out): Likewise.
11571         (tst-audit10-ENV): New.
11572         (AVX512-CFLAGS): Likewise.
11573         (CFLAGS-tst-audit10.c): Likewise.
11574         (CFLAGS-tst-auditmod10a.c): Likewise.
11575         (CFLAGS-tst-auditmod10b.c): Likewise.
11576         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11577         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11578         * sysdeps/x86_64/configure: Regenerated.
11579         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11580         AVX-512 zmm register support.
11581         (_dl_x86_64_save_sse): Likewise.
11582         (_dl_x86_64_restore_sse): Likewise.
11583         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11584         size vector registers.
11585         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11586         (ZMM_SIZE): Likewise.
11587         * sysdeps/x86_64/tst-audit10.c: New file.
11588         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11589         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11591 2014-03-13  Roland McGrath  <roland@hack.frob.com>
11593         * configure.ac (HAVE_EHDR_START): New check.
11594         * configure: Regenerated.
11595         * config.h.in (HAVE_EHDR_START): New #undef.
11596         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11597         assuming the lowest-addressed segment maps the start of the file.
11599 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
11601         * INSTALL: Regenerated.
11603 2014-03-13  Will Newton  <will.newton@linaro.org>
11605         * manual/setjmp.texi (System V contexts): Improve
11606         clarity and grammar of documentation.
11608 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11610         [BZ #16381]
11611         * elf/Makefile (tests): Add tst-pie2.
11612         (tests-pie): Add tst-pie2.
11613         * elf/tst-pie2.c: New file.
11614         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11615         for ET_EXEC.
11616         * elf/rtld.c (map_doit): Load executable as lt_executable.
11617         (dl_main): Likewise.
11619 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
11621         [BZ #16642]
11622         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11623         (__ASSUME_PSELECT): Undefine.
11625 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11627         [BZ #16689]
11628         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11629         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11630         static build.
11631         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11632         selector for static builds.
11634 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11636         [BZ #16695]
11637         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11638         key in the buffer.
11640 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11642         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11643         IFUNC selector for static builds.
11645 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
11647         * sysdeps/mips/math_private.h [__mips_hard_float]
11648         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11649         libc_feresetround_mips_ctx.
11650         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11651         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11652         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11654         [BZ #16677]
11655         * math/s_nextafter.c (__nextafter): Do not return value from
11656         overflowing computation.
11657         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11658         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11659         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11660         Likewise.
11661         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11662         Likewise.
11663         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11664         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11666 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11668         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11669         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11670         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11671         the new mov targetting sp.
11673 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11675         [BZ #16683]
11676         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11677         Define it for static builds as well.
11678         (NO_BZERO_IMPL): Likewise.
11680 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11682         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11683         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11684         multiarch strspn for PPC64.
11685         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11686         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11687         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11688         (__libc_ifunc_impl_list): Likewise.
11689         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11690         multiarch optimizations
11691         * string/strspn.c (strspn): Using macro to redefine symbol name.
11693 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11694             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11696         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11697         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11698         multiarch strncat for PPC64.
11699         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11700         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11701         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11702         (__libc_ifunc_impl_list): Likewise.
11703         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11704         multiarch optimizations
11706 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11708         [BZ #16639]
11709         * nscd/nscd.service: Make service type forking.
11711 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11713         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11714         sign in non default rounding modes.
11715         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11717 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11719         * math/libm-test.inc (ALL_RM_TEST): New macro.
11720         (ceil_test): Use ALL_RM_TEST.
11721         (cimag_test): Likewise.
11722         (conj_test): Likewise.
11723         (copysign_test): Likewise.
11724         (cproj_test): Likewise.
11725         (creal_test): Likewise.
11726         (fabs_test): Likewise.
11727         (floor_test): Likewise.
11728         (fmax_test): Likewise.
11729         (fmin_test): Likewise.
11730         (fmod_test): Likewise.
11731         (fpclassify_test): Likewise.
11732         (frexp_test): Likewise.
11733         (ilogb_test): Likewise.
11734         (isfinite_test): Likewise.
11735         (finite_test): Likewise.
11736         (isgreater_test): Likewise.
11737         (isgreaterequal_test): Likewise.
11738         (isinf_test): Likewise.
11739         (isless_test): Likewise.
11740         (islessequal_test): Likewise.
11741         (islessgreater_test): Likewise.
11742         (isnan_test): Likewise.
11743         (isnormal_test): Likewise.
11744         (issignaling_test): Likewise.
11745         (isunordered_test): Likewise.
11746         (logb_test): Likewise.
11747         (logb_downward_test_data): Remove.
11748         (logb_test_downward): Likewise.
11749         (lround_test): Use ALL_RM_TEST.
11750         (llround_test): Likewise.
11751         (modf_test): Likewise.
11752         (nexttoward_test): Likewise.
11753         (remainder_test): Likewise.
11754         (drem_test): Likewise.
11755         (remainder_tonearest_test_data): Likewise.
11756         (remainder_test_tonearest): Likewise.
11757         (drem_test_tonearest): Likewise.
11758         (remainder_towardzero_test_data): Likewise.
11759         (remainder_test_towardzero): Likewise.
11760         (drem_test_towardzero): Likewise.
11761         (remainder_downward_test_data): Likewise.
11762         (remainder_test_downward): Likewise.
11763         (drem_test_downward): Likewise.
11764         (remainder_upward_test_data): Likewise.
11765         (remainder_test_upward): Likewise.
11766         (drem_test_upward): Likewise.
11767         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11768         (round_test): Use ALL_RM_TEST.
11769         (signbit_test): Likewise.
11770         (trunc_test): Likewise.
11771         (significand_test): Likewise.
11772         (main): Don't call removed functions.
11774 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11776         [BZ #16674]
11777         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11778         || __USE_XOPEN2K8].
11779         (ILL_ILLOPN): Likewise.
11780         (ILL_ILLADR): Likewise.
11781         (ILL_ILLTRP): Likewise.
11782         (ILL_PRVOPC): Likewise.
11783         (ILL_PRVREG): Likewise.
11784         (ILL_COPROC): Likewise.
11785         (ILL_BADSTK): Likewise.
11786         (FPE_INTDIV): Likewise.
11787         (FPE_INTOVF): Likewise.
11788         (FPE_FLTDIV): Likewise.
11789         (FPE_FLTOVF): Likewise.
11790         (FPE_FLTUND): Likewise.
11791         (FPE_FLTRES): Likewise.
11792         (FPE_FLTINV): Likewise.
11793         (FPE_FLTSUB): Likewise.
11794         (SEGV_MAPERR): Likewise.
11795         (SEGV_ACCERR): Likewise.
11796         (BUS_ADRALN): Likewise.
11797         (BUS_ADRERR): Likewise.
11798         (BUS_OBJERR): Likewise.
11799         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11800         (TRAP_TRACE): Likewise.
11801         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11802         __USE_XOPEN2K8].
11803         (CLD_KILLED): Likewise.
11804         (CLD_DUMPED): Likewise.
11805         (CLD_TRAPPED): Likewise.
11806         (CLD_STOPPED): Likewise.
11807         (CLD_CONTINUED): Likewise.
11808         (POLL_IN): Likewise.
11809         (POLL_OUT): Likewise.
11810         (POLL_MSG): Likewise.
11811         (POLL_ERR): Likewise.
11812         (POLL_PRI): Likewise.
11813         (POLL_HUP): Likewise.
11814         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11815         Likewise.
11816         (ILL_ILLOPN): Likewise.
11817         (ILL_ILLADR): Likewise.
11818         (ILL_ILLTRP): Likewise.
11819         (ILL_PRVOPC): Likewise.
11820         (ILL_PRVREG): Likewise.
11821         (ILL_COPROC): Likewise.
11822         (ILL_BADSTK): Likewise.
11823         (FPE_INTDIV): Likewise.
11824         (FPE_INTOVF): Likewise.
11825         (FPE_FLTDIV): Likewise.
11826         (FPE_FLTOVF): Likewise.
11827         (FPE_FLTUND): Likewise.
11828         (FPE_FLTRES): Likewise.
11829         (FPE_FLTINV): Likewise.
11830         (FPE_FLTSUB): Likewise.
11831         (SEGV_MAPERR): Likewise.
11832         (SEGV_ACCERR): Likewise.
11833         (BUS_ADRALN): Likewise.
11834         (BUS_ADRERR): Likewise.
11835         (BUS_OBJERR): Likewise.
11836         (BUS_MCEERR_AR): Likewise.
11837         (BUS_MCEERR_AO): Likewise.
11838         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11839         (TRAP_TRACE): Likewise.
11840         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11841         __USE_XOPEN2K8].
11842         (CLD_KILLED): Likewise.
11843         (CLD_DUMPED): Likewise.
11844         (CLD_TRAPPED): Likewise.
11845         (CLD_STOPPED): Likewise.
11846         (CLD_CONTINUED): Likewise.
11847         (POLL_IN): Likewise.
11848         (POLL_OUT): Likewise.
11849         (POLL_MSG): Likewise.
11850         (POLL_ERR): Likewise.
11851         (POLL_PRI): Likewise.
11852         (POLL_HUP): Likewise.
11853         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11854         (ILL_ILLOPN): Likewise.
11855         (ILL_ILLADR): Likewise.
11856         (ILL_ILLTRP): Likewise.
11857         (ILL_PRVOPC): Likewise.
11858         (ILL_PRVREG): Likewise.
11859         (ILL_COPROC): Likewise.
11860         (ILL_BADSTK): Likewise.
11861         (FPE_INTDIV): Likewise.
11862         (FPE_INTOVF): Likewise.
11863         (FPE_FLTDIV): Likewise.
11864         (FPE_FLTOVF): Likewise.
11865         (FPE_FLTUND): Likewise.
11866         (FPE_FLTRES): Likewise.
11867         (FPE_FLTINV): Likewise.
11868         (FPE_FLTSUB): Likewise.
11869         (SEGV_MAPERR): Likewise.
11870         (SEGV_ACCERR): Likewise.
11871         (BUS_ADRALN): Likewise.
11872         (BUS_ADRERR): Likewise.
11873         (BUS_OBJERR): Likewise.
11874         (BUS_MCEERR_AR): Likewise.
11875         (BUS_MCEERR_AO): Likewise.
11876         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11877         (TRAP_TRACE): Likewise.
11878         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11879         __USE_XOPEN2K8].
11880         (CLD_KILLED): Likewise.
11881         (CLD_DUMPED): Likewise.
11882         (CLD_TRAPPED): Likewise.
11883         (CLD_STOPPED): Likewise.
11884         (CLD_CONTINUED): Likewise.
11885         (POLL_IN): Likewise.
11886         (POLL_OUT): Likewise.
11887         (POLL_MSG): Likewise.
11888         (POLL_ERR): Likewise.
11889         (POLL_PRI): Likewise.
11890         (POLL_HUP): Likewise.
11891         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11892         Likewise.
11893         (ILL_ILLOPN): Likewise.
11894         (ILL_ILLADR): Likewise.
11895         (ILL_ILLTRP): Likewise.
11896         (ILL_PRVOPC): Likewise.
11897         (ILL_PRVREG): Likewise.
11898         (ILL_COPROC): Likewise.
11899         (ILL_BADSTK): Likewise.
11900         (ILL_BADIADDR): Likewise.
11901         (ILL_BREAK): Likewise.
11902         (FPE_INTDIV): Likewise.
11903         (FPE_INTOVF): Likewise.
11904         (FPE_FLTDIV): Likewise.
11905         (FPE_FLTOVF): Likewise.
11906         (FPE_FLTUND): Likewise.
11907         (FPE_FLTRES): Likewise.
11908         (FPE_FLTINV): Likewise.
11909         (FPE_FLTSUB): Likewise.
11910         (FPE_DECOVF): Likewise.
11911         (FPE_DECDIV): Likewise.
11912         (FPE_DECERR): Likewise.
11913         (FPE_INVASC): Likewise.
11914         (FPE_INVDEC): Likewise.
11915         (SEGV_MAPERR): Likewise.
11916         (SEGV_ACCERR): Likewise.
11917         (SEGV_PSTKOVF): Likewise.
11918         (BUS_ADRALN): Likewise.
11919         (BUS_ADRERR): Likewise.
11920         (BUS_OBJERR): Likewise.
11921         (BUS_MCEERR_AR): Likewise.
11922         (BUS_MCEERR_AO): Likewise.
11923         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11924         (TRAP_TRACE): Likewise.
11925         (TRAP_BRANCH): Likewise.
11926         (TRAP_HWBKPT): Likewise.
11927         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11928         __USE_XOPEN2K8].
11929         (CLD_KILLED): Likewise.
11930         (CLD_DUMPED): Likewise.
11931         (CLD_TRAPPED): Likewise.
11932         (CLD_STOPPED): Likewise.
11933         (CLD_CONTINUED): Likewise.
11934         (POLL_IN): Likewise.
11935         (POLL_OUT): Likewise.
11936         (POLL_MSG): Likewise.
11937         (POLL_ERR): Likewise.
11938         (POLL_PRI): Likewise.
11939         (POLL_HUP): Likewise.
11940         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11941         (ILL_ILLOPN): Likewise.
11942         (ILL_ILLADR): Likewise.
11943         (ILL_ILLTRP): Likewise.
11944         (ILL_PRVOPC): Likewise.
11945         (ILL_PRVREG): Likewise.
11946         (ILL_COPROC): Likewise.
11947         (ILL_BADSTK): Likewise.
11948         (FPE_INTDIV): Likewise.
11949         (FPE_INTOVF): Likewise.
11950         (FPE_FLTDIV): Likewise.
11951         (FPE_FLTOVF): Likewise.
11952         (FPE_FLTUND): Likewise.
11953         (FPE_FLTRES): Likewise.
11954         (FPE_FLTINV): Likewise.
11955         (FPE_FLTSUB): Likewise.
11956         (SEGV_MAPERR): Likewise.
11957         (SEGV_ACCERR): Likewise.
11958         (BUS_ADRALN): Likewise.
11959         (BUS_ADRERR): Likewise.
11960         (BUS_OBJERR): Likewise.
11961         (BUS_MCEERR_AR): Likewise.
11962         (BUS_MCEERR_AO): Likewise.
11963         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11964         (TRAP_TRACE): Likewise.
11965         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11966         __USE_XOPEN2K8].
11967         (CLD_KILLED): Likewise.
11968         (CLD_DUMPED): Likewise.
11969         (CLD_TRAPPED): Likewise.
11970         (CLD_STOPPED): Likewise.
11971         (CLD_CONTINUED): Likewise.
11972         (POLL_IN): Likewise.
11973         (POLL_OUT): Likewise.
11974         (POLL_MSG): Likewise.
11975         (POLL_ERR): Likewise.
11976         (POLL_PRI): Likewise.
11977         (POLL_HUP): Likewise.
11978         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
11979         (ILL_ILLOPN): Likewise.
11980         (ILL_ILLADR): Likewise.
11981         (ILL_ILLTRP): Likewise.
11982         (ILL_PRVOPC): Likewise.
11983         (ILL_PRVREG): Likewise.
11984         (ILL_COPROC): Likewise.
11985         (ILL_BADSTK): Likewise.
11986         (FPE_INTDIV): Likewise.
11987         (FPE_INTOVF): Likewise.
11988         (FPE_FLTDIV): Likewise.
11989         (FPE_FLTOVF): Likewise.
11990         (FPE_FLTUND): Likewise.
11991         (FPE_FLTRES): Likewise.
11992         (FPE_FLTINV): Likewise.
11993         (FPE_FLTSUB): Likewise.
11994         (SEGV_MAPERR): Likewise.
11995         (SEGV_ACCERR): Likewise.
11996         (BUS_ADRALN): Likewise.
11997         (BUS_ADRERR): Likewise.
11998         (BUS_OBJERR): Likewise.
11999         (BUS_MCEERR_AR): Likewise.
12000         (BUS_MCEERR_AO): Likewise.
12001         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12002         (TRAP_TRACE): Likewise.
12003         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12004         __USE_XOPEN2K8].
12005         (CLD_KILLED): Likewise.
12006         (CLD_DUMPED): Likewise.
12007         (CLD_TRAPPED): Likewise.
12008         (CLD_STOPPED): Likewise.
12009         (CLD_CONTINUED): Likewise.
12010         (POLL_IN): Likewise.
12011         (POLL_OUT): Likewise.
12012         (POLL_MSG): Likewise.
12013         (POLL_ERR): Likewise.
12014         (POLL_PRI): Likewise.
12015         (POLL_HUP): Likewise.
12016         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12017         (ILL_ILLOPN): Likewise.
12018         (ILL_ILLADR): Likewise.
12019         (ILL_ILLTRP): Likewise.
12020         (ILL_PRVOPC): Likewise.
12021         (ILL_PRVREG): Likewise.
12022         (ILL_COPROC): Likewise.
12023         (ILL_BADSTK): Likewise.
12024         (FPE_INTDIV): Likewise.
12025         (FPE_INTOVF): Likewise.
12026         (FPE_FLTDIV): Likewise.
12027         (FPE_FLTOVF): Likewise.
12028         (FPE_FLTUND): Likewise.
12029         (FPE_FLTRES): Likewise.
12030         (FPE_FLTINV): Likewise.
12031         (FPE_FLTSUB): Likewise.
12032         (SEGV_MAPERR): Likewise.
12033         (SEGV_ACCERR): Likewise.
12034         (BUS_ADRALN): Likewise.
12035         (BUS_ADRERR): Likewise.
12036         (BUS_OBJERR): Likewise.
12037         (BUS_MCEERR_AR): Likewise.
12038         (BUS_MCEERR_AO): Likewise.
12039         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12040         (TRAP_TRACE): Likewise.
12041         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12042         __USE_XOPEN2K8].
12043         (CLD_KILLED): Likewise.
12044         (CLD_DUMPED): Likewise.
12045         (CLD_TRAPPED): Likewise.
12046         (CLD_STOPPED): Likewise.
12047         (CLD_CONTINUED): Likewise.
12048         (POLL_IN): Likewise.
12049         (POLL_OUT): Likewise.
12050         (POLL_MSG): Likewise.
12051         (POLL_ERR): Likewise.
12052         (POLL_PRI): Likewise.
12053         (POLL_HUP): Likewise.
12054         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12055         (ILL_ILLOPN): Likewise.
12056         (ILL_ILLADR): Likewise.
12057         (ILL_ILLTRP): Likewise.
12058         (ILL_PRVOPC): Likewise.
12059         (ILL_PRVREG): Likewise.
12060         (ILL_COPROC): Likewise.
12061         (ILL_BADSTK): Likewise.
12062         (ILL_DBLFLT): Likewise.
12063         (ILL_HARDWALL): Likewise.
12064         (FPE_INTDIV): Likewise.
12065         (FPE_INTOVF): Likewise.
12066         (FPE_FLTDIV): Likewise.
12067         (FPE_FLTOVF): Likewise.
12068         (FPE_FLTUND): Likewise.
12069         (FPE_FLTRES): Likewise.
12070         (FPE_FLTINV): Likewise.
12071         (FPE_FLTSUB): Likewise.
12072         (SEGV_MAPERR): Likewise.
12073         (SEGV_ACCERR): Likewise.
12074         (BUS_ADRALN): Likewise.
12075         (BUS_ADRERR): Likewise.
12076         (BUS_OBJERR): Likewise.
12077         (BUS_MCEERR_AR): Likewise.
12078         (BUS_MCEERR_AO): Likewise.
12079         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12080         (TRAP_TRACE): Likewise.
12081         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12082         __USE_XOPEN2K8].
12083         (CLD_KILLED): Likewise.
12084         (CLD_DUMPED): Likewise.
12085         (CLD_TRAPPED): Likewise.
12086         (CLD_STOPPED): Likewise.
12087         (CLD_CONTINUED): Likewise.
12088         (POLL_IN): Likewise.
12089         (POLL_OUT): Likewise.
12090         (POLL_MSG): Likewise.
12091         (POLL_ERR): Likewise.
12092         (POLL_PRI): Likewise.
12093         (POLL_HUP): Likewise.
12094         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12095         (ILL_ILLOPN): Likewise.
12096         (ILL_ILLADR): Likewise.
12097         (ILL_ILLTRP): Likewise.
12098         (ILL_PRVOPC): Likewise.
12099         (ILL_PRVREG): Likewise.
12100         (ILL_COPROC): Likewise.
12101         (ILL_BADSTK): Likewise.
12102         (FPE_INTDIV): Likewise.
12103         (FPE_INTOVF): Likewise.
12104         (FPE_FLTDIV): Likewise.
12105         (FPE_FLTOVF): Likewise.
12106         (FPE_FLTUND): Likewise.
12107         (FPE_FLTRES): Likewise.
12108         (FPE_FLTINV): Likewise.
12109         (FPE_FLTSUB): Likewise.
12110         (SEGV_MAPERR): Likewise.
12111         (SEGV_ACCERR): Likewise.
12112         (BUS_ADRALN): Likewise.
12113         (BUS_ADRERR): Likewise.
12114         (BUS_OBJERR): Likewise.
12115         (BUS_MCEERR_AR): Likewise.
12116         (BUS_MCEERR_AO): Likewise.
12117         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12118         (TRAP_TRACE): Likewise.
12119         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12120         __USE_XOPEN2K8].
12121         (CLD_KILLED): Likewise.
12122         (CLD_DUMPED): Likewise.
12123         (CLD_TRAPPED): Likewise.
12124         (CLD_STOPPED): Likewise.
12125         (CLD_CONTINUED): Likewise.
12126         (POLL_IN): Likewise.
12127         (POLL_OUT): Likewise.
12128         (POLL_MSG): Likewise.
12129         (POLL_ERR): Likewise.
12130         (POLL_PRI): Likewise.
12131         (POLL_HUP): Likewise.
12132         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12133         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12135         [BZ #16670]
12136         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12137         before #include of <time.h>.
12138         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12139         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12140         (test-xfail-UNIX98/sched.h/conform): Likewise.
12142 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12144         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12145         error absence of trapping exception support.
12146         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12148 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12150         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12151         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12152         * timezone/Makefile (testdata): Move definition above include of
12153         Rules.
12154         (test-zones): New variable.
12155         (tests-special): Add zone files.
12156         (build-testdata): Use $(evaluate-test).
12158         * elf/Makefile (tests-special): Rename tests to end with .out.
12159         ($(objpfx)noload-mem): Likewise.
12160         ($(objpfx)tst-leaks1-mem): Likewise.
12161         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12162         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12163         $(objpfx)test-iconvconfig.out.
12164         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12165         set -e inside subshell and redirect output to file.
12166         * iconvdata/Makefile (generated): Rename tests to end with .out.
12167         Correct type.
12168         (tests-special): Rename tests to end with .out.
12169         ($(objpfx)mtrace-tst-loading): Likewise.
12170         * intl/Makefile (generated): Likewise.
12171         (tests-special): Likewise.
12172         ($(objpfx)mtrace-tst-gettext): Likewise.
12173         * misc/Makefile (generated): Likewise.
12174         (tests-special): Likewise.
12175         ($(objpfx)tst-error1-mem): Likewise.
12176         * nptl/Makefile (tests-special): Likewise.
12177         ($(objpfx)tst-stack3-mem): Likewise.
12178         (generated): Likewise.
12179         * posix/Makefile (generated): Likewise.
12180         (tests-special): Likewise.
12181         (xtests-special): Likewise.
12182         ($(objpfx)tst-fnmatch-mem): Likewise.
12183         ($(objpfx)bug-regex2-mem): Likewise.
12184         ($(objpfx)bug-regex14-mem): Likewise.
12185         ($(objpfx)bug-regex21-mem): Likewise.
12186         ($(objpfx)bug-regex31-mem): Likewise.
12187         ($(objpfx)tst-vfork3-mem): Likewise.
12188         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12189         ($(objpfx)tst-pcre-mem): Likewise.
12190         ($(objpfx)tst-boost-mem): Likewise.
12191         ($(objpfx)bug-ga2-mem): Likewise.
12192         ($(objpfx)bug-glob2-mem): Likewise.
12193         * resolv/Makefile (generate): Likewise.
12194         (tests-special): Likewise.
12195         (xtests-special): Likewise.
12196         (generated): Likewise.
12197         ($(objpfx)mtrace-tst-leaks): Likewise.
12198         ($(objpfx)mtrace-tst-leaks2): Likewise.
12200         * scripts/merge-test-results.sh: New file.
12201         * Makefile (tests-special-notdir): New variable.
12202         (tests): Run merge-test-results.sh.
12203         (xtests): Likewise.
12204         * Rules (tests-special-notdir): New variable.
12205         (xtests-special-notdir): Likewise.
12206         (tests): Run merge-test-results.sh
12207         (xtests): Likewise.
12209         * Makeconfig (test-xfail-name): New variable.
12210         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12211         compute variable name for expected failures.
12212         * conform/Makefile (conformtest-headers-data): New variable.
12213         (conformtest-standards): Likewise.
12214         (conformtest-headers-ISO): Likewise.
12215         (conformtest-headers-ISO99): Likewise.
12216         (conformtest-headers-ISO11): Likewise.
12217         (conformtest-headers-POSIX): Likewise.
12218         (conformtest-headers-XPG3): Likewise.
12219         (conformtest-headers-XPG4): Likewise.
12220         (conformtest-headers-UNIX98): Likewise.
12221         (conformtest-headers-XOPEN2K): Likewise.
12222         (conformtest-headers-POSIX2008): Likewise.
12223         (conformtest-headers-XOPEN2K8): Likewise.
12224         (conformtest-header-list-base): Likewise.
12225         (conformtest-header-list-tests): Likewise.
12226         (conformtest-header-base): Likewise.
12227         (conformtest-header-tests): Likewise.
12228         (tests-special): Add $(conformtest-header-list-tests).  If
12229         [$(fast-check) && !$(cross-compiling)], add
12230         $(conformtest-header-tests) instead of
12231         $(objpfx)run-conformtest.out.
12232         (generated): Add $(conformtest-header-list-base).  If
12233         [$(fast-check) && !$(cross-compiling)], add
12234         $(conformtest-header-base).  Remove previous setting.
12235         ($(conformtest-header-list-tests)): New target.
12236         (test-xfail-run-conformtest): Remove variable.
12237         ($(objpfx)run-conformtest.out): Remove target.
12238         (test-xfail-ISO11/complex.h/conform): New variable.
12239         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12240         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12241         (test-xfail-XPG3/varargs.h/conform): Likewise.
12242         (test-xfail-XPG4/varargs.h/conform): Likewise.
12243         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12244         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12245         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12246         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12247         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12248         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12249         (test-xfail-XPG3/ftw.h/conform): Likewise.
12250         (test-xfail-XPG3/grp.h/conform): Likewise.
12251         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12252         (test-xfail-XPG3/limits.h/conform): Likewise.
12253         (test-xfail-XPG3/pwd.h/conform): Likewise.
12254         (test-xfail-XPG3/search.h/conform): Likewise.
12255         (test-xfail-XPG3/signal.h/conform): Likewise.
12256         (test-xfail-XPG3/stdio.h/conform): Likewise.
12257         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12258         (test-xfail-XPG3/string.h/conform): Likewise.
12259         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12260         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12261         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12262         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12263         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12264         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12265         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12266         (test-xfail-XPG3/termios.h/conform): Likewise.
12267         (test-xfail-XPG3/time.h/conform): Likewise.
12268         (test-xfail-XPG3/unistd.h/conform): Likewise.
12269         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12270         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12271         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12272         (test-xfail-XPG4/netdb.h/conform): Likewise.
12273         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12274         (test-xfail-XPG4/signal.h/conform): Likewise.
12275         (test-xfail-XPG4/stdio.h/conform): Likewise.
12276         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12277         (test-xfail-XPG4/stropts.h/conform): Likewise.
12278         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12279         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12280         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12281         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12282         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12283         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12284         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12285         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12286         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12287         (test-xfail-XPG4/termios.h/conform): Likewise.
12288         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12289         (test-xfail-XPG4/unistd.h/conform): Likewise.
12290         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12291         (test-xfail-POSIX/sched.h/conform): Likewise.
12292         (test-xfail-POSIX/signal.h/conform): Likewise.
12293         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12294         (test-xfail-POSIX/tar.h/conform): Likewise.
12295         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12296         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12297         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12298         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12299         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12300         (test-xfail-UNIX98/sched.h/conform): Likewise.
12301         (test-xfail-UNIX98/signal.h/conform): Likewise.
12302         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12303         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12304         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12305         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12306         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12307         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12308         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12309         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12310         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12311         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12312         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12313         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12314         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12315         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12316         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12317         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12318         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12319         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12320         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12321         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12322         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12323         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12324         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12325         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12326         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12327         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12328         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12329         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12330         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12331         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12332         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12333         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12334         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12335         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12336         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12337         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12338         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12339         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12340         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12341         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12342         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12343         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12344         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12345         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12346         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12347         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12348         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12349         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12350         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12351         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12352         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12353         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12354         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12355         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12356         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12357         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12358         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12359         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12360         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12361         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12362         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12363         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12364         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12365         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12366         (conformtest-cc-flags): Likewise.
12367         ($(conformtest-header-tests): New target.
12368         * conform/check-header-lists.sh: New file.
12369         * conform/run-conformtest.sh: Remove.
12371         * conform/conformtest.pl: Allow ' and \ in values given for
12372         constants.
12373         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12374         inclusion.
12375         [POSIX] (sys/types.h): Likewise.
12376         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12377         inclusion.
12378         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12379         inclusion.
12380         * conform/data/signal.h-data (SIGIO): Remove expectation.
12381         [XPG3] (SIGBUS): Do not expect.
12382         [POSIX || XPG3] (SIGPOLL): Likewise.
12383         [POSIX || XPG3] (SIGPROF): Likewise.
12384         [POSIX || XPG3] (SIGSYS): Likewise.
12385         [XPG3] (SIGTRAP): Likewise.
12386         [POSIX || XPG3] (SIGURG): Likewise.
12387         [POSIX || XPG3] (SIGVTALRM): Likewise.
12388         [POSIX || XPG3] (SIGXCPU): Likewise.
12389         [POSIX || XPG3] (SIGXFSZ): Likewise.
12390         [POSIX] (SA_SIGINFO): Expect.
12391         [XPG3] (siginfo_t): Do not expect type or contents.
12392         [POSIX] (si_pid): Do not expect element.
12393         [POSIX] (si_uid): Likewise.
12394         [POSIX] (si_addr): Likewise.
12395         [POSIX] (si_status): Likewise.
12396         [POSIX] (si_band): Likewise.
12397         [XPG4] (si_value): Likewise.
12398         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12399         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12400         [POSIX || XPG3] (ILL_ILLADR): Likewise.
12401         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12402         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12403         [POSIX || XPG3] (ILL_PRVREG): Likewise.
12404         [POSIX || XPG3] (ILL_COPROC): Likewise.
12405         [POSIX || XPG3] (ILL_BADSTK): Likewise.
12406         [POSIX || XPG3] (FPE_INTDIV): Likewise.
12407         [POSIX || XPG3] (FPE_INTOVF): Likewise.
12408         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12409         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12410         [POSIX || XPG3] (FPE_FLTUND): Likewise.
12411         [POSIX || XPG3] (FPE_FLTRES): Likewise.
12412         [POSIX || XPG3] (FPE_FLTINV): Likewise.
12413         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12414         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12415         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12416         [POSIX || XPG3] (BUS_ADRALN): Likewise.
12417         [POSIX || XPG3] (BUS_ADRERR): Likewise.
12418         [POSIX || XPG3] (BUS_OBJERR): Likewise.
12419         [POSIX || XPG3] (CLD_EXITED): Likewise.
12420         [POSIX || XPG3] (CLD_KILLED): Likewise.
12421         [POSIX || XPG3] (CLD_DUMPED): Likewise.
12422         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12423         [POSIX || XPG3] (CLD_STOPPED): Likewise.
12424         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12425         [POSIX || XPG3] (POLL_IN): Likewise.
12426         [POSIX || XPG3] (POLL_OUT): Likewise.
12427         [POSIX || XPG3] (POLL_MSG): Likewise.
12428         [POSIX || XPG3] (POLL_ERR): Likewise.
12429         [POSIX || XPG3] (POLL_PRI): Likewise.
12430         [POSIX || XPG3] (POLL_HUP): Likewise.
12431         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12432         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12433         (SIG*): Do not allow.
12434         [XPG3] (si_*): Likewise.
12435         [XPG3] (SI_*): Likewise.
12436         [XPG3 || XPG4] (sigev_*): Likewise.
12437         [XPG3 || XPG4] (SIGEV_*): Likewise.
12438         [XPG3 || XPG4] (sival_*): Likewise.
12439         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12440         [POSIX || XPG3] (BUS_*): Likewise.
12441         [POSIX || XPG3] (CLD_*): Likewise.
12442         [POSIX || XPG3] (FPE_*): Likewise.
12443         [POSIX || XPG3] (ILL_*): Likewise.
12444         [POSIX || XPG3] (POLL_*): Likewise.
12445         [POSIX || XPG3] (SEGV_*): Likewise.
12446         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12447         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12448         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12449         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12450         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12451         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12452         Specify type and value.
12453         (TVERSLEN): Likewise.
12454         (REGTYPE): Likewise.
12455         (AREGTYPE): Likewise.
12456         (LNKTYPE): Likewise.
12457         (SYMTYPE): Likewise.
12458         (CHRTYPE): Likewise.
12459         (BLKTYPE): Likewise.
12460         (DIRTYPE): Likewise.
12461         (FIFOTYPE): Likewise.
12462         (CONTTYPE): Likewise.
12463         (TSUID): Likewise.
12464         (TSGID): Likewise.
12465         (TSVTX): Likewise.
12466         (TUREAD): Likewise.
12467         (TUWRITE): Likewise.
12468         (TUEXEC): Likewise.
12469         (TGREAD): Likewise.
12470         (TGWRITE): Likewise.
12471         (TGEXEC): Likewise.
12472         (TOREAD): Likewise.
12473         (TOWRITE): Likewise.
12474         (TOEXEC): Likewise.
12475         [POSIX] (TSVTX): Expect constant.
12477 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
12479         * Makefile (tests): Change dependencies to ....
12480         (tests-special): ... additions to this variable.
12481         (tests): Depend on $(tests-special).
12482         * Makerules (check-abi-list): New variable.
12483         (check-abi): Depend on $(check-abi-list).
12484         [$(subdir) = elf] (tests-special): Add
12485         $(objpfx)check-abi-libc.out.
12486         [$(build-shared) = yes && subdir] (tests-special): Add
12487         $(check-abi-list).
12488         [$(build-shared) = yes && subdir] (tests): Do not depend on
12489         check-abi.
12490         * Rules (tests): Depend on $(tests-special).
12491         (xtests): Depend on $(xtests-special).
12492         * catgets/Makefile (tests): Change dependencies to ....
12493         (tests-special): ... additions to this variable.
12494         * conform/Makefile (tests): Change dependencies to ....
12495         (tests-special): ... additions to this variable.
12496         * elf/Makefile (tests): Change dependencies to ....
12497         (tests-special): ... additions to this variable.
12498         * grp/Makefile (tests): Change dependencies to ....
12499         (tests-special): ... additions to this variable.
12500         * iconv/Makefile (xtests): Change dependencies to ....
12501         (xtests-special): ... additions to this variable.
12502         * iconvdata/Makefile (tests): Change dependencies to ....
12503         (tests-special): ... additions to this variable.
12504         * intl/Makefile (tests): Change dependencies to ....
12505         (tests-special): ... additions to this variable.  Also add
12506         $(objpfx)tst-gettext.out.
12507         * io/Makefile (tests): Change dependencies to ....
12508         (tests-special): ... additions to this variable.
12509         * libio/Makefile (tests): Change dependencies to ....
12510         (tests-special): ... additions to this variable.
12511         * malloc/Makefile (tests): Change dependencies to ....
12512         (tests-special): ... additions to this variable.
12513         * misc/Makefile (tests): Change dependencies to ....
12514         (tests-special): ... additions to this variable.
12515         * nptl/Makefile (tests): Change dependencies to ....
12516         (tests-special): ... additions to this variable.
12517         * nptl_db/Makefile (tests): Change dependencies to ....
12518         (tests-special): ... additions to this variable.
12519         * posix/Makefile (tests): Change dependencies to ....
12520         (tests-special): ... additions to this variable.
12521         (xtests): Change dependencies to ....
12522         (xtests-special): ... additions to this variable.
12523         * resolv/Makefile (tests): Change dependencies to ....
12524         (tests-special): ... additions to this variable.
12525         (xtests): Change dependencies to ....
12526         (xtests-special): ... additions to this variable.
12527         * stdio-common/Makefile (tests): Change dependencies to ....
12528         (tests-special): ... additions to this variable.
12529         (do-tst-unbputc): Remove target.
12530         (do-tst-printf): Likewise.
12531         * stdlib/Makefile (tests): Change dependencies to ....
12532         (tests-special): ... additions to this variable.
12533         * string/Makefile (tests): Change dependencies to ....
12534         (tests-special): ... additions to this variable.
12535         * sysdeps/x86/Makefile (tests): Change dependencies to ....
12536         (tests-special): ... additions to this variable.
12538         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12539         whole file.
12540         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12541         whole file.
12542         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12543         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12545         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12546         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12547         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12548         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12549         * conform/data/libgen.h-data [XPG3]: Likewise.
12550         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12551         * conform/data/ndbm.h-data [XPG3]: Likewise.
12552         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12553         * conform/data/netdb.h-data [XPG3]: Likewise.
12554         * conform/data/netinet/in.h-data [XPG3]: Likewise.
12555         * conform/data/poll.h-data [XPG3]: Likewise.
12556         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12557         * conform/data/strings.h-data [XPG3]: Likewise.
12558         * conform/data/stropts.h-data [XPG3]: Likewise.
12559         * conform/data/sys/mman.h-data [XPG3]: Likewise.
12560         * conform/data/sys/resource.h-data [XPG3]: Likewise.
12561         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12562         Likewise.
12563         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12564         * conform/data/sys/time.h-data [XPG3]: Likewise.
12565         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12566         * conform/data/sys/uio.h-data [XPG3]: Likewise.
12567         * conform/data/sys/un.h-data [XPG3]: Likewise.
12568         * conform/data/syslog.h-data [XPG3]: Likewise.
12569         * conform/data/ucontext.h-data [XPG3]: Likewise.
12570         * conform/data/utmpx.h-data [XPG3]: Likewise.
12571         * conform/data/varargs.h-data [UNIX98]: Enable file.
12573         * manual/Makefile (INSTALL_INFO): Remove variable setting.
12575         * math/libm-test.inc (struct test_f_f_data): Move expected results
12576         into structure for each rounding mode.
12577         (struct test_ff_f_data): Likewise.
12578         (struct test_ff_f_data_nexttoward): Likewise.
12579         (struct test_fi_f_data): Likewise.
12580         (struct test_fl_f_data): Likewise.
12581         (struct test_if_f_data): Likewise.
12582         (struct test_fff_f_data): Likewise.
12583         (struct test_c_f_data): Likewise.
12584         (struct test_f_f1_data): Likewise.
12585         (struct test_fF_f1_data): Likewise.
12586         (struct test_ffI_f1_data): Likewise.
12587         (struct test_c_c_data): Likewise.
12588         (struct test_cc_c_data): Likewise.
12589         (struct test_f_i_data): Likewise.
12590         (struct test_ff_i_data): Likewise.
12591         (struct test_f_l_data): Likewise.
12592         (struct test_f_L_data): Likewise.
12593         (struct test_fFF_11_data): Likewise.
12594         (RM_): New macro.
12595         (RM_FE_DOWNWARD): Likewise.
12596         (RM_FE_TONEAREST): Likewise.
12597         (RM_FE_TOWARDZERO): Likewise.
12598         (RM_FE_UPWARD): Likewise.
12599         (RUN_TEST_LOOP_f_f): Update references to expected results.
12600         (RUN_TEST_LOOP_2_f): Likewise.
12601         (RUN_TEST_LOOP_fff_f): Likewise.
12602         (RUN_TEST_LOOP_c_f): Likewise.
12603         (RUN_TEST_LOOP_f_f1): Likewise.
12604         (RUN_TEST_LOOP_fF_f1): Likewise.
12605         (RUN_TEST_LOOP_fI_f1): Likewise.
12606         (RUN_TEST_LOOP_ffI_f1): Likewise.
12607         (RUN_TEST_LOOP_c_c): Likewise.
12608         (RUN_TEST_LOOP_cc_c): Likewise.
12609         (RUN_TEST_LOOP_f_i): Likewise.
12610         (RUN_TEST_LOOP_f_i_tg): Likewise.
12611         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12612         (RUN_TEST_LOOP_f_b): Likewise.
12613         (RUN_TEST_LOOP_f_b_tg): Likewise.
12614         (RUN_TEST_LOOP_f_l): Likewise.
12615         (RUN_TEST_LOOP_f_L): Likewise.
12616         (RUN_TEST_LOOP_fFF_11): Likewise.
12617         * math/gen-libm-test.pl (parse_args): Output four copies of
12618         expected results for each test.
12620         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12621         (__ASSUME_UTIMES): Remove.
12622         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12623         (__ASSUME_UTIMES): Likewise.
12625         * math/gen-auto-libm-tests.c: Update comment on output format.
12626         (output_for_one_input_case): Generate before-rounding and
12627         after-rounding information as conditions on output flags not
12628         floating-point format.
12629         * math/auto-libm-test-out: Regenerated.
12630         * math/gen-libm-test.pl (cond_value): New function.
12631         (or_cond_value): Use cond_value.
12632         (generate_testfile): Handle conditional exceptions.
12634 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
12636         * math/libm-test.inc (max_valid_error): New variable.
12637         (init_max_error): Take new argument specifying whether function
12638         results are exactly determined.  Set max_valid_error and bound
12639         other variables for errors based on this argument.
12640         (set_max_error): Do not record results above max_valid_error.
12641         (check_float_internal): Only accept errors of up to 0.5ulps if
12642         also at most max_valid_error.
12643         (START): Take new argument EXACT and pass it to init_max_error.
12644         (acos_test): Update call to START.
12645         (acos_test_tonearest): Likewise.
12646         (acos_test_towardzero): Likewise.
12647         (acos_test_downward): Likewise.
12648         (acos_test_upward): Likewise.
12649         (acosh_test): Likewise.
12650         (asin_test): Likewise.
12651         (asin_test_tonearest): Likewise.
12652         (asin_test_towardzero): Likewise.
12653         (asin_test_downward): Likewise.
12654         (asin_test_upward): Likewise.
12655         (asinh_test): Likewise.
12656         (atan_test): Likewise.
12657         (atanh_test): Likewise.
12658         (atan2_test): Likewise.
12659         (cabs_test): Likewise.
12660         (cacos_test): Likewise.
12661         (cacosh_test): Likewise.
12662         (carg_test): Likewise.
12663         (casin_test): Likewise.
12664         (casinh_test): Likewise.
12665         (catan_test): Likewise.
12666         (catanh_test): Likewise.
12667         (cbrt_test): Likewise.
12668         (ccos_test): Likewise.
12669         (ccosh_test): Likewise.
12670         (ceil_test): Likewise.
12671         (cexp_test): Likewise.
12672         (cimag_test): Likewise.
12673         (clog_test): Likewise.
12674         (clog10_test): Likewise.
12675         (conj_test): Likewise.
12676         (copysign_test): Likewise.
12677         (cos_test): Likewise.
12678         (cos_test_tonearest): Likewise.
12679         (cos_test_towardzero): Likewise.
12680         (cos_test_downward): Likewise.
12681         (cos_test_upward): Likewise.
12682         (cosh_test): Likewise.
12683         (cosh_test_tonearest): Likewise.
12684         (cosh_test_towardzero): Likewise.
12685         (cosh_test_downward): Likewise.
12686         (cosh_test_upward): Likewise.
12687         (cpow_test): Likewise.
12688         (cproj_test): Likewise.
12689         (creal_test): Likewise.
12690         (csin_test): Likewise.
12691         (csinh_test): Likewise.
12692         (csqrt_test): Likewise.
12693         (ctan_test): Likewise.
12694         (ctan_test_tonearest): Likewise.
12695         (ctan_test_towardzero): Likewise.
12696         (ctan_test_downward): Likewise.
12697         (ctan_test_upward): Likewise.
12698         (ctanh_test): Likewise.
12699         (ctanh_test_tonearest): Likewise.
12700         (ctanh_test_towardzero): Likewise.
12701         (ctanh_test_downward): Likewise.
12702         (ctanh_test_upward): Likewise.
12703         (erf_test): Likewise.
12704         (erfc_test): Likewise.
12705         (exp_test): Likewise.
12706         (exp_test_tonearest): Likewise.
12707         (exp_test_towardzero): Likewise.
12708         (exp_test_downward): Likewise.
12709         (exp_test_upward): Likewise.
12710         (exp10_test): Likewise.
12711         (exp10_test_tonearest): Likewise.
12712         (exp10_test_towardzero): Likewise.
12713         (exp10_test_downward): Likewise.
12714         (exp10_test_upward): Likewise.
12715         (pow10_test): Likewise.
12716         (exp2_test): Likewise.
12717         (expm1_test): Likewise.
12718         (expm1_test_tonearest): Likewise.
12719         (expm1_test_towardzero): Likewise.
12720         (expm1_test_downward): Likewise.
12721         (expm1_test_upward): Likewise.
12722         (fabs_test): Likewise.
12723         (fdim_test): Likewise.
12724         (floor_test): Likewise.
12725         (fma_test): Likewise.
12726         (fma_test_towardzero): Likewise.
12727         (fma_test_downward): Likewise.
12728         (fma_test_upward): Likewise.
12729         (fmax_test): Likewise.
12730         (fmin_test): Likewise.
12731         (fmod_test): Likewise.
12732         (fpclassify_test): Likewise.
12733         (frexp_test): Likewise.
12734         (hypot_test): Likewise.
12735         (ilogb_test): Likewise.
12736         (isfinite_test): Likewise.
12737         (finite_test): Likewise.
12738         (isgreater_test): Likewise.
12739         (isgreaterequal_test): Likewise.
12740         (isinf_test): Likewise.
12741         (isless_test): Likewise.
12742         (islessequal_test): Likewise.
12743         (islessgreater_test): Likewise.
12744         (isnan_test): Likewise.
12745         (isnormal_test): Likewise.
12746         (issignaling_test): Likewise.
12747         (isunordered_test): Likewise.
12748         (j0_test): Likewise.
12749         (j1_test): Likewise.
12750         (jn_test): Likewise.
12751         (ldexp_test): Likewise.
12752         (lgamma_test): Likewise.
12753         (gamma_test): Likewise.
12754         (lrint_test): Likewise.
12755         (lrint_test_tonearest): Likewise.
12756         (lrint_test_towardzero): Likewise.
12757         (lrint_test_downward): Likewise.
12758         (lrint_test_upward): Likewise.
12759         (llrint_test): Likewise.
12760         (llrint_test_tonearest): Likewise.
12761         (llrint_test_towardzero): Likewise.
12762         (llrint_test_downward): Likewise.
12763         (llrint_test_upward): Likewise.
12764         (log_test): Likewise.
12765         (log10_test): Likewise.
12766         (log1p_test): Likewise.
12767         (log2_test): Likewise.
12768         (logb_test): Likewise.
12769         (logb_test_downward): Likewise.
12770         (lround_test): Likewise.
12771         (llround_test): Likewise.
12772         (modf_test): Likewise.
12773         (nearbyint_test): Likewise.
12774         (nextafter_test): Likewise.
12775         (nexttoward_test): Likewise.
12776         (pow_test): Likewise.
12777         (pow_test_tonearest): Likewise.
12778         (pow_test_towardzero): Likewise.
12779         (pow_test_downward): Likewise.
12780         (pow_test_upward): Likewise.
12781         (remainder_test): Likewise.
12782         (drem_test): Likewise.
12783         (remainder_test_tonearest): Likewise.
12784         (drem_test_tonearest): Likewise.
12785         (remainder_test_towardzero): Likewise.
12786         (drem_test_towardzero): Likewise.
12787         (remainder_test_downward): Likewise.
12788         (drem_test_downward): Likewise.
12789         (remainder_test_upward): Likewise.
12790         (drem_test_upward): Likewise.
12791         (remquo_test): Likewise.
12792         (rint_test): Likewise.
12793         (rint_test_tonearest): Likewise.
12794         (rint_test_towardzero): Likewise.
12795         (rint_test_downward): Likewise.
12796         (rint_test_upward): Likewise.
12797         (round_test): Likewise.
12798         (scalb_test): Likewise.
12799         (scalbn_test): Likewise.
12800         (scalbln_test): Likewise.
12801         (signbit_test): Likewise.
12802         (sin_test): Likewise.
12803         (sin_test_tonearest): Likewise.
12804         (sin_test_towardzero): Likewise.
12805         (sin_test_downward): Likewise.
12806         (sin_test_upward): Likewise.
12807         (sincos_test): Likewise.
12808         (sinh_test): Likewise.
12809         (sinh_test_tonearest): Likewise.
12810         (sinh_test_towardzero): Likewise.
12811         (sinh_test_downward): Likewise.
12812         (sinh_test_upward): Likewise.
12813         (sqrt_test): Likewise.
12814         (sqrt_test_tonearest): Likewise.
12815         (sqrt_test_towardzero): Likewise.
12816         (sqrt_test_downward): Likewise.
12817         (sqrt_test_upward): Likewise.
12818         (tan_test): Likewise.
12819         (tan_test_tonearest): Likewise.
12820         (tan_test_towardzero): Likewise.
12821         (tan_test_downward): Likewise.
12822         (tan_test_upward): Likewise.
12823         (tanh_test): Likewise.
12824         (tgamma_test): Likewise.
12825         (trunc_test): Likewise.
12826         (y0_test): Likewise.
12827         (y1_test): Likewise.
12828         (yn_test): Likewise.
12829         (significand_test): Likewise.
12831         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12832         individual tests in comment.
12833         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12834         (prev_max_error): New variable.
12835         (prev_real_max_error): Likewise.
12836         (prev_imag_max_error): Likewise.
12837         (compare_ulp_data): Don't refer to test names in comment.
12838         (find_test_ulps): Remove function.
12839         (find_function_ulps): Likewise.
12840         (find_complex_function_ulps): Likewise.
12841         (init_max_error): Take function name as argument.  Look up ulps
12842         for that function.
12843         (print_ulps): Remove function.
12844         (print_max_error): Use prev_max_error instead of calling
12845         find_function_ulps.
12846         (print_complex_max_error): Use prev_real_max_error and
12847         prev_imag_max_error instead of calling find_complex_function_ulps.
12848         (check_float_internal): Take max_ulp parameter instead of calling
12849         find_test_ulps.  Don't call print_ulps.
12850         (check_float): Update call to check_float_internal.
12851         (check_complex): Update calls to check_float_internal.
12852         (START): Pass argument to init_max_error.
12853         * math/gen-libm-test.pl (%results): Don't include "kind"
12854         information.
12855         (parse_ulps): Don't handle ulps of individual tests.
12856         (print_ulps_file): Likewise.
12857         (output_ulps): Likewise.
12858         * math/README.libm-test: Update.
12859         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12860         individual tests.
12861         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12862         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12863         * sysdeps/arm/libm-test-ulps: Likewise.
12864         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12865         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12866         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12867         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12868         * sysdeps/microblaze/libm-test-ulps: Likewise.
12869         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12870         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12871         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12872         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12873         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12874         * sysdeps/sh/libm-test-ulps: Likewise.
12875         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12876         * sysdeps/tile/libm-test-ulps: Likewise.
12877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12879 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12881         * math/libm-test.inc (print_complex_max_error): Check separately
12882         whether real and imaginary errors are within allowed range and
12883         pass 0 to print_complex_function_ulps instead of value within
12884         allowed range.
12886 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12888         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12889         formatting.
12890         (get_handles_fopen): Likewise.
12891         (do_write_test): Likewise.
12893         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12895         * libio/fileops.c (do_ftell): Use cached offset when
12896         available.
12897         * libio/iofwide.c (do_ftell_wide): Likewise.
12898         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12899         _IO_file_attach.
12900         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12902         [BZ #16532]
12903         * libio/libioP.h (get_file_offset): New function.
12904         * libio/fileops.c (get_file_offset): Likewise.
12905         (do_ftell): Likewise.
12906         (_IO_new_file_seekoff): Split out ftell logic.
12907         * libio/wfileops.c (do_ftell_wide): Likewise.
12908         (_IO_wfile_seekoff): Split out ftell logic.
12909         * libio/tst-ftell-active-handler.c: New test case.
12910         * libio/Makefile (tests): Add it.
12912 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12914         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12915         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12917 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12919         [BZ #16639]
12920         * nscd/connections.c (nscd_init): Call do_exit.
12921         (start_threads): Call do_exit and notify_parent.
12922         (begin_drop_privileges): Call do_exit.
12923         (finish_drop_privileges): Likewise.
12924         * nscd/selinux.c (preserve_capabilities): Likewise.
12925         (install_real_capabilities): Likewise.
12926         (nscd_selinux_enabled): Likewise.
12927         (avc_create_thread): Likewise.
12928         (avc_alloc_lock): Likewise.
12929         (nscd_avc_init): Likewise.
12930         * nscd/nscd.c (parent_fd): New static variable.
12931         (main): Create a pipe between parent and child processes.
12932         Skip closing parent_fd.
12933         (monitor_child): New function.
12934         (do_exit): Likewise.
12935         (notify_parent): Likewise.
12936         * nscd/nscd.h (notify_parent): Likewise.
12937         (do_exit): Likewise.
12939 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12941         * malloc/malloc.c (__libc_calloc): Revert last change.
12943 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12945         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12947 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12949         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12950         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12951         implementation.
12952         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12953         (__libc_ifunc_impl_list): Likewise.
12954         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12955         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12956         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12957         * string/strrchr.c: Define STRRCHR.
12959 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12961         * benchtest/bench-strtok.c (simple_strtok): Delete.
12962         (strtok_string): Use as benchmark.
12963         * string/strtok (STRTOK): New macro.
12965 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12967         * manual/threads.texi: Add header and standard comments to all
12968         functions.
12970         * elf/dl-lookup.c (check_match): New function.
12971         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12972         (do_lookup_x): Remove nested function check_match. Use non-nested
12973         function check_match.
12975 2014-02-28  Roland McGrath  <roland@hack.frob.com>
12977         * csu/Makefile (generated, before-compile): Use += rather than =.
12978         * catgets/Makefile (generated, generated-dirs): Likewise.
12979         * debug/Makefile (generated): Likewise.
12980         * dlfcn/Makefile (generated): Likewise.
12981         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
12982         * iconvdata/Makefile (before-compile, generated): Likewise.
12983         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
12984         * libio/Makefile (generated): Likewise.
12985         * malloc/Makefile (generated): Likewise.
12986         * manual/Makefile (generated, generated-dirs): Likewise.
12987         * misc/Makefile (generated): Likewise.
12988         * posix/Makefile (generated): Likewise.
12989         * resolv/Makefile (generated): Likewise.
12990         * sunrpc/Makefile (generated, generated-dirs): Likewise.
12991         * timezone/Makefile (generated, generated-dirs): Likewise.
12993         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
12995 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
12998         power8 implementation.
12999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13000         file: POWER8 llround ifunc implementation.
13001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13002         (__lllround): Add POWER8 implementation.
13003         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13004         POWER8 llround implementation.
13006         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13007         power8 implementation.
13008         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13009         file: POWER8 llrint ifunc implementation.
13010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13011         Add POWER8 implementation.
13012         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13013         POWER8 llrint implementation.
13015         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13016         power8 implementation.
13017         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13018         file: POWER8 finite ifunc implementation.
13019         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13020         Add POWER8 implementation.
13021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13022         Likewise.
13023         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13024         POWER8 finite implementation.
13025         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13027         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13028         power8 implementation.
13029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13030         file: POWER8 isinf ifunc implementation.
13031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13032         POWER8 implementation.
13033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13034         Likewise.
13035         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13036         isinf implementation.
13037         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13039         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13040         (INIT_ARCH): Add hwcap2 initialization.
13041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13042         power8 implementation.
13043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13044         file: POWER8 isnan ifunc implementation.
13045         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13046         POWER8 implementation.
13047         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13048         Likewise.
13049         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13050         isnan implementation.
13051         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13053 2014-02-27  Joey Ye  <joey.ye@arm.com>
13055         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13056         (_FP_NANFRAC_Q): Set to zero.
13058 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13060         [BZ #16623]
13061         * math/auto-libm-test-in: New test inputs.
13062         * math/auto-libm-test-out: Regenerate.
13063         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13064         and DA.
13065         (__cos): Likewise.
13066         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13068 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13070         * scripts/evaluate-test.sh: Take new argument indicating whether
13071         failure is expected.
13072         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13073         indicating whether failure is expected.
13074         * conform/Makefile (test-xfail-run-conformtest): New variable.
13075         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13076         level.
13077         * posix/Makefile (test-xfail-annexc): New variable.
13078         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13080 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13082         * argp/Makefile: Include Makeconfig immediately after defining
13083         subdir.
13084         * assert/Makefile: Likewise.
13085         * benchtests/Makefile: Likewise.
13086         * catgets/Makefile: Likewise.
13087         * conform/Makefile: Likewise.
13088         * crypt/Makefile: Likewise.
13089         * csu/Makefile: Likewise.
13090         (all): Remove target.
13091         * ctype/Makefile: Include Makeconfig immediately after defining
13092         subdir.
13093         * debug/Makefile: Likewise.
13094         * dirent/Makefile: Likewise.
13095         * dlfcn/Makefile: Likewise.
13096         * gmon/Makefile: Likewise.
13097         * gnulib/Makefile: Likewise.
13098         * grp/Makefile: Likewise.
13099         * gshadow/Makefile: Likewise.
13100         * hesiod/Makefile: Likewise.
13101         * hurd/Makefile: Likewise.
13102         (all): Remove target.
13103         * iconvdata/Makefile: Include Makeconfig immediately after
13104         defining subdir.
13105         * inet/Makefile: Likewise.
13106         * intl/Makefile: Likewise.
13107         * io/Makefile: Likewise.
13108         * libio/Makefile: Likewise.
13109         (all): Remove target.
13110         * locale/Makefile: Include Makeconfig immediately after defining
13111         subdir.
13112         * login/Makefile: Likewise.
13113         * mach/Makefile: Likewise.
13114         (all): Remove target.
13115         * malloc/Makefile: Include Makeconfig immediately after defining
13116         subdir.
13117         (all): Remove target.
13118         * manual/Makefile: Include Makeconfig immediately after defining
13119         subdir.
13120         * math/Makefile: Likewise.
13121         * misc/Makefile: Likewise.
13122         * nis/Makefile: Likewise.
13123         * nss/Makefile: Likewise.
13124         * po/Makefile: Likewise.
13125         (all): Remove target.
13126         * posix/Makefile: Include Makeconfig immediately after defining
13127         subdir.
13128         * pwd/Makefile: Likewise.
13129         * resolv/Makefile: Likewise.
13130         * resource/Makefile: Likewise.
13131         * rt/Makefile: Likewise.
13132         * setjmp/Makefile: Likewise.
13133         * shadow/Makefile: Likewise.
13134         * signal/Makefile: Likewise.
13135         * socket/Makefile: Likewise.
13136         * soft-fp/Makefile: Likewise.
13137         * stdio-common/Makefile: Likewise.
13138         * stdlib/Makefile: Likewise.
13139         * streams/Makefile: Likewise.
13140         * string/Makefile: Likewise.
13141         * sunrpc/Makefile: Likewise.
13142         (all): Remove target.
13143         * sysvipc/Makefile: Include Makeconfig immediately after defining
13144         subdir.
13145         * termios/Makefile: Likewise.
13146         * time/Makefile: Likewise.
13147         * timezone/Makefile: Likewise.
13148         (all): Remove target.
13149         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13150         subdir.
13151         * wctype/Makefile: Likewise.
13153 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13155         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13156         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13157         (libc_feholdexcept_setround_mips): Ditto.
13158         (libc_feholdsetround): New.
13159         (libc_feholdsetroundf): New.
13160         (libc_feholdsetroundl): New.
13161         (libc_feupdateenv_test_mips): New.
13162         (libc_feupdateenv_test): New.
13163         (libc_feupdateenv_testf): New.
13164         (libc_feupdateenv_testl): New.
13165         (libc_feresetround): New.
13166         (libc_feresetroundf): New.
13167         (libc_feresetroundl): New.
13168         (libc_fetestexcept_mips): New.
13169         (libc_fetestexcept): New.
13170         (libc_fetestexceptf): New.
13171         (libc_fetestexceptl): New.
13172         (HAVE_RM_CTX): New.
13173         (libc_feholdexcept_setround_mips_ctx): New.
13174         (libc_feholdexcept_setround_ctx): New.
13175         (libc_feholdexcept_setroundf_ctx): New.
13176         (libc_feholdexcept_setroundl_ctx): New.
13177         (libc_fesetenv_mips_ctx): New.
13178         (libc_fesetenv_ctx): New.
13179         (libc_fesetenv_ctxf): New.
13180         (libc_fesetenv_ctxl): New.
13181         (libc_feupdateenv_mips_ctx): New.
13182         (libc_feupdateenv_ctx): New.
13183         (libc_feupdateenvf_ctx): New.
13184         (libc_feupdateenvl_ctx): New.
13185         (libc_feholdsetround_mips_ctx): New.
13186         (libc_feholdsetround_ctx): New.
13187         (libc_feholdsetroundf_ctx): New.
13188         (libc_feholdsetroundl_ctx): New.
13189         (libc_feresetround_mips_ctx): New.
13190         (libc_feresetround_ctx): New.
13191         (libc_feresetroundf_ctx): New.
13192         (libc_feresetroundl_ctx): New.
13194 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13196         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13198         * manual/ipc.texi: New file.
13199         * manual/Makefile (chapters): Add ipc.
13200         * manual/job.texi: Add "Inter-Process Communication" to next.
13201         * manual/process.texi: Add "Inter-Process Communication" to prev.
13203 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13205         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13207 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13209         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13211         * manual/arith.texi: Fix spaces after sentences.
13212         * manual/charset.texi: Likewise.
13213         * manual/errno.texi: Likewise.
13214         * manual/install.texi: Likewise.
13215         * manual/llio.texi: Likewise.
13216         * manual/locale.texi: Likewise.
13217         * manual/maint.texi: Likewise.
13218         * manual/math.texi: Likewise.
13219         * manual/memory.texi: Likewise.
13220         * manual/message.texi: Likewise.
13221         * manual/probes.texi: Likewise.
13222         * manual/resource.texi: Likewise.
13223         * manual/signal.texi: Likewise.
13224         * manual/socket.texi: Likewise.
13225         * manual/stdio.texi: Likewise.
13226         * manual/string.texi: Likewise.
13227         * manual/time.texi: Likewise.
13228         * manual/users.texi: Likewise.
13230 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13232         [BZ #16632]
13233         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13234         _DEFAULT_SOURCE is defined.
13236 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13237             Carlos O'Donell  <carlos@redhat.com>
13239         [BZ #16613]
13240         * elf/dl-tls.c (_dl_count_modids): New function.
13241         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13242         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13243         audit library and increment generation counter.
13244         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13245         * elf/tst-audit9.c: New file.
13246         * elf/tst-auditmod9a.c: New file.
13247         * elf/tst-auditmod9b.c: New file.
13248         * elf/Makefile: Add rules to build and run tst-audit9.
13250 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13252         [BZ #15347]
13253         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13255 2014-02-25  Will Newton  <will.newton@linaro.org>
13257         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13258         (__longjmp): Restore sp and lr before restoring callee
13259         saved registers.  Add longjmp and longjmp_target
13260         SystemTap probe point.
13261         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13262         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13263         Define to zero to match jmpbuf layout.
13264         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13265         (__sigsetjmp): Save sp and lr before saving callee
13266         saved registers.  Add setjmp SystemTap probe point.
13268 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13270         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13272 2014-02-24  Andreas Schwab  <schwab@suse.de>
13274         [BZ #15804]
13275         * elf/pldd.c (wait_for_ptrace_stop): New function.
13276         (main): Call it after attaching.
13278 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13280         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13281         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13282         Versions files is now verboten.
13283         * hurd/Versions (libc: GLIBC_2.0):
13284         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13285         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13286         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13287         * mach/Versions: Likewise.
13289         * csu/Versions: Remove unused %include.
13290         * resolv/Versions: Likewise.
13292 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13294         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13295         ($(objpfx)check-local-headers.out): Likewise.
13296         ($(objpfx)begin-end-check.out): Likewise.
13297         * Makerules (check-abi-%.out): Likewise.
13298         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13299         ($(objpfx)test2.cat): Likewise.
13300         ($(objpfx)de/libc.cat): Likewise.
13301         ($(objpfx)test-gencat.out): Likewise.
13302         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13303         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13304         ($(objpfx)noload-mem): Likewise.
13305         ($(objpfx)tst-pathopt.out): Likewise.
13306         ($(objpfx)tst-rtld-load-self.out): Likewise.
13307         ($(objpfx)tst-array1-cmp.out): Likewise.
13308         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13309         ($(objpfx)tst-array2-cmp.out): Likewise.
13310         ($(objpfx)tst-array3-cmp.out): Likewise.
13311         ($(objpfx)tst-array4-cmp.out): Likewise.
13312         ($(objpfx)tst-array5-cmp.out): Likewise.
13313         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13314         ($(objpfx)check-textrel.out): Likewise.
13315         ($(objpfx)check-execstack.out): Likewise.
13316         ($(objpfx)check-localplt.out): Likewise.
13317         ($(objpfx)order2-cmp.out): Likewise.
13318         ($(objpfx)tst-leaks1-mem): Likewise.
13319         ($(objpfx)tst-leaks1-static-mem): Likewise.
13320         ($(objpfx)tst-initorder-cmp.out): Likewise.
13321         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13322         ($(objpfx)tst-unused-dep.out): Likewise.
13323         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13324         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13325         * iconv/Makefile (test-iconvconfig): Likewise.
13326         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13327         ($(objpfx)iconv-test.out): Likewise.
13328         ($(objpfx)tst-tables.out): Likewise.
13329         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13330         ($(objpfx)tst-gettext.out): Likewise.
13331         ($(objpfx)tst-translit.out): Likewise.
13332         ($(objpfx)tst-gettext2.out): Likewise.
13333         ($(objpfx)tst-gettext4.out): Likewise.
13334         ($(objpfx)tst-gettext6.out): Likewise.
13335         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13336         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13337         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13338         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13339         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13340         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13341         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13342         ($(objpfx)wordexp-tst.out): Likewise.
13343         ($(objpfx)annexc.out): Likewise.
13344         ($(objpfx)tst-fnmatch-mem): Likewise.
13345         ($(objpfx)bug-regex2-mem): Likewise.
13346         ($(objpfx)bug-regex14-mem): Likewise.
13347         ($(objpfx)bug-regex21-mem): Likewise.
13348         ($(objpfx)bug-regex31-mem): Likewise.
13349         ($(objpfx)tst-vfork3-mem): Likewise.
13350         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13351         ($(objpfx)tst-pcre-mem): Likewise.
13352         ($(objpfx)tst-boost-mem): Likewise.
13353         ($(objpfx)tst-getconf.out): Likewise.
13354         ($(objpfx)bug-ga2-mem): Likewise.
13355         ($(objpfx)bug-glob2-mem): Likewise.
13356         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13357         ($(objpfx)mtrace-tst-leaks2): Likewise.
13358         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13359         ($(objpfx)tst-printf.out): Likewise.
13360         ($(objpfx)tst-setvbuf1.out): Likewise.
13361         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13362         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13363         ($(objpfx)tst-fmtmsg.out): Likewise.
13364         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13365         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13367         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13368         * bits/sigaction.h [__USE_MISC]: Likewise.
13369         * bits/waitstatus.h: Update #endif comments.
13370         * ctype/ctype.h: Likewise.
13371         * dirent/dirent.h: Likewise.
13372         [__USE_MISC]: Remove redundant conditionals.
13373         * grp/grp.h: Update #endif comments.
13374         [__USE_GNU]: Remove redundant conditionals.
13375         [__USE_MISC]: Likewise.
13376         * inet/netinet/in.h [__USE_GNU]: Likewise.
13377         * io/sys/stat.h [__USE_MISC]: Likewise.
13378         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13379         * libio/bits/stdio.h: Update #endif comments.
13380         [__USE_MISC]: Remove redundant conditionals.
13381         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13382         * libio/stdio.h: Update #endif comments.
13383         [__USE_MISC]: Remove redundant conditionals.
13384         * math/bits/math-finite.h [__USE_MISC]: Likewise.
13385         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13386         * math/math.h: Update #else and #endif comments.
13387         [__USE_MISC]: Remove redundant conditionals.
13388         * misc/sys/uio.h: Update #endif comments.
13389         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13390         * posix/glob.h [__USE_MISC]: Likewise.
13391         * posix/sys/types.h: Update #endif comments.
13392         [__USE_MISC]: Remove redundant conditionals.
13393         * posix/sys/wait.h: Update #endif comments.
13394         [__USE_MISC]: Remove redundant conditionals.
13395         * posix/unistd.h: Update #endif comments.
13396         [__USE_MISC]: Remove redundant conditionals.
13397         * pwd/pwd.h [__USE_GNU]: Likewise.
13398         [__USE_MISC]: Likewise.
13399         * resolv/netdb.h [__USE_GNU]: Likewise.
13400         * signal/signal.h: Update #endif comments.
13401         [__USE_MISC]: Remove redundant conditionals.
13402         * stdlib/stdlib.h: Update #else and #endif comments.
13403         [__USE_MISC]: Remove redundant conditionals.
13404         [__USE_GNU]: Likewise.
13405         * string/bits/string2.h [__USE_MISC]: Likewise.
13406         * string/string.h: Update #endif comments.
13407         [__USE_MISC]: Remove redundant conditionals.
13408         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13409         Likewise.
13410         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13411         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13412         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13413         Likewise.
13414         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13415         Likewise.
13416         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13417         comments.
13418         [__USE_MISC]: Remove redundant conditionals.
13419         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13420         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13421         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13422         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13423         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13424         Likewise.
13425         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13426         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13427         Likewise.
13428         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13429         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13430         Likewise.
13431         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13432         Likewise.
13433         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13434         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13435         Likewise.
13436         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13437         Likewise.
13438         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13439         * sysdeps/x86/bits/string.h: Update #endif comments.
13440         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13441         conditionals.
13442         * time/sys/time.h: Update #endif comments.
13443         * time/time.h: Likewise.
13444         [__USE_MISC]: Remove redundant conditionals.
13446 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
13448         [BZ #16600]
13449         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13451 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
13453         * Versions.def (librt): Add GLIBC_2.17.
13455 2014-02-21  Adam Conrad  <adconrad@0c3.net>
13457         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13458         synonym for _SYS_AUXV_H to allow direct inclusion.
13459         * sysdeps/sparc/bits/hwcap.h: Likewise.
13460         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13461         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13462         * sysdeps/sparc/sysdep.h: Likewise.
13464 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13466         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13468 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13470         * benchtests/bench-strrchr.c: Print length instead of position.
13472 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
13474         [BZ #16611]
13475         * sysdeps/unix/sysv/linux/kernel-features.h
13476         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13477         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13478         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13479         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13480         Likewise.
13481         [__i386__ || __powerpc__ || __sh__ || __sparc__]
13482         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13483         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13484         (__ASSUME_SENDMMSG): Define instead of using previous
13485         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13486         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13487         (__ASSUME_SENDMMSG_SYSCALL): Define.
13488         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13489         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13490         Likewise.
13491         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13492         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13493         Likewise.
13494         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13495         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13496         Likewise.
13497         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13498         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13499         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13500         [__ASSUME_SENDMMSG]: Change conditionals to
13501         [__ASSUME_SENDMMSG_SOCKETCALL].
13502         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13503         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13504         Define.
13505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13506         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13507         Likewise.
13508         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13509         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13510         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13511         [!__ASSUME_SENDMMSG]: Change conditional to
13512         [!__ASSUME_SENDMMSG_SOCKETCALL].
13513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13514         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13515         Define.
13517         [BZ #16610]
13518         * sysdeps/unix/sysv/linux/kernel-features.h
13519         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13520         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13521         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13522         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13523         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13524         [__i386__ || __sparc__]
13525         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13526         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13527         (__ASSUME_RECVMMSG): Define instead of using previous
13528         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13529         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13530         (__ASSUME_RECVMMSG_SYSCALL): Define.
13531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13532         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13533         Likewise.
13534         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13535         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13536         Likewise.
13537         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13538         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13539         Likewise.
13540         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13541         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13542         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13543         [__ASSUME_RECVMMSG]: Change condition to
13544         [__ASSUME_RECVMMSG_SOCKETCALL].
13545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13546         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13547         Define.
13548         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13549         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13550         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13551         Likewise.
13552         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13553         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13554         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13555         [!__ASSUME_RECVMMSG]: Change condition to
13556         [!__ASSUME_RECVMMSG_SOCKETCALL].
13557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13558         (__ASSUME_RECVMMSG_SYSCALL): Define.
13560         [BZ #16609]
13561         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13562         __powerpc__ || __s390__ || __sh__ || __sparc__]
13563         (__ASSUME_SOCKETCALL): Define.
13564         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13565         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13566         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13567         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13568         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13569         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13570         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13571         (__ASSUME_ACCEPT4): Define instead of using previous
13572         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13573         __powerpc__ || __sparc__ || __s390__)] condition.
13574         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13575         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13576         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13577         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13578         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13579         [!__ASSUME_ACCEPT4]: Change condition to
13580         [!__ASSUME_ACCEPT4_SOCKETCALL].
13581         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13582         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
13583         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13584         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13585         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13586         __ASSUME_ACCEPT4_SYSCALL.
13587         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13588         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13589         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13590         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13591         __ASSUME_ACCEPT4_SYSCALL.
13592         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13593         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13594         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13595         [__ASSUME_ACCEPT4]: Change condition to
13596         [__ASSUME_ACCEPT4_SOCKETCALL].
13597         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13598         (__ASSUME_SOCKETCALL): Define.
13599         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13600         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13601         (__ASSUME_SOCKETCALL): Define.
13602         (__ASSUME_ACCEPT4): Remove.
13603         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13604         Define.
13605         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13606         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13607         Likewise.
13608         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13609         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13611         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13612         macro.
13613         (HWCAP_ARM_LPAE): Likewise.
13614         (HWCAP_ARM_EVTSTRM): Likewise.
13615         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13616         Add vpfd32, lpae and evtstrm.
13617         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13618         Increase to 22.
13620 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
13622         * math/auto-libm-test-in: Add tests of clog10.
13623         * math/auto-libm-test-out: Regenerated.
13624         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13625         * sysdeps/i386/fpu/libm-test-ulps: Update.
13626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13628 2014-02-18  Andreas Schwab  <schwab@suse.de>
13630         [BZ #16574]
13631         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13632         Store non-zero if the second buffer was newly allocated.
13633         (send_dg): Likewise.
13634         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13635         to send_vc and send_dg.
13636         (res_nsend): Pass NULL for ansp2_malloced.
13637         * resolv/res_query.c (__libc_res_nquery): Add parameter
13638         answerp2_malloced and pass it down to __libc_res_nsend.
13639         (res_nquery): Pass additional NULL to __libc_res_nquery.
13640         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13641         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
13642         second answer buffer if answerp2_malloced was set.
13643         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13644         (__libc_res_nquerydomain): Add parameter
13645         answerp2_malloced and pass it down to __libc_res_nquery.
13646         (res_nquerydomain): Pass additional NULL to
13647         __libc_res_nquerydomain.
13648         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13649         additional NULL to __libc_res_nsend and __libc_res_nquery.
13650         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13651         additional NULL to __libc_res_nsearch.
13652         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
13653         parameter of __libc_res_nsearch to check for separately allocated
13654         second buffer.
13655         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13656         __libc_res_nquery.
13657         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13658         additional NULL to __libc_res_nquery.
13659         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13660         __libc_res_nsearch.
13661         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13662         * include/resolv.h: Update prototypes of __libc_res_nquery,
13663         __libc_res_nsearch, __libc_res_nsend.
13665 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13667         * math/auto-libm-test-in: Add tests of fma.
13668         * math/auto-libm-test-out: Regenerated.
13669         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13670         (fma_towardzero_test_data): Likewise.
13671         (fma_downward_test_data): Likewise.
13672         (fma_upward_test_data): Likewise.
13673         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13674         mpc_mode.
13675         (rounding_modes): Add values for new field.
13676         (func_calc_method): Add value mpfr_fff_f.
13677         (func_calc_desc): Add mpfr_fff_f union field.
13678         (test_function): Add field exact_args.
13679         (FUNC): Add macro argument EXACT_ARGS.
13680         (FUNC_mpfr_f_f): Update call to FUNC.
13681         (FUNC_mpfr_f_f): Likewise.
13682         (FUNC_mpfr_ff_f): Likewise.
13683         (FUNC_mpfr_if_f): Likewise.
13684         (FUNC_mpc_c_f): Likewise.
13685         (FUNC_mpc_c_c): Likewise.
13686         (test_functions): Add fma.  Update calls to FUNC.
13687         (handle_input_arg): Add argument exact_args.
13688         (add_test): Update call to handle_input_arg.
13689         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13690         (output_for_one_input_case): Update call to calc_generic_results.
13691         Recalculate exact zero results in each rounding mode.
13693         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13694         non-negative before setting low bit.
13695         * math/auto-libm-test-in: Mark one asin test possibly having
13696         spurious underflow.
13697         * math/auto-libm-test-out: Regenerated.
13698         * sysdeps/i386/fpu/libm-test-ulps: Update.
13699         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13701 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13703         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13704         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13705         ports/sysdeps/unix/sysv/linux/microblaze.
13706         * README: Add missing listing for microblaze*-*-linux-gnu.
13708 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13710         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13711         duplicate code
13713 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13715         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13716         * sysdeps/unix/sysv/linux/ia64: Move directory from
13717         ports/sysdeps/unix/sysv/linux/ia64.
13718         * README: Update listing for ia64-*-linux-gnu.
13720 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13721             Joseph Myers  <joseph@codesourcery.com>
13723         * Makeconfig (test-name): New variable.
13724         (evaluate-test): Likewise.
13725         * Makerules (do-test-clean): Remove .test-result files.
13726         (common-mostlyclean): Likewise.
13727         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13728         * scripts/evaluate-test.sh: New file.
13730 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13732         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13733         separate $(objpfx)tst-fopenloc-cmp.out and
13734         $(objpfx)tst-fopenloc-mem.out targets.
13735         (tests): Update dependencies.
13736         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13737         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13738         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13739         (tst-rxspencer-no-utf8-ARGS): New variable.
13740         (tst-rxspencer-no-utf8-ENV): Likewise.
13741         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13742         instead of $(objpfx)tst-rxspencer-mem.
13743         ($(objpfx)tst-rxspencer-mem): Change target to
13744         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13745         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13746         * posix/tst-rxspencer-no-utf8.c: New file.
13748         * elf/Makefile ($(objpfx)order.out): Remove rule.
13749         [$(run-built-tests) = yes] (tests): Depend on
13750         $(objpfx)order-cmp.out.
13751         ($(objpfx)order-cmp.out): New rule.
13752         [$(run-built-tests) = yes] (tests): Depend on
13753         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13754         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13755         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13756         $(objpfx)tst-array5-static-cmp.out.
13757         ($(objpfx)tst-array1.out): Remove rule.
13758         ($(objpfx)tst-array1-cmp.out): New rule.
13759         ($(objpfx)tst-array1-static.out): Remove rule.
13760         ($(objpfx)tst-array1-static-cmp.out): New rule.
13761         ($(objpfx)tst-array2.out): Remove rule.
13762         ($(objpfx)tst-array2-cmp.out): New rule.
13763         ($(objpfx)tst-array3.out): Remove rule.
13764         ($(objpfx)tst-array3-cmp.out): New rule.
13765         ($(objpfx)tst-array4.out): Remove rule.
13766         ($(objpfx)tst-array4-cmp.out): New rule.
13767         ($(objpfx)tst-array5.out): Remove rule.
13768         ($(objpfx)tst-array5-cmp.out): New rule.
13769         ($(objpfx)tst-array5-static.out): Remove rule.
13770         ($(objpfx)tst-array5-static-cmp.out): New rule.
13771         [$(run-built-tests) = yes] (tests): Depend on
13772         $(objpfx)order2-cmp.out.
13773         ($(objpfx)order2.out): Remove rule.
13774         ($(objpfx)order2-cmp.out): New rule.
13775         ($(objpfx)tst-initorder.out): Remove rule.
13776         [$(run-built-tests) = yes] (tests): Depend on
13777         $(objpfx)tst-initorder-cmp.out.
13778         ($(objpfx)tst-initorder-cmp.out): New rule.
13779         ($(objpfx)tst-initorder2.out): Remove rule.
13780         [$(run-built-tests) = yes] (tests): Depend on
13781         $(objpfx)tst-initorder2-cmp.out.
13782         ($(objpfx)tst-initorder2-cmp.out): New rule.
13783         [$(run-built-tests) = yes] (tests): Depend on
13784         $(objpfx)tst-unused-dep-cmp.out.
13785         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13786         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13787         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13788         on $(objpfx)tst-setvbuf1-cmp.out.
13789         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13790         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13791         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13792         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13793         ($(objpfx)tst-svc.out): Remove rule.
13794         ($(objpfx)tst-svc-cmp.out): New rule.
13796 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13798         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13799         * ctype/ctype.h [__USE_MISC]: Likewise.
13800         * dirent/dirent.h [__USE_MISC]: Likewise.
13801         * grp/grp.h [__USE_MISC]: Likewise.
13802         * io/fcntl.h [__USE_MISC]: Likewise.
13803         * io/sys/stat.h [__USE_MISC]: Likewise.
13804         * libio/stdio.h [__USE_MISC]: Likewise.
13805         * posix/unistd.h [__USE_MISC]: Likewise.
13806         * pwd/pwd.h [__USE_MISC]: Likewise.
13807         * stdlib.h [__USE_MISC]: Likewise.
13808         * string/bits/string2.h [__USE_MISC]: Likewise.
13809         * string/string.h [__USE_MISC]: Likewise.
13810         * time/time.h [__USE_MISC]: Likewise.
13812 2014-02-13  Andreas Schwab  <schwab@suse.de>
13814         [BZ #16574]
13815         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13816         second answer buffer if it was separately allocated.
13818 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13820         * sysdeps/mips/math-tests.h: Include <features.h>.
13821         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13822         (ROUNDING_TESTS_long_double): Do not define.
13823         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13824         (EXCEPTION_TESTS_long_double): Likewise.
13825         * sysdeps/mips/mips64/libm-test-ulps: Update.
13827         * include/features.h (__USE_BSD): Remove macro definitions.
13828         (__USE_SVID): Likewise.
13829         (_BSD_SOURCE): Likewise.
13830         (_SVID_SOURCE): Likewise.
13831         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13832         from definition of _DEFAULT_SOURCE.
13833         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13834         [_DEFAULT_SOURCE].
13835         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13836         * bits/mman.h [__USE_BSD]: Likewise.
13837         * bits/termios.h [__USE_BSD]: Likewise.
13838         * bits/waitstatus.h [__USE_BSD]: Likewise.
13839         * ctype/ctype.h [__USE_SVID]: Likewise.
13840         * dirent/dirent.h [__USE_BSD]: Likewise.
13841         * grp/grp.h [__USE_SVID]: Likewise.
13842         [__USE_BSD]: Likewise.
13843         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13844         * io/fcntl.h [__USE_BSD]: Likewise.
13845         * io/ftw.h [__USE_BSD]: Likewise.
13846         * io/sys/stat.h [__USE_BSD]: Likewise.
13847         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13848         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13849         * libio/stdio.h [__USE_SVID]: Likewise.
13850         [__USE_BSD]: Likewise.
13851         * math/math.h [__USE_SVID]: Likewise.
13852         [__USE_BSD]: Likewise.
13853         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13854         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13855         * misc/search.h [__USE_SVID]: Likewise.
13856         * misc/sys/mman.h [__USE_BSD]: Likewise.
13857         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13858         * misc/sys/uio.h [__USE_BSD]: Likewise.
13859         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13860         * posix/glob.h [__USE_BSD]: Likewise.
13861         * posix/regex.h [__USE_BSD]: Likewise.
13862         * posix/sys/types.h [__USE_BSD]: Likewise.
13863         [__USE_SVID]: Likewise.
13864         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13865         * posix/sys/wait.h [__USE_BSD]: Likewise.
13866         [__USE_SVID]: Likewise.
13867         * posix/unistd.h [__USE_BSD]: Likewise.
13868         [__USE_SVID]: Likewise.
13869         * pwd/pwd.h [__USE_SVID]: Likewise.
13870         * resolv/netdb.h [__USE_BSD]: Likewise.
13871         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13872         * signal/signal.h [__USE_BSD]: Likewise.
13873         [__USE_SVID]: Likewise.
13874         * socket/sys/socket.h [__USE_BSD]: Likewise.
13875         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13876         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13877         [__USE_SVID]: Likewise.
13878         * string/bits/string2.h [__USE_BSD]: Likewise.
13879         [__USE_SVID]: Likewise.
13880         * string/bits/string3.h [__USE_BSD]: Likewise.
13881         * string/endian.h [__USE_BSD]: Likewise.
13882         * string/string.h [__USE_SVID]: Likewise.
13883         [__USE_BSD]: Likewise.
13884         * string/strings.h [__USE_BSD]: Likewise.
13885         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13886         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13887         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13888         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13889         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13890         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13891         Likewise.
13892         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13893         Likewise.
13894         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13895         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13896         Likewise.
13897         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13898         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13899         Likewise.
13900         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13901         Likewise.
13902         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13903         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13904         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13905         Likewise.
13906         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13907         Likewise.
13908         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13909         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13910         * termios/termios.h [__USE_BSD]: Likewise.
13911         * time/sys/time.h [__USE_BSD]: Likewise.
13912         * time/time.h [__USE_BSD]: Likewise.
13913         [__USE_SVID]: Likewise.
13915         * Makefile (subdir_targets): Remove subdir_lint.out.
13917         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13918         (do-tst-printf): Likewise.
13919         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13920         $(objpfx)tst-printf.out.
13922         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13924         * Makerules (check-abi-%): Change target to
13925         $(objpfx)check-abi-%.out.
13926         (check-abi target): Update dependencies.
13927         (check-abi-pattern variable): Redirect output of diff to $@.
13928         (check-abi variable): Likewise.
13929         * elf/Makefile (check-abi): Update dependencies.
13931         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13932         unused.
13933         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13934         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13935         subnormal range.
13936         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13937         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13938         value has largest subnormal exponent.
13939         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13940         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13941         * sysdeps/aarch64/soft-fp/sfp-machine.h
13942         (_FP_TININESS_AFTER_ROUNDING): New macro.
13943         * sysdeps/alpha/soft-fp/sfp-machine.h
13944         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13945         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13946         Likewise.
13947         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13948         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13949         * sysdeps/mips/soft-fp/sfp-machine.h
13950         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13951         * sysdeps/powerpc/soft-fp/sfp-machine.h
13952         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13953         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13954         Likewise.
13955         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13956         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13957         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13958         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13959         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13960         Likewise.
13962 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13964         [BZ #16545]
13965         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13966         model 1.
13968 2014-02-12  Richard Henderson  <rth@redhat.com>
13970         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13971         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13972         * sysdeps/unix/sysv/linux/alpha: Move directory from
13973         ports/sysdeps/unix/sysv/linux/alpha.
13974         * README: Update listing for alpha-*-linux-gnu.
13976 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
13978         * include/features.h: Update comment documenting feature test
13979         macros.
13980         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
13981         _DEFAULT_SOURCE.
13982         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
13983         (_SVID_SOURCE): Likewise.
13984         (_DEFAULT_SOURCE): Update description of default features.
13985         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
13986         with _GNU_SOURCE.
13987         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
13988         (S_ISVTX): Likewise.
13989         * manual/math.texi (Mathematical Constants): Likewise.
13990         * manual/signal.texi (Interrupted Primitives): Likewise.
13991         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
13992         * math/test-matherr.c (_SVID_SOURCE): Do not define.
13993         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
13994         Don't refer to _SVID_SOURCE in warning text.
13996         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13998         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
13999         already defined.
14000         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14001         * sysdeps/mips/dl-lookup.c: Remove.
14002         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14004 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14006         [BZ #16447]
14007         * math/auto-libm-test-in: Add testcase for expl.
14008         * math/auto-libm-test-out: Regenerate.
14009         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14010         calculation of unsafe.
14011         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14013 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14015         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14016         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14017         ports/sysdeps/unix/sysv/linux/aarch64.
14018         * README: Update listing for aarch64*-*-linux-gnu.
14020 2014-02-11  Will Newton  <will.newton@linaro.org>
14022         * manual/probes.texi (Mathematical Function Probes): Use
14023         "triggered" instead of "hit".
14025         * manual/probes.texi (Internal Probes): Add documentation
14026         of setjmp, longjmp and longjmp_target probes.
14028         * include/stap-probe.h: Add comment about probe argument
14029         format.
14031         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14032         definition.  (tr_where, tr_freehook, tr_mallochook,
14033         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14035 2014-02-11  David S. Miller  <davem@davemloft.net>
14037         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14038         processing int_tests.
14040 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14042         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14043         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14044         * sysdeps/unix/sysv/linux/mips: Move directory from
14045         ports/sysdeps/unix/sysv/linux/mips.
14046         * README: Update listing for mips-*-linux-gnu and
14047         mips64-*-linux-gnu.
14049 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14051         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14052         * sysdeps/unix/sysv/linux/m68k: Move directory from
14053         ports/sysdeps/unix/sysv/linux/m68k.
14054         * README: Update listing for m68k-*-linux-gnu.
14056 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14058         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14059         * sysdeps/unix/sysv/linux/generic: Move directory from
14060         ports/sysdeps/unix/sysv/linux/generic.
14061         * sysdeps/unix/sysv/linux/tile: Move directory from
14062         ports/sysdeps/unix/sysv/linux/tile.
14063         * README: Update listing for tile*-*-linux-gnu.
14065 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14067         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14068         __builtin_expect.
14069         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14070         * catgets/open_catalog.c (__open_catalog): Likewise.
14071         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14072         * debug/confstr_chk.c: Likewise.
14073         * debug/fread_chk.c (__fread_chk): Likewise.
14074         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14075         * debug/getgroups_chk.c: Likewise.
14076         * debug/mbsnrtowcs_chk.c: Likewise.
14077         * debug/mbsrtowcs_chk.c: Likewise.
14078         * debug/mbstowcs_chk.c: Likewise.
14079         * debug/memcpy_chk.c: Likewise.
14080         * debug/memmove_chk.c: Likewise.
14081         * debug/mempcpy_chk.c: Likewise.
14082         * debug/memset_chk.c: Likewise.
14083         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14084         * debug/strcat_chk.c (__strcat_chk): Likewise.
14085         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14086         * debug/strncat_chk.c (__strncat_chk): Likewise.
14087         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14088         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14089         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14090         * debug/wcpncpy_chk.c: Likewise.
14091         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14092         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14093         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14094         * debug/wcsncpy_chk.c: Likewise.
14095         * debug/wcsnrtombs_chk.c: Likewise.
14096         * debug/wcsrtombs_chk.c: Likewise.
14097         * debug/wcstombs_chk.c: Likewise.
14098         * debug/wmemcpy_chk.c: Likewise.
14099         * debug/wmemmove_chk.c: Likewise.
14100         * debug/wmempcpy_chk.c: Likewise.
14101         * debug/wmemset_chk.c: Likewise.
14102         * dirent/scandirat.c (SCANDIRAT): Likewise.
14103         * dlfcn/dladdr1.c (dladdr1): Likewise.
14104         * dlfcn/dladdr.c (dladdr): Likewise.
14105         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14106         * dlfcn/dlerror.c (__dlerror): Likewise.
14107         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14108         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14109         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14110         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14111         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14112         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14113         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14114         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14115         Likewise.
14116         * elf/dl-conflict.c: Likewise.
14117         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14118         * elf/dl-dst.h: Likewise.
14119         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14120         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14121         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14122         * elf/dl-init.c (call_init, _dl_init): Likewise.
14123         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14124         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14125         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14126         Likewise.
14127         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14128         Likewise.
14129         * elf/dl-minimal.c (__libc_memalign): Likewise.
14130         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14131         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14132         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14133         * elf/dl-sym.c (do_sym): Likewise.
14134         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14135         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14136         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14137         * elf/dl-writev.h (_dl_writev): Likewise.
14138         * elf/ldconfig.c (search_dir): Likewise.
14139         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14140         (dl_main): Likewise.
14141         * elf/setup-vdso.h (setup_vdso): Likewise.
14142         * grp/compat-initgroups.c (compat_call): Likewise.
14143         * grp/fgetgrent.c (fgetgrent): Likewise.
14144         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14145         * grp/putgrent.c (putgrent): Likewise.
14146         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14147         Likewise.
14148         * hurd/hurdinit.c: Likewise.
14149         * iconvdata/8bit-gap.c (struct): Likewise.
14150         * iconvdata/ansi_x3.110.c : Likewise.
14151         * iconvdata/big5.c : Likewise.
14152         * iconvdata/big5hkscs.c : Likewise.
14153         * iconvdata/cp1255.c: Likewise.
14154         * iconvdata/cp1258.c : Likewise.
14155         * iconvdata/cp932.c : Likewise.
14156         * iconvdata/euc-cn.c: Likewise.
14157         * iconvdata/euc-jisx0213.c : Likewise.
14158         * iconvdata/euc-jp.c: Likewise.
14159         * iconvdata/euc-jp-ms.c : Likewise.
14160         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14161         * iconvdata/gb18030.c : Likewise.
14162         * iconvdata/gbbig5.c (const): Likewise.
14163         * iconvdata/gbgbk.c: Likewise.
14164         * iconvdata/gbk.c : Likewise.
14165         * iconvdata/ibm1364.c : Likewise.
14166         * iconvdata/ibm930.c : Likewise.
14167         * iconvdata/ibm932.c: Likewise.
14168         * iconvdata/ibm933.c : Likewise.
14169         * iconvdata/ibm935.c : Likewise.
14170         * iconvdata/ibm937.c : Likewise.
14171         * iconvdata/ibm939.c : Likewise.
14172         * iconvdata/ibm943.c: Likewise.
14173         * iconvdata/iso_11548-1.c: Likewise.
14174         * iconvdata/iso-2022-cn.c : Likewise.
14175         * iconvdata/iso-2022-cn-ext.c : Likewise.
14176         * iconvdata/iso-2022-jp-3.c: Likewise.
14177         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14178         * iconvdata/iso-2022-kr.c : Likewise.
14179         * iconvdata/iso646.c (gconv_end): Likewise.
14180         * iconvdata/iso_6937-2.c : Likewise.
14181         * iconvdata/iso_6937.c : Likewise.
14182         * iconvdata/iso8859-1.c: Likewise.
14183         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14184         * iconvdata/shift_jisx0213.c : Likewise.
14185         * iconvdata/sjis.c : Likewise.
14186         * iconvdata/t.61.c : Likewise.
14187         * iconvdata/tcvn5712-1.c : Likewise.
14188         * iconvdata/tscii.c: Likewise.
14189         * iconvdata/uhc.c : Likewise.
14190         * iconvdata/unicode.c (gconv_end): Likewise.
14191         * iconvdata/utf-16.c (gconv_end): Likewise.
14192         * iconvdata/utf-32.c (gconv_end): Likewise.
14193         * iconvdata/utf-7.c (base64): Likewise.
14194         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14195         * iconv/gconv_close.c (__gconv_close): Likewise.
14196         * iconv/gconv_open.c (__gconv_open): Likewise.
14197         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14198         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14199         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14200         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14201         (ucs4le_internal_loop_single): Likewise.
14202         * iconv/iconv.c (iconv): Likewise.
14203         * iconv/iconv_close.c: Likewise.
14204         * iconv/loop.c (SINGLE): Likewise.
14205         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14206         * include/atomic.h: Likewise.
14207         * inet/inet6_option.c (option_alloc): Likewise.
14208         * intl/bindtextdom.c (set_binding_values): Likewise.
14209         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14210         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14211         * intl/localealias.c (read_alias_file): Likewise.
14212         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14213         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14214         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14215         * libio/fmemopen.c (fmemopen): Likewise.
14216         * libio/iofgets.c (_IO_fgets): Likewise.
14217         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14218         * libio/iofgetws.c (fgetws): Likewise.
14219         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14220         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14221         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14222         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14223         * locale/findlocale.c (_nl_find_locale): Likewise.
14224         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14225         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14226         Likewise.
14227         * locale/setlocale.c (setlocale): Likewise.
14228         * login/programs/pt_chown.c (main): Likewise.
14229         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14230         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14231         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14232         (mmap, mmap64, mremap, munmap): Likewise.
14233         * math/e_exp2l.c: Likewise.
14234         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14235         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14236         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14237         * math/s_catan.c (__catan): Likewise.
14238         * math/s_catanf.c (__catanf): Likewise.
14239         * math/s_catanh.c (__catanh): Likewise.
14240         * math/s_catanhf.c (__catanhf): Likewise.
14241         * math/s_catanhl.c (__catanhl): Likewise.
14242         * math/s_catanl.c (__catanl): Likewise.
14243         * math/s_ccosh.c (__ccosh): Likewise.
14244         * math/s_ccoshf.c (__ccoshf): Likewise.
14245         * math/s_ccoshl.c (__ccoshl): Likewise.
14246         * math/s_cexp.c (__cexp): Likewise.
14247         * math/s_cexpf.c (__cexpf): Likewise.
14248         * math/s_cexpl.c (__cexpl): Likewise.
14249         * math/s_clog10.c (__clog10): Likewise.
14250         * math/s_clog10f.c (__clog10f): Likewise.
14251         * math/s_clog10l.c (__clog10l): Likewise.
14252         * math/s_clog.c (__clog): Likewise.
14253         * math/s_clogf.c (__clogf): Likewise.
14254         * math/s_clogl.c (__clogl): Likewise.
14255         * math/s_csin.c (__csin): Likewise.
14256         * math/s_csinf.c (__csinf): Likewise.
14257         * math/s_csinh.c (__csinh): Likewise.
14258         * math/s_csinhf.c (__csinhf): Likewise.
14259         * math/s_csinhl.c (__csinhl): Likewise.
14260         * math/s_csinl.c (__csinl): Likewise.
14261         * math/s_csqrt.c (__csqrt): Likewise.
14262         * math/s_csqrtf.c (__csqrtf): Likewise.
14263         * math/s_csqrtl.c (__csqrtl): Likewise.
14264         * math/s_ctan.c (__ctan): Likewise.
14265         * math/s_ctanf.c (__ctanf): Likewise.
14266         * math/s_ctanh.c (__ctanh): Likewise.
14267         * math/s_ctanhf.c (__ctanhf): Likewise.
14268         * math/s_ctanhl.c (__ctanhl): Likewise.
14269         * math/s_ctanl.c (__ctanl): Likewise.
14270         * math/w_pow.c: Likewise.
14271         * math/w_powf.c: Likewise.
14272         * math/w_powl.c: Likewise.
14273         * math/w_scalb.c (sysv_scalb): Likewise.
14274         * math/w_scalbf.c (sysv_scalbf): Likewise.
14275         * math/w_scalbl.c (sysv_scalbl): Likewise.
14276         * misc/error.c (error_tail): Likewise.
14277         * misc/pselect.c (__pselect): Likewise.
14278         * nis/nis_callback.c (__nis_create_callback): Likewise.
14279         * nis/nis_call.c (__nisfind_server): Likewise.
14280         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14281         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14282         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14283         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14284         * nis/nis_lookup.c (nis_lookup): Likewise.
14285         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14286         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14287         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14288         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14289         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14290         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14291         * nis/nss_compat/compat-initgroups.c (add_group)
14292         (internal_getgrent_r): Likewise.
14293         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14294         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14295         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14296         (internal_getspnam_r): Likewise.
14297         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14298         (_nss_nis_getaliasbyname_r): Likewise.
14299         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14300         (_nss_nis_getntohost_r): Likewise.
14301         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14302         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14303         (_nss_nis_getgrgid_r): Likewise.
14304         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14305         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14306         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14307         (_nss_nis_gethostbyname4_r): Likewise.
14308         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14309         (initgroups_netid): Likewise.
14310         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14311         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14312         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14313         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14314         (_nss_nis_getprotobynumber_r): Likewise.
14315         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14316         (_nss_nis_getsecretkey): Likewise.
14317         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14318         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14319         (_nss_nis_getpwuid_r): Likewise.
14320         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14321         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14322         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14323         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14324         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14325         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14326         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14327         Likewise.
14328         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14329         (_nss_nisplus_getntohost_r): Likewise.
14330         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14331         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14332         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14333         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14334         Likewise.
14335         * nis/nss_nisplus/nisplus-initgroups.c
14336         (_nss_nisplus_initgroups_dyn): Likewise.
14337         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14338         (_nss_nisplus_getnetbyaddr_r): Likewise.
14339         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14340         (_nss_nisplus_getprotobynumber_r): Likewise.
14341         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14342         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14343         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14344         Likewise.
14345         * nis/nss_nisplus/nisplus-service.c
14346         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14347         (_nss_nisplus_getservbyport_r): Likewise.
14348         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14349         (_nss_nisplus_getspnam_r): Likewise.
14350         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14351         Likewise.
14352         * nscd/aicache.c (addhstaiX): Likewise.
14353         * nscd/cache.c (cache_search, prune_cache): Likewise.
14354         * nscd/connections.c (register_traced_file, send_ro_fd)
14355         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14356         (main_loop_epoll): Likewise.
14357         * nscd/grpcache.c (addgrbyX): Likewise.
14358         * nscd/hstcache.c (addhstbyX): Likewise.
14359         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14360         * nscd/mem.c (gc, mempool_alloc): Likewise.
14361         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14362         (addinnetgrX): Likewise.
14363         * nscd/nscd-client.h (__nscd_acquire_maplock)
14364         (__nscd_drop_map_ref): Likewise.
14365         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14366         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14367         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14368         Likewise.
14369         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14370         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14371         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14372         (__nscd_get_map_ref): Likewise.
14373         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14374         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14375         Likewise.
14376         * nscd/pwdcache.c (addpwbyX): Likewise.
14377         * nscd/selinux.c (preserve_capabilities): Likewise.
14378         * nscd/servicescache.c (addservbyX): Likewise.
14379         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14380         * posix/fnmatch.c (fnmatch): Likewise.
14381         * posix/getopt.c (_getopt_internal_r): Likewise.
14382         * posix/glob.c (glob, glob_in_dir): Likewise.
14383         * posix/wordexp.c (exec_comm_child): Likewise.
14384         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14385         (getanswer_r, gaih_getanswer_slice): Likewise.
14386         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14387         * resolv/res_init.c: Likewise.
14388         * resolv/res_mkquery.c (res_nmkquery): Likewise.
14389         * resolv/res_query.c (__libc_res_nquery): Likewise.
14390         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14391         Likewise.
14392         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14393         * stdio-common/perror.c (perror): Likewise.
14394         * stdio-common/printf_fp.c (___printf_fp): Likewise.
14395         * stdio-common/tmpnam.c (tmpnam): Likewise.
14396         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14397         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14398         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14399         Likewise.
14400         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14401         * stdlib/putenv.c (putenv): Likewise.
14402         * stdlib/setenv.c (__add_to_environ): Likewise.
14403         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14404         * stdlib/strtol_l.c (INTERNAL): Likewise.
14405         * string/memmem.c (memmem): Likewise.
14406         * string/strerror.c (strerror): Likewise.
14407         * string/strnlen.c (__strnlen): Likewise.
14408         * string/test-memmem.c (simple_memmem): Likewise.
14409         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14410         * sunrpc/pm_getport.c (__get_socket): Likewise.
14411         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14412         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14413         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14414         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14415         Likewise.
14416         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14417         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14418         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14419         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14420         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14421         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14422         Likewise.
14423         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14424         Likewise.
14425         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14426         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14427         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14428         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14429         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14430         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14431         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14432         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14433         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14434         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14435         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14436         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14437         Likewise.
14438         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14439         Likewise.
14440         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14441         Likewise.
14442         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14443         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14444         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14445         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14446         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14447         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14448         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14449         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14450         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14451         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14452         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14453         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14454         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14455         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14456         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14457         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14458         Likewise.
14459         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14460         Likewise.
14461         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14462         Likewise.
14463         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14464         Likewise.
14465         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14466         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14467         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14468         Likewise.
14469         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14470         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14471         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14472         * sysdeps/posix/sleep.c: Likewise.
14473         * sysdeps/posix/tempname.c: Likewise.
14474         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14475         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14476         Likewise.
14477         * sysdeps/powerpc/powerpc32/dl-machine.h
14478         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14479         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14480         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14481         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14482         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14483         Likewise.
14484         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14485         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14486         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14487         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14488         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14489         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14490         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14491         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14492         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14493         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14494         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14495         (elf_machine_lazy_rel): Likewise.
14496         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14497         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14498         (elf_machine_lazy_rel): Likewise.
14499         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14500         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14501         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14502         * sysdeps/unix/grantpt.c (grantpt): Likewise.
14503         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14504         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14505         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14506         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14507         Likewise.
14508         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14509         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14510         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14511         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14512         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14513         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14514         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14515         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14516         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14517         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14518         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14519         Likewise.
14520         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14521         (__posix_fallocate64_l64): Likewise.
14522         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14523         (posix_fallocate): Likewise.
14524         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14525         Likewise.
14526         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14527         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14528         (getifaddrs_internal): Likewise.
14529         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14530         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14531         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14532         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14533         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14534         (__posix_fallocate64_l64): Likewise.
14535         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14536         Likewise.
14537         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14538         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14539         (__get_clockfreq): Likewise.
14540         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14541         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14542         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14543         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14544         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14545         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14546         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14547         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14548         Likewise.
14549         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14550         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14551         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14552         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14553         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14554         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14555         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14556         Likewise.
14557         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14558         (posix_fallocate): Likewise.
14559         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14560         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14561         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14562         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14563         (elf_machine_rela, elf_machine_rela_relative)
14564         (elf_machine_lazy_rel): Likewise.
14565         * time/asctime.c (asctime_internal): Likewise.
14566         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14567         * time/tzset.c (__tzset_parse_tz): Likewise.
14568         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14569         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14570         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14571         * wcsmbs/wcsmbsload.h: Likewise.
14573         [BZ #15894]
14574         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14576         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14577         (arena_get2): Remove THREAD_STATS conditionals.
14578         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14579         (__malloc_stats, int): Likewise.
14581 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
14583         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14584         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
14586         * manual/setjmp.texi: Fix typos/grammar errors.
14588         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14589         Only return early when n is <= 0.  Delete unused return statement.
14591         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14592         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14593         * debug/tst-longjmp_chk3.c: New file.
14595         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14596         (test_main): Replace code with set_fortify_handler call.
14597         * debug/test-strcpy_chk.c: Likewise.
14598         * debug/tst-chk1.c: Likewise.
14599         * debug/tst-longjmp_chk.c: Likewise.
14600         * test-skeleton.c: Include fcntl.h & paths.h
14601         (set_fortify_handler): Define.
14603         * debug/tst-longjmp_chk.c: Add header comment and include
14604         ../test-skeleton.c.
14605         (do_test): Mark static.
14606         (TEST_FUNCTION): Define.
14608         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14609         (IP_PMTUDISC_INTERFACE): Likewise.
14610         (IP_MULTICAST_IF): Likewise.
14611         (IP_MULTICAST_TTL): Likewise.
14612         (IP_MULTICAST_LOOP): Likewise.
14613         (IP_ADD_MEMBERSHIP): Likewise.
14614         (IP_DROP_MEMBERSHIP): Likewise.
14615         (IP_UNBLOCK_SOURCE): Likewise.
14616         (IP_BLOCK_SOURCE): Likewise.
14617         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14618         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14619         (IP_MSFILTER): Likewise.
14620         (MCAST_JOIN_GROUP): Likewise.
14621         (MCAST_BLOCK_SOURCE): Likewise.
14622         (MCAST_UNBLOCK_SOURCE): Likewise.
14623         (MCAST_LEAVE_GROUP): Likewise.
14624         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14625         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14626         (MCAST_MSFILTER): Likewise.
14627         (IP_MULTICAST_ALL): Likewise.
14628         (IP_UNICAST_IF): Likewise.
14630         * timezone/Makefile: Delete $(have-ksh) check.
14631         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14632         * timezone/tzselect.ksh: Add +x mode bits.
14634         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14635         (ANON_INODE_FS_MAGIC): Likewise.
14636         (BDEVFS_MAGIC): Likewise.
14637         (BINFMTFS_MAGIC): Likewise.
14638         (BTRFS_TEST_MAGIC): Likewise.
14639         (CRAMFS_MAGIC_WEND): Likewise.
14640         (DEBUGFS_MAGIC): Likewise.
14641         (ECRYPTFS_SUPER_MAGIC): Likewise.
14642         (EXT3_SUPER_MAGIC): Likewise.
14643         (EXT4_SUPER_MAGIC): Likewise.
14644         (FUTEXFS_SUPER_MAGIC): Likewise.
14645         (HOSTFS_SUPER_MAGIC): Likewise.
14646         (HUGETLBFS_MAGIC): Likewise.
14647         (MINIX3_SUPER_MAGIC): Likewise.
14648         (MTD_INODE_FS_MAGIC): Likewise.
14649         (NILFS_SUPER_MAGIC): Likewise.
14650         (OPENPROM_SUPER_MAGIC): Likewise.
14651         (PIPEFS_MAGIC): Likewise.
14652         (PSTOREFS_MAGIC): Likewise.
14653         (QNX6_SUPER_MAGIC): Likewise.
14654         (RAMFS_MAGIC): Likewise.
14655         (REISERFS_SUPER_MAGIC_STRING): Likewise.
14656         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14657         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14658         (SECURITYFS_MAGIC): Likewise.
14659         (SELINUX_MAGIC): Likewise.
14660         (SMACK_MAGIC): Likewise.
14661         (SOCKFS_MAGIC): Likewise.
14662         (SQUASHFS_MAGIC): Likewise.
14663         (STACK_END_MAGIC): Likewise.
14664         (TMPFS_MAGIC): Likewise.
14665         (USBDEVICE_SUPER_MAGIC): Likewise.
14666         (V9FS_MAGIC): Likewise.
14667         (XENFS_SUPER_MAGIC): Likewise.
14668         (CRAMFS_MAGIC): Fix typo in comment.
14669         (EXT2_SUPER_MAGIC): Update comment.
14670         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14672 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14674         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14675         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14676         * sysdeps/unix/sysv/linux/arm: Move directory from
14677         ports/sysdeps/unix/sysv/linux/arm.
14678         * README: Update listing for arm-*-linux-gnueabi.
14680         * README: Remove mention of am33.
14682 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14684         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14685         than the comma operator, to avoid "rhs of comma has no effect"
14686         compiler warnings.
14687         (__sigfillset, __sigandset, __sigorset): Likewise.
14688         * include/signal.h (__sigemptyset): Likewise.
14689         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14691 2014-02-07  Allan McRae  <allan@archlinux.org>
14693         * version.h (RELEASE): Set to "development".
14694         (VERSION): Set to "2.19.90"
14695         * NEWS: Add 2.20 section.
14697 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14699         [BZ #16529]
14700         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14702 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14704         * manual/contrib.texi: Update entry for Carlos O'Donell,
14705         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14707 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14709         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14711         * sysdeps/unix/sysv/linux/kernel-features.h
14712         [__LINUX_KERNEL_VERSION >= 0x020621]
14713         (__ASSUME_PROC_PID_TASK_COMM): Define.
14715 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14717         [BZ #16398]
14718         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14719         conversion when destination buffer does not have enough space.
14720         * libio/tst-ftell-partial-wide.c: New test case.
14721         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14723         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14724         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14725         Leonard and Allan McRae.
14727 2014-02-04  David S. Miller  <davem@davemloft.net>
14729         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14730         32-bit.
14732 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14735         New file
14736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14737         New file
14738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14739         New file.
14740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14741         New file.
14742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14743         New file.
14744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14745         New file.
14746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14747         New file.
14748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14749         New file.
14750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14751         New file.
14752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14753         New file.
14754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14755         New file.
14756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14757         New file.
14758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14759         New file.
14761 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14763         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14764         * shlib-versions: Likewise.
14766 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14767             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14769         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14770         (abilist-pattern): New variable, set to %-le.abilist.
14772         * Makerules (abilist-pattern): New variable.
14773         (vpath): Use $(abilist-pattern) in place of %.abilist.
14774         (check-abi-% pattern rule): Likewise.
14775         (check-abi, update-abi): Likewise.
14777 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14779         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14781 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14783         * manual/startup.texi: Add next, previous, and top entries for
14784         the `Program Arguments' and `Environment Variables' nodes.
14786 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14788         * manual/macros.texi: Add comments before MTASC-safety macros.
14790         * manual/users.texi: Document MTASC-safety properties.
14792         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14793         (pthread_getspecific, pthread_setspecific): Format with
14794         @deftypefun, and add @safety note.
14795         * manual/signal.texi: Move comments that analyze the above
14796         functions to their home place.
14798 2014-02-03  Allan McRae  <allan@archlinux.org>
14800         * po/sl.po: Update Slovenian translation from translation project.
14802 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14804         * manual/time.texi (timegm): Add missing blank after @c.
14805         Reported by Joseph Myers <joseph@codesourcery.com>.
14807 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14809         * manual/check-safety.sh: New.
14810         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14812         * manual/terminal.texi: Document MTASC-safety properties.
14814         * manual/filesys.texi: Document MTASC-safety properties.
14816         * manual/errno.texi: Document MTASC-safety properties.
14818         * manual/intro.texi: Document safety identifiers and
14819         conditionals.
14821         * manual/string.texi (wcstok): Fix prototype.
14822         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14824         * manual/time.texi: Document MTASC-safety properties.
14826         * manual/string.texi: Document MTASC-safety properties.
14828         * manual/threads.texi: Document MTASC-safety properties.
14830         * manual/stdio.texi: Document MTASC-safety properties.
14832         * manual/syslog.texi: Document MTASC-safety properties.
14834         * manual/sysinfo.texi: Document MTASC-safety properties.
14836         * manual/startup.texi: Document MTASC-safety properties.
14838         * manual/socket.texi: Document MTASC-safety properties.
14840         * manual/signal.texi: Document MTASC-safety properties.
14842 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14844         * manual/setjmp.texi: Document MTASC-safety properties.
14846         * manual/search.texi: Document MTASC-safety properties.
14848         * manual/resource.texi: Document MTASC-safety properties.
14850         * manual/process.texi: Document MTASC-safety properties.
14852         * manual/platform.texi: Document MTASC-safety properties.
14854         * manual/pipe.texi: Document MTASC-safety properties.
14856         * manual/pattern.texi: Document MTASC-safety properties.
14858         * manual/message.texi: Document MTASC-safety properties.
14860         [BZ #12751]
14861         * manual/memory.texi: Document MTASC-safety properties.
14863         * manual/math.texi: Document MTASC-safety properties.
14865         * manual/locale.texi: Document MTASC-safety properties.
14867         * manual/llio.texi: Document MTASC-safety properties.
14869         * manual/libdl.texi: New.
14871         * manual/lang.texi: Document MTASC-safety properties.
14873         * manual/job.texi: Document MTASC-safety properties.
14875         * manual/getopt.texi: Document MTASC-safety properties.
14877         * manual/ctype.texi: Document MTASC-safety properties.
14879 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14881         [BZ #16046]
14882         * csu/libc-tls.c (static_map): Remove variable.
14883         (__libc_setup_tls): Use main executable's link map for TLS data.
14884         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14885         casing for LM_ID_BASE and GL(dl_nns).
14886         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14887         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14888         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14889         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14890         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14891         member.
14892         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14893         l_phnum members.
14895 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14897         * manual/debug.texi: Document MTASC-safety properties.
14899 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14901         [BZ #16510]
14902         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14903         of __x86_64__ when disabling x87 inline functions.
14905 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14907         * manual/charset.texi: Document MTASC-safety properties.
14909         * manual/crypt.texi: Document MTASC-safety properties.
14911         * manual/conf.texi: Document MTASC-safety properties.
14913         * manual/arith.texi: Document MTASC-safety properties.
14915         * manual/argp.texi: Document MTASC-safety properties.
14917         * manual/macros.texi: Introduce macros to document multi
14918         thread, asynchronous signal and asynchronous cancellation
14919         safety properties.
14920         * manual/intro.texi: Introduce the properties themselves.
14922 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14924         * sysdeps/sh/sh4/Makefile: New file.
14926 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14928         * math/gen-libm-test.pl ($srcdir): New variable.
14929         ($auto_input): Use it.
14931 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14933         [BZ #16506]
14934         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14935         access beyond array bounds when parsing netgroups file.
14937         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14938         the old buffer before realloc.
14940 2014-01-27  Allan McRae  <allan@archlinux.org>
14942         * po/fr.po: Update French translation from translation project.
14944 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14946         * sysdeps/sh/libm-test-ulps: Regenerate.
14948 2014-01-24  David S. Miller  <davem@davemloft.net>
14950         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14952 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14954         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14955         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14957 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14959         [BZ #16474]
14960         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14961         string pointers after reallocation.
14963 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14965         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14966         __SH4A__ instead of __SH_FPU_ANY__.
14968 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14970         * sysdeps/sh/fpu_control.h: New file.
14971         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14972         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14973         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14974         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14975         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14976         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
14977         * sysdeps/sh/sys/ucontext.h: Remove.
14978         * sysdeps/sh/sys: Remove directory.
14980 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14982         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
14983         s390/sys/ucontext.h.
14984         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
14985         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
14987 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
14989         [BZ #15605]
14990         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
14992 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14994         [BZ#16431]
14995         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
14996         Adjust the vDSO correctly for internal calls.
14997         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
14999 2014-01-20  Allan McRae  <allan@archlinux.org>
15001         * po/ca.po: Update Catalan translation from translation project.
15003 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15005         * sysdeps/s390/sotruss-lib.c: New file.
15007 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15009         [BZ#16430]
15010         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15011         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15012         local calls issues by not having a PLT stub required for IFUNC calls.
15013         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15015 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15017         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15018         * math/test-fpucw-static.c: Likewise.
15020 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15022         [BZ #16453]
15023         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15025 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15027         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15028         implementation for powerpc.
15030 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15032         [BZ #14782]
15033         * sysdeps/posix/system.c (__libc_system): Do not enable
15034         asynchronous cancellation.
15036 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15038         [BZ #16427]
15039         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15040         handling only for numbers special also in the IEEE case.
15042 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15044         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15046 2014-01-11  Allan McRae  <allan@archlinux.org>
15048         * po/bg.po: Update Bulgarian translation from translation project.
15050         * po/de.po: Update German translation from translation project.
15052 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15054         * sysdeps/generic/gcc-compat.h: New file.
15056 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15058         * benchtests/asin-inputs: Correct slow inputs.
15059         * benchtests/acos-inputs: Likewise.
15061 2014-01-10  Allan McRae  <allan@archlinux.org>
15063         * po:sv.po: Update Swedish translation from translation project.
15065         * po/vi.po: Update Vietnamese translation from translation project.
15067         * po/eo.po: Update Esperanto translation from translation project.
15069         * po/cs.po: Update Czech translation from translation project.
15071         * po/nl.po: Update Dutch translation from translation project.
15073         * po/pl.po: Update Polish translation from translation project.
15075         * po/ru.po: Update Russian translation from translation project.
15077         * po/uk.po: Update Ukrainian translation from translation project.
15079 2014-01-08  Brooks Moses  <bmoses@google.com>
15081         * elf/dl-load.c: Fix comment typo.
15083 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15085         * po/header.pot: Rename to...
15086         * po/pot.header: ... this.
15087         * po/Makefile: Use pot.header.
15089 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15090             Maxim Kuvyrkov  <maxim@kugelworks.com>
15092         [BZ #16394]
15093         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15094         SRC and DEST against LEN.
15096 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15098         [BZ #16414]
15099         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15100         implementation.
15101         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15103 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15107 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15109         [BZ #16408]
15110         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15111         for large positive arguments.
15113 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15115         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15117         * math/auto-libm-test-in: Mark various tests with
15118         xfail-rounding:ldbl-128ibm.
15119         * math/auto-libm-test-out: Regenerated.
15121         [BZ #16407]
15122         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15123         Increase overflow threshold.
15125 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15127         [BZ #14286]
15128         * stdio-common/vfprintf.c: Check for integer overflow.
15130 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15132         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15133         the first argument and return value of __tls_get_addr_internal.
15135 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15137         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15138         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15140 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15142         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15143         * sysdeps/s390/rtld-global-offsets.sym: New file.
15144         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15145         GLIBC_2.19 symbol.
15146         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15147         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15148         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15149         ... this.
15150         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15151         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15152         ... this.
15153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15154         Regenerate.
15155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15156         Regenerate.
15157         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15158         halfs of GPRs for high_gprs contexts.
15159         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15160         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15161         field.
15162         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15163         uc_flags field.
15164         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15165         64 bit versions:
15166         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15167         for high GPRs (uc_high_gprs) and for future extensions
15168         (__reserved).
15169         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15170         for future extensions (__reserved).
15171         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15172         64 bit versions:
15173         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15174         SC_HIGHGPRS offset definition.
15175         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15176         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15178         * Versions.def: Add GLIBC_2.19 for libpthread.
15179         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15180         siglongjmp for libpthread with GLIBC_2.19 symver.
15181         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15182         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15183         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15184         * sysdeps/s390/__longjmp.c: New file.
15185         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15186         * sysdeps/s390/longjmp.c: New file.
15187         * sysdeps/s390/setjmp.S: New file.
15188         * sysdeps/s390/sigjmp.S: New file.
15189         * sysdeps/s390/v1-longjmp.c: New file.
15190         * sysdeps/s390/v1-setjmp.h: New file.
15191         * sysdeps/s390/v1-sigjmp.c: New file.
15192         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15193         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15194         GLIBC_2.19 version.
15195         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15196         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15197         versioned symbols for ____longjmp_chk.
15198         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15199         Likewise.
15200         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15201         Regenerate.
15202         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15203         Regenerate.
15204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15205         Regenerate.
15206         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15207         Regenerate.
15208         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15209         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15210         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15211         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15212         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15213         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15214         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15215         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15216         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15217         * sysdeps/s390/rtld-__longjmp.c: New file.
15218         * sysdeps/s390/rtld-setjmp.S: New file.
15220 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15222         [BZ #16400]
15223         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15224         Return -__logl (x) for small positive arguments without evaluating
15225         a polynomial.
15227 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15229         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15230         Rename to ...
15231         (__ptrace_peeksiginfo_args): ... this.
15232         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15233         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15234         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15236 2014-01-06  Allan McRae  <allan@archlinux.org>
15238         * inet/netinet/in.h: Fix typo in comment.
15240 2014-01-05  Andreas Jaeger  <aj@suse.de>
15242         * sysdeps/i386/fpu/libm-test-ulps: Update.
15244 2014-01-05  Allan McRae  <allan@archlinux.org>
15246         * po/libc.pot: Regenerated.
15248         * malloc/memusagestat.c: Fix gettext call formatting.
15250 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15252         * nscd/nscd.c: Improve usage() output.
15254 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15256         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15257         * sysdeps/unix/sysv/linux/configure: Regenerated.
15258         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15259         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15261 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15263         [BZ #16390]
15264         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15265         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15267 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15269         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15270         extra tokens at end of #undef directive.
15271         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15272         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15273         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15275 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15277         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15279         * math/auto-libm-test-in: Mark various tests with
15280         xfail-rounding:ldbl-128ibm.
15281         * math/auto-libm-test-out: Regenerated.
15283 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15285         [BZ #16386]
15286         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15287         numbers with subnormal high part when calculating exponent.
15289         [BZ #16385]
15290         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15291         fabs.
15293         [BZ #16384]
15294         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15295         M_LN2l.
15296         (__ieee754_acoshl): Use __log1pl not __log1p.
15298 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15300         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15301         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15302         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15303         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15304         (reused_arena, arena_get2): Convert to GNU style.
15305         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15306         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15307         (memalign_check, __malloc_set_state): Likewise.
15308         * malloc/mallocbug.c (main): Likewise.
15309         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15310         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15311         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15312         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15313         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15314         (__posix_memalign, malloc_info): Likewise.
15315         * malloc/malloc.h: Likewise.
15316         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15317         (mallochook, memalignhook, reallochook, mabort): Likewise.
15318         * malloc/mcheck.h: Likewise.
15319         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15320         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15321         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15322         * malloc/morecore.c (__default_morecore): Likewise.
15323         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15324         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15325         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15326         (print_and_abort): Likewise.
15327         * malloc/obstack.h: Likewise.
15328         * malloc/set-freeres.c (__libc_freeres): Likewise.
15329         * malloc/tst-mallocstate.c (main): Likewise.
15330         * malloc/tst-mtrace.c (main): Likewise.
15331         * malloc/tst-realloc.c (do_test): Likewise.
15333 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15335         [BZ #16366]
15336         * nscd/netgroupcache.c (do_notfound): New function.
15337         (addgetnetgrentX): Use it.
15339         [BZ # 16365]
15340         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15341         NSS_STATUS_NOTFOUND.
15343 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15345         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15348 2014-01-01  Allan McRae  <allan@archlinux.org>
15350         * scripts/update-copyrights: Update configure input file suffix.
15352         * NEWS: Update copyright year.
15353         * catgets/gencat.c: Likewise.
15354         * csu/version.c: Likewise.
15355         * debug/catchsegv.sh: Likewise.
15356         * debug/pcprofiledump.c: Likewise.
15357         * debug/xtrace.sh: Likewise.
15358         * elf/ldconfig.c: Likewise.
15359         * elf/ldd.bash.in: Likewise.
15360         * elf/pldd.c: Likewise.
15361         * elf/sotruss.ksh: Likewise.
15362         * elf/sprof.c: Likewise.
15363         * iconv/iconv_prog.c: Likewise.
15364         * iconv/iconvconfig.c: Likewise.
15365         * locale/programs/locale.c: Likewise.
15366         * locale/programs/localedef.c: Likewise.
15367         * login/programs/pt_chown.c: Likewise.
15368         * malloc/memusage.sh: Likewise.
15369         * malloc/memusagestat.c: Likewise.
15370         * malloc/mtrace.pl: Likewise.
15371         * manual/libc.texinfo: Likewise.
15372         * nscd/nscd.c: Likewise.
15373         * nss/getent.c: Likewise.
15374         * nss/makedb.c: Likewise.
15375         * posix/getconf.c: Likewise.
15376         * scripts/test-installation.pl: Likewise.
15378         * All files with FSF copyright notices: Update copyright dates
15379         using scripts/update-copyrights.
15380         * intl/plural.c: Regenerated.
15381         * locale/programs/charmap-kw.h: Likewise.
15382         * locale/programs/locfile-kw.h: Likewise.
15384 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
15386         * sysdeps/unix/sysv/linux/configure: Regenerated.
15387         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15388         the linux/fanotify.h header.
15389         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15390         HAVE_LINUX_FANOTIFY_H is defined.
15392 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15394         * benchtests/cos-inputs: New inputs.
15395         * benchtests/sin-inputs: Likewise.
15397         * benchtests/atan-inputs: New inputs. Fix name of multiple
15398         precision fallback inputs.
15400         * benchtests/atanh-inputs: New inputs.
15401         * benchtests/tanh-inputs: Likewise.
15403         * benchtests/acosh-inputs: New inputs.
15404         * benchtests/asinh-inputs: Likewise.
15406         * benchtests/cosh-inputs: New inputs.
15407         * benchtests/sinh-inputs: Likewise.
15409         * benchtests/acos-inputs: Add more inputs.
15410         * benchtests/asin-inputs: Likewise.
15412 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
15414         [BZ #16375]
15415         * manual/arith.texi: Fix spelling.
15416         * manual/charset.texi: Likewise.
15417         * manual/errno.texi: Likewise.
15418         * manual/filesys.texi: Likewise.
15419         * manual/lang.texi: Likewise.
15420         * manual/llio.texi: Likewise.
15421         * manual/locale.texi: Likewise.
15422         * manual/message.texi: Likewise.
15423         * manual/resource.texi: Likewise.
15424         * manual/search.texi: Likewise.
15425         * manual/setjmp.texi: Likewise.
15426         * manual/stdio.texi: Likewise.
15427         * manual/string.texi: Likewise.
15428         * manual/sysinfo.texi: Likewise.
15429         * manual/time.texi: Likewise.
15431 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
15433         * po/sl.po: New file.
15435 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
15437         * .gitignore: Add core/.gdbinit/.gdb_history.
15439 2013-12-27  Allan McRae  <allan@archlinux.org>
15441         [BZ #16369]
15442         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15443         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15445 2013-12-24  Brooks Moses  <bmoses@google.com>
15447         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15448         all compilers that claim C++98 compliance, not just GCC.
15449         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15450         Likewise.
15452 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15454         * NEWS: Restore accidentally deleted bug-fix entries.
15456 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15457             Ondřej Bílka  <neleai@seznam.cz>
15459         [BZ #15073]
15460         * malloc/malloc.c (_int_free): Perform sanity check only if we
15461         have_lock.
15463 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
15465         [BZ #12986]
15466         * manual/stdio.texi (String Input Conversions): Clarify that character
15467         classes are not supported.
15469 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15471         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15473 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
15475         [BZ #16337]
15476         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15477         Calculate results for small negative arguments directly rather
15478         than using reflection formula with special underflow handling.
15480         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15481         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15482         sysdeps/unix/bsd/bsd4.4/syscalls.list.
15483         (fchflags): Likewise.
15484         (revoke): Likewise.
15485         (setlogin): Likewise.
15486         (sigaltstack): Likewise.
15487         (wait4): Likewise.
15488         (sigblock): Remove.
15489         (sigsetmask): Likewise.
15490         (wait3): Likewise.
15491         (waitpid): Likewise.
15492         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15493         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15494         file.
15495         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15496         * sysdeps/unix/bsd/Makefile: ... here.
15497         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15498         * sysdeps/unix/bsd/Versions: ... here.
15499         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15500         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15501         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15502         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15503         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15504         * sysdeps/unix/bsd/sigblock.c: ... here.
15505         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15506         * sysdeps/unix/bsd/sigsetmask.c: ... here.
15507         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15508         * sysdeps/unix/bsd/sigvec.c: ... here.
15509         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15510         * sysdeps/unix/bsd/tcdrain.c: ... here.
15511         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15512         * sysdeps/unix/bsd/tcgetattr.c: ... here.
15513         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15514         * sysdeps/unix/bsd/tcsetattr.c: ... here.
15515         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15516         * sysdeps/unix/bsd/wait.c: ... here.
15517         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15518         * sysdeps/unix/bsd/wait3.c: ... here.
15519         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15520         * sysdeps/unix/bsd/waitpid.c: ... here.
15522 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
15524         [BZ #16356]
15525         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15526         round-to-nearest for [!USE_AS_EXPM1L].
15527         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15528         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
15529         more tests of exp and exp10.  Expect some exp10 tests to miss
15530         exceptions or fail in directed rounding modes.
15531         * math/auto-libm-test-out: Regenerated.
15532         * math/libm-test.inc (exp10_tonearest_test_data): New array.
15533         (exp10_test_tonearest): New function.
15534         (exp10_towardzero_test_data): New array.
15535         (exp10_test_towardzero): New function.
15536         (exp10_downward_test_data): New array.
15537         (exp10_test_downward): New function.
15538         (exp10_upward_test_data): New array.
15539         (exp10_test_upward): New function.
15540         (main): Call the new functions.
15541         * sysdeps/i386/fpu/libm-test-ulps: Update.
15542         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15544 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
15546         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15547         asinh, atan, atan2, atanh, cbrt, cos and cosh.
15548         * math/auto-libm-test-out: Regenerated.
15549         * math/libm-test.inc (acosh_test_data): Add more tests.
15550         (atanh_test_data): Likewise.
15551         (ceil_test_data): Likewise.
15552         (copysign_test_data): Likewise.
15553         * sysdeps/i386/fpu/libm-test-ulps: Update.
15554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15556         * timezone/checktab.awk: Update from tzcode 2013i.
15557         * timezone/private.h: Likewise.
15558         * timezone/scheck.c: Likewise.
15559         * timezone/tzfile.h: Likewise.
15560         * timezone/tzselect.ksh: Likewise.
15561         * timezone/zdump.c: Likewise.
15562         * timezone/zic.c: Likewise.
15564         * math/auto-libm-test-in: Add tests of cpow.
15565         * math/auto-libm-test-out: Regenerated.
15566         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15567         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15568         mpc_cc_c.
15569         (func_calc_desc): Add mpc_cc_c union field.
15570         (test_functions): Add cpow.
15571         (special_fill_2pi): New function.
15572         (special_real_inputs): Add 2pi.
15573         (calc_generic_results): Handle mpc_cc_c.
15574         * sysdeps/i386/fpu/libm-test-ulps: Update.
15575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15577         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15578         csqrt, ctan and ctanh.
15579         * math/auto-libm-test-out: Regenerated.
15580         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15581         (TEST_COND_x86): Likewise.
15582         (ccos_test_data): Use AUTO_TESTS_c_c.
15583         (ccosh_test_data): Likewise.
15584         (cexp_test_data): Likewise.
15585         (clog_test_data): Likewise.
15586         (csqrt_test_data): Likewise.
15587         (ctan_test_data): Likewise.
15588         (ctan_tonearest_test_data): Likewise.
15589         (ctan_towardzero_test_data): Likewise.
15590         (ctan_downward_test_data): Likewise.
15591         (ctan_upward_test_data): Likewise.
15592         (ctanh_test_data): Likewise.
15593         (ctanh_tonearest_test_data): Likewise.
15594         (ctanh_towardzero_test_data): Likewise.
15595         (ctanh_downward_test_data): Likewise.
15596         (ctanh_upward_test_data): Likewise.
15597         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15598         mpc_c_c.
15599         (func_calc_desc): Add mpc_c_c union field.
15600         (FUNC_mpc_c_c): New macro.
15601         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15602         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15603         ctanh.
15604         (special_fill_min_subnorm_p120): New function.
15605         (special_real_inputs): Add min_subnorm_p120.
15606         (calc_generic_results): Handle mpc_c_c.
15607         * sysdeps/i386/fpu/libm-test-ulps: Update.
15608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15610 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15612         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15613         (do_sin_slow): New functions.
15614         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15615         (cslow2, csloww1, csloww2): Use the new functions.
15617         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15618         Use M to change sign of result instead of X.  Assume X is
15619         positive.
15620         (csloww1): Likewise.
15621         (__sin): Adjust.
15622         (__cos): Adjust.
15624         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15625         arguments A and DA.
15626         (__sin): Adjust.
15627         (__cos): Likewise.
15629         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15630         (__cos): Likewise.
15631         (sloww1): Don't adjust sign of DX.
15632         (csloww1): Likewise.
15633         (sloww2): Use X directly and don't adjust sign of DX.
15634         (csloww2): Likewise.
15636 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15638         * math/auto-libm-test-in: Add tests of cabs and carg.
15639         * math/auto-libm-test-out: Regenerated.
15640         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15641         (carg_test_data): Likewise.
15642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15643         mpc_c_f.
15644         (func_calc_desc): Add mpc_c_f union field.
15645         (test_functions): Add cabs and carg.
15646         (calc_generic_results): Handle mpc_c_f.
15648         * sysdeps/powerpc/powerpc32/libgcc-compat.S
15649         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15650         as a macro and a compat symbol.
15651         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15652         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15653         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15654         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15655         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15656         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15657         not use .hidden.
15658         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15659         Likewise.
15660         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15661         Likewise.
15662         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15663         Likewise.
15664         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15665         Likewise.
15666         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15667         Likewise.
15668         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15669         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15670         from GLIBC_2.3.2.
15672 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15674         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15676 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15678         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15679         trailing whitespace removed.
15680         * scripts/config.guess: Update to version 2013-11-29.
15681         * scripts/config.sub: Update to version 2013-10-01.
15683         * math/auto-libm-test-in: Add tests of sincos.
15684         * math/auto-libm-test-out: Regenerated.
15685         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15686         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15687         mpfr_f_11.
15688         (func_calc_desc): Add mpfr_f_11 union field.
15689         (test_functions): Add sincos.
15690         (calc_generic_results): Handle mpfr_f_11.
15691         * sysdeps/i386/fpu/libm-test-ulps: Update.
15692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15694 2013-12-19  Andreas Schwab  <schwab@suse.de>
15696         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15697         CALL_MCOUNT.
15698         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15699         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15700         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15702 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15704         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15705         * sysdeps/i386/fpu/libm-test-ulps: Update.
15706         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15708         [BZ #16293]
15709         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15710         round-to-nearest mode when using frndint.
15711         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15712         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15713         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15714         Likewise.
15715         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15716         sinh test to fail.
15717         * math/auto-libm-test-out: Regenerated.
15718         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15719         (TEST_COND_x86): Likewise.
15720         (expm1_tonearest_test_data): New array.
15721         (expm1_test_tonearest): New function.
15722         (expm1_towardzero_test_data): New array.
15723         (expm1_test_towardzero): New function.
15724         (expm1_downward_test_data): New array.
15725         (expm1_test_downward): New function.
15726         (expm1_upward_test_data): New array.
15727         (expm1_test_upward): New function.
15728         (main): Run the new test functions.
15729         * sysdeps/i386/fpu/libm-test-ulps: Update.
15730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15732         * include/features.h: Update comment documenting feature test
15733         macros.  Mention _DEFAULT_SOURCE in comment.
15734         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15735         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15736         _BSD_SOURCE and _SVID_SOURCE.
15737         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15738         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15739         !_SVID_SOURCE]: Likewise.
15740         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15741         (__USE_POSIX_IMPLICITLY): Define.
15742         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15743         (_POSIX_SOURCE): Undefine and redefine.
15744         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15745         (_POSIX_C_SOURCE): Likewise.
15746         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15747         (Feature Test Macros): Update documentation of default features.
15749 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15751         * benchtests/Makefile: Add bench-strtok.
15752         * benchtests/bench-strtok.c: New file: strtok benchtest.
15754 2013-12-19  Allan McRae  <allan@archlinux.org>
15756         * manual/install.texi: Suppress menu for plain text output.
15757         * INSTALL: Regenerated.
15759 2013-12-18  Brooks Moses  <bmoses@google.com>
15761         [BZ #15846]
15762         * misc/getauxval.c: Include errno.h.
15763         (__getauxval): Set errno to ENOENT if the requested type is not
15764         found.
15765         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15766         don't declare with __attribute_const__.
15767         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15768         * manual/startup.texi: Document that getauxval sets errno.
15770 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15772         * math/auto-libm-test-in: Add tests of jn and yn.
15773         * math/auto-libm-test-out: Regenerated.
15774         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15775         (yn_test_data): Likewise.
15776         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15777         mpfr_if_f.
15778         (func_calc_desc): Add mpfr_if_f union field.
15779         (FUNC_mpfr_if_f): New macro.
15780         (test_functions): Add jn and yn.
15781         (calc_generic_results): Assert type of second input for
15782         mpfr_ff_f.  Handle mpfr_if_f.
15783         (output_for_one_input_case): Disable all checking for arguments
15784         fitting floating-point types in case of an integer argument.
15785         * sysdeps/i386/fpu/libm-test-ulps: Update.
15786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15789         Don't expect fegetround reference in libm.so.
15791 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15793         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15794         $(config-cflags-nofma).
15796 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15798         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15799         * math/auto-libm-test-out: Regenerated.
15801         [BZ #16338]
15802         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15803         to determine exponent and adjust argument to have exponent of -1.
15804         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15805         log2.
15806         * math/auto-libm-test-out: Regenerated.
15807         * sysdeps/i386/fpu/libm-test-ulps: Update.
15808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15810 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15812         * manual/probes.texi: Remove cases when per-thread arenas are
15813         disabled.
15815 2013-12-18  Andreas Schwab  <schwab@suse.de>
15817         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15818         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15819         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15820         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15821         * sysdeps/i386/i686/multiarch/Makefile: Update.
15822         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15824 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15826         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15827         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15829 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15831         [BZ #15968]
15832         Support TZ transition times < 00:00:00.
15833         This is needed for version-3 tz-format files; it supports time
15834         stamps past 2037 for America/Godthab (the only entry in the tz
15835         database for which this change is relevant).
15836         * manual/time.texi (TZ Variable): Document transition times
15837         from -167:59:59 through -00:00:01.
15838         * time/tzset.c (tz_rule): Time of day is now signed.
15839         (__tzset_parse_tz): Parse negative time of day.
15841         Document TZ transition times >= 25:00:00.
15842         * manual/time.texi (TZ Variable): Document transition times from
15843         25:00:00 through 167:59:59.  These are already supported, and this
15844         support will help with version-3 tz-format files.
15846         * manual/time.texi (TZ Variable): Modernize North America example
15847         to reflect current (i.e., 2007-and-later) daylight saving rules.
15849         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15851 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15853         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15854         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15855         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15856         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15857         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15858         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15859         * sysdeps/unix/bsd/clock.c: Likewise.
15860         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15861         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15862         * sysdeps/unix/bsd/init-posix.c: Likewise.
15863         * sysdeps/unix/bsd/poll.c: Likewise.
15864         * sysdeps/unix/bsd/ptsname.c: Likewise.
15865         * sysdeps/unix/bsd/seekdir.c: Likewise.
15866         * sysdeps/unix/bsd/setegid.c: Likewise.
15867         * sysdeps/unix/bsd/seteuid.c: Likewise.
15868         * sysdeps/unix/bsd/setgid.c: Likewise.
15869         * sysdeps/unix/bsd/setrgid.c: Likewise.
15870         * sysdeps/unix/bsd/setruid.c: Likewise.
15871         * sysdeps/unix/bsd/setsid.c: Likewise.
15872         * sysdeps/unix/bsd/setuid.c: Likewise.
15873         * sysdeps/unix/bsd/sigaction.c: Likewise.
15874         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15875         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15876         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15877         * sysdeps/unix/bsd/telldir.c: Likewise.
15878         * sysdeps/unix/bsd/times.c: Likewise.
15879         * sysdeps/unix/bsd/usleep.c: Likewise.
15881         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15882         ($(objpfx)libbsd-compat.a): Remove rule.
15884         * include/features.h (__FAVOR_BSD): Do not define.
15885         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15886         features conflicting with POSIX.
15887         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15888         (_BSD_SOURCE): Remove description of not being a subset of other
15889         feature test macros.
15890         * manual/job.texi (getpgrp): Do not document BSD version.
15891         (getpgid): Do not document by reference to BSD getpgrp.
15892         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15893         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15894         * signal/signal.h [__FAVOR_BSD]: Likewise.
15895         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15896         instead of making contents conditional on [__FAVOR_BSD].
15897         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15899 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15903 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15905         [BZ #16314]
15906         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15907         values below 2**-450, not 2**-500.
15908         * math/auto-libm-test-in: Don't allow spurious underflow from
15909         hypot.
15910         * math/auto-libm-test-out: Regenerated.
15912         [BZ #16316]
15913         [BZ #16330]
15914         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15915         values of ha and hb and sort them after adjusting subnormal
15916         arguments.
15917         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15918         Likewise.
15919         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15920         values of ea and eb and sort them after adjusting subnormal
15921         arguments.
15922         * math/auto-libm-test-in: Do not expect some hypot tests of
15923         subnormals to fail.  Add more hypot tests.
15924         * math/auto-libm-test-out: Regenerated.
15926 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15928         [BZ #13304]
15929         * sysdeps/sh/s_fma.c: New file.
15930         * sysdeps/sh/s_fmaf.c: New file.
15931         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15932         version.
15933         * sysdeps/sh/Implies: Add sh/soft-fp.
15935 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15937         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15938         level of indirection to members `objname', `errstring', `malloced'.
15939         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15940         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15941         it as the __longjmp argument (just pass 1 instead).
15942         (_dl_catch_error): Initialize C with argument pointers and address of
15943         volatile local ERRCODE rather than copying values out of C at return.
15945 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15947         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15948         * math/auto-libm-test-out: Regenerated.
15949         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15950         (hypot_test_data): Likewise.
15951         (pow_test_data): Likewise.
15952         (pow_tonearest_test_data): Likewise.
15953         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15954         mpfr_ff_f.
15955         (func_calc_desc): Add mpfr_ff_f union field.
15956         (FUNC_mpfr_ff_f): New macro.
15957         (test_functions): Add atan2, hypot and pow.
15958         (special_fill_min): New function.
15959         (special_fill_minus_min): Likewise.
15960         (special_fill_min_subnorm): Likewise.
15961         (special_fill_minus_min_subnorm): Likewise.
15962         (special_real_inputs): Add min, -min, min_subnorm and
15963         -min_subnorm.
15964         (calc_generic_results): Handle mpfr_ff_f.
15965         * sysdeps/i386/fpu/libm-test-ulps: Update.
15966         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15968 2013-12-16  Will Newton  <will.newton@linaro.org>
15970         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15971         (Aligned Memory Blocks): Add documentation for aligned_alloc
15972         and suggest it as an alternative to posix_memalign.
15973         (Hooks for Malloc): Document __memalign_hook is also called
15974         for aligned_alloc.  (Summary of Malloc): Add summary for
15975         aligned alloc.  Document __memalign_hook is also called
15976         for aligned_alloc.
15978 2013-12-16  Will Newton  <will.newton@linaro.org>
15980         * manual/memory.texi (Malloc Examples): Clarify default
15981         alignment documentation.  Suggest posix_memalign rather
15982         than memalign or valloc.
15983         (Aligned Memory Blocks): Remove suggestion to use memalign
15984         or valloc.  Remove obsolete comment about BSD.
15985         Document memalign errno values and mark the function obsolete.
15986         Document posix_memalign returned error codes.  Mark valloc
15987         as obsolete.  (Hooks for Malloc): __memalign_hook is also
15988         called for posix_memalign and valloc.
15989         (Summary of Malloc): Add posix_memalign to function summary.
15990         __memalign_hook is also called for posix_memalign and valloc.
15992 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15994         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
15995         TAYLOR_SIN.
15996         (__sin): Adjust.
15997         (__cos): Likewise.
15998         (sloww): Use mynumber union.  Expand ternary operator into
15999         if-else statements.
16000         (cslow): use mynumber union.
16002 2013-12-16  Allan McRae  <allan@archlinux.org>
16004         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16005         * configure: Regenerated.
16007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16009         [BZ #14120]
16010         * configure.ac: Added --enable-maintainer-mode. Check for
16011         autoconf when enabled.
16012         * configure: Regenerated.
16014         * nscd/nscd.service: New file.
16015         * nscd/nscd.tmpfiles: New file.
16017 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16019         [BZ #12100]
16020         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16021         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16022         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16023         (strstr): Add __strstr_sse2_unaligned ifunc.
16024         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16025         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16026         (strcasestr): Remove __strcasestr_sse42 ifunc.
16027         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16031 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16033         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16034         * sysdeps/sh/bits/fenv.h: ... here.
16035         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16037 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16039         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16041         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16042         hypotf multiarch implementations.
16043         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16044         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16045         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16046         multiarch hypot for PPC64.
16047         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16048         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16049         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16050         multiarch hypotf for PPC64.
16052         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16053         modff multiarch implementations.
16054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16057         multiarch modf for PPC64.
16058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16059         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16061         multiarch modff for PPC64.
16063         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16064         and logl multiarch implementations.
16065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16067         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16068         multiarch logb for PPC64.
16069         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16071         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16072         multiarch logb for PPC64.
16073         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16075         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16076         multiarch logb for PPC64.
16078         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16079         isinff multiarch implementation.
16080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16081         file.
16082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16084         multiarch isinf for PPC64.
16085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16086         file.
16087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16088         multiarch isinff for PPC64.
16090         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16091         finitef multiarch implementation.
16092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16093         file.
16094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16095         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16096         multiarch finite for PPC64.
16097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16098         file.
16099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16100         multiarch finitef for PPC64.
16102         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16103         lrint multiarch implementation.
16104         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16105         file.
16106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16107         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16108         multiarch llrint for PPC64.
16109         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16110         multiarch lrint for PPC64.
16112         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16113         copysignf multiarch implementation.
16114         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16115         file.
16116         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16117         file.
16118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16119         multiarch copysign for PPC64.
16120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16121         multiarch copysignf for PPC64.
16123         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16124         multiarch implementation.
16125         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16126         file.
16127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16128         file.
16129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16130         file.
16131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16132         file.
16133         multiarch llround for PPC64.
16134         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16135         multiarch trunc for PPC64.
16136         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16137         multiarch truncf for PPC64.
16139         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16140         multiarch implementation.
16141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16142         file.
16143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16144         file.
16145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16146         file.
16147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16148         file.
16149         multiarch llround for PPC64.
16150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16151         multiarch round for PPC64.
16152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16153         multiarch roundf for PPC64.
16155         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16156         multiarch implementation.
16157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16158         file.
16159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16160         file.
16161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16162         file.
16163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16164         file.
16165         multiarch llround for PPC64.
16166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16167         multiarch floor for PPC64.
16168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16169         multiarch floorf for PPC64.
16171         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16172         multiarch implementation.
16173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16174         file.
16175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16176         file.
16177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16178         file.
16179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16180         file.
16181         multiarch llround for PPC64.
16182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16183         multiarch ceil for PPC64.
16184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16185         multiarch ceilf for PPC64.
16187         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16188         multiarch implementation.
16189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16190         file.
16191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16192         file.
16193         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16194         file.
16195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16196         multiarch llround for PPC64.
16197         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16198         multiarch lround for PPC64.
16200         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16201         multiarch implementation.
16202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16205         file.
16206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16209         multiarch isnan for PPC64.
16210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16211         multiarch isnanf for PPC64.
16213         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16214         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16215         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16216         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16217         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16220         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16221         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16222         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16225         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16226         multiarch implementations.
16227         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16228         (__libc_ifunc_impl_list): Likewise.
16229         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16230         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16231         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16232         multiarch stpcpy for PPC64.
16234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16235         multiarch implementations.
16236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16237         (__libc_ifunc_impl_list): Likewise.
16238         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16239         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16240         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16241         multiarch strcpy for PPC64.
16243         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16244         redefine function name.
16245         (_wordcopy_fwd_dest_aligned): Likewise.
16246         (_wordcopy_bwd_aligned): Likewise.
16247         (_wordcopy_bwd_dest_aligned): Likewise.
16248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16249         multiarch implementations.
16250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16251         (__libc_ifunc_impl_list): Likewise.
16252         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16253         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16254         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16255         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16256         multiarch wcscpy for PPC64.
16258         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16259         multiarch implementations.
16260         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16261         (__libc_ifunc_impl_list): Likewise.
16262         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16263         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16264         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16265         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16266         multiarch wcscpy for PPC64.
16268         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16269         multiarch implementations.
16270         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16271         (__libc_ifunc_impl_list): Likewise.
16272         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16273         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16274         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16275         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16276         multiarch wcsrchr for PPC64.
16278         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16279         multiarch implementations.
16280         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16281         (__libc_ifunc_impl_list): Likewise.
16282         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16283         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16284         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16285         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16286         multiarch wcschr for PPC64.
16288         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16289         multiarch implementations.
16290         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16291         (__libc_ifunc_impl_list): Likewise.
16292         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16293         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16294         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16295         multiarch strchrnul for PPC64.
16297         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16298         implementations.
16299         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16300         (__libc_ifunc_impl_list): Likewise.
16301         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16302         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16303         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16304         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16305         strchr for PPC64.
16307         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16308         implementations.
16309         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16310         (__libc_ifunc_impl_list): Likewise.
16311         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16312         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16313         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16314         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16315         strncmp for PPC64.
16317         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16318         multiarch implementations.
16319         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16320         (__libc_ifunc_impl_list): Likewise.
16321         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16322         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16323         strncasecmp for PPC64.
16324         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16325         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16326         multiarch strncasecmp_l for PPC64.
16328         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16329         multiarch implementations.
16330         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16331         (__libc_ifunc_impl_list): Likewise.
16332         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16333         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16334         multiarch strcasecmp for PPC64.
16335         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16336         file.
16337         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16338         multiarch strcasecmp_l for PPC64.
16340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16341         implementations.
16342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16343         (__libc_ifunc_impl_list): Likewise.
16344         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16345         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16346         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16347         strnlen for PPC64.
16349         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16350         implementations.
16351         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16352         (__libc_ifunc_impl_list): Likewise.
16353         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16354         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16355         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16356         strlen for PPC64.
16358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16359         implementations.
16360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16361         (__libc_ifunc_impl_list): Likewise.
16362         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16363         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16364         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16365         rawmemrchr for PPC64.
16367         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16368         implementation.
16369         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16370         (__libc_ifunc_impl_list): Likewise.
16371         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16372         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16373         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16374         memrchr for PPC64.
16376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16377         implementation.
16378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16379         (__libc_ifunc_impl_list): Likewise.
16380         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16381         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16382         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16383         memchr for PPC64.
16385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16386         implementation.
16387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16388         (__libc_ifunc_impl_list): Likewise.
16389         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16390         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16391         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16392         mempcpy for PPC64.
16394         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16395         avoid cretion of __bzero symbol.
16396         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16397         Likewise.
16398         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16399         Likewise.
16400         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16401         Likewise.
16402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16403         multiarch implementations.
16404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16405         (__libc_ifunc_impl_list): Likewise.
16406         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16407         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16408         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16409         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16410         bzero for PPC32.
16411         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16412         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16413         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16414         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16415         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16416         memset for PPC64.
16417         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16419         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16420         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16421         implementations.
16422         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16423         (__libc_ifunc_impl_list): Likewise.
16424         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16425         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16426         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16427         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16428         memcmp for PPC64.
16430         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16431         multiarch for POWER/PPC64.
16432         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16433         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16434         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16435         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16436         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16437         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16438         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16439         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16440         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16441         memcpy for PPC64.
16443         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16444         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16445         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16446         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16447         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16448         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16449         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16450         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16451         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16452         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16453         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16454         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16455         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16456         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16457         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16466 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16468         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16470 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16472         * benchtests/Makefile (bench): Add exp2 and log2.
16473         (LDLIBS-bench-exp2): Add -lm.
16474         (LDLIBS-bench-log2): Likewise.
16475         * benchtests/exp2-inputs: New inputs file.
16476         * benchtests/log2-inputs: New inputs file.
16477         * benchtests/log-inputs: Add new inputs.
16478         * benchtests/tan-inputs: Likewise.
16480 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16482         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16483         definition...
16484         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16485         (csloww2): ... from here.
16487         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16488         instead of structures.
16489         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16490         (POLYNOMIAL): Likewise.
16491         (TAYLOR_SLOW): Likewise.
16492         (__sin): Likewise.
16493         (__cos): Likewise.
16494         (slow1): Likewise.
16495         (slow2): Likewise.
16496         (sloww): Likewise.
16497         (sloww1); Likewise.
16498         (sloww2): Likewise.
16499         (bsloww1): Likewise.
16500         (bsloww2): Likewise.
16501         (cslow2): Likewise.
16502         (csloww): Likewise.
16503         (csloww1): Likewise.
16504         (csloww2): Likewise.
16506 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
16508         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16509         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16510         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16511         * malloc/hooks.c (realloc_check): Likewise.
16513         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16514         * malloc/arena.c: Remove PER_THREAD conditional.
16515         [!PER_THREAD]: Remove code.
16516         (ptmalloc_unlock_all2): Likewise.
16517         (ptmalloc_init): Likewise.
16518         (_int_new_arena): Likewise.
16519         (arena_get2): Likewise.
16520         * malloc/hooks.c (__malloc_get_state): Likewise.
16521         (__malloc_set_state): Likewise.
16522         * malloc/malloc.c: Likewise.
16523         (struct malloc_state): Likewise.
16524         (struct malloc_par): Likewise.
16525         (__libc_realloc): Likewise.
16526         (__libc_mallopt): Likewise.
16528 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16530         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16532 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
16534         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16535         macro to a function.  Check for zero perturb_byte.
16536         (_int_malloc, _int_free): Remove zero perturb_byte checks.
16538         * malloc/malloc.c: (force_reg): Remove.
16539         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16540         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16541         force_reg by atomic_forced_read.
16542         * malloc/arena.c (ptmalloc_init): Likewise.
16543         * malloc/hooks.c (top_check): Likewise.
16545 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16549 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
16551         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16553 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
16555         * math/auto-libm-test-in: Add tests of lgamma.
16556         * math/auto-libm-test-out: Regenerated.
16557         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16558         (M_LOG_2_SQRT_PIl): Likewise.
16559         (lgamma_test_data): Use AUTO_TESTS_f_f1.
16560         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16561         mpfr_f_f1.
16562         (func_calc_desc): Add mpfr_f_f1 union field.
16563         (ARGS1): New macro.
16564         (ARGS2): Likewise.
16565         (ARGS3): Likewise.
16566         (ARGS4): Likewise.
16567         (RET1): Likewise.
16568         (RET2): Likewise.
16569         (CALC): Likewise.
16570         (FUNC): Likewise.
16571         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16572         (test_functions): Add lgamma.
16573         (calc_generic_results): Handle mpfr_f_f1.
16574         * sysdeps/i386/fpu/libm-test-ulps: Update.
16575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16577 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16579         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16580         __mpn_add_n for PowerPC64/POWER7.
16581         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16582         __mpn_sub_n for PowerPC64/POWER7.
16584         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16585         __mpn_addmul_1 for PowerPC64.
16586         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16587         __mpn_submul_1 for PowerPC64.
16588         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16589         for PowerPC64.
16590         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16591         for PowerPC64.
16593 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
16595         [BZ #15089]
16596         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16598 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16600         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16602         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16603         add multiarch folders.
16604         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16605         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16606         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16607         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16608         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16609         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16610         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16611         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16612         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16613         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16614         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16618         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16623         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16624         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16625         New file.
16626         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16627         New file.
16628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16629         multiarch __ieee754_hypot for PowerPC32.
16630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16631         New file.
16632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16633         New file.
16634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16635         multiarch __ieee754_hypotf for PowerPC32.
16637         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16638         long_double_symbol only if __logbl is defined.
16639         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16640         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16641         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16642         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16643         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16644         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16645         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16646         path for implementation.
16647         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16648         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16650         logb, and logbl multiarch implementations for PowerPC32.
16651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16652         file.
16653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16654         file.
16655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16656         multiarch logb for PowerPC32.
16657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16658         file.
16659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16660         file.
16661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16662         multiarch logbf for PowerPC32.
16663         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16665         file.
16666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16667         multiarch logbl implementation for PowerPC32.
16669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16670         and modff multiarch implementations.
16671         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16672         New file.
16673         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16674         New file.
16675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16676         multiarch modf for PowerPC32.
16677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16678         New file.
16679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16680         New file.
16681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16682         multiarch modff for PowerPC32.
16684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16685         and lrintf multiarch implementations.
16686         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16687         New file.
16688         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16689         New file.
16690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16691         multiarch lrint for PowerPC32.
16692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16693         file: multiarch lrintf for PowerPC32.
16695         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16696         and lroundf multiarch implementations.
16697         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16698         New file.
16699         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16700         New file.
16701         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16702         New file.
16703         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16704         multiarch lround for PowerPC32.
16705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16706         file: multiarch lroundf for PowerPC32.
16708         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16709         copysign and copysignf multiarch implementations.
16710         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16711         New file.
16712         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16713         New file.
16714         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16715         file: multiarch copysign for PowerPC32.
16716         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16717         file: multiarch copysignf for PowerPC32.
16719         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16720         and truncf multiarch implementations.
16721         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16722         New file.
16723         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16724         file.
16725         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16726         multiarch trunc for PowerPC32.
16727         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16728         New file.
16729         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16730         New file.
16731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16732         multiarch truncf for PowerPC32.
16734         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16735         and roundf multiarch implementations.
16736         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16737         New file.
16738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16739         file.
16740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16741         multiarch round for PowerPC32.
16742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16743         New file.
16744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16745         New file.
16746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16747         multiarch roundf for PowerPC32.
16749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16750         and floorf multiarch implementations.
16751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16752         New file.
16753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16754         file.
16755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16756         multiarch floor for PowerPC32.
16757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16758         New file.
16759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16760         New file.
16761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16762         multiarch floorf for PowerPC32.
16764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16765         and ceilf multiarch implementations.
16766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16767         New file.
16768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16769         file.
16770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16771         multiarch ceil for PowerPC32.
16772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16773         New file.
16774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16775         file.
16776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16777         multiarch ceilf for PowerPC32.
16779         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16780         is defined.
16781         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16782         FINITEF is defined.
16783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16784         and finitef multiarch implementations.
16785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16786         New file.
16787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16788         file.
16789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16790         multiarch finite for PowerPC32.
16791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16792         New file.
16793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16794         file: multiarch finitef for PowerPC32.
16796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16797         and isinff multiarch implementations.
16798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16799         file.
16800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16801         file.
16802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16803         multiarch isinf for PowerPC32.
16804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16805         New file.
16806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16807         multiarch isinff for PowerPC32.
16809         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16810         alias when __isnan is defined.
16811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16812         and isnanf multiarch implementations.
16813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16814         file.
16815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16816         file.
16817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16818         file.
16819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16820         file.
16821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16822         multiarch isnan for PowerPC32.
16823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16824         New file.
16825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16826         New file.
16827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16828         multiarch isnanf for PowerPC32.
16830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16831         and sqrtf multiarch implementations.
16832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16833         file.
16834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16835         file.
16836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16837         multiarch sqrt for PowerPC32.
16838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16839         file.
16840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16841         file.
16842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16843         multiarch sqrtf for PowerPC32.
16845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16846         and llroundf multiarch implementations.
16847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16848         New file.
16849         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16850         New file.
16851         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16852         New file.
16853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16854         file: multiarch llround for PowerPC32.
16855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16856         file: multiarch llroundf for PowerPC32.
16858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16859         multiarch PowerPC32 fpu implementations.
16860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16861         New file.
16862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16863         New file.
16864         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16865         multiarch llrint for PowerPC32.
16866         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16867         New file.
16868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16869         New file.
16870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16871         file.
16873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16875         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16876         file.
16877         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16878         file.
16879         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16880         file.
16881         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16882         multiarch wordcopy for PPC32.
16883         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16884         wordcopy objects.
16885         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16886         (__libc_ifunc_impl_list): Likewise.
16887         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16888         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16889         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16890         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16891         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16892         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16894         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16895         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16896         file.
16897         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16898         file.
16899         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16900         file.
16901         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16902         multiarch wcscpy for PPC32.
16903         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
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/wcscpy.c: Adjust to use
16910         sysdeps/powerpc/power6/wcscpy.c.
16912         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16913         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16914         file.
16915         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16916         file.
16917         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16918         file.
16919         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16920         multiarch wcsrchr for PPC32.
16921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16922         multiarch objects.
16923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16924         (__libc_ifunc_impl_list): Likewise.
16925         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16926         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16927         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16928         sysdeps/powerpc/power6/wcsrchr.c.
16930         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16931         file.
16932         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16933         file.
16934         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16936         multiarch wcschr for PPc32.
16937         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16938         multiarch objects.
16939         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16940         (__libc_ifunc_impl_list): Likewise.
16941         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16942         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16943         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16944         sysdeps/powerpc/power6/wcschr.c.
16946         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16947         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16948         file.
16949         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16950         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16951         file: multiarch strchr for PPC32.
16952         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16953         multiarch objects.
16954         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16955         (__libc_ifunc_impl_list): Likewise.
16957         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16958         name.
16959         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16960         file.
16961         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16962         file.
16963         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16964         multiarch strchrnul for PPC32.
16965         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16966         multiarch objects.
16967         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16968         (__libc_ifunc_impl_list): Likewise.
16970         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16971         file.
16972         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16973         multiarch strncasecmp for PPC32.
16974         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16975         file.
16976         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
16977         multiarch strncasecmp_l for PPC32.
16978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
16979         strncasecmp multiarch objects.
16980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16981         (__libc_ifunc_impl_list): Likewise.
16983         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
16984         file.
16985         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
16986         multiarch strncasecmp for PPC32.
16987         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
16988         New file.
16989         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
16990         multiarch strcasecmp_l for PPC32.
16991         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
16992         multiarch objects.
16993         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16994         (__libc_ifunc_impl_list): Likewise.
16996         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
16997         file.
16998         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
16999         file.
17000         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17001         multiarch strncmp for PPC32.
17002         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17003         multiarch objects.
17004         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17005         (__libc_ifunc_impl_list): Likewise.
17007         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17008         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17009         file.
17010         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17011         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17012         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17013         multiarch objects.
17014         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17015         (__libc_ifunc_impl_list): Likewise.
17017         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17018         file.
17019         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17020         file.
17021         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17022         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17023         multiarch objects.
17024         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17025         (__libc_ifunc_impl_list): Likewise.
17027         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17028         file.
17029         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17030         file.
17031         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17032         multiarch rawmemchr for PPC32.
17033         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17034         multiarch objects.
17035         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17036         (__libc_ifunc_impl_list): Likewise.
17038         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17039         file.
17040         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17041         file.
17042         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17043         file: memrchr multiarch for PPC32.
17044         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17045         multiarch objects.
17046         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17047         (__libc_ifunc_impl_list): Likewise.
17049         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17050         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17051         file.
17052         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17053         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17054         multiarch memchr for PPC32.
17055         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17056         multiarch objects.
17057         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17058         (__libc_ifunc_impl_list): Likewise.
17060         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17061         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17062         file.
17063         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17064         file.
17065         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17066         file: multiarch mempcpy for PPC32.
17067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17068         multiarch objects.
17069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17070         (__libc_ifunc_impl_list): Likewise.
17072         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17073         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17074         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17075         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17076         multiarch bzero for PPC32.
17077         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17078         file.
17079         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17080         file.
17081         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17082         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17083         file: multiarch memset for PPC32.
17084         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17085         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17086         memset multiarch objects.
17087         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17088         (__libc_ifunc_impl_list): Likewise.
17090         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17091         file.
17092         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17093         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17094         memcmp for PPC32.
17095         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17096         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17097         multiarch objects.
17098         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17099         (__libc_ifunc_impl_list): Likewise.
17101         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17102         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17103         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17104         file.
17105         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17106         file.
17107         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17108         file.
17109         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17110         multiarch memcpy for PPC32.
17111         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17112         multiarch objects.
17113         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17114         (__libc_ifunc_impl_list): Likewise.
17116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17117         support multiarch for POWER/PPC32.
17118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17119         Likewise.
17120         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17121         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17122         Implies file to make multiarch folder appers before the fpu and
17123         default folder for power4 configuration.
17125 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17127         * scripts/bench.pl: Append volatile keyword to type.
17129 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17131         * sysdeps/sh/sotruss-lib.c: New file.
17132         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17134 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17136         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17138 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17140         [BZ #6810]
17141         * math/w_tgamma.c: Include <errno.h>.
17142         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17143         * math/w_tgammaf.c: Include <errno.h>.
17144         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17145         * math/w_tgammal.c: Include <errno.h>.
17146         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17147         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17148         underflow.  Add more tgamma tests.
17149         * math/auto-libm-test-out: Regenerated.
17150         * sysdeps/i386/fpu/libm-test-ulps: Update.
17151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17153         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17154         sin, sinh, tan, tanh, tgamma, y0 and y1.
17155         * math/auto-libm-test-out: Regenerated.
17156         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17157         (TEST_COND_x86): Likewise.
17158         (M_E2l): Remove macro.
17159         (M_E3l): Likewise.
17160         (M_2_SQRT_PIl): Likewise.
17161         (M_SQRT_PIl): Likewise.
17162         (M_1_DIV_El): Likewise.
17163         (log_test_data): Use AUTO_TESTS_f_f.
17164         (log10_test_data): Likewise.
17165         (log1p_test_data): Likewise.
17166         (log2_test_data): Likewise.
17167         (sin_test_data): Likewise.
17168         (sin_tonearest_test_data): Likewise.
17169         (sin_towardzero_test_data): Likewise.
17170         (sin_downward_test_data): Likewise.
17171         (sin_upward_test_data): Likewise.
17172         (sinh_test_data): Likewise.
17173         (sinh_tonearest_test_data): Likewise.
17174         (sinh_towardzero_test_data): Likewise.
17175         (sinh_downward_test_data): Likewise.
17176         (sinh_upward_test_data): Likewise.
17177         (tan_test_data): Likewise.
17178         (tan_tonearest_test_data): Likewise.
17179         (tan_towardzero_test_data): Likewise.
17180         (tan_downward_test_data): Likewise.
17181         (tan_upward_test_data): Likewise.
17182         (tanh_test_data): Likewise.
17183         (tgamma_test_data): Likewise.
17184         (y0_test_data): Likewise.
17185         (y1_test_data): Likewise.
17186         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17187         (special_real_inputs): Add pi/4.
17188         * sysdeps/i386/fpu/libm-test-ulps: Update.
17189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17191 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17193         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17194         "longjmp_target" static probes.
17195         (__longjmp): Rename to __longjmp_symbol.
17196         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17197         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17198         on which longjmp to generate.
17199         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17200         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17201         probe.
17202         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17203         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17204         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17205         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17206         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17207         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17209         __longjmp_symbol based on which __longjmp to generate.
17210         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17211         probe.
17212         (setjmp): Rename to setjmp_symbol.
17213         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17214         (_setjmp): Rename to _setjmp_symbol.
17215         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17216         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17217         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17218         which setjmp to generate.
17219         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17220         "longjmp_target" static probes.
17222 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17224         * benchtests/README: Add note about output arguments.
17225         * benchtests/bench-sincos.c: Remove file.
17226         * benchtests/sincos-inputs: New file.
17227         * scripts/bench.pl: Identify output arguments and define
17228         static variables for them.
17230         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17232         [BZ #15941]
17233         * Makefile (INSTALL): Add install-plain.texi as the primary
17234         dependency.
17235         * manual/install-plain.texi: New file.
17236         * manual/install.texi: Include node directive only for
17237         non-plaintext output.
17239 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17241         * stdlib/longlong.h: Update from GCC.
17243         [BZ #6807]
17244         [BZ #15901]
17245         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17246         * math/w_j0f.c (y0f): Likewise.
17247         * math/w_j0l.c (__y0l): Likewise.
17248         * math/w_j1.c (y1): Likewise.
17249         * math/w_j1f.c (y1f): Likewise.
17250         * math/w_j1l.c (__y1l): Likewise
17251         * math/w_jn.c (yn): Likewise.
17252         * math/w_jnf.c (ynf): Likewise.
17253         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17254         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17255         value for Bessel function domain errors outside _SVID_ mode.
17256         Adjust sign of return value for yn (negative integer, 0).
17257         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17258         by zero in return for negative x and set sign appropriately for
17259         negative n.
17260         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17261         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17262         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17263         expectations in error cases.
17264         (y1_test_data): Likewise.
17265         (yn_test_data): Likewise.
17266         * sysdeps/i386/fpu/libm-test-ulps: Update.
17267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17269 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17271         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17272         "64" to "64-v1".  Add "64-v2".
17273         (abi-64-options): Rename to ...
17274         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17275         (abi-64-condition): Rename to ...
17276         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17277         (abi-64-ld-soname): Rename to ...
17278         (abi-64-v1-ld-soname): ... this.
17279         (abi-64-v2-options): Define.
17280         (abi-64-v2-condition): Likewise.
17281         (abi-64-v2-ld-soname): Likewise.
17282         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17283         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17288 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17289             Alan Modra  <amodra@gmail.com>
17291         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17292         New versions for use with the ELFv2 ABI.
17293         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17294         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17295         declaration.
17296         (struct La_ppc64v2_retval): Likewise.
17297         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17298         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17299         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17300         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17301         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17302         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17303         Do not save or restore CR.
17304         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17305         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17306         return values for ELFv2 ABI.  Fix location of FPR return registers.
17307         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17308         updated values for _CALL_ELF == 2.
17309         (La_regs, La_retval, int_retval): Likewise.
17311 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17313         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17314         (FRAME_MIN_SIZE_PARM): Likewise.
17315         (FRAME_BACKCHAIN): Likewise.
17316         (FRAME_CR_SAVE): Likewise.
17317         (FRAME_LR_SAVE): Likewise.
17318         (FRAME_TOC_SAVE): Likewise.
17319         (FRAME_PARM_SAVE): Likewise.
17320         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17321         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17322         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17323         (call_mcount_parm_offset): New macro.
17324         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17325         (PROF): Use symbolic stack frame offsets.
17326         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17327         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17328         Redefine in terms of FRAME_MIN_SIZE.
17329         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17330         (_dl_profile_resolve): Likewise.  Update comment.
17331         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17332         symbols stack frame offsets.
17333         (__sigsetjmp): Likewise.
17334         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17335         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17336         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17337         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17340         (FRAME_BACKCHAIN): Remove.
17341         (FRAME_CR_SAVE): Likewise.
17342         (FRAME_LR_SAVE): Likewise.
17343         (FRAME_COMPILER_DW): Likewise.
17344         (FRAME_LINKER_DW): Likewise.
17345         (FRAME_TOC_SAVE): Likewise.
17346         (FRAME_PARM_SAVE): Likewise.
17347         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17348         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17349         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17351         (CHECK_SP): Use symbolic stack frame offsets.
17352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17353         zone" instead of caller's parameter save area for temp storage.
17354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17355         Likewise.  Also, use symbolic stack frame offsets.
17356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17357         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17358         our own stack frame instead of the caller's.
17359         (__socket): Use symbolic stack frame offsets.
17361 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17362             Alan Modra  <amodra@gmail.com>
17364         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17365         Define.
17366         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17367         (PPC64_LOCAL_ENTRY_OFFSET): Define.
17368         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17369         New function.
17370         (elf_machine_fixup_plt): Call it.
17371         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
17372         reloc arguments.
17373         (elf_machine_rela): Update call to elf_machine_plt_conflict.
17374         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17375         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17376         r2 before calling target.
17378 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17379             Alan Modra  <amodra@gmail.com>
17381         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17382         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17383         versions of macros to support ELFv2 ABI.
17384         (LOCALENTRY): New macro.
17385         (ENTRY, EALIGN): Use it.
17386         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17387         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17388         fall through into ENTRY entry point.
17389         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17390         Only define if _CALL_ELF != 2.
17392         (elf_machine_matches_host): Verify ABI version matches.
17393         (RTLD_START): Use LOCALENTRY.
17394         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17395         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17396         (PLT_ENTRY_WORDS): New macro.
17397         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17398         (elf_machine_runtime_setup): Support ELFv2 ABI.
17399         (elf_machine_fixup_plt): Likewise.
17400         (elf_machine_plt_conflict): Likewise.
17401         (resolve_ifunc): Likewise.
17402         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17403         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17404         Likewise.
17405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17406         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17408         (makecontext): Support ELFv2 ABI.
17409         * elf/elf.h (EF_PPC64_ABI): Define.
17411 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17413         * sysdeps/powerpc/powerpc64/sysdep.h
17414         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17415         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17416         (ENTRY) [ASSEMBLER]: ... but instead here ...
17417         (EALIGN) [ASSEMBLER]: ... and here.
17418         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17419         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17420         (ENTRY_2) [!ASSEMBLER]: Use it.
17421         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17422         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
17423         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17424         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17425         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17427         Use PPC64_LOAD_FUNCPTR.
17429         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17431 2013-12-04  Alan Modra  <amodra@gmail.com>
17433         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17434         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17435         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17436         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17438         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17439         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17440         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17441         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17442         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17443         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17445 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17448         (__makecontext): Fix incorrect CFI when backtracing out of
17449         context created via makecontext.
17450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17451         (__setcontext): Fix incorrect CFI during switch to new context.
17452         (__novec_setcontext): Likewise.
17454 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17456         [BZ #4772]
17457         * time/strptime_l.c (__strptime_internal): Allow modifiers
17458         in strptime.
17459         * time/tst-strptime.c (day_tests): Add testcase.
17461 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17463         * scripts/bench.pl: Skip over blank lines.
17465 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17467         [BZ #926]
17468         * manual/time.texi (Calendar Time): Clarify what timezone functions
17469         use.
17471 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17475 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17477         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17478         implementation.
17479         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17480         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17481         * debug/memset_chk.c (__memset_chk): Likewise.
17482         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17483         * debug/strncpy_chk.c: Likewise.
17485 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17487         [BZ #15268]
17488         [BZ #15425]
17489         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17490         (__ieee754_exp): For possibly underflowing results, check size of
17491         result and force underflow exception if required.
17492         * math/auto-libm-test-in: Add more tests of exp.
17493         * math/auto-libm-test-out: Regenerated.
17494         * sysdeps/i386/fpu/libm-test-ulps: Update.
17495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17497         [BZ #16283]
17498         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17499         * math/w_exp2f.c (__exp2f): Likewise.
17500         * math/w_exp2l.c (__exp2l): Likewise.
17501         * math/auto-libm-test-in: Do not allow missing errno on exp2
17502         underflow.
17503         * math/auto-libm-test-out: Regenerated.
17505 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
17507         [BZ #16274]
17508         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17509         handle filename validation.
17510         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17511         (do_open): Delete.
17513 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17515         [BZ #6786]
17516         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17517         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17518         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17519         <float.h>.
17520         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17521         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17522         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17523         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17524         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17525         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17526         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17527         * math/auto-libm-test-in: Don't allow missing errno from erfc.
17528         Add more erfc tests.
17529         * math/auto-libm-test-out: Regenerated.
17530         * sysdeps/i386/fpu/libm-test-ulps: Update.
17531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17533         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17534         exp2, expm1, j0 and j1.
17535         * math/auto-libm-test-out: Regenerated.
17536         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17537         (erfc_test_data): Likewise.
17538         (exp_test_data): Likewise.
17539         (exp_tonearest_test_data): Likewise.
17540         (exp_towardzero_test_data): Likewise.
17541         (exp_downward_test_data): Likewise.
17542         (exp_upward_test_data): Likewise.
17543         (exp10_test_data): Likewise.
17544         (exp2_test_data): Likewise.
17545         (expm1_test_data): Likewise.
17546         (j0_test_data): Likewise.
17547         (j1_test_data): Likewise.
17548         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17549         (input_flag_type): Add flag_xfail_rounding.
17550         (input_flags): Add xfail-rounding.
17551         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17552         (output_for_one_input_case): Handle flag_xfail_rounding.
17553         * sysdeps/i386/fpu/libm-test-ulps: Update.
17554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17556 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
17558         [BZ #16289]
17559         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17560         division by 0.
17562 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17564         [BZ #16195]
17565         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17566         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17567         (STAP_PROBE0): New macro.
17568         (STAP_PROBE1): Likewise.
17569         (STAP_PROBE2): Likewise.
17570         (STAP_PROBE3): Likewise.
17571         (STAP_PROBE4): Likewise.
17573 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
17575         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17577 2013-12-02  Steve Ellcey  <sellcey@mips.com>
17579         * benchtests/Makefile (bench): Add sqrt.
17580         (LDLIBS-bench-sqrt): New.
17581         * benchtests/sqrt-input: New.
17583 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
17585         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17586         (GAIH_EAI): Likewise.
17587         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17588         (gaih_inet): Likewise.
17589         (getaddrinfo): Don't use GAIH_EAI.
17591         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17592         (struct gaih): Remove definition.
17594 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17596         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17597         Use HERRNOP directly.
17599 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17601         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17603 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
17605         * math/gen-auto-libm-tests.c (test_functions): Add more
17606         single-argument functions.
17607         (special_fill_pi_2): New function.
17608         (special_fill_minus_pi_2): Likewise.
17609         (special_fill_pi_6): Likewise.
17610         (special_fill_minus_pi_6): Likewise.
17611         (special_fill_pi_3): Likewise.
17612         (special_fill_2pi_3): Likewise.
17613         (special_fill_e): Likewise.
17614         (special_fill_1_e): Likewise.
17615         (special_fill_e_minus_1): Likewise.
17616         (special_real_inputs): Add more special inputs.
17617         (output_for_one_input_case): Do not require ERANGE on underflow to
17618         zero if round-to-nearest result does not underflow to zero, unless
17619         exact results required.
17620         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17621         atan, atanh, cbrt, cos and cosh.
17622         * math/auto-libm-test-out: Regenerated.
17623         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17624         (acos_tonearest_test_data): Likewise.
17625         (acos_towardzero_test_data): Likewise.
17626         (acos_downward_test_data): Likewise.
17627         (acos_upward_test_data): Likewise.
17628         (acosh_test_data): Likewise.
17629         (asin_test_data): Likewise.
17630         (asin_tonearest_test_data): Likewise.
17631         (asin_towardzero_test_data): Likewise.
17632         (asin_upward_test_data): Likewise.
17633         (asinh_test_data): Likewise.
17634         (atan_test_data): Likewise.
17635         (atanh_test_data): Likewise.
17636         (cbrt_test_data): Likewise.
17637         (cos_test_data): Likewise.
17638         (cos_tonearest_test_data): Likewise.
17639         (cos_towardzero_test_data): Likewise.
17640         (cos_downward_test_data): Likewise.
17641         (cos_upward_test_data): Likewise.
17642         (cosh_test_data): Likewise.
17643         (cosh_tonearest_test_data): Likewise.
17644         (cosh_towardzero_test_data): Likewise.
17645         (cosh_downward_test_data): Likewise.
17646         (cosh_upward_test_data): Likewise.
17647         * sysdeps/i386/fpu/libm-test-ulps: Update.
17648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17650 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
17652         [BZ #6787]
17653         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17654         * math/w_exp10f.c (__exp10f): Likewise.
17655         * math/w_exp10l.c (__exp10l): Likewise.
17656         * math/libm-test.inc (exp10_test_data): Add more tests and expect
17657         errno settings in existing tests.
17659         [BZ #14032]
17660         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17661         precision control set to double precision.
17662         * sysdeps/i386/fpu/w_sqrt.c: New file.
17663         * math/auto-libm-test-in: Add more tests.
17664         * math/auto-libm-test-out: Update.
17666         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17667         (sqrt_test_tonearest): New function.
17668         (sqrt_towardzero_test_data): New variable.
17669         (sqrt_test_towardzero): New function.
17670         (sqrt_downward_test_data): New variable.
17671         (sqrt_test_downward): New function.
17672         (sqrt_upward_test_data): New variable.
17673         (sqrt_test_upward): New function.
17674         (main): Call the new functions.
17676         * math/gen-auto-libm-tests.c: New file.
17677         * math/auto-libm-test-in: Likewise.
17678         * math/auto-libm-test-out: New generated file.
17679         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17680         variables.
17681         (%beautify): Add generated representations of zero.
17682         (top level): Set $auto_input and call parse_auto_input.
17683         (beautify): Remove trailing "f" from hex float constants.
17684         (parse_args): Handle XFAIL_TEST.
17685         (convert_condition): New function.
17686         (or_value): Likewise.
17687         (or_cond_value): Likewise.
17688         (generate_testfile): Handle AUTO_TESTS_* lines.
17689         (parse_auto_input): New function.
17690         * math/libm-test.inc (XFAIL_TEST): New macro.
17691         (ERRNO_UNCHANGED): Update value.
17692         (ERRNO_EDOM): Likewise.
17693         (ERRNO_ERANGE): Likewise.
17694         (IGNORE_RESULT): Likewise.
17695         (TEST_COND_flt_32): New macro.
17696         (TEST_COND_dbl_64): Likewise.
17697         (TEST_COND_ldbl_96_intel): Likewise.
17698         (TEST_COND_ldbl_96_m68k): Likewise.
17699         (TEST_COND_ldbl_128): Likewise.
17700         (TEST_COND_ldbl_128ibm): Likewise.
17701         (TEST_COND_long32): Likewise.
17702         (TEST_COND_long64): Likewise.
17703         (TEST_COND_before_rounding): Likewise.
17704         (TEST_COND_after_rounding): Likewise.
17705         (enable_test): Handle XFAIL_TEST flag.
17706         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17707         with finite results.
17708         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17709         auto-libm-test-out.
17711 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17712             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17714         [BZ #16214]
17715         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17716         __tls_get_addr_internal instead of __tls_get_offset in order to
17717         avoid GOT pointer dependency.  Make rtld export
17718         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17719         __tls_get_addr since we are a __tls_get_offset platform.
17720         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17721         GOT pointer being set up before.
17722         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17724 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17726         * manual/math.texi (Errors in Math Functions): Document accuracy
17727         goals.
17729         [BZ #15004]
17730         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17731         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17732         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17733         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17734         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17735         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17736         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17737         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17738         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17739         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17740         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17741         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17742         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17743         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17744         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17745         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17747         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17748         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17749         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17750         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17751         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17752         Likewise.
17753         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17754         Likewise.
17755         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17756         Likewise.
17757         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17758         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17759         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17760         atomic-feupdateenv and flt-rounds.
17761         * sysdeps/powerpc/nofpu/Versions (libc): Add
17762         __atomic_feholdexcept, __atomic_feclearexcept,
17763         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17764         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17765         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17766         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17767         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17768         here.
17769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17770         Update.
17772         * manual/arith.texi (FP Exceptions): Document that exceptions may
17773         not be raised when matherr is used.
17774         (Math Error Reporting): Document overflow in directed rounding
17775         modes.  Document that errno may not be set when finite values are
17776         returned on overflow.  Document intent to set errno on underflow
17777         only for underflow to zero.
17779         [BZ #16271]
17780         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17781         round-to-nearest then adjust result for other rounding modes.
17782         * include/fenv.h (fegetround): Use libm_hidden_proto.
17783         * math/fegetround.c (fegetround): Use libm_hidden_def.
17784         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17785         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17786         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17787         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17788         Likewise.
17789         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17790         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17791         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17792         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17794 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17796         [BZ #16077]
17797         * nss/Versions (libnss_files): Add
17798         _nss_files_gethostbyname3_r.
17799         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17800         New function.
17801         (HOST_DB_LOOKUP): Remove macro.
17802         (_nss_files_gethostbyname_r): Implement function without the
17803         HOST_DB_LOOKUP macro.
17804         (_nss_files_gethostbyname2_r): Likewise.
17806 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17808         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17810 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17812         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17813         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17814         warning.
17816 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17818         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17819         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17820         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17821         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17822         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17823         __fe_nomask_env_priv and attribute_hidden.
17824         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17825         (libc_feupdateenv_test_ppc): Likewise.
17826         (libc_feresetround_ppc): Likewise.
17827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17828         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17829         compat_symbol macro.
17830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17831         (__fe_nomask_env): Likewise.
17832         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17834 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17836         * string/Makefile: Remove ifunc tests.
17837         * string/test-string.h: Define TEST_IFUNC.
17838         * string/test-bcopy-ifunc.c: Remove.
17839         * string/test-bzero-ifunc.c: Likewise.
17840         * string/test-memccpy-ifunc.c: Likewise.
17841         * string/test-memchr-ifunc.c: Likewise.
17842         * string/test-memcmp-ifunc.c: Likewise.
17843         * string/test-memcpy-ifunc.c: Likewise.
17844         * string/test-memmem-ifunc.c: Likewise.
17845         * string/test-memmove-ifunc.c: Likewise.
17846         * string/test-mempcpy-ifunc.c: Likewise.
17847         * string/test-memrchr-ifunc.c: Likewise.
17848         * string/test-memset-ifunc.c: Likewise.
17849         * string/test-rawmemchr-ifunc.c: Likewise.
17850         * string/test-stpcpy-ifunc.c: Likewise.
17851         * string/test-stpncpy-ifunc.c: Likewise.
17852         * string/test-strcasecmp-ifunc.c: Likewise.
17853         * string/test-strcasestr-ifunc.c: Likewise.
17854         * string/test-strcat-ifunc.c: Likewise.
17855         * string/test-strchr-ifunc.c: Likewise.
17856         * string/test-strchrnul-ifunc.c: Likewise.
17857         * string/test-strcmp-ifunc.c: Likewise.
17858         * string/test-strcpy-ifunc.c: Likewise.
17859         * string/test-strcspn-ifunc.c: Likewise.
17860         * string/test-strlen-ifunc.c: Likewise.
17861         * string/test-strncasecmp-ifunc.c: Likewise.
17862         * string/test-strncat-ifunc.c: Likewise.
17863         * string/test-strncmp-ifunc.c: Likewise.
17864         * string/test-strncpy-ifunc.c: Likewise.
17865         * string/test-strnlen-ifunc.c: Likewise.
17866         * string/test-strpbrk-ifunc.c: Likewise.
17867         * string/test-strrchr-ifunc.c: Likewise.
17868         * string/test-strspn-ifunc.c: Likewise.
17869         * string/test-strstr-ifunc.c: Likewise.
17871 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17873         * benchtests/Makefile: Remove ifunc tests.
17874         * benchtests/bench-string.h: Define TEST_IFUNC.
17875         * benchtests/bench-bcopy-ifunc.c: Remove.
17876         * benchtests/bench-bzero-ifunc.c: Likewise.
17877         * benchtests/bench-memccpy-ifunc.c: Likewise.
17878         * benchtests/bench-memchr-ifunc.c: Likewise.
17879         * benchtests/bench-memcmp-ifunc.c: Likewise.
17880         * benchtests/bench-memcpy-ifunc.c: Likewise.
17881         * benchtests/bench-memmem-ifunc.c: Likewise.
17882         * benchtests/bench-memmove-ifunc.c: Likewise.
17883         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17884         * benchtests/bench-memrchr-ifunc.c: Likewise.
17885         * benchtests/bench-memset-ifunc.c: Likewise.
17886         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17887         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17888         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17889         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17890         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17891         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17892         * benchtests/bench-strcat-ifunc.c: Likewise.
17893         * benchtests/bench-strchr-ifunc.c: Likewise.
17894         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17895         * benchtests/bench-strcmp-ifunc.c: Likewise.
17896         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17897         * benchtests/bench-strcpy-ifunc.c: Likewise.
17898         * benchtests/bench-strcspn-ifunc.c: Likewise.
17899         * benchtests/bench-strlen-ifunc.c: Likewise.
17900         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17901         * benchtests/bench-strncat-ifunc.c: Likewise.
17902         * benchtests/bench-strncmp-ifunc.c: Likewise.
17903         * benchtests/bench-strncpy-ifunc.c: Likewise.
17904         * benchtests/bench-strnlen-ifunc.c: Likewise.
17905         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17906         * benchtests/bench-strrchr-ifunc.c: Likewise.
17907         * benchtests/bench-strsep-ifunc.c: Likewise.
17908         * benchtests/bench-strspn-ifunc.c: Likewise.
17909         * benchtests/bench-strstr-ifunc.c: Likewise.
17911 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17913         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17915 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17917         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17918         * rt/aio.h: Likewise.
17919         * sysdeps/gnu/bits/utmp.h: Likewise.
17920         * sysdeps/gnu/bits/utmpx.h: Likewise.
17921         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17922         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17923         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17924         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17925         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17926         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17927         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17928         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17929         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17930         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17931         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17932         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17933         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17935         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17936         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17937         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17938         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17939         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17940         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17941         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17942         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17943         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17944         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17945         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17946         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17947         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17948         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17949         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17950         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17951         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17952         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17953         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17954         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17955         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17956         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17957         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17958         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17959         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17960         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17961         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17962         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17964 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17966         [BZ #16245]
17967         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17968         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17970 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17972         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17973         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17974         Likewise.
17976 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17978         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
17979         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
17980         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
17981         (__fesetround): Remove define.
17982         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
17983         rounding and exceptions handling.
17984         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
17985         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
17986         (__fe_nomask_env): Likewise.
17987         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
17988         __fegetround instead of fegetround.
17989         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17990         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17992 2013-11-21  Roland McGrath  <roland@hack.frob.com>
17994         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
17995         it's there.
17997         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
17999 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18001         [BZ #11157]
18002         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18003         (encrypt_r): Likewise.
18004         * malloc/obstack.h (obstack_free): Likewise.
18005         * posix/unistd.h (encrypt): Likewise.
18007 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18009         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18010         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18011         DL_CALL_DT_FINI() that call the functions directly.
18012         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18013         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18014         * elf/dl-fini.c: Likewise.
18016 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18018         * malloc/hooks.c (memalign_check): Add alignment rounding.
18019         * malloc/malloc.c (_mid_memalign): New function.
18020         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18021         Implement by calling _mid_memalign.
18022         * manual/probes.texi (Memory Allocation Probes): Remove
18023         memory_valloc_retry and memory_pvalloc_retry.
18025 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18027         * locale/programs/locarchive.c (open_archive): Add const
18028         qualifier to ARCHIVEFNAME and copy default fname to
18029         DEFAULT_FNAME.
18031         [BZ #15601]
18032         * libio/tst-widetext.input: Rename Oriya to Odia.
18033         * locale/iso-639.def: Likewise.
18035         * manual/probes.texi (Mathematical Function Probes): Add
18036         documentation for sin, cos, asin and acos probes.
18037         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18038         (__sin32): Add slowasin probe.
18039         (__cos32): Add slowacos probe.
18040         (__mpsin): Add slowsin probe.
18041         (__mpcos): Add slowcos probe.
18043 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18045         [BZ #15483]
18046         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18047         thread-local __sim_exceptions_thread and global
18048         __sim_exceptions_global.
18049         (__sim_disabled_exceptions): Change to thread-local
18050         __sim_disabled_exceptions_thread and global
18051         __sim_disabled_exceptions_global.
18052         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18053         and global __sim_round_mode_global.
18054         (__simulate_exceptions): Use thread-local floating-point state and
18055         set global state from it as needed.
18056         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18057         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18058         __sim_round_mode_thread.
18059         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18060         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18061         and global __sim_exceptions_global.
18062         (__sim_disabled_exceptions): Change to thread-local
18063         __sim_disabled_exceptions_thread and global
18064         __sim_disabled_exceptions_global.
18065         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18066         and global __sim_round_mode_global.
18067         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18068         (SIM_SET_GLOBAL): Likewise.
18069         * sysdeps/powerpc/soft-fp/sfp-machine.h
18070         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18071         __sim_round_mode_thread.
18072         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18073         __sim_disabled_exceptions_thread.
18074         (__sim_exceptions): Change to __sim_exceptions_thread.
18075         (__sim_disabled_exceptions): Change to
18076         __sim_disabled_exceptions_thread.
18077         (__sim_round_mode): Change to __sim_round_mode_thread.
18078         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18079         thread-local floating-point state and set global state from it as
18080         needed.
18081         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18082         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18083         (__sim_disabled_exceptions): Remove extern declaration.
18084         (feenableexcept): Use thread-local floating-point state and set
18085         global state from it as needed.
18086         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18087         extern declaration.
18088         (__sim_disabled_exceptions): Likewise.
18089         (__sim_round_mode): Likewise.
18090         (__fegetenv): Use thread-local floating-point state.
18091         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18092         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18093         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18094         floating-point state and set global state from it as needed.
18095         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18096         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18097         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18098         Likewise.
18099         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18100         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18101         Likewise.
18102         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18103         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18104         Use __sim_round_mode_thread.
18105         * math/test-fenv-tls.c: New file.
18106         * math/Makefile (tests): Add test-fenv-tls.
18107         ($(objpfx)test-fenv-tls): Depend on
18108         $(common-objpfx)nptl/libpthread.so.
18110 2013-11-19  Andreas Schwab  <schwab@suse.de>
18112         * locale/programs/locale.c (show_info): Decode wordarray elements.
18113         * locale/categories.def (LC_MONETARY): Add element for
18114         _NL_MONETARY_CRNCYSTR.
18115         * locale/C-monetary.c (conversion_rate): New variable.
18116         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18117         element.
18119 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18121         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18122         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18124 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18126         * elf/Makefile (tst-auxv): New test.
18127         * elf/tst-auxv.c: New
18128         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18130 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18132         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18133         (hidden_proto): Caller changed.
18134         (hidden_tls_proto): New macro.
18135         (libc_hidden_tls_proto): Likewise.
18136         (rtld_hidden_tls_proto): Likewise.
18137         (libm_hidden_tls_proto): Likewise.
18138         (libresolv_hidden_tls_proto): Likewise.
18139         (librt_hidden_tls_proto): Likewise.
18140         (libdl_hidden_tls_proto): Likewise.
18141         (libnss_files_hidden_tls_proto): Likewise.
18142         (libnsl_hidden_tls_proto): Likewise.
18143         (libnss_nisplus_hidden_tls_proto): Likewise.
18144         (libutil_hidden_tls_proto): Likewise.
18146 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18148         [BZ #10253]
18149         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18150         (decompose_rpath): Defer expansion to fillin_rpath.
18151         (_dl_init_paths): Pass linkmap to fillin_rpath.
18153 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18155         * benchtests/Makefile: Add strsep.
18156         * benchtests/bench-strsep.c: New file: strsep benchtest.
18157         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18159 2013-11-18  Andreas Schwab  <schwab@suse.de>
18161         * locale/programs/locale.c (show_info) [case byte]: Check for
18162         '\377' instead of '\177'.
18163         * locale/C-monetary.c (not_available): Always use "\377".
18164         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18165         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18166         detect unavailable sign_posn locale elements.
18167         * locale/localeconv.c (__localeconv): For grouping and
18168         mon_grouping handle "\177" and "\377" like no grouping.
18169         (INT_ELEM): New macro.  Use it to set all numeric members.
18170         * locale/programs/ld-monetary.c (monetary_read)
18171         <tok_mon_grouping>: Normalize single -1 to the empty string.
18172         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18173         Likewise.
18175 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18177         [BZ #16055]
18178         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18179         when we match (nil).
18180         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18182 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18184         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18185         (NO_TEST_INLINE): Update value.
18186         (ERRNO_UNCHANGED): Likewise.
18187         (ERRNO_EDOM): Likewise.
18188         (ERRNO_ERANGE): Likewise.
18189         (IGNORE_RESULT): Likewise.
18190         (check_float_internal): Check signs of NaN results if
18191         TEST_NAN_SIGN used.
18192         (check_complex): Pass TEST_NAN_SIGN flag through to second
18193         check_float_internal call.
18194         (copysign_test_data): Add tests with quiet NaNs as second
18195         argument.  Use TEST_NAN_SIGN.
18196         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18197         TEST_NAN_SIGN.
18198         (signbit_test_data): Add tests of quiet NaN argument.
18199         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18201         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18202         $ignore_result.
18203         (parse_args): Handle function results specified as IGNORE.
18204         * math/libm-test.inc (IGNORE_RESULT): New macro.
18205         (check_float_internal): Do not check numerical result if flag
18206         IGNORE_RESULT set.
18207         (check_complex): Pass through IGNORE_RESULT to second
18208         check_float_internal call.
18209         (check_int): Do not check numerical result if flag IGNORE_RESULT
18210         set.
18211         (check_long): Likewise.
18212         (check_bool): Likewise.
18213         (check_longlong): Likewise.
18214         (lrint_test_data): Add tests of infinite and NaN arguments.
18215         (lrint_tonearest_test_data): Likewise.
18216         (lrint_towardzero_test_data): Likewise.
18217         (lrint_downward_test_data): Likewise.
18218         (lrint_upward_test_data): Likewise.
18219         (llrint_test_data): Likewise.
18220         (llrint_tonearest_test_data): Likewise.
18221         (llrint_towardzero_test_data): Likewise.
18222         (llrint_downward_test_data): Likewise.
18223         (llrint_upward_test_data): Likewise.
18224         (lround_test_data): Likewise.
18225         (llround_test_data): Likewise.
18227         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18228         (ERRNO_UNCHANGED): Update value.
18229         (ERRNO_EDOM): Likewise.
18230         (ERRNO_ERANGE): Likewise.
18231         (NO_TEST_INLINE_FLOAT): New macro.
18232         (NO_TEST_INLINE_DOUBLE): Likewise.
18233         (enable_test): New function.
18234         (RUN_TEST_f_f): Check enable_test before running test.
18235         (RUN_TEST_2_f): Likewise.
18236         (RUN_TEST_fff_f): Likewise.
18237         (RUN_TEST_c_f): Likewise.
18238         (RUN_TEST_f_f1): Likewise.
18239         (RUN_TEST_fF_f1): Likewise.
18240         (RUN_TEST_fI_f1): Likewise.
18241         (RUN_TEST_ffI_f1): Likewise.
18242         (RUN_TEST_c_c): Likewise.
18243         (RUN_TEST_cc_c): Likewise.
18244         (RUN_TEST_f_i): Likewise.
18245         (RUN_TEST_f_i_tg): Likewise.
18246         (RUN_TEST_ff_i_tg): Likewise.
18247         (RUN_TEST_f_b): Likewise.
18248         (RUN_TEST_f_b_tg): Likewise.
18249         (RUN_TEST_f_l): Likewise.
18250         (RUN_TEST_f_L): Likewise.
18251         (RUN_TEST_fFF_11): Likewise.
18252         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18253         conditionals.
18254         (cosh_test_data): Likewise.
18255         (exp_test_data): Likewise.
18256         (expm1_test_data): Likewise.
18257         (hypot_test_data): Likewise.
18258         (pow_test_data): Likewise.
18259         (sinh_test_data): Likewise.
18260         (tanh_test_data): Likewise.
18261         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18262         flags argument.
18264         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18265         tests with quiet NaN input and output.
18266         (acosh_test_data): Likewise.
18267         (asin_test_data): Likewise.
18268         (asinh_test_data): Likewise.
18269         (atan_test_data): Likewise.
18270         (atanh_test_data): Likewise.
18271         (atan2_test_data): Likewise.
18272         (cbrt_test_data): Likewise.
18273         (cos_test_data): Likewise.
18274         (cosh_test_data): Likewise.
18275         (erf_test_data): Likewise.
18276         (erfc_test_data): Likewise.
18277         (exp_test_data): Likewise.
18278         (exp10_test_data): Likewise.
18279         (exp2_test_data): Likewise.
18280         (expm1_test_data): Likewise.
18281         (hypot_test_data): Likewise.
18282         (j0_test_data): Likewise.
18283         (j1_test_data): Likewise.
18284         (jn_test_data): Likewise.
18285         (lgamma_test_data): Likewise.
18286         (log_test_data): Likewise.
18287         (log10_test_data): Likewise.
18288         (log1p_test_data): Likewise.
18289         (log2_test_data): Likewise.
18290         (pow_test_data): Likewise.
18291         (scalb_test_data): Likewise.
18292         (sin_test_data): Likewise.
18293         (sincos_test_data): Likewise.
18294         (sinh_test_data): Likewise.
18295         (tan_test_data): Likewise.
18296         (tanh_test_data): Likewise.
18297         (tgamma_test_data): Likewise.
18298         (y0_test_data): Likewise.
18299         (y1_test_data): Likewise.
18300         (yn_test_data): Likewise.
18302         [BZ #16167]
18303         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18304         argument being NaN and avoid computations with second argument in
18305         that case.
18306         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18307         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18308         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18310 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18312         * locale/iso-639.def: Add Chitwani Tharu (the).
18314 2013-11-14  Andreas Schwab  <schwab@suse.de>
18316         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18317         word instead of empty string.
18319 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18322         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18324         (__fe_nomask_env): Likewise.
18326 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18328         * benchtests/bench-timing.h: Include time.h.
18330 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18332         [BZ #15997]
18333         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18334         to 3.4.0 for x32.
18335         * sysdeps/unix/sysv/linux/configure: Regenerated.
18337 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18339         [BZ #16151]
18340         * stdlib/strtod_l.c (round_and_return): Do not consider
18341         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18342         exponent one less than half the least subnormal exponent.
18343         * stdlib/test-strtod-round-data: Add more tests.
18344         * stdlib/tst-strtod-round.c (tests): Regenerated.
18346 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18348         [BZ #14143]
18349         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18350         (__fe_mask_env): Likewise.
18351         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18352         libm_hidden_proto and add function prototype.
18353         (__fe_mask_env): Add function prototype.
18354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18355         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18356         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18357         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18359         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18361 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18363         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18364         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18366 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18368         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18369         of htab_find_slot().
18371 2013-11-11  David S. Miller  <davem@davemloft.net>
18373         [BZ #16150]
18374         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18375         symbol in the non-vis3 case in static builds.
18376         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18377         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18378         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18379         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18381 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
18383         [BZ #387]
18384         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18385         it is empty.
18387 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18389         * benchtests/Makefile: Add bench-strtod.
18390         * benchtests/bench-strtod.c: New file: strtod benchtest
18392 2013-11-11  Andreas Schwab  <schwab@suse.de>
18394         [BZ #16153]
18395         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18396         terminating NUL in key length.
18398 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18400         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18401         Add artificial ODP entry for vDSO symbol for PPC64.
18402         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18403         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18405 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18407         [BZ #15374]
18408         * nss/getent.c (services_keys): Recognize services starting with digit.
18410 2013-11-06  David S. Miller  <davem@davemloft.net>
18412         [BZ #15985]
18413         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18414         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18416 2013-11-06  Will Newton  <will.newton@linaro.org>
18418         * manual/memory.texi (Malloc Examples): Remove register
18419         keyword from examples.
18421 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
18423         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18425 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
18427         [BZ #6981]
18428         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18429         depending on [__GCC_IEC_559 > 0].
18430         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18431         depending on [__GCC_IEC_559_COMPLEX > 0].
18433 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
18435         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18436         to iso-639.def.
18438 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
18440         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18442 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
18444         [BZ #16112]
18445         * malloc/malloc (malloc_info): Do not handle first bin as
18446         special case.
18448 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
18450         * locale/iso-639.def: Add Central Nahuatl (nhn).
18452 2013-11-01  Bruno Haible  <bruno@clisp.org>
18454         [BZ #7003]
18455         * manual/math.texi (BSD Random): Specify range upper bound as
18456         in POSIX.
18458 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
18460         * locale/iso-639.def: Add Meadow Mari (mhr).
18462 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
18464         [BZ #14752], [BZ #15763]
18465         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18466         Validate name.
18467         * rt/tst_shm.c: Add test for escaping directory.
18469 2013-10-31  Andreas Schwab  <schwab@suse.de>
18471         [BZ #15917]
18472         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18473         followed by 'x' as part of digit sequence.
18474         * stdio-common/tst-sscanf.c (double_tests2): New tests.
18476 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18478         [BZ #16037]
18479         * configure.ac: allow GNU Make 4.0 and greater.
18480         * configure: Regenerated.
18482 2013-10-30  Will Newton  <will.newton@linaro.org>
18484         [BZ #16038]
18485         * malloc/hooks.c (memalign_check): Limit alignment to the
18486         maximum representable power of two.
18487         * malloc/malloc.c (__libc_memalign): Likewise.
18488         * malloc/tst-memalign.c (do_test): Add test for very
18489         large alignment values.
18490         * malloc/tst-posix_memalign.c (do_test): Likewise.
18492 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18494         [BZ #11087]
18495         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18496         (munmap_chunk): Likewise.
18497         (mremap_chunk): Likewise.
18499 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18501         [BZ #15799]
18502         * stdlib/div.c (div): Remove obsolete code.
18503         * stdlib/ldiv.c (ldiv): Likewise.
18504         * stdlib/lldiv.c (lldiv): Likewise.
18506 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18508         [BZ #16071]
18509         * nss/nss_files/files-XXX.c (get_contents_ret): New
18510         enumerator.
18511         (get_contents): New function.
18512         (internal_getent): Use it.  Expand size of LINEBUFLEN.
18514 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
18516         * configure.in: Moved to ...
18517         * configure.ac: ... here. Change reference to configure.in
18518         to configure.ac.
18519         * sysdeps/arm/preconfigure.ac: ... here.
18520         configure.in to configure.ac.
18521         * sysdeps/gnu/configure.in: Moved to ...
18522         * sysdeps/gnu/configure.ac: ... here.
18523         * sysdeps/i386/configure.in: Moved to ...
18524         * sysdeps/i386/configure.ac: ... here.
18525         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18526         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18527         * sysdeps/mach/configure.in: Moved to ...
18528         * sysdeps/mach/configure.ac: ... here.
18529         * sysdeps/mach/hurd/configure.in: Moved to ...
18530         * sysdeps/mach/hurd/configure.ac: ... here.
18531         * sysdeps/powerpc/configure.in: Moved to ...
18532         * sysdeps/powerpc/configure.ac: ... here.
18533         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18534         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18535         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18536         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18537         * sysdeps/s390/s390-32/configure.in: Moved to ...
18538         * sysdeps/s390/s390-32/configure.ac: ... here.
18539         * sysdeps/s390/s390-64/configure.in: Moved to ...
18540         * sysdeps/s390/s390-64/configure.ac: ... here.
18541         * sysdeps/sh/configure.in: Moved to ...
18542         * sysdeps/sh/configure.ac: ... here.
18543         * sysdeps/sparc/configure.in: Moved to ...
18544         * sysdeps/sparc/configure.ac: ... here.
18545         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18546         * sysdeps/unix/sysv/linux/configure.ac: ... here.
18547         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18548         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18549         * sysdeps/x86_64/configure.in: Moved to ...
18550         * sysdeps/x86_64/configure.ac: ... here.
18551         * sysdeps/x86_64/preconfigure.in: Moved to ...
18552         * sysdeps/x86_64/preconfigure.ac: ... here.
18553         * aclocal.m4: Change reference to configure.in to configure.ac.
18554         * config.h.in: Likewise.
18555         * manual/install.texi: Likewise.
18556         * manual/maint.texi: Likewise.
18557         * Makefile: Likewise.
18558         * malloc/Makefile: Likewise.
18559         * nscd/Makefile: Likewise.
18560         * Makeconfig: Change reference to configure.in and
18561         preconfigure.in to configure.ac and preconfigure.ac
18562         respectively.
18563         * INSTALL: Regenerated.
18564         * configure: Likewise.
18565         * sysdeps/gnu/configure: Likewise.
18566         * sysdeps/i386/configure: Likewise.
18567         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18568         * sysdeps/mach/configure: Likewise.
18569         * sysdeps/mach/hurd/configure: Likewise.
18570         * sysdeps/powerpc/configure: Likewise.
18571         * sysdeps/powerpc/powerpc32/configure: Likewise.
18572         * sysdeps/powerpc/powerpc64/configure: Likewise.
18573         * sysdeps/s390/s390-32/configure: Likewise.
18574         * sysdeps/s390/s390-64/configure: Likewise.
18575         * sysdeps/sh/configure: Likewise.
18576         * sysdeps/sparc/configure: Likewise.
18577         * sysdeps/unix/sysv/linux/configure: Likewise.
18578         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18579         * sysdeps/x86_64/configure: Likewise.
18580         * sysdeps/x86_64/preconfigure: Likewise.
18582 2013-10-29  Andreas Schwab  <schwab@suse.de>
18584         * stdio-common/Makefile (tst-swscanf-ENV): Define.
18586 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18588         * benchtests/pow-inputs: Add new inputs.
18590         * benchtests/exp-inputs: Add new inputs.
18592         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18593         conditional check for return value.
18594         (__cos32): Likewise.
18596 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18598         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18599         to provide a boost for large inputs with word alignment.
18600         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18601         implementation based on optimized PPC64 strcpy.
18602         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18603         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18604         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18605         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18607 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18609         [BZ #2801]
18610         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18612 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18614         [BZ #14876]
18615         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18616         * time/tst-strptime.c (day_tests): Add testcase.
18618 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18620         [BZ #14029]
18621         * manual/pattern.texi: Acknowledge that fnmatch can fail.
18623 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
18625         [BZ #16074]
18626         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18627         MAP_FAILED on error.
18629 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18631         [BZ #16072]
18632         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18633         heap for large requests.
18635 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
18637         [BZ #9954]
18638         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18639         result if the result has no associated interface.
18640         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18641         interface for all 127.X.Y.Z addresses.
18643 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
18645         * locale/iso-639.def: Add Ligurian (lij)
18647 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
18649         [BZ #15825]
18650         * sunrpc/rpc_main.c: Document rpcgen -5.
18652 2013-10-19  Michael Stahl  <mstahl@redhat.com>
18654         * elf/rtld.c (do_preload): Print the reason why preloading failed.
18656 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18658         [BZ #10278]
18659         * posix/glob.c: Match only directories when trailing slash is present.
18660         * posix/tst-gnuglob.c (my_opendir): Do not open files.
18661         (main): Add testcase.
18663 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18665         [BZ #15670]
18666         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18668 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18670         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18671         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18672         AUTH_DES and cindex for FIPS 140-2.
18673         (DES Encryption): Add cindex FIPS 46-3.
18675         * locale/locarchive.h (struct locarhandle): Add fname.
18676         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18677         if an optional argument was specified to --list-archive,
18678         otherwise NULL.
18679         * locale/programs/locarchive.c (show_archive_content): Take new
18680         argument fname and pass it via ah.fname to open_archive.
18681         * locale/programs/localedef.h: Update decl.
18682         (open_archive): If AH->fname is non-null, open that file
18683         rather than the default file name, and don't ignore ENOENT.
18684         (create_archive): Set AH.fname to NULL.
18685         (delete_locales_from_archive): Likewise.
18686         (add_locales_to_archive): Likewise.
18687         * locale/programs/locfile.c (write_all_categories): Likewise.
18689 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18690             Aldy Hernandez  <aldyh@redhat.com>
18692         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18693         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18694         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18695         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18696         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18697         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18698         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18699         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18700         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18701         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18702         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18703         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18704         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18705         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18706         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18707         Likewise.
18708         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18709         Likewise.
18710         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18711         Likewise.
18712         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18713         Likewise.
18714         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18715         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18716         Likewise.
18717         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18718         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18719         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18720         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18721         Likewise.
18722         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18723         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18724         * sysdeps/powerpc/preconfigure: Likewise.
18725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18726         Likewise.
18727         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18728         Replace contents of file by #include of <fenv_libc.h>.
18729         * sysdeps/powerpc/soft-fp/sfp-machine.h
18730         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18731         and <sys/prctl.h>.
18732         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18733         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18734         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18735         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18736         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18737         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18738         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18739         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18740         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18741         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18742         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18743         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18745         Allow copysignl PLT reference to be missing.
18747 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18748             Joseph Myers  <joseph@codesourcery.com
18750         [BZ #15948]
18751         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18752         single character.
18753         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18755 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18757         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18758         * elf/tst-tls1.c: Likewise.
18759         * elf/tst-tls10.h: Likewise.
18760         * elf/tst-tls14.c: Likewise.
18761         * elf/tst-tls2.c: Likewise.
18762         * elf/tst-tls3.c: Likewise.
18763         * elf/tst-tls4.c: Likewise.
18764         * elf/tst-tls5.c: Likewise.
18765         * elf/tst-tls6.c: Likewise.
18766         * elf/tst-tls7.c: Likewise.
18767         * elf/tst-tls8.c: Likewise.
18768         * elf/tst-tls9.c: Likewise.
18769         * elf/tst-tlsmod1.c: Likewise.
18770         * elf/tst-tlsmod13.c: Likewise.
18771         * elf/tst-tlsmod13a.c: Likewise.
18772         * elf/tst-tlsmod14a.c: Likewise.
18773         * elf/tst-tlsmod16a.c: Likewise.
18774         * elf/tst-tlsmod16b.c: Likewise.
18775         * elf/tst-tlsmod2.c: Likewise.
18776         * elf/tst-tlsmod3.c: Likewise.
18777         * elf/tst-tlsmod4.c: Likewise.
18778         * elf/tst-tlsmod5.c: Likewise.
18779         * elf/tst-tlsmod6.c: Likewise.
18781 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18783         [BZ #12486]
18784         * malloc/malloc.c: remove checks for statistics.
18786 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18788         [BZ #15277]
18789         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18790         * inet/tst-network.c: Add testcase.
18792 2013-10-17  Andreas Schwab  <schwab@suse.de>
18794         [BZ #15218]
18795         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18796         to determine canonical name.
18798 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18800         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18801         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18802         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18803         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18805         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18806         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18807         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18808         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18809         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18810         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18811         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18812         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18813         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18814         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18815         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18816         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18817         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18818         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18819         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18820         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18821         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18822         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18823         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18824         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18825         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18826         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18827         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18828         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18829         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18830         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18831         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18832         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18833         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18834         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18835         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18836         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18837         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18838         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18839         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18840         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18841         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18842         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18843         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18844         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18845         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18846         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18847         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18848         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18849         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18850         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18851         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18852         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18853         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18854         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18855         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18856         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18857         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18859 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18861         [BZ #16041]
18862         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18863         make result into a quiet NaN.
18865 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18867         * soft-fp/adddf3.c: Fix horizontal whitespace.
18868         * soft-fp/addsf3.c: Likewise.
18869         * soft-fp/addtf3.c: Likewise.
18870         * soft-fp/divdf3.c: Likewise.
18871         * soft-fp/divsf3.c: Likewise.
18872         * soft-fp/divtf3.c: Likewise.
18873         * soft-fp/double.h: Likewise.
18874         * soft-fp/eqdf2.c: Likewise.
18875         * soft-fp/eqsf2.c: Likewise.
18876         * soft-fp/eqtf2.c: Likewise.
18877         * soft-fp/extenddftf2.c: Likewise.
18878         * soft-fp/extended.h: Likewise.
18879         * soft-fp/extendsfdf2.c: Likewise.
18880         * soft-fp/extendsftf2.c: Likewise.
18881         * soft-fp/extendxftf2.c: Likewise.
18882         * soft-fp/fixdfdi.c: Likewise.
18883         * soft-fp/fixdfsi.c: Likewise.
18884         * soft-fp/fixdfti.c: Likewise.
18885         * soft-fp/fixsfdi.c: Likewise.
18886         * soft-fp/fixsfsi.c: Likewise.
18887         * soft-fp/fixsfti.c: Likewise.
18888         * soft-fp/fixtfdi.c: Likewise.
18889         * soft-fp/fixtfsi.c: Likewise.
18890         * soft-fp/fixtfti.c: Likewise.
18891         * soft-fp/fixunsdfdi.c: Likewise.
18892         * soft-fp/fixunsdfsi.c: Likewise.
18893         * soft-fp/fixunsdfti.c: Likewise.
18894         * soft-fp/fixunssfdi.c: Likewise.
18895         * soft-fp/fixunssfsi.c: Likewise.
18896         * soft-fp/fixunssfti.c: Likewise.
18897         * soft-fp/fixunstfdi.c: Likewise.
18898         * soft-fp/fixunstfsi.c: Likewise.
18899         * soft-fp/fixunstfti.c: Likewise.
18900         * soft-fp/floatdidf.c: Likewise.
18901         * soft-fp/floatdisf.c: Likewise.
18902         * soft-fp/floatditf.c: Likewise.
18903         * soft-fp/floatsidf.c: Likewise.
18904         * soft-fp/floatsisf.c: Likewise.
18905         * soft-fp/floatsitf.c: Likewise.
18906         * soft-fp/floattidf.c: Likewise.
18907         * soft-fp/floattisf.c: Likewise.
18908         * soft-fp/floattitf.c: Likewise.
18909         * soft-fp/floatundidf.c: Likewise.
18910         * soft-fp/floatundisf.c: Likewise.
18911         * soft-fp/floatunditf.c: Likewise.
18912         * soft-fp/floatunsidf.c: Likewise.
18913         * soft-fp/floatunsisf.c: Likewise.
18914         * soft-fp/floatunsitf.c: Likewise.
18915         * soft-fp/floatuntidf.c: Likewise.
18916         * soft-fp/floatuntisf.c: Likewise.
18917         * soft-fp/floatuntitf.c: Likewise.
18918         * soft-fp/fmadf4.c: Likewise.
18919         * soft-fp/fmasf4.c: Likewise.
18920         * soft-fp/fmatf4.c: Likewise.
18921         * soft-fp/gedf2.c: Likewise.
18922         * soft-fp/gesf2.c: Likewise.
18923         * soft-fp/getf2.c: Likewise.
18924         * soft-fp/ledf2.c: Likewise.
18925         * soft-fp/lesf2.c: Likewise.
18926         * soft-fp/letf2.c: Likewise.
18927         * soft-fp/muldf3.c: Likewise.
18928         * soft-fp/mulsf3.c: Likewise.
18929         * soft-fp/multf3.c: Likewise.
18930         * soft-fp/negdf2.c: Likewise.
18931         * soft-fp/negsf2.c: Likewise.
18932         * soft-fp/negtf2.c: Likewise.
18933         * soft-fp/op-1.h: Likewise.
18934         * soft-fp/op-2.h: Likewise.
18935         * soft-fp/op-4.h: Likewise.
18936         * soft-fp/op-8.h: Likewise.
18937         * soft-fp/op-common.h: Likewise.
18938         * soft-fp/quad.h: Likewise.
18939         * soft-fp/single.h: Likewise.
18940         * soft-fp/soft-fp.h: Likewise.
18941         * soft-fp/sqrtdf2.c: Likewise.
18942         * soft-fp/sqrtsf2.c: Likewise.
18943         * soft-fp/sqrttf2.c: Likewise.
18944         * soft-fp/subdf3.c: Likewise.
18945         * soft-fp/subsf3.c: Likewise.
18946         * soft-fp/subtf3.c: Likewise.
18947         * soft-fp/truncdfsf2.c: Likewise.
18948         * soft-fp/trunctfdf2.c: Likewise.
18949         * soft-fp/trunctfsf2.c: Likewise.
18950         * soft-fp/trunctfxf2.c: Likewise.
18951         * soft-fp/unorddf2.c: Likewise.
18952         * soft-fp/unordsf2.c: Likewise.
18953         * soft-fp/unordtf2.c: Likewise.
18955 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18957         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18958         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18960 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18962         * elf/dl-libc.c: Clear initfini list after freeing.
18964 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18966         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18967         * soft-fp/addsf3.c: Likewise.
18968         * soft-fp/addtf3.c: Likewise.
18969         * soft-fp/divdf3.c: Likewise.
18970         * soft-fp/divsf3.c: Likewise.
18971         * soft-fp/divtf3.c: Likewise.
18972         * soft-fp/double.h: Likewise.
18973         * soft-fp/eqdf2.c: Likewise.
18974         * soft-fp/eqsf2.c: Likewise.
18975         * soft-fp/eqtf2.c: Likewise.
18976         * soft-fp/extenddftf2.c: Likewise.
18977         * soft-fp/extended.h: Likewise.
18978         * soft-fp/extendsfdf2.c: Likewise.
18979         * soft-fp/extendsftf2.c: Likewise.
18980         * soft-fp/extendxftf2.c: Likewise.
18981         * soft-fp/fixdfdi.c: Likewise.
18982         * soft-fp/fixdfsi.c: Likewise.
18983         * soft-fp/fixdfti.c: Likewise.
18984         * soft-fp/fixsfdi.c: Likewise.
18985         * soft-fp/fixsfsi.c: Likewise.
18986         * soft-fp/fixsfti.c: Likewise.
18987         * soft-fp/fixtfdi.c: Likewise.
18988         * soft-fp/fixtfsi.c: Likewise.
18989         * soft-fp/fixtfti.c: Likewise.
18990         * soft-fp/fixunsdfdi.c: Likewise.
18991         * soft-fp/fixunsdfsi.c: Likewise.
18992         * soft-fp/fixunsdfti.c: Likewise.
18993         * soft-fp/fixunssfdi.c: Likewise.
18994         * soft-fp/fixunssfsi.c: Likewise.
18995         * soft-fp/fixunssfti.c: Likewise.
18996         * soft-fp/fixunstfdi.c: Likewise.
18997         * soft-fp/fixunstfsi.c: Likewise.
18998         * soft-fp/fixunstfti.c: Likewise.
18999         * soft-fp/floatdidf.c: Likewise.
19000         * soft-fp/floatdisf.c: Likewise.
19001         * soft-fp/floatditf.c: Likewise.
19002         * soft-fp/floatsidf.c: Likewise.
19003         * soft-fp/floatsisf.c: Likewise.
19004         * soft-fp/floatsitf.c: Likewise.
19005         * soft-fp/floattidf.c: Likewise.
19006         * soft-fp/floattisf.c: Likewise.
19007         * soft-fp/floattitf.c: Likewise.
19008         * soft-fp/floatundidf.c: Likewise.
19009         * soft-fp/floatundisf.c: Likewise.
19010         * soft-fp/floatunsidf.c: Likewise.
19011         * soft-fp/floatunsisf.c: Likewise.
19012         * soft-fp/floatuntidf.c: Likewise.
19013         * soft-fp/floatuntisf.c: Likewise.
19014         * soft-fp/floatuntitf.c: Likewise.
19015         * soft-fp/fmadf4.c: Likewise.
19016         * soft-fp/fmasf4.c: Likewise.
19017         * soft-fp/fmatf4.c: Likewise.
19018         * soft-fp/gedf2.c: Likewise.
19019         * soft-fp/gesf2.c: Likewise.
19020         * soft-fp/getf2.c: Likewise.
19021         * soft-fp/ledf2.c: Likewise.
19022         * soft-fp/lesf2.c: Likewise.
19023         * soft-fp/letf2.c: Likewise.
19024         * soft-fp/muldf3.c: Likewise.
19025         * soft-fp/mulsf3.c: Likewise.
19026         * soft-fp/multf3.c: Likewise.
19027         * soft-fp/negdf2.c: Likewise.
19028         * soft-fp/negsf2.c: Likewise.
19029         * soft-fp/negtf2.c: Likewise.
19030         * soft-fp/op-1.h: Likewise.
19031         * soft-fp/op-2.h: Likewise.
19032         * soft-fp/op-4.h: Likewise.
19033         * soft-fp/op-8.h: Likewise.
19034         * soft-fp/op-common.h: Likewise.
19035         * soft-fp/quad.h: Likewise.
19036         * soft-fp/single.h: Likewise.
19037         * soft-fp/soft-fp.h: Likewise.
19038         * soft-fp/sqrtdf2.c: Likewise.
19039         * soft-fp/sqrtsf2.c: Likewise.
19040         * soft-fp/sqrttf2.c: Likewise.
19041         * soft-fp/subdf3.c: Likewise.
19042         * soft-fp/subsf3.c: Likewise.
19043         * soft-fp/subtf3.c: Likewise.
19044         * soft-fp/truncdfsf2.c: Likewise.
19045         * soft-fp/trunctfdf2.c: Likewise.
19046         * soft-fp/trunctfsf2.c: Likewise.
19047         * soft-fp/trunctfxf2.c: Likewise.
19048         * soft-fp/unorddf2.c: Likewise.
19049         * soft-fp/unordsf2.c: Likewise.
19050         * soft-fp/unordtf2.c: Likewise.
19052 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19054         [BZ #15672]
19055         * misc/error.c (error_tail): Fix possible buffer overflow.
19057 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19059         [BZ #13028]
19060         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19061         address.
19063 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19065         [BZ #832]
19066         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19067         testing pipefail option.
19069 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19071         * soft-fp/double.h: Indent preprocessor directives inside #if.
19072         * soft-fp/extended.h: Likewise.
19073         * soft-fp/op-2.h: Likewise.
19074         * soft-fp/op-4.h: Likewise.
19075         * soft-fp/op-common.h: Likewise.
19076         * soft-fp/quad.h: Likewise.
19077         * soft-fp/single.h: Likewise.
19078         * soft-fp/soft-fp.h: Likewise.
19080 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19082         * iconv/iconv_prog.c: Fix typos.
19083         * stdio-common/psiginfo-data.h: Likewise.
19085 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19087         [BZ #15764]
19088         * locale/setlocale.c: Fix typo.
19090 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19092         [BZ #16036]
19093         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19094         signaling NaN arguments.
19095         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19096         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19098         [BZ #14910]
19099         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19100         unordered operands.
19101         * soft-fp/gesf2.c (__gesf2): Likewise.
19102         * soft-fp/getf2.c (__getf2): Likewise.
19103         * soft-fp/ledf2.c (__ledf2): Likewise.
19104         * soft-fp/lesf2.c (__lesf2): Likewise.
19105         * soft-fp/letf2.c (__letf2): Likewise.
19107         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19108         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19109         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19110         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19111         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19112         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19113         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19114         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19115         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19116         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19117         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19118         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19119         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19120         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19121         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19122         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19123         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19124         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19125         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19126         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19127         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19128         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19129         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19130         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19131         * soft-fp/floattidf.c (__floattidf): Likewise.
19132         * soft-fp/floattisf.c (__floattisf): Likewise.
19133         * soft-fp/floattitf.c (__floattitf): Likewise.
19134         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19135         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19136         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19137         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19138         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19139         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19140         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19141         * soft-fp/gesf2.c (__gesf2): Likewise.
19142         * soft-fp/getf2.c (__getf2): Likewise.
19143         * soft-fp/ledf2.c (__ledf2): Likewise.
19144         * soft-fp/lesf2.c (__lesf2): Likewise.
19145         * soft-fp/letf2.c (__letf2): Likewise.
19147         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19148         Undefine and redefine.
19149         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19150         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19151         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19152         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19153         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19154         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19155         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19156         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19157         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19158         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19159         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19160         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19161         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19162         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19163         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19165         [BZ #16032]
19166         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19167         without decrementing exponent if mantissa >= that for the
19168         denominator, not >.
19169         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19170         denominator, not >.  Decrement exponent in < case instead of
19171         incrementing in >= case.
19172         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19173         without decrementing exponent if mantissa >= that for the
19174         denominator, not >.
19176         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19177         computing saturated result for unsigned overflow.
19179 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19180             Jeff Law  <law@redhat.com>
19182         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19183         (atan2Mp): Add systemtap probe marker.
19184         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19185         (__ieee754_log): Add systemtap probe marker.
19186         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19187         (atanMp): Add systemtap probe marker.
19188         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19189         (tanMp): Add systemtap probe marker.
19190         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19191         (__slowexp): Add systemtap probe marker.
19192         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19193         (__slowpow): Add systemtap probe marker.
19194         * manual/probes.texi: Document probes.
19196 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19198         [BZ #15362]
19199         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19200         written.
19201         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19202         written.
19203         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19204         written to buffer but not flushed.
19205         * libio/iofwrite_u.c:  Likewise.
19206         * libio/iopadn.c:  Return bytes returned even if EOF was
19207         encountered.
19208         * libio/iowpadn.c:  Likewise.
19209         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19210         if _IO_padn does not write the whole buffer.
19211         [!COMPILE_WPRINTF] (PAD): Likewise.
19213 2013-10-10  David S. Miller  <davem@davemloft.net>
19215         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19216         directory block.
19218 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19220         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19221         instead of FSF address.
19222         * soft-fp/fixdfti.c: Likewise.
19223         * soft-fp/fixsfti.c: Likewise.
19224         * soft-fp/fixtfti.c: Likewise.
19225         * soft-fp/fixunsdfti.c: Likewise.
19226         * soft-fp/fixunssfti.c: Likewise.
19227         * soft-fp/fixunstfti.c: Likewise.
19228         * soft-fp/floattidf.c: Likewise.
19229         * soft-fp/floattisf.c: Likewise.
19230         * soft-fp/floattitf.c: Likewise.
19231         * soft-fp/floatuntidf.c: Likewise.
19232         * soft-fp/floatuntisf.c: Likewise.
19233         * soft-fp/floatuntitf.c: Likewise.
19234         * soft-fp/trunctfxf2.c: Likewise.
19236         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19237         * soft-fp/fixdfti.c: Likewise.
19238         * soft-fp/fixsfti.c: Likewise.
19239         * soft-fp/fixtfti.c: Likewise.
19240         * soft-fp/fixunsdfti.c: Likewise.
19241         * soft-fp/fixunssfti.c: Likewise.
19242         * soft-fp/fixunstfti.c: Likewise.
19243         * soft-fp/floattidf.c: Likewise.
19244         * soft-fp/floattisf.c: Likewise.
19245         * soft-fp/floattitf.c: Likewise.
19246         * soft-fp/floatuntidf.c: Likewise.
19247         * soft-fp/floatuntisf.c: Likewise.
19248         * soft-fp/floatuntitf.c: Likewise.
19249         * soft-fp/trunctfxf2.c: Likewise.
19251 2013-10-10  David S. Miller  <davem@davemloft.net>
19253         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19255 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19257         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19258         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19259         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19260         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19261         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19262         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19263         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19265         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19266         for NaNs before doing comparisons on argument.
19267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19268         Likewise.
19270 2013-10-10  Will Newton  <will.newton@linaro.org>
19272         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19273         passed to _int_memalign does not overflow.
19275 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19277         * scripts/bench.pl: Add include-sources directive.
19278         * benchtests/README: Update documentation.
19280 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19282         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19283         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19284         instead of FP_INIT_ROUNDMODE.
19285         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19286         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19288         [BZ #16034]
19289         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19290         copy class of input value.
19291         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19292         not handle exceptions.
19293         * soft-fp/negsf2.c (__negsf2): Likewise.
19294         * soft-fp/negtf2.c (__negtf2): Likewise.
19295         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19297 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19299         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19300         semicolon.  From Linux kernel.
19302 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19304         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19306 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19308         [BZ #156]
19309         * manual/socket.texi: Added statement about buffer
19310         for gethostbyname2_r.
19312 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19314         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19315         Use .p2align directive instead, throughout.
19316         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19317         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19318         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19319         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19320         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19321         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19322         * sysdeps/x86_64/strchr.S: Likewise.
19323         * sysdeps/x86_64/strrchr.S: Likewise.
19325 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19327         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19329         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19331         * sysdeps/generic/math_private.h (__mpsin1): Remove
19332         declaration.
19333         (__mpcos1): Likewise.
19334         (__mpsin): New argument __range_reduce.
19335         (__mpcos): Likewise.
19336         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19337         (slow): Use __mpsin and __mpcos.
19338         (slow1): Likewise.
19339         (slow2): Likewise.
19340         (sloww): Likewise.
19341         (sloww1): Likewise.
19342         (sloww2): Likewise.
19343         (bsloww): Likewise.
19344         (bsloww1): Likewise.
19345         (bsloww2): Likewise.
19346         (cslow2): Likewise.
19347         (csloww): Likewise.
19348         (csloww1): Likewise.
19349         (csloww2): Likewise.
19350         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19351         range_reduce.  Merge in __mpsin1.
19352         (__mpcos): Likewise.
19353         (__mpsin1): Remove.
19354         (__mpcos1): Likewise.
19356 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19358         * locale/loadlocale.c (_nl_intern_locale_data): Use
19359         LOCFILE_ALIGNED_P.
19360         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19361         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19362         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19363         obstack data is appropriately aligned.
19364         (obstack_int32_grow_fast): Likewise.
19365         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19366         * locale/programs/locfile.c (add_locale_uint32): Likewise.
19367         (add_locale_uint32_array): Likewise.
19369 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19371         * benchtests/Makefile: Remove ARGLIST and RET variables.
19372         ($(objpfx)bench-%.c): Pass only function name to the script.
19373         * benchtests/README: Update documentation.
19374         * benchtests/acos-inputs: Add new directives.
19375         * benchtests/acosh-inputs: Likewise.
19376         * benchtests/asin-inputs: Likewise.
19377         * benchtests/asinh-inputs: Likewise.
19378         * benchtests/atan-inputs: Likewise.
19379         * benchtests/atanh-inputs: Likewise.
19380         * benchtests/cos-inputs: Likewise.
19381         * benchtests/cosh-inputs: Likewise.
19382         * benchtests/exp-inputs: Likewise.
19383         * benchtests/log-inputs: Likewise.
19384         * benchtests/pow-inputs: Likewise.
19385         * benchtests/rint-inputs: Likewise.
19386         * benchtests/sin-inputs: Likewise.
19387         * benchtests/sinh-inputs: Likewise.
19388         * benchtests/tan-inputs: Likewise.
19389         * benchtests/tanh-inputs: Likewise.
19390         * scripts/bench.pl: Add support for new directives.
19392 2013-10-07  Alan Modra  <amodra@gmail.com>
19394         * README: Fix careless merge.
19396 2013-10-05  Alan Modra  <amodra@gmail.com>
19398         * NEWS: Mention powerpc64le support and bugs fixed.
19399         * README: Both big-endian and little-endian powerpc64 supported.
19401 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19403         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19404         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19405         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19406         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19408 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
19410         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19411         match prototype.
19413 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
19415         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19416         Move -mhard-float appending from
19417         ports/sysdeps/powerpc/powerpc32/Makefile.
19418         [$(with-fp) = yes] (ASFLAGS): Likewise.
19419         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19420         * sysdeps/powerpc/nofpu: Move directory from
19421         ports/sysdeps/powerpc/nofpu.
19422         * sysdeps/powerpc/soft-fp: Move directory from
19423         ports/sysdeps/powerpc/soft-fp.
19424         * sysdeps/powerpc/powerpc32/405: Move directory from
19425         ports/sysdeps/powerpc/powerpc32/405.
19426         * sysdeps/powerpc/powerpc32/440: Move directory from
19427         ports/sysdeps/powerpc/powerpc32/440.
19428         * sysdeps/powerpc/powerpc32/464: Move directory from
19429         ports/sysdeps/powerpc/powerpc32/464.
19430         * sysdeps/powerpc/powerpc32/476: Move directory from
19431         ports/sysdeps/powerpc/powerpc32/476.
19432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19433         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19434         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19435         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19436         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19437         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19438         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19439         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19441         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19442         * README: Update for powerpc-*-linux-gnu software floating point
19443         support in libc.
19445         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19446         case to powerpc/powerpc32*.
19447         * sysdeps/unix/sysv/linux/configure: Regenerated.
19449         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19450         (_FPU_MASK_OM): Define as 0x04.
19451         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19452         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19453         0x00c10080.
19454         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19455         0x0000003c.
19456         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19459         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19460         getcontext_e500.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19462         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19463         setcontext_e500.
19464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19465         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19466         and setcontext_e500.
19468 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
19470         * locale/iso-3166.def: Update iso-1366.def and related occurrences
19472 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19474         * manual/threads.texi (Default Thread Attributes): Fix typo.
19476 2013-10-04  Will Newton  <will.newton@linaro.org>
19478         * malloc/Makefile: Add tst-memalign.
19479         * malloc/tst-memalign.c: New file.
19481         * malloc/tst-posix_memalign.c: Add comments.
19482         (do_test): Add comments and call free on all potentially
19483         allocated pointers. Add space after cast.
19485         * malloc/tst-pvalloc.c: Add comments.
19486         (do_test): Add comments and call free on all potentially
19487         allocated pointers. Remove duplicate check for NULL pointer.
19488         Add space after cast.
19490         * malloc/tst-valloc.c: Add comments.
19491         (do_test): Add comments and call free on all potentially
19492         allocated pointers. Remove duplicate check for NULL pointer.
19493         Add space after cast.
19495 2013-10-04  Alan Modra  <amodra@gmail.com>
19497         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19498         Use stdint types in rather than __attribute__((mode())).
19499         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19501 2013-10-04  Alan Modra  <amodra@gmail.com>
19503         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19504         Correct handling of unaligned relocs for little-endian.
19505         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19507 2013-10-04  Alan Modra  <amodra@gmail.com>
19509         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19510         * configure: Regenerate.
19511         * nptl/shlib-versions: Powerpc*le starts at 2.18.
19512         * shlib-versions: Likewise.
19514 2013-10-04  Alan Modra  <amodra@gmail.com>
19516         * string/tester.c (test_memrchr): Increment reported test cycle.
19518 2013-10-04  Alan Modra  <amodra@gmail.com>
19520         * string/test-memcpy.c (do_one_test): When reporting errors, print
19521         string address and don't overrun end of string.
19523 2013-10-04  Alan Modra  <amodra@gmail.com>
19525         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19526         insrdi.  Make better use of reg selection to speed exit slightly.
19527         Schedule entry path a little better.  Remove useless "are we done"
19528         checks on entry to main loop.  Handle wrapping around zero address.
19529         Correct main loop count.  Handle single left-over word from main
19530         loop inline rather than by using loop_small.  Remove extra word
19531         case in loop_small caused by wrong loop count.  Add little-endian
19532         support.
19533         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19534         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
19535         cache hint.
19536         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19537         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19538         support.  Avoid rlwimi.
19539         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19541 2013-10-04  Alan Modra  <amodra@gmail.com>
19543         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19544         insrdi.  Formatting.
19545         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19546         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19547         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19548         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19549         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19550         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19552 2013-10-04  Alan Modra  <amodra@gmail.com>
19554         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19555         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19556         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19557         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19558         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19559         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19560         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19561         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19562         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
19563         use of regs.  Use power7 mtocrf.  Tidy function tails.
19565 2013-10-04  Alan Modra  <amodra@gmail.com>
19567         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19568         Formatting.  Consistently use rXXX register defines or rN defines.
19569         Use early exit labels that avoid restoring unused non-volatile regs.
19570         Make cr field use more consistent with rWORDn compares.  Rename
19571         regs used as shift registers for unaligned loop, using rN defines
19572         for short lifetime/multiple use regs.
19573         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19574         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
19575         addi 1,1,64 to pop stack frame.  Simplify return value code.
19576         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19578 2013-10-04  Alan Modra  <amodra@gmail.com>
19580         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19581         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
19582         rather than rlwimi.
19583         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19584         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19585         little-endian support.  Correct typos.
19586         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
19587         rather than rlwimi.
19588         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
19589         in loop and entry code to keep "and." results.
19590         (strchr): Add little-endian support.  Comment.  Move cntlzd
19591         earlier in tail.
19592         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19594 2013-10-04  Alan Modra  <amodra@gmail.com>
19596         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19597         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19598         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19599         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19601 2013-10-04  Alan Modra  <amodra@gmail.com>
19603         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19604         (rTMP): Define as r11.
19605         (strcmp): Add little-endian support.  Optimise tail.
19606         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19607         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19608         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19609         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19610         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19611         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19612         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19614 2013-10-04  Alan Modra  <amodra@gmail.com>
19616         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19617         little-endian support.  Remove unnecessary "are we done" tests.
19618         Handle "s" wrapping around zero and extremely large "size".
19619         Correct main loop count.  Handle single left-over word from main
19620         loop inline rather than by using small_loop.  Correct comments.
19621         Delete "zero" tail, use "end_max" instead.
19622         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19624 2013-10-04  Alan Modra  <amodra@gmail.com>
19626         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19627         support.  Don't branch over align.
19628         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19629         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19630         support.  Rearrange tmp reg use to suit.  Comment.
19631         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19633 2013-10-04  Alan Modra  <amodra@gmail.com>
19635         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19637 2013-10-04  Alan Modra  <amodra@gmail.com>
19639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19640         conditional form of branch and link when obtaining pc.
19641         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19643 2013-10-04  Alan Modra  <amodra@gmail.com>
19645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19646         HIWORD/LOWORD.
19647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19650 2013-10-04  Alan Modra  <amodra@gmail.com>
19652         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19653         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19654         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19655         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19656         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19657         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19658         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19659         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19660         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19661         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19663 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19664             Alistair Popple <alistair@ozlabs.au.ibm.com>
19665             Alan Modra <amodra@gmail.com>
19667         [BZ #15723]
19668         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19669         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19670         _dl_hwcap access for little-endian.
19671         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19672         destroy vmx regs when saving unaligned.
19673         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19674         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19675         destroy vmx regs when saving unaligned.
19677 2013-10-04  Alan Modra  <amodra@gmail.com>
19679         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19680         Don't use a union to pack hi/low value.
19682 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19684         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19685         for little-endian.
19686         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19687         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19688         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19689         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19690         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19692 2013-10-04  Alan Modra  <amodra@gmail.com>
19694         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19695         constants to usual value for .cst8 section, and remove redundant
19696         high address load.
19697         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19698         constant for 0x1p52.  Load little-endian words of double from
19699         correct stack offsets.
19701 2013-10-04  Alan Modra  <amodra@gmail.com>
19703         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19704         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19705         words of double from correct stack offsets.
19706         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19707         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19708         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19709         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19710         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19711         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19712         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19713         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19714         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19715         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19716         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19717         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19718         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19719         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19720         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19721         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19722         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19724 2013-10-04  Alan Modra  <amodra@gmail.com>
19726         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19727         64-bit int/double union.
19728         (_FPU_SETCW): Likewise.
19729         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19730         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19732 2013-10-04  Alan Modra  <amodra@gmail.com>
19734         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19735         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19737 2013-10-04  Alan Modra  <amodra@gmail.com>
19739         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19740         use vector int constants.
19741         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19743 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19745         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19746         array with long long.
19747         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19748         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19749         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19750         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19751         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19752         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19753         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19754         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19755         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19756         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19757         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19758         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19759         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19761 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19763         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19764         (__signbit): Likewise.  Correct for little-endian.
19765         (__signbitl): Call __signbit.
19766         (lrint): Correct for little-endian.
19767         (lrintf): Call lrint.
19769 2013-10-04  Alan Modra  <amodra@gmail.com>
19771         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19772         union 32-bit int array member with 64-bit int array.
19773         (t515, tm256): Double rather than long double.
19774         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19776 2013-10-04  Alan Modra  <amodra@gmail.com>
19778         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19779         Delete.
19780         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19781         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19782         version of math_ldbl.h.
19784 2013-10-04  Alan Modra  <amodra@gmail.com>
19786         [BZ #15734], [BZ #15735]
19787         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19788         all uses of ieee875 long double macros and unions.  Simplify test
19789         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19790         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19791         normalize after ldbl_extract_mantissa, and don't add hidden bit
19792         already handled.  Don't treat low word of ieee854 mantissa like
19793         low word of IBM long double and mask off bit when testing for
19794         zero.
19795         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19796         all uses of ieee875 long double macros and unions.  Simplify tests
19797         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19798         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19799         two1022, instead use their values.  Recognise that tests for large
19800         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19801         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19802         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19803         test for 0.0L and nan.  Correct negation.
19804         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19805         ieee875 long double macros and unions.  Correct output for large
19806         magnitude x.  Correct absolute value calculation.
19807         (__erfcl): Likewise.
19808         * math/libm-test.inc: Add tests for errors discovered in IBM long
19809         double versions of fmodl, remainderl, erfl and erfcl.
19811 2013-10-04  Alan Modra  <amodra@gmail.com>
19813         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19814         all uses of ieee854 long double macros and unions.  Simplify tests
19815         for long doubles that are fully specified by the high double.
19816         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19817         Likewise.
19818         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19819         Remove dead code too.
19820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19821         (__ieee754_ynl): Likewise.
19822         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19823         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19824         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19825         Remove dead code too.
19826         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19827         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19828         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19829         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19830         Simplify.
19831         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19832         Simplify.
19833         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19834         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19835         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19836         Comment on variable precision.
19837         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19838         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19839         Likewise.
19840         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19841         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19842         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19843         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19844         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19846 2013-10-04  Alan Modra  <amodra@gmail.com>
19848         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19849         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19850         all uses of ieee854 long double macros and unions.
19851         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19852         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19853         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19854         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19855         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19856         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19857         Likewise.
19858         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19859         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19860         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19862         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19863         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19864         Simplify sign and nan test too.
19865         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19866         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19867         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19868         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19869         Likewise.
19870         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19871         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19872         Likewise.
19873         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19874         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19875         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19876         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19877         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19878         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19880 2013-10-04  Alan Modra  <amodra@gmail.com>
19882         * stdio-common/printf_size.c (__printf_size): Don't use
19883         union ieee854_long_double in fpnum union.
19884         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19885         signbit macro to retrieve sign from long double.
19886         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19887         retrieve sign from long double.
19888         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19889         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19890         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19891         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19892         * math/test-misc.c (main): Don't use union ieee854_long_double.
19894 2013-10-04  Alan Modra  <amodra@gmail.com>
19896         [BZ #15680]
19897         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19898         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19899         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19900         calculation.  Remove unnecessary test for denormal exponent.
19901         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19902         Correct handling of denormals.  Avoid undefined shift behaviour.
19903         Correct normalisation of low mantissa when low double is denormal.
19904         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19905         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19906         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19907         Correct normalisation of low mantissa.  Test for overflow of high
19908         mantissa and normalise.
19909         (ldbl_nearbyint): Use more readable constant for two52.
19910         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19911         (__mpn_construct_long_double): Fix test for overflow of high
19912         mantissa and correct normalisation.  Avoid undefined shift.
19914 2013-10-04  Alan Modra  <amodra@gmail.com>
19916         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19917         (union ibm_extended_long_double): Define as an array of ieee754_double.
19918         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19919         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19920         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19921         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19922         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19923         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19924         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19925         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19926         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19927         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19928         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19930 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19932         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19933         page size instead of calling getpagesize.
19935         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19936         (LOCFILE_ALIGN_MASK): Likewise.
19937         (LOCFILE_ALIGN_UP): Likewise.
19938         (LOCFILE_ALIGNED_P): Likewise.
19939         * locale/programs/ld-collate.c (collate_output): Use the new
19940         macros instead of __alignof__ (int32_t).
19941         * locale/weight.h (findidx): Likewise.
19943 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19945         [BZ #431]
19946         * manual/string.texi: Fix strncat and wcsncat.
19948 2013-10-03  Brooks Moses  <bmoses@google.com>
19950         [BZ #15915]
19951         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19952         * Makerules: ...here, and adjust associated comments.
19954 2013-10-02  Will Newton  <will.newton@linaro.org>
19956         * malloc/Makefile: Add tst-pvalloc.
19957         * malloc/tst-pvalloc.c: New file.
19959 2013-10-02  Will Newton  <will.newton@linaro.org>
19961         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19962         improve test coverage.
19964 2013-10-02  Will Newton  <will.newton@linaro.org>
19966         * malloc/Makefile: Add tst-posix_memalign.
19967         * malloc/tst-posix_memalign.c: New file.
19969 2013-10-01  Eric Blake  <eblake@redhat.com>
19971         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19972         Use __THROWNL rather than __THROW on static functions.
19974 2013-09-30  Petr Machata  <pmachata@redhat.com>
19976         * elf/elf.h (R_AARCH64_ABS16): New macro.
19977         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
19978         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
19979         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
19980         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
19981         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
19982         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
19983         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
19984         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
19985         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
19986         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
19987         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
19988         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
19989         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
19990         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
19991         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
19992         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
19993         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
19994         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
19995         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
19996         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
19997         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
19998         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
19999         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20000         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20001         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20002         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20003         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20004         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20005         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20006         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20007         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20008         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20009         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20010         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20011         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20012         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20013         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20014         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20015         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20016         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20017         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20018         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20019         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20020         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20021         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20022         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20023         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20024         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20025         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20026         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20027         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20028         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20029         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20030         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20031         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20032         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20033         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20034         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20035         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20036         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20037         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20038         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20039         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20040         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20041         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20042         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20043         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20044         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20045         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20046         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20047         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20048         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20049         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20050         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20051         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20052         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20053         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20054         (R_AARCH64_TLSDESC_LDR): Likewise.
20055         (R_AARCH64_TLSDESC_ADD): Likewise.
20056         (R_AARCH64_TLSDESC_CALL): Likewise.
20058 2013-09-30  Andreas Schwab  <schwab@suse.de>
20060         [BZ #15048]
20061         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20062         the nss database lookup.
20063         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20066 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20068         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20070 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20072         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20073         ${Bash-specific parameter/pattern/string} parameter expansion.
20074         * sysdeps/unix/make-syscalls.sh: Likewise.
20076 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20078         * sysdeps/sh/stackguard-macros.h: New file.
20080 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20082         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20083         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20084         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20085         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20086         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20087         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20089 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20091         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20092         Fix thread ID register.
20094 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20096         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20097         [POSIX || UNIX98]: Require rather than permitting all symbols from
20098         <time.h>.
20099         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20100         element of struct sched_param.
20101         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20102         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20103         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20104         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20105         constant.
20107 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20109         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20110         argument calculation.
20112 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20114         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20115         Expect macro.
20116         [POSIX] (pthread_attr_t): Do not require type.
20117         [POSIX] (pthread_cond_t): Likewise.
20118         [POSIX] (pthread_condattr_t): Likewise.
20119         [POSIX] (pthread_key_t): Likewise.
20120         [POSIX] (pthread_mutex_t): Likewise.
20121         [POSIX] (pthread_mutexattr_t): Likewise.
20122         [POSIX] (pthread_once_t): Likewise.
20123         [POSIX] (pthread_t): Likewise.
20124         [POSIX-based standards] (pthread_atfork): Expect function.
20126 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20127             Richard Sandiford  <richard@codesourcery.com>
20129         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20130         (swap_endianness_p): New extern variable.
20131         (set_big_endian): New inline function.
20132         (maybe_swap_uint32): Likewise.
20133         (maybe_swap_uint32_array): Likewise.
20134         (maybe_swap_uint32_obstack): Likewise.
20135         * locale/programs/locfile.c: Include <stdbool.h>.
20136         (swap_endianness_p): New variable.
20137         (add_locale_uint32): Call maybe_swap_uint32.
20138         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20139         (write_locale_data): Call maybe_swap_uint32_array.
20140         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20141         maybe_swap_uint32.
20142         (obstack_int32_grow_fast): Likewise.
20143         (output_weightwc): Call maybe_swap_uint32_obstack.
20144         (collate_output): Likewise.
20145         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20146         (OPT_LITTLE_ENDIAN): Likewise.
20147         (options): Add --little-endian and --big-endian options.
20148         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20149         * locale/programs/locarchive.c: Include "locfile.h".
20150         (GET): New macro.
20151         (SET): Likewise.
20152         (INC): Likewise.
20153         (create_archive): Use the new macros to access fields of
20154         structures directly mapped from or written to locale archives.
20155         (oldlocrecentcmp): Likewise.
20156         (enlarge_archive): Likewise.
20157         (insert_name): Likewise.
20158         (add_alias): Likewise.
20159         (add_locale): Likewise.
20160         (delete_locales_from_archive): Likewise.
20161         (show_archive_content): Likewise.
20162         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20163         locale data.
20165 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20167         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20168         http://www.gnu.org/doc/freemanuals.texi.
20169         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20171 2013-09-24  Will Newton  <will.newton@linaro.org>
20173         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20174         macro.
20176 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20178         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20179         unsigned char.
20181 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20183         * manual/threads.texi (POSIX Threads): Fix a typo.
20185 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20187         [BZ #14547]
20188         * string/tst-strcoll-overflow.c: New test case.
20189         * string/Makefile (xtests): Add tst-strcoll-overflow.
20190         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20191         cache if string sizes may cause integer overflow.
20193         [BZ #14547]
20194         * string/strcoll_l.c (coll_seq): New members rule, idx,
20195         save_idx and back_us.
20196         (get_next_seq_nocache): New function.
20197         (do_compare_nocache): New function.
20198         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20199         when malloc fails.
20201 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20203         [BZ #15754]
20204         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20205         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20206         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20208         [BZ #15754]
20209         * elf/Makefile (tests): Add tst-ptrguard1.
20210         (tests-static): Add tst-ptrguard1-static.
20211         (tst-ptrguard1-ARGS): Define.
20212         (tst-ptrguard1-static-ARGS): Define.
20213         * elf/tst-ptrguard1.c: New file.
20214         * elf/tst-ptrguard1-static.c: New file.
20215         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20216         * sysdeps/i386/stackguard-macros.h: Likewise.
20217         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20218         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20219         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20220         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20221         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20222         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20224 2013-09-23  Hector Marco  <hecmargi@upv.es>
20225             Ismael Ripoll  <iripoll@disca.upv.es>
20226             Carlos O'Donell  <carlos@redhat.com>
20228         [BZ #15754]
20229         * sysdeps/generic/stackguard-macros.h: Define
20230         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20231         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20232         Define __pointer_chk_guard_local.
20233         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20234         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20236 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20238         [BZ #15859]
20239         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20241 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20243         * include/string.h (__ffs): Declare as hidden.
20244         * string/ffs.c (__ffs): Define as hidden.
20245         * sysdeps/i386/ffs.c (__ffs): Likewise.
20246         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20247         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20248         * sysdeps/s390/ffs.c (__ffs): Likewise.
20249         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20251 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20253         * NEWS: Mention malloc probes.
20255         * malloc/arena.c (new_heap): New memory_heap_new probe.
20256         (grow_heap): New memory_heap_more probe.
20257         (shrink_heap): New memory_heap_less probe.
20258         (heap_trim): New memory_heap_free probe.
20259         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20260         (systrim): New memory_sbrk_less probe.
20261         * manual/probes.texi: Document them.
20263         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20264         * manual/probes.texi: Document it.
20266         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20267         (__libc_realloc): Add memory_realloc_retry probe.
20268         (__libc_memalign): Add memory_memalign_retry probe.
20269         (__libc_valloc): Add memory_valloc_retry probe.
20270         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20271         (__libc_calloc): Add memory_calloc_retry probe.
20272         * manual/probes.texi: Document them.
20274         * malloc/arena.c (get_free_list): Add probe
20275         memory_arena_reuse_free_list.
20276         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20277         and memory_arena_reuse.
20278         (arena_get2) [!PER_THREAD]: Likewise.
20279         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20280         memory_arena_reuse_realloc.
20281         * manual/probes.texi: Document them.
20283         * malloc/malloc.c (__libc_free): Add
20284         memory_mallopt_free_dyn_thresholds probe.
20285         (__libc_mallopt): Add multiple memory_mallopt probes.
20286         * manual/probes.texi: Document them.
20288         * malloc/malloc.c: Include stap-probe.h.
20289         (__libc_mallopt): Add memory_mallopt probe.
20290         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20291         * manual/probes.texi: New.
20292         * manual/Makefile (chapters): Add probes.
20293         * manual/threads.texi: Set next node.
20295 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20297         [BZ #15963, #13985]
20298         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20299         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20300         Add `Chinese' to `nan' entry name.
20302 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20304         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20305         (POLYNOMIAL): Likewise.
20306         (TAYLOR_SINCOS): Likewise.
20307         (TAYLOR_SLOW): Likewise.
20308         (__sin): Use TAYLOR_SINCOS.
20309         (__cos): Likewise.
20310         (slow): Use TAYLOR_SLOW.
20311         (sloww): Likewise.
20312         (bsloww): Likewise.
20313         (csloww): Likewise.
20315 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20317         * stdlib/strtod_l.c: Fix buffer overrun.
20319 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20321         * benchtests/Makefile (bench): Add sincos.
20322         * benchtests/bench-sincos.c: New file.
20324         * math/libm-test.inc (cos_test_data): New test inputs.
20325         (sin_test_data): Likewise.
20327         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20328         macro.
20329         (__sin): Use it.
20330         (__cos): Likewise.
20331         (slow1): Likewise.
20332         (slow2): Likewise.
20333         (sloww1): Likewise.
20334         (sloww2): Likewise.
20335         (bsloww1): Likewise.
20336         (bsloww2): Likewise.
20337         (cslow2): Likewise.
20338         (csloww1): Likewise.
20339         (csloww2): Likewise.
20341         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20342         function.
20343         (__sin): Use it.
20344         (__cos): Likewise.
20346         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20347         gotos.
20348         (__cos): Likewise.
20350 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20352         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20353         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20354         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20355         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20356         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20357         * elf/cache.c (print_entry): Handle the new cache flags.
20359 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20360             Aldy Hernandez  <aldyh@redhat.com>
20362         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20363         Change condition to [_SOFT_FLOAT].
20364         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20365         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20366         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20367         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20368         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20369         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20370         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20371         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20372         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20373         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20374         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20375         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20376         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20377         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20378         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20379         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20380         declaration.
20382 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20384         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20385         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20386         (__longjmp): Use LOAD_GP to load saved GPRs.
20387         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20388         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20389         (__sigsetjmp): Use SAVE_GP to save GPRs.
20391         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20392         Do not append -msoft-float.
20393         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20395 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20397         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20399 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
20401         [BZ #15966]
20402         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20403         (_FPU_GETCW): Use initial "__" on variable and field names but not
20404         on macro parameter name.
20405         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
20406         parentheses around reference to macro parameter.
20408 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
20410         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20411         prototype.
20412         (ctype_startup): Use uint32_t in cast and sizeof for
20413         ctype->charnames.
20415 2013-09-11  Jia Liu  <proljc@gmail.com>
20417         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20418         __daddr_t_defined.
20419         [__FreeBSD__]: Likewise.
20421 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
20423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20424         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20425         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20426         (strchr): Remove __strchr_sse42 ifunc selection.
20427         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20428         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20430 2013-09-11  Will Newton  <will.newton@linaro.org>
20432         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20433         parameter to RES. Remove hardcoded 1000 value.
20434         * benchtests/bench-skeleton.c (main): Pass RES parameter
20435         to TIMING_INIT and multiply result by 1000.
20437 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20441 2013-09-11  Andreas Schwab  <schwab@suse.de>
20443         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20444         if not defined.
20445         (O_TMPFILE) [__USE_GNU]: Define.
20446         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20447         Define.
20449 2013-09-11  Will Newton  <will.newton@linaro.org>
20451         [BZ #15857]
20452         * malloc/malloc.c (__libc_memalign): Check the value of bytes
20453         does not overflow.
20455 2013-09-11  Will Newton  <will.newton@linaro.org>
20457         [BZ #15856]
20458         * malloc/malloc.c (__libc_valloc): Check the value of bytes
20459         does not overflow.
20461 2013-09-11  Will Newton  <will.newton@linaro.org>
20463         [BZ #15855]
20464         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20465         does not overflow.
20467 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
20469         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20470         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20471         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20472         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20473         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20475 2013-09-10  Allan McRae  <allan@archlinux.org>
20477         [BZ #15748]
20478         * manual/arith.texi (Parsing of Floats): Clarify
20479         cross-reference.
20481         [BZ #15849]
20482         * manual/install.texi (Running make install): Mention
20483         --enable-pt-chown.
20484         * INSTALL: Regenerated.
20486 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
20488         * csu/init-first.c (_init): Remove the !SHARED condition around
20489         FPU control word initialization.
20490         * elf/dl-support.c (_dl_fpu_control): New variable.
20491         (_dl_aux_init) <AT_FPUCW>: Initialize it.
20492         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20493         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20494         * math/test-fpucw-static.c: New file.
20495         * math/test-fpucw-ieee.c: New file.
20496         * math/test-fpucw-ieee-static.c: New file.
20497         * math/Makefile (tests): Add `test-fpucw-ieee' and
20498         `$(tests-static)'.
20499         (tests-static): New variable.
20500         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20501         dependency to...
20502         [($(build-shared),yes)]
20503         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20504         ... this.
20505         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20506         New dependency.
20508 2013-09-09  Allan McRae  <allan@archlinux.org>
20510         [BZ #15939]
20511         * manual/string.texi (Collation Functions): Fix typo in
20512         strcoll example.
20513         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20515         [BZ #15893]
20516         * stdlib/isomac.c (get_null_defines): Fix memory leak.
20518         [BZ #15892]
20519         * libio/memstream.c (open_memstream): Fix memory leak.
20520         * libio/wmemstream.c (open_wmemstream): Likewise.
20522         [BZ #15895]
20523         * nscd/netgroupcache.c: Fix nesting of ifdefs.
20525 2013-09-09  Will Newton  <will.newton@linaro.org>
20527         * malloc/Makefile: Add tst-realloc to tests.
20528         * malloc/tst-realloc.c: New file.
20530 2013-09-09  Allan McRae  <allan@archlinux.org>
20532         [BZ #15844]
20533         * COPYING: Update from GNU website to fix FSF address.
20534         * COPYING.LIB: Likewise.
20536 2013-09-06  David S. Miller  <davem@davemloft.net>
20538         * po/zh_TW.po: Update Chinese (traditional) translation from
20539         translation project.
20541 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
20542             Joseph Myers  <joseph@codesourcery.com>
20544         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20545         "localeinfo.h".
20546         (obstack_chunk_alloc): New macro.
20547         (obstack_chunk_free): Likewise.
20548         (record_offset): New function.
20549         (init_locale_data): Likewise.
20550         (align_locale_data): Likewise.
20551         (add_locale_empty): Likewise.
20552         (add_locale_raw_data): Likewise.
20553         (add_locale_raw_obstack): Likewise.
20554         (add_locale_string): Likewise.
20555         (add_locale_wstring): Likewise.
20556         (add_locale_uint32): Likewise.
20557         (add_locale_uint32_array): Likewise.
20558         (add_locale_char): Likewise.
20559         (start_locale_structure): Likewise.
20560         (end_locale_structure): Likewise.
20561         (start_locale_prelude): Likewise.
20562         (end_locale_prelude): Likewise.
20563         (write_locale_data): Take locale_file structure rather than an
20564         iovec.
20565         * locale/programs/locfile.h: Include "obstack.h".
20566         (struct locale_file): Change to store locale file contents instead
20567         of header.
20568         (init_locale_data): New prototype.
20569         (align_locale_data): Likewise.
20570         (add_locale_empty): Likewise.
20571         (add_locale_raw_data): Likewise.
20572         (add_locale_raw_obstack): Likewise.
20573         (add_locale_string): Likewise.
20574         (add_locale_wstring): Likewise.
20575         (add_locale_uint32): Likewise.
20576         (add_locale_uint32_array): Likewise.
20577         (add_locale_char): Likewise.
20578         (start_locale_structure): Likewise.
20579         (end_locale_structure): Likewise.
20580         (start_locale_prelude): Likewise.
20581         (end_locale_prelude): Likewise.
20582         (write_locale_data): Update prototype.
20583         * locale/programs/3level.h (struct TABLE): Remove result field.
20584         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20585         Use new locale_file interface.
20586         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20587         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20588         * locale/programs/ld-address.c (address_output): Use new
20589         locale_file interface.
20590         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20591         NO_ADD_LOCALE.
20592         (collate_finish): Don't call collseq_table_finalize.
20593         (collate_output): Use new locale_file interface.
20594         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20595         in file.
20596         (NO_FINALIZE): Change to NO_ADD_LOCALE.
20597         (TABLE): Move defines earlier in file.
20598         (ELEMENT): Likewise.
20599         (DEFAULT): Likewise.
20600         (wctrans_table_add): Move macro and inline function earlier in
20601         file.
20602         (struct wctype_table): Move type earlier in file.
20603         (add_locale_wctype_table): New static prototype.
20604         (struct locale_ctype_t): Use logical types instead of struct iovec
20605         pointers for members.
20606         (ctype_output): Use new locale_file interface.
20607         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
20608         new locale_file interface.
20609         (allocate_arrays): Update for use of new locale_file interface.
20610         * locale/programs/ld-identification.c (identification_output): Use
20611         new locale_file interface.
20612         * locale/programs/ld-measurement.c (measurement_output): Likewise.
20613         * locale/programs/ld-messages.c (messages_output): Likewise.
20614         * locale/programs/ld-monetary.c (monetary_output): Likewise.
20615         * locale/programs/ld-name.c (name_output): Likewise.
20616         * locale/programs/ld-numeric.c (numeric_output): Likewise.
20617         * locale/programs/ld-paper.c (paper_output): Likewise.
20618         * locale/programs/ld-telephone.c (telephone_output): Likewise.
20619         * locale/programs/ld-time.c (time_output): Likewise.
20621 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20623         * benchtests/Makefile: Add memrchr benchmark.
20624         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20625         benchmark as memrchr.
20626         * benchtests/bench-memrchr-ifunc.c: New file.
20627         * benchtests/bench-memrchr.c: New file.
20629 2013-09-06   Will Newton  <will.newton@linaro.org>
20631         * benchtests/Makefile (string-bench): Add memcpy.
20633 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
20634             Cong Wang  <amwang@redhat.com>
20636         [BZ #15850]
20637         * sysdeps/unix/sysv/linux/bits/in.h
20638         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20639         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20640         before __USE_KERNEL_IPV6_DEFS uses.
20641         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20642         IPPROTO_BEETPH.
20643         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20644         sockaddr_in6, or ipv6_mreq.
20646 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20648         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20649         memory access for final bytes in some large inputs.
20650         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20652 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20654         * string/test-memrchr.c: New file.
20655         * string/test-memrchr-ifunc.c: New file.
20656         * string/Makefile: Add new memrchr testcase.
20658 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
20660         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20661         fanotify_init returns EPERM.
20663 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20665         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20666         errors.
20667         (top level): Treat second token from macro or constant entries for
20668         allowed headers as allowed.
20669         * include/complex.h: Condition internal declarations on
20670         [!_ISOMAC].
20671         * include/fenv.h: Condition include of <stdbool.h> and internal
20672         declarations on [!_ISOMAC].
20674 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20676         [BZ #15923]
20677         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20679 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20681         * configure.in (--enable-versioning): Remove configure option.
20682         (libc_cv_asm_symver_directive): Remove configure test.
20683         (libc_cv_ld_version_script_option): Likewise.
20684         (VERSIONING): Remove variable and AC_SUBST.
20685         (DO_VERSIONING): Remove AC_DEFINE.
20686         * configure: Regenerated.
20687         * config.h.in (DO_VERSIONING): Remove macro.
20688         * Makerules [$(versioning) = yes]: Change conditionals to
20689         [$(build-shared) = yes].
20690         * config.make.in (versioning): Remove variable.
20691         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20692         [$(build-shared) = yes].
20693         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20694         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20695         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20696         [$(build-shared) = yes].
20697         * extra-lib.mk [$(versioning) = yes]: Likewise.
20698         * hurd/Makefile [$(versioning) = yes]: Likewise.
20699         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20700         [SHARED].
20701         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20702         [SHARED].
20703         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20704         [SHARED && !NO_HIDDEN].
20705         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20706         [SHARED].
20707         [SHARED && DO_VERSIONING]: Likewise..
20708         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20709         [$(build-shared) = yes].
20710         * manual/install.texi (--disable-versioning): Remove
20711         documentation.
20712         * INSTALL: Regenerated.
20713         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20714         to [SHARED].
20715         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20716         [$(build-shared) = yes].
20717         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20718         * sysdeps/i386/i686/multiarch/strstr-c.c
20719         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20720         [SHARED && !NO_HIDDEN].
20721         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20722         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20723         * sysdeps/powerpc/powerpc32/dl-machine.c
20724         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20725         * sysdeps/powerpc/powerpc32/sysdep.h
20726         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20727         to [SHARED && PIC && !NO_HIDDEN].
20728         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20729         conditional to [SHARED].
20731 2013-09-04   Will Newton  <will.newton@linaro.org>
20733         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20734         * benchtests/bench-string.h: Include bench-timing.h instead
20735         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20736         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20737         call to HP_TIMING_DIFF_INIT.
20738         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20739         instead of hp-timing.h macros.
20740         * benchtests/bench-memchr.c: Likewise.
20741         * benchtests/bench-memcmp.c: Likewise.
20742         * benchtests/bench-memcpy.c: Likewise.
20743         * benchtests/bench-memmem.c: Likewise.
20744         * benchtests/bench-memmove.c: Likewise.
20745         * benchtests/bench-memset.c: Likewise.
20746         * benchtests/bench-rawmemchr.c: Likewise.
20747         * benchtests/bench-strcasecmp.c: Likewise.
20748         * benchtests/bench-strcasestr.c: Likewise.
20749         * benchtests/bench-strcat.c: Likewise.
20750         * benchtests/bench-strchr.c: Likewise.
20751         * benchtests/bench-strcmp.c: Likewise.
20752         * benchtests/bench-strcpy.c: Likewise.
20753         * benchtests/bench-strcpy_chk.c: Likewise.
20754         * benchtests/bench-strlen.c: Likewise.
20755         * benchtests/bench-strncasecmp.c: Likewise.
20756         * benchtests/bench-strncat.c: Likewise.
20757         * benchtests/bench-strncmp.c: Likewise.
20758         * benchtests/bench-strncpy.c: Likewise.
20759         * benchtests/bench-strnlen.c: Likewise.
20760         * benchtests/bench-strpbrk.c: Likewise.
20761         * benchtests/bench-strrchr.c: Likewise.
20762         * benchtests/bench-strspn.c: Likewise.
20763         * benchtests/bench-strstr.c: Likewise.
20765 2013-09-04  Will Newton  <will.newton@linaro.org>
20767         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20769 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20771         [BZ #15427]
20772         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20773         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20774         * math/libm-test.inc (lgamma_test_data): Add more tests.
20775         * sysdeps/i386/fpu/libm-test-ulps: Update.
20776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20778 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20780         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20782         Add ifunc.
20783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20784         Add strcmp-sse2-unaligned
20785         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20787 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20789         * Versions.def (libc): Add GLIBC_2.19.
20791 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20793         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20794         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20796 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20798         [BZ #14155]
20799         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20800         intermediate calculations in recurrence.
20801         (__ieee754_ynf): Likewise.
20802         * math/libm-test.inc (jn_test_data): Do not allow spurious
20803         underflow exception.  Add more tests.
20804         (yn_test_data): Add more tests.
20805         * sysdeps/i386/fpu/libm-test-ulps: Update.
20806         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20808 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20810         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20812 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20814         * csu/init-first.c: Fix then/than typos.
20815         * locale/programs/ld-collate.c: Likewise.
20816         * locale/programs/linereader.h: Likewise.
20817         * manual/charset.texi: Likewise.
20818         * manual/filesys.texi: Likewise.
20819         * manual/stdio.texi: Likewise.
20820         * manual/string.texi: Likewise.
20821         * stdlib/fmtmsg.c: Likewise.
20822         * sysdeps/i386/stpncpy.S: Likewise.
20823         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20824         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20825         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20826         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20828 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20830         * elf/dl-open.c: Fix typos.
20831         * iconvdata/gbbig5.c: Likewise.
20832         * iconvdata/iso-2022-jp.c: Likewise.
20833         * iconv/gconv_int.h: Likewise.
20834         * iconv/loop.c: Likewise.
20835         * nis/rpcsvc/nis.h: Likewise.
20836         * resolv/ns_name.c: Likewise.
20837         * stdio-common/vfscanf.c: Likewise.
20838         * streams/stropts.h: Likewise.
20839         * sunrpc/rpc_thread.c: Likewise.
20840         * sysdeps/i386/strpbrk.S: Likewise.
20841         * sysdeps/ieee754/k_standard.c: Likewise.
20842         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20844         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20845         * sysdeps/mach/hurd/profil.c: Likewise.
20846         * sysdeps/s390/dl-procinfo.h: Likewise.
20847         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20848         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20849         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20850         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20851         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20853 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20855         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20858 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20860         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20861         aix specific files.
20862         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20863         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20864         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20865         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20866         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20867         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20868         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20869         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20871 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20872             Roland McGrath  <roland@hack.frob.com>
20874         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20875         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20877 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20879         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20880         __executable_start symbol instead of _start.
20882 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20884         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20885         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20886         Move macros to...
20887         * sysdeps/gnu/ldsodefs.h: ... this new file.
20889         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20890         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20891         instead of ELFOSABI_LINUX.
20893         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20894         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20895         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20896         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20897         Likewise.
20898         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20899         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20900         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20901         Likewise.
20902         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20903         (ibm_extended_long_double): Add ieee_nan member.
20904         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20905         (do_test): New function.
20907         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20908         TEST_TRUNC.
20909         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20910         functions, renamed from truncdfsf_test, trunctfsf_test,
20911         trunctfdf_test.
20912         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20913         functions.
20914         (do_test): Run all these.
20916 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20918         * argp/argp-help.c: Fix typos.
20919         * argp/argp-parse.c: Likewise.
20920         * debug/backtracesyms.c: Likewise.
20921         * elf/elf.h: Likewise.
20922         * malloc/malloc.c: Likewise.
20923         * nis/nis_print.c: Likewise.
20924         * resolv/res_comp.c: Likewise.
20925         * stdlib/stdlib.h: Likewise.
20926         * sunrpc/clnt_tcp.c: Likewise.
20927         * sunrpc/clnt_udp.c: Likewise.
20928         * sunrpc/clnt_unix.c: Likewise.
20929         * sysdeps/unix/bsd/ptsname.c: Likewise.
20930         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20931         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20932         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20933         Likewise.
20934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20935         Likewise.
20936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20937         Likewise.
20938         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20940 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20942         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20943         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20945 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20947         [BZ #15897]
20948         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20949         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20950         ($(objpfx)bug-dl-leaf): New rule.
20951         ($(objpfx)bug-dl-leaf.so): Likewise.
20952         ($(objpfx)bug-dl-leaf.out): Likewise.
20953         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20954         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20955         * dlfcn/bug-dl-leaf.c: New test.
20956         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20957         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20958         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20959         (dlclose): Likewise.
20960         (dlmopen): Likewise.
20962 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20964         * include/netdb.h [!_ISOMAC]:
20965         Don't include <tls.h>.
20966         (h_errno, __libc_h_errno): Move declaration and macros out of
20967         [_LIBC_REENTRANT].
20969         * include/resolv.h [_RESOLV_H_]:
20970         Don't include <tls.h>.
20971         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20972         * resolv/res_libc.c: Don't include <tls.h>.
20973         (_res): Use __attribute__ ((nocommon)) in place of
20974         __attribute__ ((section (".bss"))).
20976         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
20977         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
20979         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
20981         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
20982         only under [SIOCGIFCONF && SIOCGIFNETMASK].
20984         * resolv/res_mkquery.c: Include <sys/time.h>.
20986         * inet/ifreq.c: Moved to ...
20987         * sysdeps/unix/ifreq.c: ... here.
20988         * inet/ifreq.c: New file, true stub version.
20990         * socket/sa_len.c: New file.
20991         * socket/Makefile (aux): Add it.
20992         * sysdeps/unix/sysv/linux/Makefile
20993         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
20994         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
20995         and #include <socket/sa_len.c>.
20996         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
20997         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
20999         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21000         * bits/socket.h: ... here.
21002         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21003         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21004         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21006 2013-08-27  Andreas Schwab  <schwab@suse.de>
21008         [BZ #15736]
21009         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21010         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21011         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21012         * string/test-strcasecmp.c (test_main): Run tests in several
21013         locales.
21014         * string/test-strncasecmp.c (test_main): Likewise.
21016         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21017         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21018         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21020         (__strncasecmp_ssse3) [PIC]: Likewise.
21022 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21024         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21026         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21027         instead of explicitly declaring xdecrypt.
21028         * nis/nss_nis/nis-publickey.c: Likewise.
21030 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21032         [BZ #15890]
21033         * nscd/aicache.c: Include res_hconf.h.
21034         (addhstaiX): Initialize res_hconf.
21036 2013-08-26  Andreas Schwab  <schwab@suse.de>
21038         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21039         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21041 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21043         * nscd/aicache.c (addhstaiX): Fix indentation.
21045 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21047         * configure.ac: Quote $build_pt_chown test.
21048         * configure: Regenerated.
21050 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21052         [BZ #15532]
21053         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21054         * math/s_cexpf.c (__cexpf): Likewise.
21055         * math/s_cexpl.c (__cexpl): Likewise.
21056         * math/libm-test.inc (cexp_test_data): Correct expected return
21057         value for NaN + i0.  Add another test.
21059 2013-08-22  David S. Miller  <davem@davemloft.net>
21061         * po/ca.po: Update Catalan translation from translation project.
21062         * po/uk.po: Add Ukrainian translations from translation project.
21064 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21066         [BZ #15797]
21067         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21068         is infinite, not alongside NaN test.
21069         * math/s_fdimf.c (__fdimf): Likewise.
21070         * math/s_fdiml.c (__fdiml): Likewise.
21071         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21072         errno is unchanged.
21074 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21076         * argp/argp-help.c: Fix typos.
21077         * crypt/speeds.c: Likewise.
21078         * csu/check_fds.c: Likewise.
21079         * elf/dl-load.c: Likewise.
21080         * elf/dl-open.c: Likewise.
21081         * elf/reldep3.c: Likewise.
21082         * elf/reldep.c: Likewise.
21083         * elf/sprof.c: Likewise.
21084         * iconv/iconv_charmap.c: Likewise.
21085         * iconv/skeleton.c: Likewise.
21086         * iconv/strtab.c: Likewise.
21087         * io/lockf64.c: Likewise.
21088         * libio/libioP.h: Likewise.
21089         * resolv/gai_notify.c: Likewise.
21090         * resolv/ns_name.c: Likewise.
21091         * resolv/ns_samedomain.c: Likewise.
21092         * resolv/res_send.c: Likewise.
21093         * stdlib/random.c: Likewise.
21094         * sunrpc/rpc/xdr.h: Likewise.
21095         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21096         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21097         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21098         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21099         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21101         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21102         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21103         * sysdeps/mach/hurd/check_fds.c: Likewise.
21104         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21105         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21106         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21107         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21108         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21109         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21110         * sysdeps/pthread/aio_notify.c: Likewise.
21111         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21112         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21113         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21114         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21115         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21117 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21119         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21120         version if bit_Slow_SSE4_2 is set.
21121         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21122         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21124 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21126         [BZ #15867]
21127         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21128         trampoline stack frame information.
21129         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21130         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21131         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21132         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21133         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21134         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21135         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21136         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21137         sa_flags value.
21138         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21139         interrupting a syscall and set with option SA_SIGINFO.
21141 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21143         [BZ #15531]
21144         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21145         argument is infinite.
21146         * math/s_cprojf.c (__cprojf): Likewise.
21147         * math/s_cprojl.c (__cprojl): Likewise.
21148         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21149         * math/libm-test.inc (cproj_test_data): Add more tests.
21151         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21153         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21154         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21155         size.  Use __ffs to determine corresponding shift.
21157 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21158             Roland McGrath  <roland@hack.frob.com>
21160         * Makefile (INSTALL): Remove trailing blank lines from output of
21161         makeinfo.
21163 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21165         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21166         Align 32 bit compat elf_greg to 8 bytes.
21168 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21170         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21172 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21174         * string/strcoll_l.c (coll_seq): New structure.
21175         (get_next_seq_cached): New function.
21176         (get_next_seq): New function.
21177         (do_compare): New function.
21178         (STRCOLL): Use GNU style definition.  Simplify implementation
21179         by using get_next_seq, get_next_seq_cached and do_compare.
21181 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21183         [BZ #14699]
21184         CVE-2013-4237
21185         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21186         member.
21187         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21188         member.
21189         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21190         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21191         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21192         conditional.
21193         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21194         GETDENTS_64BIT_ALIGNED.
21195         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21196         * manual/filesys.texi (Reading/Closing Directory): Document
21197         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21198         strongly.
21199         * manual/conf.texi (Limits for Files): Add portability note to
21200         NAME_MAX, PATH_MAX.
21201         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21203 2013-08-13  Andreas Schwab  <schwab@suse.de>
21205         [BZ #15749]
21206         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21207         of fabs.
21208         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21209         LDBL_MAX_EXP >= 16384]: Add tests for it.
21211 2013-08-12  David S. Miller  <davem@davemloft.net>
21213         * version.h (RELEASE): Set to "development".
21214         (VERSION): Set to "2.18.90".
21215         * NEWS: Add 2.19 section.
21217 2013-08-03  David S. Miller  <davem@davemloft.net>
21219         * po/ko.po: Update Korean translation from translation project.
21221 2013-08-01  David S. Miller  <davem@davemloft.net>
21223         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21224         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21225         Bilka.
21227 2013-07-30  David S. Miller  <davem@davemloft.net>
21229         * po/fr.po: Update French translation from translation project.
21231 2013-07-28  David S. Miller  <davem@davemloft.net>
21233         * po/cs.po: Update Czech translation from translation project.
21235         * po/sv.po: Update Swedish translation from translation project.
21237 2013-07-27  David S. Miller  <davem@davemloft.net>
21239         * po/eo.po: Update Esperanto translation from translation project.
21241         * po/vi.po: Update Vietnamese translation from translation project.
21243         * po/de.po: Update German translation from translation project.
21245 2013-07-26  David S. Miller  <davem@davemloft.net>
21247         * po/bg.po: Update Bulgarian translation from translation project.
21249         * po/nl.po: Update Dutch translation from translation project.
21250         * po/pl.po: Update Polish translation from translation project.
21251         * po/ru.po: Update Russian translation from translation project.
21253 2013-07-24  David S. Miller  <davem@davemloft.net>
21255         * po/libc.pot: Update.
21257 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21259         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21260         variable page size.
21261         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21262         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21263         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21265 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21267         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21269 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21270             Andreas Schwab  <schwab@suse.de>
21271             Roland McGrath  <roland@hack.frob.com>
21272             Joseph Myers  <joseph@codesourcery.com>
21273             Carlos O'Donell  <carlos@redhat.com>
21275         [BZ #15755]
21276         * config.h.in: Define HAVE_PT_CHOWN.
21277         * config.make.in (build-pt-chown): New variable.
21278         * configure.in (--enable-pt_chown): New configure option.
21279         * configure: Regenerate.
21280         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21281         build-pt-chown is enabled.
21282         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21283         pt_chown to fix pty ownership.
21284         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21285         CLOSE_ALL_FDS.
21286         * manual/install.texi (Configuring and compiling): Mention
21287         --enable-pt_chown. Add @findex for grantpt.
21288         * INSTALL: Regenerate.
21290 2013-07-20  David S. Miller  <davem@davemloft.net>
21292         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21293         difference between 32-bit and 64-bit.
21295 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21297         [BZ #15711]
21298         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21299         Avoid system header dependency with -ffreestanding.
21300         ($(objpfx)bits/syscall%d): Likewise.
21302 2013-07-13  David S. Miller  <davem@davemloft.net>
21304         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21305         underflows from atanl/atan2l due to bug 15319.
21306         (casinh_test_data): Likewise.
21308 2013-07-07  David S. Miller  <davem@davemloft.net>
21310         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21312 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21314         * sysdeps/i386/fpu/libm-test-ulps: Update.
21315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21317 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21319         * configure.in (--enable-lock-elision): Fix message text.
21320         * INSTALL: Regenerate.
21321         * configure: Regenerate.
21323 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21325         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21327 2013-07-03  Andreas Jaeger  <aj@suse.de>
21329         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21330         define.
21331         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21332         (ptrace_peeksiginfo_args): Add.
21333         (__ptrace_peeksiginfo_flags): Add.
21334         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21335         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21336         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21338 2013-07-03  Allan McRae  <allan@archlinux.org>
21340         * sysdeps/i386/fpu/libm-test-ulps: Update.
21342 2013-07-02  David S. Miller  <davem@davemloft.net>
21344         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21346 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21348         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21350 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21352         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21355 2013-07-02  Andi Kleen <ak@linux.intel.com>
21357         * config.h.in (ENABLE_LOCK_ELISION): Add.
21358         * configure.in (--enable-lock-elision): Add option.
21359         * manual/install.texi: Document --enable lock elision.
21360         * configure: Regenerate
21361         * INSTALL: Regenerate.
21363 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
21365         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21366         SSE4.2 strcasecmp for libc.a.
21367         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21369 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21371         [BZ #13304]
21372         * soft-fp/op-common.h (_FP_FMA): New macro.
21373         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21374         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
21375         (_FP_MUL_MEAT_1_imm): ... here.
21376         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
21377         (_FP_MUL_MEAT_1_wide): ... here.
21378         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
21379         (_FP_MUL_MEAT_1_hard): ... here.
21380         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21381         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
21382         (_FP_MUL_MEAT_2_wide): ... here.
21383         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
21384         (_FP_MUL_MEAT_2_wide_3mul): ... here.
21385         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
21386         (_FP_MUL_MEAT_2_gmp): ... here.
21387         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21388         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
21389         (_FP_MUL_MEAT_4_wide): ... here.
21390         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
21391         (_FP_MUL_MEAT_4_gmp): ... here.
21392         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21393         (_FP_WFRACBITS_DW_S): Likewise.
21394         (_FP_WFRACXBITS_DW_S): Likewise.
21395         (_FP_HIGHBIT_DW_S): Likewise.
21396         (FP_FMA_S): Likewise.
21397         (_FP_FRAC_HIGH_DW_S): Likewise.
21398         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21399         (_FP_WFRACBITS_DW_D): Likewise.
21400         (_FP_WFRACXBITS_DW_D): Likewise.
21401         (_FP_HIGHBIT_DW_D): Likewise.
21402         (FP_FMA_D): Likewise.
21403         (_FP_FRAC_HIGH_DW_D): Likewise.
21404         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21405         (_FP_WFRACBITS_DW_E): Likewise.
21406         (_FP_WFRACXBITS_DW_E): Likewise.
21407         (_FP_HIGHBIT_DW_E): Likewise.
21408         (FP_FMA_E): Likewise.
21409         (_FP_FRAC_HIGH_DW_E): Likewise.
21410         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21411         (_FP_WFRACBITS_DW_Q): Likewise.
21412         (_FP_WFRACXBITS_DW_Q): Likewise.
21413         (_FP_HIGHBIT_DW_Q): Likewise.
21414         (FP_FMA_Q): Likewise.
21415         (_FP_FRAC_HIGH_DW_Q): Likewise.
21416         * soft-fp/fmasf4.c: New file.
21417         * soft-fp/fmadf4.c: Likewise.
21418         * soft-fp/fmatf4.c: Likewise.
21420 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21422         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21423         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21424         Silvermont.
21425         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21426         macro.
21427         (index_Slow_SSE4_2): Likewise.
21428         (index_Prefer_PMINUB_for_stringop): Likewise.
21429         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21430         bit_Slow_SSE4_2 is set.
21431         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21432         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21434 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21436         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21437         rtld_global._dl_hwcap2.
21438         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21439         POWER8.
21440         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21441         POWER8 feature descriptions defined in _dl_hwcap2.
21442         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21443         string handling for POWER8 feature bits.
21444         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21445         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21446         _dl_powerpc_cap_flags.
21447         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21448         * sysdeps/powerpc/rtld-global-offsets.sym
21449         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21450         _dl_hwcap2 in the rtld_global_ro structure.
21452 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21454         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21455         hardware capabilities in support of AT_HWCAP2.
21456         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21457         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21458         GLRO(dl_hwcap2).
21459         (_dl_show_auxv): Add support for calling _dl_procinfo to display
21460         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
21461         explicitly the unknown a_type display mechanism is used.
21462         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21463         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21464         struct member.
21465         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21466         to macro prototype for AT_HWCAP2 support.
21467         * sysdeps/i386/dl-procinfo.h: Likewise.
21468         * sysdeps/s390/dl-procinfo.h: Likewise.
21469         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21470         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
21471         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21472         return -1 for unknown a_type display fallback.
21473         * sysdeps/sparc/dl-procinfo.h: Likewise.
21474         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21475         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21477 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
21479         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21480         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21482 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
21484         [BZ #12492]
21485         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21486         mprotect making __stack_prot writable.
21488 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
21489             Joseph Myers  <joseph@codesourcery.com>
21491         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21492         as being properly aligned.
21494 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
21496         * dlfcn/modstatic5.c: New file.
21497         * dlfcn/tststatic5.c: New file.
21498         * dlfcn/Makefile (tests): Add tststatic5.
21499         (tests-static): Likewise.
21500         (modules-names): Add modstatic5.
21501         (tststatic5-ENV): New variable.
21502         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21504         [BZ #15022]
21505         * elf/dl-support.c (_dl_main_map): New variable.
21506         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21507         (_dl_nns, _dl_load_adds): Set to 1.
21508         (_dl_initial_searchlist): Refer to _dl_main_map.
21509         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21510         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21511         call to _dl_get_origin.
21512         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21513         around call_map.
21514         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21515         * dlfcn/modstatic3.c: New file.
21516         * dlfcn/tststatic3.c: New file.
21517         * dlfcn/tststatic4.c: New file.
21518         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21519         (tests-static): Likewise.
21520         (modules-names): Add modstatic3.
21521         (tststatic3-ENV, tststatic4-ENV): New variables.
21522         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21523         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21525 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
21527         * configure.in (CC): Require GCC version 4.4 or later.
21528         * configure: Regenerated.
21529         * manual/install.texi (Tools for Compilation): Update GCC version
21530         requirement.
21531         * INSTALL: Regenerated.
21533 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21535         [BZ #15674]
21536         * string/test-memcmp.c (check2): New.
21537         (main): Call check2.
21539         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21541 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
21543         [BZ #15022]
21544         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21545         over to...
21546         (dl_open_worker) [!SHARED]: ... here.
21548 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21550         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21552 2013-06-25  Richard Henderson  <rth@redhat.com>
21554         * locale/programs/locarchive.c: Include <libc-internal.h>
21556 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
21558         * manual/texinfo.tex: Update to version 2013-06-21.17, with
21559         trailing whitespace removed.
21561 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21563         [BZ #10283]
21564         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21565         * locale/programs/locarchive.c: Include libc-mmap.h.
21566         (prepare_address_space): Take two new outputs (the mmap base and len).
21567         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
21568         values.
21569         (create_archive): Declare new mmap base and len values for
21570         prepare_address_space, and store the result in ah.
21571         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21572         (enlarge_archive): If ah->mmap_base is not NULL, use that and
21573         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21574         Declare new mmap base and len values for
21575         prepare_address_space, and store the result in new_ah.
21576         (open_archive): Declare new mmap base and len values for
21577         prepare_address_space, and store the result in ah.
21578         (close_archive): If ah->mmap_base is not NULL, use that and
21579         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21580         * sysdeps/generic/libc-mmap.h: New file.
21582 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21584         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21585         (ALIGN_UP): Likewise.
21586         (PTR_ALIGN_DOWN): Likewise.
21587         (PTR_ALIGN_UP): Likewise.
21589 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21592         entry mapped to PPC_PLATFORM_POWER8.
21593         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21594         POWER8.
21595         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21596         (_dl_string_platform): Add case for exporting platform position for
21597         POWER8.
21598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21599         search path to sysdeps/powerpc/powerpc32/power8 directory.
21600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21601         search path to sysdeps/powerpc/powerpc64/power8 directory.
21602         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21603         power7 directories.
21604         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21605         power7 directories.
21607 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21609         * INSTALL: Regenerate.
21611         * nscd/connections.c (nscd_init): Fix comment.
21613 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
21615         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21617         [BZ #15667]
21618         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21619         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21621 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21623         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21624         DL_DST_REQ_STATIC.
21625         (DL_DST_REQ_STATIC): Remove macro.
21627 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
21629         [BZ #7006]
21630         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21631         with a shift of 0 bits.
21633 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21635         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21636         $(tststatic-ENV).
21638 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21640         [BZ #15655]
21641         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21643 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21645         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21646         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21647         accepts -fno-tree-loop-distribute-patterns.
21648         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21649         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21650         recursive call.
21651         * string/memset.c (memset): Likewise.
21652         * string/test-memmove.c (simple_memmove): Disable loop transformation
21653         to library calls.
21654         * string/test-memset.c (simple_memset): Likewise.
21655         * benchtests/bench-memmove.c (simple_memmove): Likewise.
21656         * benchtests/bench-memset.c (simple_memset): Likewise.
21657         * configure: Regenerated.
21659 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
21661         * math/test-misc.c (main): Ignore fesetround failure when failures
21662         of subsequent rounding tests would be ignored.
21664         [BZ #15654]
21665         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21666         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21667         * math/fegetenv.c (__fegetenv): Return 0.
21668         * math/fegetexcept.c (fegetexcept): Return 0.
21669         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21670         FE_TONEAREST.
21671         * math/feholdexcpt.c (feholdexcept): Return 0.
21672         * math/fesetenv.c (__fesetenv): Return 0.
21673         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21674         argument FE_TONEAREST.
21675         * math/feupdateenv.c (__feupdateenv): Return 0.
21676         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21678 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21680         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21681         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21682         ($(objpfx)rtld-%.os rules): Use them.
21684 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21686         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21687         fields.
21689 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21691         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21692         length of target pattern, then descending length of dependency pattern.
21693         * configure.in (AWK): Require gawk 3.1.2 or newer.
21694         * manual/install.texi (Tools for Compilation): Say that we do.
21695         * configure: Regenerated.
21697         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21698         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21699         * scripts/sysd-rules.awk: ... this new script.
21700         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21701         than a glob-style pattern.
21703 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21705         * math/test-misc.c (main): Do not treat incorrectly rounded
21706         conversions as failure unless ROUNDING_TESTS passes.
21708 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21710         [BZ #15631]
21711         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21712         restore exception state around main square root computation, then
21713         check for inexactness explicitly.
21715         * math/libm-test.inc (fma_test_data): Add another test.
21717 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21719         * manual/threads.texi (Non-POSIX Extensions): New document
21720         node.  Document pthread_getattr_default_np and
21721         pthread_setattr_default_np.
21723         * Versions.def (libpthread): Add GLIBC_2.18.
21724         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21726         Likewise.
21727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21728         Likewise.
21729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21730         Likewise.
21731         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21732         Likewise.
21733         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21734         Likewise.
21735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21736         Likewise.
21737         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21738         Likewise.
21739         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21740         Likewise.
21741         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21742         Likewise.
21744 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21746         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21747         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21749 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21750             H.J. Lu  <hjl.tools@gmail.com>
21752         [BZ #15627]
21753         * sysdeps/x86_64/rtld-memset.c: Remove file.
21754         * sysdeps/x86_64/rtld-memset.S: New file.
21756 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21758         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21759         (test_in_one_mode): Take arguments for whether the rounding mode
21760         is supported for each floating-point type.
21761         (do_test): Pass new arguments to test_in_one_mode using
21762         ROUNDING_TESTS.
21764 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21766         * posix/tst-waitid.c (do_test): Distinguish different instances of
21767         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21768         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21769         before entering the kernel for waitpid.
21771 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21773         * NEWS: Fix note on clock function precision.  Text by Roland
21774         McGrath.
21776 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21778         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21779         it into place only when and if the sanity check passes.
21781 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21783         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21784         output for whether conversion result is exact.  Take argument
21785         indicating whether type is IBM long double.
21786         (round_for_all): Change need_exact field to ibm_ld.
21787         * stdlib/tst-strtod-round.c (struct exactness): New type.
21788         (struct test): Change bool ld_ok field to struct exactness exact.
21789         (TEST): Update all definitions for change to field.
21790         (tests): Regenerate array contents.
21791         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21792         field value.  Check for IBM long double here.
21793         (do_test): Update calls to test_in_one_mode.
21795 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21797         [BZ #12515]
21798         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21799         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21801 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21803         [BZ #15605]
21804         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21805         generated by the compiler on loop optimizations.
21806         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21807         general definitions.
21809 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21811         * math/bug-nextafter.c: Include <math-tests.h>.
21812         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21813         the relevant type.
21814         * math/bug-nexttoward.c: Include <math-tests.h>.
21815         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21816         the relevant type.
21817         * math/test-misc.c: Include <math-tests.h>.
21818         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21819         the relevant type.
21821 2013-06-12  Andreas Jaeger  <aj@suse.de>
21823         * po/ia.po: Update Interlingua translation from translation
21824         project.
21826 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21828         * include/fenv.h: Include stdbool.h.
21829         (struct rm_ctx): New structure.
21830         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21831         Define macro.
21832         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21833         (SET_RESTORE_ROUNDF): Likewise.
21834         (SET_RESTORE_ROUNDL): Likewise.
21835         (SET_RESTORE_ROUND_NOEX): Likewise.
21836         (SET_RESTORE_ROUND_NOEXF): Likewise.
21837         (SET_RESTORE_ROUND_NOEXL): Likewise.
21838         (SET_RESTORE_ROUND_53BIT): Likewise.
21839         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21840         (libc_feresetround_noexf_ctx): Likewise.
21841         (libc_feresetround_noexl_ctx): Likewise.
21842         (libc_feholdsetround_53bit_ctx): Likewise.
21843         (libc_feresetround_53bit_ctx): Likewise.
21844         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21845         (libc_feholdexcept_setround_sse_ctx): New function.
21846         (libc_fesetenv_sse_ctx): Likewise.
21847         (libc_feupdateenv_sse_ctx): Likewise.
21848         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21849         (libc_feholdexcept_setround_387_ctx): Likewise.
21850         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21851         (libc_feholdsetround_387_prec_ctx): Likewise.
21852         (libc_feholdsetround_387_ctx): Likewise.
21853         (libc_feholdsetround_387_53bit_ctx): Likewise.
21854         (libc_feholdsetround_sse_ctx): Likewise.
21855         (libc_feresetround_sse_ctx): Likewise.
21856         (libc_feresetround_387_ctx): Likewise.
21857         (libc_feupdateenv_387_ctx): Likewise.
21858         (libc_feholdexcept_setroundf_ctx): Define macro.
21859         (libc_fesetenvf_ctx): Likewise.
21860         (libc_feupdateenvf_ctx): Likewise.
21861         (libc_feholdsetroundf_ctx): Likewise.
21862         (libc_feresetroundf_ctx): Likewise.
21863         (libc_feholdexcept_setround_ctx): Likewise.
21864         (libc_fesetenv_ctx): Likewise.
21865         (libc_feupdateenv_ctx): Likewise.
21866         (libc_feholdsetround_ctx): Likewise.
21867         (libc_feresetround_ctx): Likewise.
21868         (libc_feholdexcept_setroundl_ctx): Likewise.
21869         (libc_feupdateenvl_ctx): Likewise.
21870         (libc_feholdsetroundl_ctx): Likewise.
21871         (libc_feresetroundl_ctx): Likewise.
21872         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21873         (libc_feresetround_53bit_ctx): Likewise.
21875 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21877         * locale/iso-639.def: Convert to UTF-8.
21879 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21881         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21882         (EXCEPTION_TESTS_double): Likewise.
21883         (EXCEPTION_TESTS_long_double): Likewise.
21884         (EXCEPTION_TESTS): Likewise.
21885         * math/libm-test.inc (test_exceptions): Only test exceptions if
21886         EXCEPTION_TESTS (FLOAT).
21888 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21890         * benchtests/Makefile (string-bench): Add strcpy_chk and
21891         stpcpy_chk.
21892         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21893         * benchtests/bench-stpcpy_chk.c: New file.
21894         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21895         * benchtests/bench-strcpy_chk.c: New file.
21896         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21897         code.
21898         (do_test): Likewise.
21900 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21902         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21903         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21904         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21905         with tabs where appropriate.
21906         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21907         dl-procinfo.h.
21908         [PPC_PLATFORM_PPC440]: Likewise.
21909         [PPC_PLATFORM_PPC464]: Likewise.
21910         [PPC_PLATFORM_PPC476]: Likewise.
21911         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21912         ppc464, and ppc476 platform strings merging from ports/
21913         dl-procinfo.h.
21915 2013-06-11  Andreas Schwab  <schwab@suse.de>
21917         [BZ #14991]
21918         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21919         (from_ucs4_idx): Regenerate.
21920         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21921         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21922         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21923         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21924         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21925         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21926         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21927         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21928         from FROM_LOOP and TO_LOOP specific macros.
21929         (BODY): Handle combining characters.
21930         * iconvdata/BIG5HKSCS.irreversible: Update.
21931         * iconvdata/BIG5HKSCS.precomposed: New file.
21932         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21933         characters.
21934         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21936 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21938         * include/sys/time.h: Fix indentation and add copyright header.
21940         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21941         (do_test): Likewise.
21942         * string/test-memchr.c (do_one_test): Likewise.
21943         (do_test): Likewise.
21944         * string/test-memcmp.c (do_one_test): Likewise.
21945         (do_test): Likewise.
21946         * string/test-memcpy.c (do_one_test): Likewise.
21947         (do_test): Likewise.
21948         * string/test-memmem.c (do_one_test): Likewise.
21949         (do_test): Likewise.
21950         (do_random_tests): Likewise.
21951         * string/test-memmove.c (do_one_test): Likewise.
21952         (do_test): Likewise.
21953         * string/test-memset.c (do_one_test): Likewise.
21954         (do_test): Likewise.
21955         * string/test-rawmemchr.c (do_one_test): Likewise.
21956         (do_test): Likewise.
21957         * string/test-strcasecmp.c (do_one_test): Likewise.
21958         (do_test): Likewise.
21959         * string/test-strcasestr.c (do_one_test): Likewise.
21960         (do_test): Likewise.
21961         * string/test-strcat.c (do_one_test): Likewise.
21962         (do_test): Likewise.
21963         * string/test-strchr.c (do_one_test): Likewise.
21964         (do_test): Likewise.
21965         * string/test-strcmp.c (do_one_test): Likewise.
21966         (do_test): Likewise.
21967         * string/test-strcpy.c (do_one_test): Likewise.
21968         (do_test): Likewise.
21969         * string/test-string.h: Likewise.
21970         (test_init): Likewise.
21971         * string/test-strlen.c (do_one_test): Likewise.
21972         (do_test): Likewise.
21973         * string/test-strncasecmp.c (do_one_test): Likewise.
21974         (do_test): Likewise.
21975         * string/test-strncat.c (do_one_test): Likewise.
21976         (do_test): Likewise.
21977         * string/test-strncmp.c (do_one_test): Likewise.
21978         (do_test_limit): Likewise.
21979         (do_test): Likewise.
21980         * string/test-strncpy.c (do_one_test): Likewise.
21981         (do_test): Likewise.
21982         * string/test-strnlen.c (do_one_test): Likewise.
21983         (do_test): Likewise.
21984         * string/test-strpbrk.c (do_one_test): Likewise.
21985         (do_test): Likewise.
21986         * string/test-strrchr.c (do_one_test): Likewise.
21987         (do_test): Likewise.
21988         * string/test-strspn.c (do_one_test): Likewise.
21989         (do_test): Likewise.
21990         * string/test-strstr.c (do_one_test): Likewise.
21991         (do_test): Likewise.
21993         * benchtests/Makefile (string-bench): Add string benchmarks.
21994         * benchtests/bench-bcopy-ifunc.c: New file.
21995         * benchtests/bench-bcopy.c: New file.
21996         * benchtests/bench-bzero-ifunc.c: New file.
21997         * benchtests/bench-bzero.c: New file.
21998         * benchtests/bench-memccpy-ifunc.c: New file.
21999         * benchtests/bench-memccpy.c: New file.
22000         * benchtests/bench-memchr-ifunc.c: New file.
22001         * benchtests/bench-memchr.c: New file.
22002         * benchtests/bench-memcmp-ifunc.c: New file.
22003         * benchtests/bench-memcmp.c: New file.
22004         * benchtests/bench-memmem-ifunc.c: New file.
22005         * benchtests/bench-memmem.c: New file.
22006         * benchtests/bench-memmove-ifunc.c: New file.
22007         * benchtests/bench-memmove.c: New file.
22008         * benchtests/bench-mempcpy-ifunc.c: New file.
22009         * benchtests/bench-mempcpy.c: New file.
22010         * benchtests/bench-memset-ifunc.c: New file.
22011         * benchtests/bench-memset.c: New file.
22012         * benchtests/bench-rawmemchr-ifunc.c: New file.
22013         * benchtests/bench-rawmemchr.c: New file.
22014         * benchtests/bench-stpcpy-ifunc.c: New file.
22015         * benchtests/bench-stpcpy.c: New file.
22016         * benchtests/bench-stpncpy-ifunc.c: New file.
22017         * benchtests/bench-stpncpy.c: New file.
22018         * benchtests/bench-strcasecmp-ifunc.c: New file.
22019         * benchtests/bench-strcasecmp.c: New file.
22020         * benchtests/bench-strcasestr-ifunc.c: New file.
22021         * benchtests/bench-strcasestr.c: New file.
22022         * benchtests/bench-strcat-ifunc.c: New file.
22023         * benchtests/bench-strcat.c: New file.
22024         * benchtests/bench-strchr-ifunc.c: New file.
22025         * benchtests/bench-strchr.c: New file.
22026         * benchtests/bench-strchrnul-ifunc.c: New file.
22027         * benchtests/bench-strchrnul.c: New file.
22028         * benchtests/bench-strcmp-ifunc.c: New file.
22029         * benchtests/bench-strcmp.c: New file.
22030         * benchtests/bench-strcpy-ifunc.c: New file.
22031         * benchtests/bench-strcpy.c: New file.
22032         * benchtests/bench-strcspn-ifunc.c: New file.
22033         * benchtests/bench-strcspn.c: New file.
22034         * benchtests/bench-strlen-ifunc.c: New file.
22035         * benchtests/bench-strlen.c: New file.
22036         * benchtests/bench-strncasecmp-ifunc.c: New file.
22037         * benchtests/bench-strncasecmp.c: New file.
22038         * benchtests/bench-strncat-ifunc.c: New file.
22039         * benchtests/bench-strncat.c: New file.
22040         * benchtests/bench-strncmp-ifunc.c: New file.
22041         * benchtests/bench-strncmp.c: New file.
22042         * benchtests/bench-strncpy-ifunc.c: New file.
22043         * benchtests/bench-strncpy.c: New file.
22044         * benchtests/bench-strnlen-ifunc.c: New file.
22045         * benchtests/bench-strnlen.c: New file.
22046         * benchtests/bench-strpbrk-ifunc.c: New file.
22047         * benchtests/bench-strpbrk.c: New file.
22048         * benchtests/bench-strrchr-ifunc.c: New file.
22049         * benchtests/bench-strrchr.c: New file.
22050         * benchtests/bench-strspn-ifunc.c: New file.
22051         * benchtests/bench-strspn.c: New file.
22052         * benchtests/bench-strstr-ifunc.c: New file.
22053         * benchtests/bench-strstr.c: New file.
22055         * benchtests/Makefile: Disable parallel execution of targets.
22056         (string-bench): Add memcpy.
22057         (benchset): New variable to store a list of benchmark sets.
22058         (bench-func): Renamed from bench.
22059         (bench-set): New target.
22060         (bench): Depend on bench-func and bench-set.
22061         * benchtests/README: Add section on benchmark sets.
22062         * benchtests/bench-memcpy-ifunc.c: New file.
22063         * benchtests/bench-memcpy.c: New file.
22064         * benchtests/bench-string.h: New file.
22066 2013-06-11  Andreas Schwab  <schwab@suse.de>
22068         [BZ #15577]
22069         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22070         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22071         values in the triple.
22072         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22073         terminator in the group key.
22075 2013-06-11  Andreas Jaeger  <aj@suse.de>
22077         * po/zh_TW.po: Update Chinese (traditional) translation from
22078         translation project.
22080 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22082         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22083         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22084         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22085         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22086         (clock_getcpuclockid): Likewise.
22087         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22088         Add weak_alias and libc_hidden_def.
22089         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22090         * rt/clock_gettime.c (clock_gettime): Rename to
22091         __clock_gettime.  Add weak_alias and libc_hidden_def.
22092         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22093         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22094         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22095         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22096         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22097         Likewise.
22098         * rt/clock_settime.c (clock_settime): Rename to
22099         __clock_settime.  Add weak_alias and libc_hidden_def.
22100         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22102 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22104         * mach/err_boot.sub: Remove trailing whitespace.
22105         * mach/err_ipc.sub: Likewise.
22106         * mach/err_mach.sub: Likewise.
22108         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22109         (ROUNDING_TESTS_double): Likewise.
22110         (ROUNDING_TESTS_long_double): Likewise.
22111         (ROUNDING_TESTS): Likewise.
22112         * math/libm-test.inc: Include <math-tests.h>.
22113         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22114         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22115         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22116         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22118 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22120         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22121         of assigning.
22123 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22125         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22126         otherwise empty TRANS lines.
22127         * sysdeps/gnu/errlist.c: Regenerated.
22129         * catgets/gencat.c (error_print): Use (void) in function
22130         definition.
22131         * crypt/crypt_util.c (__init_des): Likewise.
22132         * crypt/speeds.c (Stop): Likewise.
22133         (main): Likewise.
22134         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22135         * inet/ruserpass.c (token): Likewise.
22136         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22137         * intl/localealias.c (extend_alias_table): Likewise.
22138         * intl/plural-exp.c (init_germanic_plural): Likewise.
22139         * libio/fcloseall.c (__fcloseall): Likewise.
22140         * libio/genops.c (_IO_flush_all): Likewise.
22141         (_IO_flush_all_linebuffered): Likewise.
22142         (_IO_cleanup): Likewise.
22143         (_IO_iter_begin): Likewise.
22144         (_IO_iter_end): Likewise.
22145         (_IO_list_lock): Likewise.
22146         (_IO_list_unlock): Likewise.
22147         (_IO_list_resetlock): Likewise.
22148         * libio/getchar.c (getchar): Likewise.
22149         * libio/getchar_u.c (getchar_unlocked): Likewise.
22150         * libio/getwchar.c (getwchar): Likewise.
22151         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22152         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22153         * login/getpt.c (__getpt): Likewise.
22154         * login/tst-utmp.c (main): Likewise.
22155         * malloc/hooks.c (__malloc_check_init): Likewise.
22156         * malloc/malloc.c (__malloc_stats): Likewise.
22157         * malloc/mtrace.c (tr_break): Likewise.
22158         (mtrace): Likewise.
22159         (muntrace): Likewise.
22160         * misc/fstab.c (endfsent): Likewise.
22161         * misc/getclktck.c (__getclktck): Likewise.
22162         * misc/getdtsz.c (__getdtablesize): Likewise.
22163         * misc/gethostid.c (gethostid): Likewise.
22164         * misc/getpagesize.c (__getpagesize): Likewise.
22165         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22166         (__get_nprocs): Likewise.
22167         (__get_phys_pages): Likewise.
22168         (__get_avphys_pages): Likewise.
22169         * misc/getttyent.c (getttyent): Likewise.
22170         (setttyent): Likewise.
22171         (endttyent): Likewise.
22172         * misc/getusershell.c (getusershell): Likewise.
22173         (endusershell): Likewise.
22174         (setusershell): Likewise.
22175         (initshells): Likewise.
22176         * misc/hsearch.c (__hdestroy): Likewise.
22177         * misc/sync.c (sync): Likewise.
22178         * misc/syslog.c (closelog_internal): Likewise.
22179         (closelog): Likewise.
22180         * misc/ttyslot.c (ttyslot): Likewise.
22181         * misc/vhangup.c (vhangup): Likewise.
22182         * posix/fork.c (__fork): Likewise.
22183         * posix/getegid.c (__getegid): Likewise.
22184         * posix/geteuid.c (__geteuid): Likewise.
22185         * posix/getgid.c (__getgid): Likewise.
22186         * posix/getpid.c (__getpid): Likewise.
22187         * posix/getppid.c (__getppid): Likewise.
22188         * posix/getuid.c (__getuid): Likewise.
22189         * posix/pause.c (pause): Likewise.
22190         * posix/setpgrp.c (setpgrp): Likewise.
22191         * posix/setsid.c (__setsid): Likewise.
22192         * posix/test-vfork.c (noop): Likewise.
22193         * resolv/gethnamaddr.c (_endhtent): Likewise.
22194         (_gethtent): Likewise.
22195         (ht_endhostent): Likewise.
22196         (gethostent): Likewise.
22197         (dns_service): Likewise.
22198         * stdlib/drand48.c (drand48): Likewise.
22199         * stdlib/lrand48.c (lrand48): Likewise.
22200         * stdlib/mrand48.c (mrand48): Likewise.
22201         * stdlib/rand.c (rand): Likewise.
22202         * stdlib/random.c (__random): Likewise.
22203         * stdlib/setenv.c (clearenv): Likewise.
22204         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22205         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22206         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22207         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22208         (__get_nprocs): Likewise.
22209         (__get_phys_pages): Likewise.
22210         (__get_avphys_pages): Likewise.
22211         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22212         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22213         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22214         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22215         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22216         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22217         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22218         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22219         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22220         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22221         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22222         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22223         * sysdeps/posix/clock.c (clock): Likewise.
22224         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22225         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22226         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22227         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22228         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22229         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22230         (__get_nprocs_conf): Likewise.
22231         (__get_phys_pages): Likewise.
22232         (__get_avphys_pages): Likewise.
22233         * time/clock.c (clock): Likewise.
22234         * time/tzset.c (__tzname_max): Likewise.
22236 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22238         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22239         (__bswap_32): Do not use "register".
22240         * crypt/crypt.c (_ufc_doit_r): Likewise.
22241         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22242         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22243         * gmon/gmon.c (__monstartup): Likewise.
22244         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22245         * hurd/hurdmalloc.c (more_memory): Likewise.
22246         (malloc): Likewise.
22247         (free): Likewise.
22248         (realloc): Likewise.
22249         (malloc_fork_prepare): Likewise.
22250         (malloc_fork_parent): Likewise.
22251         (malloc_fork_child): Likewise.
22252         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22253         (_svcauth_des): Likewise.
22254         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22255         * inet/inet_net.c (inet_network): Likewise.
22256         * inet/inet_netof.c (inet_netof): Likewise.
22257         * inet/rcmd.c (__validuser2_sa): Likewise.
22258         * io/fts.c (fts_open): Likewise.
22259         (fts_load): Likewise.
22260         (fts_close): Likewise.
22261         (fts_read): Likewise.
22262         (fts_children): Likewise.
22263         (fts_build): Likewise.
22264         (fts_stat): Likewise.
22265         (fts_sort): Likewise.
22266         (fts_alloc): Likewise.
22267         (fts_lfree): Likewise.
22268         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22269         (_IO_file_xsgetn): Likewise.
22270         (_IO_file_xsgetn_mmap): Likewise.
22271         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22272         (_IO_cookie_write): Likewise.
22273         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22274         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22275         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22276         * malloc/obstack.c (_obstack_begin): Likewise.
22277         (_obstack_begin_1): Likewise.
22278         (_obstack_newchunk): Likewise.
22279         (_obstack_allocated_p): Likewise.
22280         (obstack_free): Likewise.
22281         (_obstack_memory_used): Likewise.
22282         * misc/getttyent.c (getttynam): Likewise.
22283         (getttyent): Likewise.
22284         (skip): Likewise.
22285         (value): Likewise.
22286         * misc/getusershell.c (initshells): Likewise.
22287         * misc/syslog.c (__vsyslog_chk): Likewise.
22288         * misc/ttyslot.c (ttyslot): Likewise.
22289         * nis/nis_hash.c (__nis_hash): Likewise.
22290         * posix/fnmatch_loop.c (FCT): Likewise.
22291         * posix/getconf.c (print_all): Likewise.
22292         (main): Likewise.
22293         * posix/getopt.c (exchange): Likewise.
22294         * posix/glob.c (globfree): Likewise.
22295         (prefix_array): Likewise.
22296         (__glob_pattern_type): Likewise.
22297         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22298         (NS_GET32): Likewise.
22299         (NS_PUT16): Likewise.
22300         (NS_PUT32): Likewise.
22301         * resolv/gethnamaddr.c (getanswer): Likewise.
22302         (gethostbyname2): Likewise.
22303         (gethostbyaddr): Likewise.
22304         (_gethtent): Likewise.
22305         (_gethtbyname2): Likewise.
22306         (_gethtbyaddr): Likewise.
22307         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22308         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22309         * resolv/res_init.c (__res_vinit): Likewise.
22310         (net_mask): Likewise.
22311         * resolv/res_mkquery.c (outchar): Likewise.
22312         (PRINT): Likewise.
22313         * stdio-common/printf_fp.c (outchar): Likewise.
22314         (PRINT): Likewise.
22315         * stdio-common/printf_fphex.c (outchar): Likewise.
22316         (PRINT): Likewise.
22317         * stdio-common/printf_size.c (outchar): Likewise.
22318         (PRINT): Likewise.
22319         * stdio-common/test_rdwr.c (main): Likewise.
22320         * stdio-common/tfformat.c (matches): Likewise.
22321         * stdio-common/vfprintf.c (outchar): Likewise.
22322         (printf_unknown): Likewise.
22323         (buffered_vfprintf): Likewise.
22324         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22325         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22326         (ReadFile): Likewise.
22327         * stdlib/qsort.c (SWAP): Likewise.
22328         (_quicksort): Likewise.
22329         * stdlib/setenv.c (__add_to_environ): Likewise.
22330         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22331         * stdlib/strtol_l.c (__strtol_l): Likewise.
22332         * stdlib/tst-strtod.c (main): Likewise.
22333         * stdlib/tst-strtol.c (main): Likewise.
22334         * stdlib/tst-strtoll.c (main): Likewise.
22335         * string/bits/string2.h (__strcmp_cc): Likewise.
22336         (__strcmp_cg): Likewise.
22337         (__strcspn_c1): Likewise.
22338         (__strcspn_c2): Likewise.
22339         (__strcspn_c3): Likewise.
22340         (__strspn_c1): Likewise.
22341         (__strspn_c2): Likewise.
22342         (__strspn_c3): Likewise.
22343         (__strsep_1c): Likewise.
22344         (__strsep_2c): Likewise.
22345         (__strsep_3c): Likewise.
22346         * string/memccpy.c (__memccpy): Likewise.
22347         * string/stpcpy.c (__stpcpy): Likewise.
22348         * string/strcmp.c (strcmp): Likewise.
22349         * string/strrchr.c (strrchr): Likewise.
22350         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22351         Likewise.
22352         * sysdeps/mach/hurd/getcwd.c
22353         (_hurd_canonicalize_directory_name_internal): Likewise.
22354         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22355         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22356         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22357         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22358         Likewise, in both definitions.
22359         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22360         definitions.
22361         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22362         64] (__bswap_64): Likewise.
22363         * time/test_time.c (main): Likewise.
22364         * time/tzfile.c (__tzfile_read): Likewise.
22365         (__tzfile_compute): Likewise.
22366         * time/tzset.c (__tzset_parse_tz): Likewise.
22367         (tzset_internal): Likewise.
22368         (compute_change): Likewise.
22369         * wcsmbs/wcscat.c (__wcscat): Likewise.
22370         * wcsmbs/wcschr.c (wcschr): Likewise.
22371         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22372         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22373         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22374         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22375         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22376         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22377         * wcsmbs/wmemchr.c (wmemchr): Likewise.
22378         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22379         * wcsmbs/wmemset.c (wmemset): Likewise.
22381 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
22383         * scripts/config.guess: Update to version 2013-05-16.
22384         * scripts/config.sub: Update to version 2013-04-24.
22385         * scripts/install-sh: Update to version 2011-11-20.07.
22386         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22387         * scripts/move-if-change: Update to version 2012-01-06 07:23.
22389 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
22391         * debug/fgetws_u_chk.c: Fix leading whitespaces.
22392         * elf/sln.c: Likewise.
22393         * hurd/hurd/ioctl.h: Likewise.
22394         * hurd/hurdmalloc.c: Likewise.
22395         * hurd/xattr.c: Likewise.
22396         * include/shlib-compat.h: Likewise.
22397         * inet/ruserpass.c: Likewise.
22398         * libio/iofgets_u.c: Likewise.
22399         * libio/iofgetws_u.c: Likewise.
22400         * locale/programs/ld-identification.c: Likewise.
22401         * locale/programs/ld-time.c: Likewise.
22402         * mach/msg-destroy.c: Likewise.
22403         * nss/nss_files/files-netgrp.c: Likewise.
22404         * resolv/res_data.c: Likewise.
22405         * soft-fp/op-1.h: Likewise.
22406         * soft-fp/op-2.h: Likewise.
22407         * soft-fp/op-4.h: Likewise.
22408         * soft-fp/op-common.h: Likewise.
22409         * stdio-common/printf_fphex.c: Likewise.
22410         * stdlib/strtod_l.c: Likewise.
22411         * sunrpc/rpc/clnt.h: Likewise.
22412         * sysdeps/generic/framestate.c: Likewise.
22413         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22414         * sysdeps/i386/bsd-setjmp.S: Likewise.
22415         * sysdeps/i386/__longjmp.S: Likewise.
22416         * sysdeps/i386/setjmp.S: Likewise.
22417         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22418         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22419         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22420         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22421         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22422         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22423         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22424         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22425         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22426         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22427         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22428         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22429         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22430         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22431         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22432         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22433         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22434         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22435         * sysdeps/ieee754/support.c: Likewise.
22436         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22437         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22438         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22439         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22440         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22441         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22442         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22443         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22444         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22445         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22446         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22447         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22448         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22449         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22450         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22451         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22452         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22455 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
22457         * posix/transbug.c: Remove executable mode.
22459 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
22461         * crypt/speeds.c: Remove trailing whitespace.
22462         * dlfcn/default.c: Likewise.
22463         * elf/ifuncdep2.c: Likewise.
22464         * elf/ifuncmain1.c: Likewise.
22465         * elf/ifuncmain1vis.c: Likewise.
22466         * elf/testobj.h: Likewise.
22467         * elf/tst-stackguard1.c: Likewise.
22468         * gmon/sys/gmon.h: Likewise.
22469         * hurd/hurdmsg.c: Likewise.
22470         * hurd/new-fd.c: Likewise.
22471         * hurd/ports-get.c: Likewise.
22472         * iconvdata/ibm1008_420.c: Likewise.
22473         * inet/tst-getni1.c: Likewise.
22474         * inet/tst-getni2.c: Likewise.
22475         * libio/ioungetc.c: Likewise.
22476         * libio/wfiledoalloc.c: Likewise.
22477         * manual/libm-err-tab.pl: Likewise.
22478         * math/w_dremf.c: Likewise.
22479         * misc/ftruncate.c: Likewise.
22480         * posix/bug-glob2.c: Likewise.
22481         * posix/tst-pcre.c: Likewise.
22482         * posix/wait4.c: Likewise.
22483         * resolv/README: Likewise.
22484         * resolv/res_debug.h: Likewise.
22485         * resolv/tst-inet_ntop.c: Likewise.
22486         * setjmp/bug269-setjmp.c: Likewise.
22487         * soft-fp/extended.h: Likewise.
22488         * soft-fp/op-1.h: Likewise.
22489         * soft-fp/op-2.h: Likewise.
22490         * soft-fp/op-4.h: Likewise.
22491         * soft-fp/op-8.h: Likewise.
22492         * soft-fp/testit.c: Likewise.
22493         * stdio-common/bug16.c: Likewise.
22494         * stdlib/random.c: Likewise.
22495         * sunrpc/rpcsvc/rquota.x: Likewise.
22496         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22497         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22498         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22499         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22500         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22501         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22502         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22503         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22504         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22505         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22506         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22507         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22508         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22509         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22510         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22511         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22512         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22513         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22514         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22515         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22516         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22517         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22518         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22519         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22520         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22521         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22522         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22523         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22524         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22525         * sysdeps/ieee754/s_lib_version.c: Likewise.
22526         * sysdeps/mach/hurd/check_fds.c: Likewise.
22527         * sysdeps/mach/hurd/getsockname.c: Likewise.
22528         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22529         * sysdeps/mach/hurd/recvfrom.c: Likewise.
22530         * sysdeps/powerpc/bits/link.h: Likewise.
22531         * sysdeps/powerpc/dl-procinfo.c: Likewise.
22532         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22533         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22534         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22535         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22536         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22537         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22538         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22539         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22540         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22541         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22542         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22543         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22544         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22545         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22546         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22547         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22548         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22549         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22550         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22551         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22552         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22553         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22554         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22555         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22556         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22557         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22558         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22559         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22560         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22561         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22562         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22563         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22564         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22565         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22566         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22567         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22568         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22569         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22570         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22571         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22572         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22573         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22574         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22575         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22576         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22577         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22578         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22579         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22580         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22581         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22582         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22583         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22584         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22585         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22586         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22587         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22588         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22589         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22590         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22591         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22592         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22593         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22594         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22595         * sysdeps/powerpc/sysdep.h: Likewise.
22596         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22597         * sysdeps/s390/s390-64/sub_n.S: Likewise.
22598         * sysdeps/sh/dl-trampoline.S: Likewise.
22599         * sysdeps/sh/memset.S: Likewise.
22600         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22601         * sysdeps/sh/strlen.S: Likewise.
22602         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22603         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22604         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22605         * sysdeps/sparc/sparc32/rem.S: Likewise.
22606         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22607         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22608         * sysdeps/sparc/sparc32/strchr.S: Likewise.
22609         * sysdeps/sparc/sparc32/udiv.S: Likewise.
22610         * sysdeps/sparc/sparc32/urem.S: Likewise.
22611         * sysdeps/sparc/sparc64/add_n.S: Likewise.
22612         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22613         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22614         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22615         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22616         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22617         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22618         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22619         * sysdeps/unix/bsd/times.c: Likewise.
22620         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22621         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22625         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22626         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22627         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22628         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22629         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22630         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22631         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22632         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22633         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22634         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22635         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22636         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22637         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22638         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22639         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22640         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22641         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22642         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22643         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22644         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22645         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22646         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22647         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22648         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22649         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22650         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22651         * sysdeps/x86_64/strcspn.S: Likewise.
22653 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22655         * locale/C-translit.h: Revert #include <stdint.h> because this is a
22656         generated file.  Regenerate properly from gen-translit.pl.
22657         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
22658         locale/C-translit.h.
22660 2013-06-05  Andreas Schwab  <schwab@suse.de>
22662         [BZ #15100]
22663         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22664         week as 6 instead of -1.
22665         * time/tst-strptime.c (day_tests): Add test case.
22667 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22669         * sysdeps/generic/math_private.h
22670         (libc_feholdexcept_setround_53bit): Replace with
22671         libc_feholdsetround_53bit.
22672         (libc_feupdateenv_53bit): Replace with
22673         libc_feresetround_53bit.
22674         (SET_RESTORE_ROUND_53BIT): Adjust.
22676 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22678         * string/test-strchrnul.c: Add copyright header.
22680         * posix/tst-getaddrinfo4.c: Increase test timeout.
22682 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22684         [BZ #15536]
22685         * math/libm-test.inc (MAX_EXP): Remove
22686         (MIN_EXP): Define.
22687         (ulp): Use MIN_EXP - MANT_DIG.
22688         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22690 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22692         * po/be.po: Revert last change.
22693         * po/zh_CN.po: Likewise.
22694         * po/header.pot: Likewise.
22696 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22698         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22699         link-libc-deps to empty as target-specific variable.
22700         * Makerules (link-libc-args): New variable.
22701         (libc-for-link): Likewise.
22702         (link-libc-deps): Likewise.
22703         (lib%.so): Depend on $(link-libc-deps).  Link with
22704         $(link-libc-args).
22705         (build-module): Link with $(link-libc-args).
22706         (build-module-asneeded): Likewise.
22707         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22708         list of objects.
22709         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22710         target-specific variable.
22711         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22712         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22713         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22714         libc.
22715         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22716         libc and ld.so.
22717         ($(objpfx)libpcprofile.so): Likewise.
22718         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22719         libc_nonshared.a.
22720         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22721         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22722         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22723         $(link-libc-deps).
22724         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22725         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22726         * login/Makefile ($(objpfx)libutil.so): Likewise.
22727         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22728         * math/Makefile ($(objpfx)libm.so): Likewise.
22729         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22730         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22731         variable instead of depending directly on libc.
22732         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22733         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22734         $(link-libc-deps).
22735         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22736         libc.
22737         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22738         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22739         ($(objpfx)libanl.so): Likewise.
22740         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22741         ld.so.
22742         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22743         $(link-libc-deps).
22744         * sysdeps/i386/fpu/Makefile: Remove file.
22745         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22746         ($(objpfx)libm.so): Remove dependency on ld.so.
22748 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22750         [BZ # 15553]
22751         * nis/yp_xdr.c (XDRMAXNAME): Define.
22752         (XDRMAXRECORD): Define.
22753         (xdr_domainname): Use XDRMAXNAME.
22754         (xdr_mapname): Likewise.
22755         (xdr_peername): Likewise.
22756         (xdr_keydat): Use XDRMAXRECORD.
22757         (xdr_valdat): Likewise.
22759 2013-05-30  Jeff Law  <law@redhat.com>
22761         [BZ #14256]
22762         * manual/errno.texi (ESTALE): Update to account for more than
22763         just NFS file systems.
22764         * sysdeps/gnu/errlist.c: Regenerated.
22766 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22768         [BZ #15465]
22769         * elf/Makefile (tests): Add tst-null-argv.
22770         (modules-names):  Add tst-null-argv-lib.
22771         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22772         (tst-null-argv-ENV): Set environment for tst-null-argv.
22773         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22774         (RTLD_PROGNAME): New macro.
22775         * elf/tst-null-argv.c: New test case.
22776         * elf/tst-null-argv-lib.c: Library for test case.
22777         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22778         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22779         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22780         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22781         * elf/dl-init.c (call_init): Likewise.
22782         (_dl_init): Likewise.
22783         * elf/dl-load.c (print_search_path): Likewise.
22784         (_dl_map_object): Likewise.
22785         * elf/dl-lookup.c (do_lookup_x): Likewise.
22786         (add_dependency): Likewise.
22787         (_dl_lookup_symbol_x): Likewise.
22788         (_dl_debug_bindings): Likewise.
22789         * elf/dl-open.c (_dl_show_scope): Likewise.
22790         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22791         * elf/dl-version.c (match_symbol): Likewise.
22792         (_dl_check_map_versions): Likewise.
22793         * elf/rtld.c (dl_main): Likewise.
22794         (print_unresolved): Use RTLD_PROGNAME.
22795         (print_missing_version): Likewise.
22796         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22797         (elf_machine_rela): Likewise.
22798         * sysdeps/powerpc/powerpc32/dl-machine.c
22799         (__process_machine_rela): Likewise.
22800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22801         Likewise.
22802         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22803         Likewise.
22804         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22805         Likewise.
22806         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22807         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22808         Likewise.
22809         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22810         Likewise.
22811         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22813 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22815         * po/be.po: Add descriptive title.
22816         * po/zh_CN.po: Likewise.
22817         * po/header.pot: Likewise.
22819 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22821         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22822         error message.
22823         (enlarge_archive): Likewise.
22825 2013-05-28  Ben North  <ben@redfrontdoor.org>
22827         * manual/arith.texi (frexp): It is the magnitude of the return
22828         value which lies in [0.5, 1), not the return value itself.
22830 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22834 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22836         * stdio-common/bug26.c (main): Correct fscanf template.
22838         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22839         declare _dl_skip_args.
22841         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22842         Don't declare.
22844         * manual/platform.texi: Add missing @end deftypefun.
22846 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22848         [BZ #15529]
22849         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22850         bit of mantissa of 2^16382.
22851         * math/libm-test.inc (hypot_test_data): Add more tests.
22853         * math/libm-test.inc: Add drem and pow10 to list of tested
22854         functions.
22855         (pow10_test): New function.
22856         (drem_test): Likewise.
22857         (drem_test_tonearest): Likewise.
22858         (drem_test_towardzero): Likewise.
22859         (drem_test_downward): Likewise.
22860         (drem_test_upward): Likewise.
22861         (main): Call the new functions.
22863         * math/libm-test.inc (finite_test_data): Remove.
22864         (finite_test): Run tests from isfinite_test_data.
22865         (gamma_test_data): Remove.
22866         (gamma_test): Run tests from lgamma_test_data.
22867         * sysdeps/i386/fpu/libm-test-ulps: Update.
22868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22870 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22872         * manual/platform.texi: Add PowerPC PPR function set documentation.
22873         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22874         implementation.
22876 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22878         * math/libm-test.inc (MAX_EXP): Define.
22879         (ULPDIFF): Define.
22880         (ulp): New function.
22881         (check_float_internal): Use ULPDIFF.
22882         (cpow_test): Disable failing test.
22883         (check_ulp): Test ulp() implemetnation.
22884         (main): Call check_ulp before starting tests.
22886 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22888         * math/gen-libm-test.pl (generate_testfile): Do not handle
22889         START_DATA and END_DATA.
22890         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22891         END_DATA.
22892         (acos_tonearest_test_data): Likewise.
22893         (acos_towardzero_test_data): Likewise.
22894         (acos_downward_test_data): Likewise.
22895         (acos_upward_test_data): Likewise.
22896         (acosh_test_data): Likewise.
22897         (asin_test_data): Likewise.
22898         (asin_tonearest_test_data): Likewise.
22899         (asin_towardzero_test_data): Likewise.
22900         (asin_downward_test_data): Likewise.
22901         (asin_upward_test_data): Likewise.
22902         (asinh_test_data): Likewise.
22903         (atan_test_data): Likewise.
22904         (atanh_test_data): Likewise.
22905         (atan2_test_data): Likewise.
22906         (cabs_test_data): Likewise.
22907         (cacos_test_data): Likewise.
22908         (cacosh_test_data): Likewise.
22909         (carg_test_data): Likewise.
22910         (casin_test_data): Likewise.
22911         (casinh_test_data): Likewise.
22912         (catan_test_data): Likewise.
22913         (catanh_test_data): Likewise.
22914         (cbrt_test_data): Likewise.
22915         (ccos_test_data): Likewise.
22916         (ccosh_test_data): Likewise.
22917         (ceil_test_data): Likewise.
22918         (cexp_test_data): Likewise.
22919         (cimag_test_data): Likewise.
22920         (clog_test_data): Likewise.
22921         (clog10_test_data): Likewise.
22922         (conj_test_data): Likewise.
22923         (copysign_test_data): Likewise.
22924         (cos_test_data): Likewise.
22925         (cos_tonearest_test_data): Likewise.
22926         (cos_towardzero_test_data): Likewise.
22927         (cos_downward_test_data): Likewise.
22928         (cos_upward_test_data): Likewise.
22929         (cosh_test_data): Likewise.
22930         (cosh_tonearest_test_data): Likewise.
22931         (cosh_towardzero_test_data): Likewise.
22932         (cosh_downward_test_data): Likewise.
22933         (cosh_upward_test_data): Likewise.
22934         (cpow_test_data): Likewise.
22935         (cproj_test_data): Likewise.
22936         (creal_test_data): Likewise.
22937         (csin_test_data): Likewise.
22938         (csinh_test_data): Likewise.
22939         (csqrt_test_data): Likewise.
22940         (ctan_test_data): Likewise.
22941         (ctan_tonearest_test_data): Likewise.
22942         (ctan_towardzero_test_data): Likewise.
22943         (ctan_downward_test_data): Likewise.
22944         (ctan_upward_test_data): Likewise.
22945         (ctanh_test_data): Likewise.
22946         (ctanh_tonearest_test_data): Likewise.
22947         (ctanh_towardzero_test_data): Likewise.
22948         (ctanh_downward_test_data): Likewise.
22949         (ctanh_upward_test_data): Likewise.
22950         (erf_test_data): Likewise.
22951         (erfc_test_data): Likewise.
22952         (exp_test_data): Likewise.
22953         (exp_tonearest_test_data): Likewise.
22954         (exp_towardzero_test_data): Likewise.
22955         (exp_downward_test_data): Likewise.
22956         (exp_upward_test_data): Likewise.
22957         (exp10_test_data): Likewise.
22958         (exp2_test_data): Likewise.
22959         (expm1_test_data): Likewise.
22960         (fabs_test_data): Likewise.
22961         (fdim_test_data): Likewise.
22962         (finite_test_data): Likewise.
22963         (floor_test_data): Likewise.
22964         (fma_test_data): Likewise.
22965         (fma_towardzero_test_data): Likewise.
22966         (fma_downward_test_data): Likewise.
22967         (fma_upward_test_data): Likewise.
22968         (fmax_test_data): Likewise.
22969         (fmin_test_data): Likewise.
22970         (fmod_test_data): Likewise.
22971         (fpclassify_test_data): Likewise.
22972         (frexp_test_data): Likewise.
22973         (gamma_test_data): Likewise.
22974         (hypot_test_data): Likewise.
22975         (ilogb_test_data): Likewise.
22976         (isfinite_test_data): Likewise.
22977         (isgreater_test_data): Likewise.
22978         (isgreaterequal_test_data): Likewise.
22979         (isinf_test_data): Likewise.
22980         (isless_test_data): Likewise.
22981         (islessequal_test_data): Likewise.
22982         (islessgreater_test_data): Likewise.
22983         (isnan_test_data): Likewise.
22984         (isnormal_test_data): Likewise.
22985         (issignaling_test_data): Likewise.
22986         (isunordered_test_data): Likewise.
22987         (j0_test_data): Likewise.
22988         (j1_test_data): Likewise.
22989         (jn_test_data): Likewise.
22990         (ldexp_test_data): Likewise.
22991         (lgamma_test_data): Likewise.
22992         (lrint_test_data): Likewise.
22993         (lrint_tonearest_test_data): Likewise.
22994         (lrint_towardzero_test_data): Likewise.
22995         (lrint_downward_test_data): Likewise.
22996         (lrint_upward_test_data): Likewise.
22997         (llrint_test_data): Likewise.
22998         (llrint_tonearest_test_data): Likewise.
22999         (llrint_towardzero_test_data): Likewise.
23000         (llrint_downward_test_data): Likewise.
23001         (llrint_upward_test_data): Likewise.
23002         (log_test_data): Likewise.
23003         (log10_test_data): Likewise.
23004         (log1p_test_data): Likewise.
23005         (log2_test_data): Likewise.
23006         (logb_test_data): Likewise.
23007         (logb_downward_test_data): Likewise.
23008         (lround_test_data): Likewise.
23009         (llround_test_data): Likewise.
23010         (modf_test_data): Likewise.
23011         (nearbyint_test_data): Likewise.
23012         (nextafter_test_data): Likewise.
23013         (nexttoward_test_data): Likewise.
23014         (pow_test_data): Likewise.
23015         (pow_tonearest_test_data): Likewise.
23016         (pow_towardzero_test_data): Likewise.
23017         (pow_downward_test_data): Likewise.
23018         (pow_upward_test_data): Likewise.
23019         (remainder_test_data): Likewise.
23020         (remainder_tonearest_test_data): Likewise.
23021         (remainder_towardzero_test_data): Likewise.
23022         (remainder_downward_test_data): Likewise.
23023         (remainder_upward_test_data): Likewise.
23024         (remquo_test_data): Likewise.
23025         (rint_test_data): Likewise.
23026         (rint_tonearest_test_data): Likewise.
23027         (rint_towardzero_test_data): Likewise.
23028         (rint_downward_test_data): Likewise.
23029         (rint_upward_test_data): Likewise.
23030         (round_test_data): Likewise.
23031         (scalb_test_data): Likewise.
23032         (scalbn_test_data): Likewise.
23033         (scalbln_test_data): Likewise.
23034         (signbit_test_data): Likewise.
23035         (sin_test_data): Likewise.
23036         (sin_tonearest_test_data): Likewise.
23037         (sin_towardzero_test_data): Likewise.
23038         (sin_downward_test_data): Likewise.
23039         (sin_upward_test_data): Likewise.
23040         (sincos_test_data): Likewise.
23041         (sinh_test_data): Likewise.
23042         (sinh_tonearest_test_data): Likewise.
23043         (sinh_towardzero_test_data): Likewise.
23044         (sinh_downward_test_data): Likewise.
23045         (sinh_upward_test_data): Likewise.
23046         (sqrt_test_data): Likewise.
23047         (tan_test_data): Likewise.
23048         (tan_tonearest_test_data): Likewise.
23049         (tan_towardzero_test_data): Likewise.
23050         (tan_downward_test_data): Likewise.
23051         (tan_upward_test_data): Likewise.
23052         (tanh_test_data): Likewise.
23053         (tgamma_test_data): Likewise.
23054         (trunc_test_data): Likewise.
23055         (y0_test_data): Likewise.
23056         (y1_test_data): Likewise.
23057         (yn_test_data): Likewise.
23058         (significand_test_data): Likewise.
23060         * math/gen-libm-test.pl (@functions): Remove variable.
23061         (generate_testfile): Don't handle START and END lines.
23062         * math/libm-test.inc (START): New macro.
23063         (END): Likewise.
23064         (END_COMPLEX): Likewise.
23065         (acos_test): Use END macro without arguments.
23066         (acos_test_tonearest): Likewise.
23067         (acos_test_towardzero): Likewise.
23068         (acos_test_downward): Likewise.
23069         (acos_test_upward): Likewise.
23070         (acosh_test): Likewise.
23071         (asin_test): Likewise.
23072         (asin_test_tonearest): Likewise.
23073         (asin_test_towardzero): Likewise.
23074         (asin_test_downward): Likewise.
23075         (asin_test_upward): Likewise.
23076         (asinh_test): Likewise.
23077         (atan_test): Likewise.
23078         (atanh_test): Likewise.
23079         (atan2_test): Likewise.
23080         (cabs_test): Likewise.
23081         (cacos_test): Use END_COMPLEX macro without arguments.
23082         (cacosh_test): Likewise.
23083         (carg_test): Use END macro without arguments.
23084         (casin_test): Use END_COMPLEX macro without arguments.
23085         (casinh_test): Likewise.
23086         (catan_test): Likewise.
23087         (catanh_test): Likewise.
23088         (cbrt_test): Use END macro without arguments.
23089         (ccos_test): Use END_COMPLEX macro without arguments.
23090         (ccosh_test): Likewise.
23091         (ceil_test): Use END macro without arguments.
23092         (cexp_test): Use END_COMPLEX macro without arguments.
23093         (cimag_test): Use END macro without arguments.
23094         (clog_test): Use END_COMPLEX macro without arguments.
23095         (clog10_test): Likewise.
23096         (conj_test): Likewise.
23097         (copysign_test): Use END macro without arguments.
23098         (cos_test): Likewise.
23099         (cos_test_tonearest): Likewise.
23100         (cos_test_towardzero): Likewise.
23101         (cos_test_downward): Likewise.
23102         (cos_test_upward): Likewise.
23103         (cosh_test): Likewise.
23104         (cosh_test_tonearest): Likewise.
23105         (cosh_test_towardzero): Likewise.
23106         (cosh_test_downward): Likewise.
23107         (cosh_test_upward): Likewise.
23108         (cpow_test): Use END_COMPLEX macro without arguments.
23109         (cproj_test): Likewise.
23110         (creal_test): Use END macro without arguments.
23111         (csin_test): Use END_COMPLEX macro without arguments.
23112         (csinh_test): Likewise.
23113         (csqrt_test): Likewise.
23114         (ctan_test): Likewise.
23115         (ctan_test_tonearest): Likewise.
23116         (ctan_test_towardzero): Likewise.
23117         (ctan_test_downward): Likewise.
23118         (ctan_test_upward): Likewise.
23119         (ctanh_test): Likewise.
23120         (ctanh_test_tonearest): Likewise.
23121         (ctanh_test_towardzero): Likewise.
23122         (ctanh_test_downward): Likewise.
23123         (ctanh_test_upward): Likewise.
23124         (erf_test): Use END macro without arguments.
23125         (erfc_test): Likewise.
23126         (exp_test): Likewise.
23127         (exp_test_tonearest): Likewise.
23128         (exp_test_towardzero): Likewise.
23129         (exp_test_downward): Likewise.
23130         (exp_test_upward): Likewise.
23131         (exp10_test): Likewise.
23132         (exp2_test): Likewise.
23133         (expm1_test): Likewise.
23134         (fabs_test): Likewise.
23135         (fdim_test): Likewise.
23136         (finite_test): Likewise.
23137         (floor_test): Likewise.
23138         (fma_test): Likewise.
23139         (fma_test_towardzero): Likewise.
23140         (fma_test_downward): Likewise.
23141         (fma_test_upward): Likewise.
23142         (fmax_test): Likewise.
23143         (fmin_test): Likewise.
23144         (fmod_test): Likewise.
23145         (fpclassify_test): Likewise.
23146         (frexp_test): Likewise.
23147         (gamma_test): Likewise.
23148         (hypot_test): Likewise.
23149         (ilogb_test): Likewise.
23150         (isfinite_test): Likewise.
23151         (isgreater_test): Likewise.
23152         (isgreaterequal_test): Likewise.
23153         (isinf_test): Likewise.
23154         (isless_test): Likewise.
23155         (islessequal_test): Likewise.
23156         (islessgreater_test): Likewise.
23157         (isnan_test): Likewise.
23158         (isnormal_test): Likewise.
23159         (issignaling_test): Likewise.
23160         (isunordered_test): Likewise.
23161         (j0_test): Likewise.
23162         (j1_test): Likewise.
23163         (jn_test): Likewise.
23164         (ldexp_test): Likewise.
23165         (lgamma_test): Likewise.
23166         (lrint_test): Likewise.
23167         (lrint_test_tonearest): Likewise.
23168         (lrint_test_towardzero): Likewise.
23169         (lrint_test_downward): Likewise.
23170         (lrint_test_upward): Likewise.
23171         (llrint_test): Likewise.
23172         (llrint_test_tonearest): Likewise.
23173         (llrint_test_towardzero): Likewise.
23174         (llrint_test_downward): Likewise.
23175         (llrint_test_upward): Likewise.
23176         (log_test): Likewise.
23177         (log10_test): Likewise.
23178         (log1p_test): Likewise.
23179         (log2_test): Likewise.
23180         (logb_test): Likewise.
23181         (logb_test_downward): Likewise.
23182         (lround_test): Likewise.
23183         (llround_test): Likewise.
23184         (modf_test): Likewise.
23185         (nearbyint_test): Likewise.
23186         (nextafter_test): Likewise.
23187         (nexttoward_test): Likewise.
23188         (pow_test): Likewise.
23189         (pow_test_tonearest): Likewise.
23190         (pow_test_towardzero): Likewise.
23191         (pow_test_downward): Likewise.
23192         (pow_test_upward): Likewise.
23193         (remainder_test): Likewise.
23194         (remainder_test_tonearest): Likewise.
23195         (remainder_test_towardzero): Likewise.
23196         (remainder_test_downward): Likewise.
23197         (remainder_test_upward): Likewise.
23198         (remquo_test): Likewise.
23199         (rint_test): Likewise.
23200         (rint_test_tonearest): Likewise.
23201         (rint_test_towardzero): Likewise.
23202         (rint_test_downward): Likewise.
23203         (rint_test_upward): Likewise.
23204         (round_test): Likewise.
23205         (scalb_test): Likewise.
23206         (scalbn_test): Likewise.
23207         (scalbln_test): Likewise.
23208         (signbit_test): Likewise.
23209         (sin_test): Likewise.
23210         (sin_test_tonearest): Likewise.
23211         (sin_test_towardzero): Likewise.
23212         (sin_test_downward): Likewise.
23213         (sin_test_upward): Likewise.
23214         (sincos_test): Likewise.
23215         (sinh_test): Likewise.
23216         (sinh_test_tonearest): Likewise.
23217         (sinh_test_towardzero): Likewise.
23218         (sinh_test_downward): Likewise.
23219         (sinh_test_upward): Likewise.
23220         (sqrt_test): Likewise.
23221         (tan_test): Likewise.
23222         (tan_test_tonearest): Likewise.
23223         (tan_test_towardzero): Likewise.
23224         (tan_test_downward): Likewise.
23225         (tan_test_upward): Likewise.
23226         (tanh_test): Likewise.
23227         (tgamma_test): Likewise.
23228         (trunc_test): Likewise.
23229         (y0_test): Likewise.
23230         (y1_test): Likewise.
23231         (yn_test): Likewise.
23232         (significand_test): Likewise.
23234 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23236         [BZ #15381]
23237         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23239 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23241         [BZ #14894]
23242         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23243         __ppc_mdoio and __ppc_mdoom.
23244         * manual/platform.texi: Document new functions __ppc_yield,
23245         __ppc_mdoio and __ppc_mdoom.
23247 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23249         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23250         (main): Mention "tls" pseudo-hwcap is legacy.
23251         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23253 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23255         * math/gen-libm-test.pl (parse_args): Output only string of
23256         arguments as text for test name, not full call or descriptions of
23257         tests for extra outputs.
23258         (generate_testfile): Do not pass function name to parse_args.
23259         Generate this_func variable from START.
23260         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23261         field to arg_str.
23262         (struct test_ff_f_data): Likewise.
23263         (test_ff_f_data_nexttoward): Likewise.
23264         (struct test_fi_f_data): Likewise.
23265         (struct test_fl_f_data): Likewise.
23266         (struct test_if_f_data): Likewise.
23267         (struct test_fff_f_data): Likewise.
23268         (struct test_c_f_data): Likewise.
23269         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23270         (struct test_fF_f1_data): Likewise.
23271         (struct test_ffI_f1_data): Likewise.
23272         (struct test_c_c_data): Rename test_name field to arg_str.
23273         (struct test_cc_c_data): Likewise.
23274         (struct test_f_i_data): Likewise.
23275         (struct test_ff_i_data): Likewise.
23276         (struct test_f_l_data): Likewise.
23277         (struct test_f_L_data): Likewise.
23278         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23279         and extra2_name.
23280         (COMMON_TEST_SETUP): New macro.
23281         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23282         (COMMON_TEST_CLEANUP): Likewise.
23283         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23284         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23285         macros.
23286         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23287         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23288         macros.
23289         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23290         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23291         cleanup macros.
23292         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23293         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23294         macros.
23295         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23296         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23297         macros.
23298         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23299         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23300         cleanup macros.
23301         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23302         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23303         cleanup macros.
23304         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23305         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23306         cleanup macros.
23307         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23308         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23309         macros.
23310         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23311         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23312         macros.
23313         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23314         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23315         macros.
23316         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23317         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23318         cleanup macros.
23319         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23320         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23321         cleanup macros.
23322         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23323         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23324         macros.
23325         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23326         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23327         cleanup macros.
23328         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23329         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23330         macros.
23331         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23332         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23333         macros.
23334         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23335         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23336         cleanup macros.
23337         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23339 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23341         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23342         to _sifields.sigfault.
23343         (si_addr_lsb): Define new macro.
23344         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23345         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23346         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23348 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23350         [BZ #15441]
23351         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23352         returns -1.
23353         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23354         null return -1.
23355         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23356         loading the domain.
23358 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23360         * math/gen-libm-test.pl (parse_args): Do not include expected
23361         result in test name.
23362         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23363         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23364         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23365         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23366         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23367         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23369 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23371         * benchtests/Makefile: Sort function entries.
23373         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23374         tanh, asinh, acosh, atanh.
23375         * benchtests/acos-inputs: New file.
23376         * benchtests/acosh-inputs: New file.
23377         * benchtests/asin-inputs: New file.
23378         * benchtests/asinh-inputs: New file.
23379         * benchtests/atanh-inputs: New file.
23380         * benchtests/cosh-inputs: New file.
23381         * benchtests/log-inputs: New file.
23382         * benchtests/sinh-inputs: New file.
23383         * benchtests/tanh-inputs: New file.
23385 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
23387         [BZ #15339]
23388         * posix/tst-getaddrinfo4.c: New test.
23389         * posix/Makefile (tests): Add it.
23391 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23393         [BZ #15339]
23394         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23395         when no services were used.
23396         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23397         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23399 2013-05-21  Andreas Schwab  <schwab@suse.de>
23401         [BZ #15014]
23402         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23403         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23404         successful.
23405         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23406         redundant variable declarations and reallocation of buffer when
23407         parsing as IPv6 address.  Always set NSS status when called from
23408         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
23409         buffer too small.  Correct computation of needed size.
23410         * nss/Makefile (tests): Add test-digits-dots.
23411         * nss/test-digits-dots.c: New test.
23413 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23415         * benchtests/Makefile: Remove instructions for adding
23416         benchmark tests.
23417         * benchtests/README: New file to explain how to execute and
23418         enhance the benchmark tests.
23420 2013-05-21  Andreas Schwab  <schwab@suse.de>
23422         [BZ #15493]
23423         * setjmp/Makefile (tests): Add tst-sigsetjmp.
23424         * setjmp/tst-sigsetjmp.c: New test.
23426 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23428         * sysdeps/x86_64/memset.S (memset): New implementation.
23429         (__bzero): Likewise.
23430         (__memset_tail): New function.
23432 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23434         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23435         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23436         __memcpy_sse2_unaligned ifunc selection.
23437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23438         Add memcpy-sse2-unaligned.S.
23439         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23440         Add: __memcpy_sse2_unaligned.
23442 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
23444         [BZ #15490]
23445         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23446         math_force_eval before restoring floating-point envrionment.
23447         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23448         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23449         Likewise.
23450         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23451         <math_private.h>.
23452         (__nearbyintl): Use math_force_eval before restoring
23453         floating-point environment.
23454         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23456         * math/gen-libm-test.pl (special_functions): Remove.
23457         (parse_args): Don't handle TEST_extra.  Handle functions with no
23458         return value.
23459         * math/libm-test.inc (struct test_sincos_data): Replace with
23460         struct test_fFF_11_data.
23461         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23462         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23463         (sincos_test_data): Change element type to struct
23464         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
23465         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23466         RUN_TEST_LOOP_sincos.
23467         * math/README.libm-test: Don't mention special handling of
23468         individual functions.
23469         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23470         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23471         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23472         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23473         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23476         * math/gen-libm-test.pl (get_variable): Remove function.
23477         (parse_args): Don't show pointer parameters to call in test
23478         names.  Use "extra output N" in test names for extra outputs
23479         rather than naming variables.
23481 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
23483         [BZ #15488]
23484         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23485         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23486         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23487         double tests.
23488         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23489         disable.
23490         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23491         check_long_double.
23493         * math/gen-libm-test.pl (@tests): Remove variable.
23494         ($count): Likewise.
23495         (new_test): Remove function.
23496         (show_exceptions): New function.
23497         (special_functions): Use show_exceptions instead of new_test.
23498         (parse_args): Likewise.
23499         (generate_testfile): Pass only function name in generated call to
23500         print_max_error or print_complex_max_error.
23501         (get_ulps): Do not handle complex tests specially.
23502         (output_test): Rename to ...
23503         (get_all_ulps_for_test): ... this.  Return a string rather than
23504         printing to a file.  Require ulps to be present.
23505         (output_ulps): Generate arrays rather than #defines.
23506         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23507         (struct ulp_data): New type.
23508         (BUILD_COMPLEX_ULP): Remove macro.
23509         (compare_ulp_data): New function.
23510         (find_ulps): Likewise.
23511         (find_test_ulps): Likewise.
23512         (find_function_ulps): Likewise.
23513         (find_complex_function_ulps): Likewise.
23514         (print_max_error): Determine allowed ulps using
23515         find_function_ulps.
23516         (print_complex_max_error): Determine allowed ulps using
23517         find_complex_function_ulps.
23518         (check_float_internal): Determine max ulps using find_test_ulps.
23519         (check_float): Do not take max_ulp parameter.  Update call to
23520         check_float_internal.
23521         (check_complex): Likewise.
23522         (check_int): Do not take max_ulp parameter.
23523         (check_long): Likewise.
23524         (check_bool): Likewise.
23525         (check_longlong): Likewise.
23526         (struct test_f_f_data): Remove max_ulp field.
23527         (struct test_ff_f_data): Likewise.
23528         (struct test_ff_f_data_nexttoward): Likewise.
23529         (struct test_fi_f_data): Likewise.
23530         (struct test_fl_f_data): Likewise.
23531         (struct test_if_f_data): Likewise.
23532         (struct test_fff_f_data): Likewise.
23533         (struct test_c_f_data): Likewise.
23534         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23535         (struct test_fF_f1_data): Likewise.
23536         (struct test_ffI_f1_data): Likewise.
23537         (struct test_c_c_data): Remove max_ulp field.
23538         (struct test_cc_c_data): Likewise.
23539         (struct test_f_i_data): Likewise.
23540         (struct test_ff_i_data): Likewise.
23541         (struct test_f_l_data): Likewise.
23542         (struct test_f_L_data): Likewise.
23543         (struct test_sincos_data): Likewise.
23544         (RUN_TEST_f_f): Do not handle ulps.
23545         (RUN_TEST_LOOP_f_f): Likewise.
23546         (RUN_TEST_2_f): Likewise.
23547         (RUN_TEST_LOOP_2_f): Likewise.
23548         (RUN_TEST_fff_f): Likewise.
23549         (RUN_TEST_LOOP_fff_f): Likewise.
23550         (RUN_TEST_c_f): Likewise.
23551         (RUN_TEST_LOOP_c_f): Likewise.
23552         (RUN_TEST_f_f1): Likewise.
23553         (RUN_TEST_LOOP_f_f1): Likewise.
23554         (RUN_TEST_fF_f1): Likewise.
23555         (RUN_TEST_LOOP_fF_f1): Likewise.
23556         (RUN_TEST_fI_f1): Likewise.
23557         (RUN_TEST_LOOP_fI_f1): Likewise.
23558         (RUN_TEST_ffI_f1): Likewise.
23559         (RUN_TEST_LOOP_ffI_f1): Likewise.
23560         (RUN_TEST_c_c): Likewise.
23561         (RUN_TEST_LOOP_c_c): Likewise.
23562         (RUN_TEST_cc_c): Likewise.
23563         (RUN_TEST_LOOP_cc_c): Likewise.
23564         (RUN_TEST_f_i): Likewise.
23565         (RUN_TEST_LOOP_f_i): Likewise.
23566         (RUN_TEST_f_i_tg): Likewise.
23567         (RUN_TEST_LOOP_f_i_tg): Likewise.
23568         (RUN_TEST_ff_i_tg): Likewise.
23569         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23570         (RUN_TEST_f_b): Likewise.
23571         (RUN_TEST_LOOP_f_b): Likewise.
23572         (RUN_TEST_f_b_tg): Likewise.
23573         (RUN_TEST_LOOP_f_b_tg): Likewise.
23574         (RUN_TEST_f_l): Likewise.
23575         (RUN_TEST_LOOP_f_l): Likewise.
23576         (RUN_TEST_f_L): Likewise.
23577         (RUN_TEST_LOOP_f_L): Likewise.
23578         (RUN_TEST_sincos): Likewise.
23579         (RUN_TEST_LOOP_sincos): Likewise.
23581 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
23583         [BZ #15480]
23584         [BZ #15485]
23585         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23586         main case of finite arguments, set rounding mode to FE_TONEAREST
23587         and discard exceptions.
23588         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23589         exceptions.
23590         (remainder_tonearest_test_data): New variable.
23591         (remainder_test_tonearest): New function.
23592         (remainder_towardzero_test_data): New variable.
23593         (remainder_test_towardzero): New function.
23594         (remainder_downward_test_data): New variable.
23595         (remainder_test_downward): New function.
23596         (remainder_upward_test_data): New variable.
23597         (remainder_test_upward): New function.
23598         (main): Call the new test functions.
23600         * math/libm-test.inc (struct test_f_f1_data): Remove field
23601         extra_init.
23602         (struct test_fF_f1_data): Likewise.
23603         (struct test_ffI_f1_data): Likewise.
23604         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
23605         based on value of EXTRA_EXPECTED.
23606         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23607         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
23608         EXTRA_VAR based on value of EXTRA_EXPECTED.
23609         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23610         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
23611         EXTRA_VAR based on value of EXTRA_EXPECTED.
23612         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23613         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
23614         EXTRA_VAR based on value of EXTRA_EXPECTED.
23615         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23616         * math/gen-libm-test.pl (parse_args): Don't output initializers
23617         for extra output values.
23619         * math/libm-test.inc (check_int): Expect result to be exactly
23620         equal to expected value and do not handle ulps.
23621         (check_long): Likewise.
23622         (check_longlong): Likewise.
23624         * math/libm-test.inc (ceil_test_data): Test for "inexact"
23625         exceptions.
23626         (cimag_test_data): Likewise.
23627         (conj_test_data): Likewise.
23628         (copysign_test_data): Likewise.
23629         (cproj_test_data): Likewise.
23630         (creal_test_data): Likewise.
23631         (fabs_test_data): Likewise.
23632         (fdim_test_data): Likewise.
23633         (finite_test_data): Likewise.
23634         (floor_test_data): Likewise.
23635         (fmax_test_data): Likewise.
23636         (fmin_test_data): Likewise.
23637         (fmod_test_data): Likewise.
23638         (fpclassify_test_data): Likewise.
23639         (frexp_test_data): Likewise.
23640         (ilogb_test_data): Likewise.
23641         (isfinite_test_data): Likewise.
23642         (isgreater_test_data): Likewise.
23643         (isgreaterequal_test_data): Likewise.
23644         (isinf_test_data): Likewise.
23645         (isless_test_data): Likewise.
23646         (islessequal_test_data): Likewise.
23647         (islessgreater_test_data): Likewise.
23648         (isnan_test_data): Likewise.
23649         (isnormal_test_data): Likewise.
23650         (issignaling_test_data): Likewise.
23651         (isunordered_test_data): Likewise.
23652         (ldexp_test_data): Likewise.
23653         (lrint_test_data): Likewise.
23654         (lrint_test_data) [TEST_FLOAT]: Disable one test.
23655         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23656         (lrint_tonearest_test_data): Test for "inexact" exceptions.
23657         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23658         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23659         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23660         test input.
23661         (lrint_towardzero_test_data): Test for "inexact" exceptions.
23662         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23663         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23664         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23665         that test input.
23666         (lrint_downward_test_data): Test for "inexact" exceptions.
23667         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23668         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23669         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23670         test input.
23671         (lrint_upward_test_data): Test for "inexact" exceptions.
23672         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23673         test input.
23674         (llrint_test_data): Test for "inexact" exceptions.
23675         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23676         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23677         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23678         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23679         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23680         (llrint_downward_test_data): Test for "inexact" exceptions.
23681         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23682         (llrint_upward_test_data): Test for "inexact" exceptions.
23683         (logb_test_data): Likewise.
23684         (logb_downward_test_data): Likewise.
23685         (nextafter_test_data): Likewise.
23686         (nexttoward_test_data): Likewise.
23687         (remainder_test_data): Likewise.
23688         (remquo_test_data): Likewise.
23689         (scalbn_test_data): Likewise.
23690         (scalbln_test_data): Likewise.
23691         (signbit_test_data): Likewise.
23692         (sqrt_test_data): Likewise.
23693         (significand_test_data): Likewise.
23695 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23697         [BZ #15424]
23698         * benchtests/bench-modf.c (struct args): Mark arg0 as
23699         volatile.
23700         * scripts/bench.pl: Mark members of struct args as volatile.
23702 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23704         [BZ # 15497]
23705         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23706         negative infinity on POWER6 or lower.
23707         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23709 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23711         [BZ #15442]
23712         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23713         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23714         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23715         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23716         (_FP_SETQNAN): New macro.
23717         (_FP_SETQNAN_SEMIRAW): Likewise.
23718         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23719         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23720         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23721         (FP_EXTEND): Use _FP_FRAC_SNANP.
23722         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23723         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23724         into account.
23725         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23726         New macro.
23727         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23728         Likewise.
23730 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23732         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23733         with DIVIDE_BY_ZERO_EXCEPTION.
23734         (gamma_test_data): Likewise.
23735         (lgamma_test_data): Likewise.
23736         (log_test_data): Likewise.
23737         (log10_test_data): Likewise.
23738         (log2_test_data): Likewise.
23739         (tgamma_test_data): Likewise.
23741         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23742         (acos_test_tonearest): Likewise.
23743         (acos_test_towardzero): Likewise.
23744         (acos_test_downward): Likewise.
23745         (acos_test_upward): Likewise.
23746         (acosh_test): Likewise.
23747         (asin_test): Likewise.
23748         (asin_test_tonearest): Likewise.
23749         (asin_test_towardzero): Likewise.
23750         (asin_test_downward): Likewise.
23751         (asin_test_upward): Likewise.
23752         (asinh_test): Likewise.
23753         (atan_test): Likewise.
23754         (atanh_test): Likewise.
23755         (atan2_test): Likewise.
23756         (cabs_test): Likewise.
23757         (cacos_test): Likewise.
23758         (cacosh_test): Likewise.
23759         (casin_test): Likewise.
23760         (casinh_test): Likewise.
23761         (catan_test): Likewise.
23762         (catanh_test): Likewise.
23763         (cbrt_test): Likewise.
23764         (ccos_test): Likewise.
23765         (ccosh_test): Likewise.
23766         (cexp_test): Likewise.
23767         (clog_test): Likewise.
23768         (clog10_test): Likewise.
23769         (cos_test): Likewise.
23770         (cos_test_tonearest): Likewise.
23771         (cos_test_towardzero): Likewise.
23772         (cos_test_downward): Likewise.
23773         (cos_test_upward): Likewise.
23774         (cosh_test): Likewise.
23775         (cosh_test_tonearest): Likewise.
23776         (cosh_test_towardzero): Likewise.
23777         (cosh_test_downward): Likewise.
23778         (cosh_test_upward): Likewise.
23779         (cpow_test): Likewise.
23780         (csin_test): Likewise.
23781         (csinh_test): Likewise.
23782         (csqrt_test): Likewise.
23783         (ctan_test): Likewise.
23784         (ctan_test_tonearest): Likewise.
23785         (ctan_test_towardzero): Likewise.
23786         (ctan_test_downward): Likewise.
23787         (ctan_test_upward): Likewise.
23788         (ctanh_test): Likewise.
23789         (ctanh_test_tonearest): Likewise.
23790         (ctanh_test_towardzero): Likewise.
23791         (ctanh_test_downward): Likewise.
23792         (ctanh_test_upward): Likewise.
23793         (erf_test): Likewise.
23794         (erfc_test): Likewise.
23795         (exp_test): Likewise.
23796         (exp_test_tonearest): Likewise.
23797         (exp_test_towardzero): Likewise.
23798         (exp_test_downward): Likewise.
23799         (exp_test_upward): Likewise.
23800         (exp10_test): Likewise.
23801         (exp2_test): Likewise.
23802         (expm1_test): Likewise.
23803         (fmod_test): Likewise.
23804         (gamma_test): Likewise.
23805         (hypot_test): Likewise.
23806         (j0_test): Likewise.
23807         (j1_test): Likewise.
23808         (jn_test): Likewise.
23809         (lgamma_test): Likewise.
23810         (log_test): Likewise.
23811         (log10_test): Likewise.
23812         (log1p_test): Likewise.
23813         (log2_test): Likewise.
23814         (logb_test_downward): Likewise.
23815         (pow_test): Likewise.
23816         (pow_test_tonearest): Likewise.
23817         (pow_test_towardzero): Likewise.
23818         (pow_test_downward): Likewise.
23819         (pow_test_upward): Likewise.
23820         (remainder_test): Likewise.
23821         (remquo_test): Likewise.
23822         (sin_test): Likewise.
23823         (sin_test_tonearest): Likewise.
23824         (sin_test_towardzero): Likewise.
23825         (sin_test_downward): Likewise.
23826         (sin_test_upward): Likewise.
23827         (sincos_test): Likewise.
23828         (sinh_test): Likewise.
23829         (sinh_test_tonearest): Likewise.
23830         (sinh_test_towardzero): Likewise.
23831         (sinh_test_downward): Likewise.
23832         (sinh_test_upward): Likewise.
23833         (sqrt_test): Likewise.
23834         (tan_test): Likewise.
23835         (tan_test_tonearest): Likewise.
23836         (tan_test_towardzero): Likewise.
23837         (tan_test_downward): Likewise.
23838         (tan_test_upward): Likewise.
23839         (tanh_test): Likewise.
23840         (tgamma_test): Likewise.
23841         (y0_test): Likewise.
23842         (y1_test): Likewise.
23843         (yn_test): Likewise.
23845         * math/gen-libm-test.pl (adjust_arg): Remove function.
23846         (special_function): Remove argument $in_func.  Only handle
23847         generating output for tables of tests, not inside functions.
23848         (parse_args): Likewise.
23849         (generate_testfile): Remove variable $in_func.  Update call to
23850         parse_args.
23851         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23852         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23853         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23854         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23855         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23856         (MAX_VALUE_INIT): Rename macro to max_value.
23857         (MIN_VALUE_INIT): Rename macro to min_value.
23858         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23859         (plus_zero): Remove variable.
23860         (minus_zero): Likewise.
23861         (plus_infty): Likewise.
23862         (minus_infty): Likewise.
23863         (qnan_value): Likewise.
23864         (max_value): Likewise.
23865         (min_value): Likewise.
23866         (min_subnorm_value): Likewise.
23868 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23870         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23871         uint64_t or uint32_t usage.
23872         * crypt/sha256-block.c: Likewise.
23873         * crypt/sha256-crypt.c: Likewise.
23874         * crypt/sha256.c: Likewise.
23875         * crypt/sha512-block.c: Likewise.
23876         * crypt/sha512-crypt.c: Likewise.
23877         * crypt/sha512.c: Likewise.
23878         * debug/backtrace-tst.c: Likewise.
23879         * debug/pcprofiledump.c: Likewise.
23880         * elf/cache.c: Likewise.
23881         * elf/dl-cache.c: Likewise.
23882         * elf/dl-misc.c: Likewise.
23883         * elf/dl-profile.c: Likewise.
23884         * elf/dl-support.c: Likewise.
23885         * elf/ldconfig.c: Likewise.
23886         * elf/sprof.c: Likewise.
23887         * iconv/dummy-repertoire.c: Likewise.
23888         * iconv/iconv_charmap.c: Likewise.
23889         * iconv/skeleton.c: Likewise.
23890         * iconvdata/8bit-generic.c: Likewise.
23891         * iconvdata/cp737.h: Likewise.
23892         * iconvdata/cp775.h: Likewise.
23893         * iconvdata/ibm1008.h: Likewise.
23894         * iconvdata/ibm1025.h: Likewise.
23895         * iconvdata/ibm1046.h: Likewise.
23896         * iconvdata/ibm1097.h: Likewise.
23897         * iconvdata/ibm1112.h: Likewise.
23898         * iconvdata/ibm1122.h: Likewise.
23899         * iconvdata/ibm1123.h: Likewise.
23900         * iconvdata/ibm1124.h: Likewise.
23901         * iconvdata/ibm1129.h: Likewise.
23902         * iconvdata/ibm1130.h: Likewise.
23903         * iconvdata/ibm1132.h: Likewise.
23904         * iconvdata/ibm1133.h: Likewise.
23905         * iconvdata/ibm1137.h: Likewise.
23906         * iconvdata/ibm1140.h: Likewise.
23907         * iconvdata/ibm1141.h: Likewise.
23908         * iconvdata/ibm1142.h: Likewise.
23909         * iconvdata/ibm1143.h: Likewise.
23910         * iconvdata/ibm1144.h: Likewise.
23911         * iconvdata/ibm1145.h: Likewise.
23912         * iconvdata/ibm1146.h: Likewise.
23913         * iconvdata/ibm1147.h: Likewise.
23914         * iconvdata/ibm1148.h: Likewise.
23915         * iconvdata/ibm1149.h: Likewise.
23916         * iconvdata/ibm1153.h: Likewise.
23917         * iconvdata/ibm1154.h: Likewise.
23918         * iconvdata/ibm1155.h: Likewise.
23919         * iconvdata/ibm1156.h: Likewise.
23920         * iconvdata/ibm1157.h: Likewise.
23921         * iconvdata/ibm1158.h: Likewise.
23922         * iconvdata/ibm1160.h: Likewise.
23923         * iconvdata/ibm1161.h: Likewise.
23924         * iconvdata/ibm1162.h: Likewise.
23925         * iconvdata/ibm1163.h: Likewise.
23926         * iconvdata/ibm1164.h: Likewise.
23927         * iconvdata/ibm1166.h: Likewise.
23928         * iconvdata/ibm1167.h: Likewise.
23929         * iconvdata/ibm12712.h: Likewise.
23930         * iconvdata/ibm1390.h: Likewise.
23931         * iconvdata/ibm1399.h: Likewise.
23932         * iconvdata/ibm16804.h: Likewise.
23933         * iconvdata/ibm4517.h: Likewise.
23934         * iconvdata/ibm4899.h: Likewise.
23935         * iconvdata/ibm4909.h: Likewise.
23936         * iconvdata/ibm4971.h: Likewise.
23937         * iconvdata/ibm5347.h: Likewise.
23938         * iconvdata/ibm803.h: Likewise.
23939         * iconvdata/ibm856.h: Likewise.
23940         * iconvdata/ibm901.h: Likewise.
23941         * iconvdata/ibm902.h: Likewise.
23942         * iconvdata/ibm9030.h: Likewise.
23943         * iconvdata/ibm9066.h: Likewise.
23944         * iconvdata/ibm921.h: Likewise.
23945         * iconvdata/ibm922.h: Likewise.
23946         * iconvdata/ibm9448.h: Likewise.
23947         * iconvdata/isiri-3342.h: Likewise.
23948         * iconvdata/jis0201.h: Likewise.
23949         * include/link.h: Likewise.
23950         * include/netdb.h: Likewise.
23951         * inet/check_native.c: Likewise.
23952         * inet/check_pf.c: Likewise.
23953         * inet/getipv4sourcefilter.c: Likewise.
23954         * inet/getnameinfo.c: Likewise.
23955         * inet/getsourcefilter.c: Likewise.
23956         * inet/htonl.c: Likewise.
23957         * inet/setipv4sourcefilter.c: Likewise.
23958         * inet/setsourcefilter.c: Likewise.
23959         * inet/test-inet6_opt.c: Likewise.
23960         * inet/tst-network.c: Likewise.
23961         * locale/C-collate.c: Likewise.
23962         * locale/C-ctype.c: Likewise.
23963         * locale/C-time.c: Likewise.
23964         * locale/C-translit.h: Likewise.
23965         * locale/loadarchive.c: Likewise.
23966         * locale/programs/3level.h: Likewise.
23967         * locale/programs/charmap.c: Likewise.
23968         * locale/programs/charmap.h: Likewise.
23969         * locale/programs/ld-address.c: Likewise.
23970         * locale/programs/ld-collate.c: Likewise.
23971         * locale/programs/ld-ctype.c: Likewise.
23972         * locale/programs/ld-identification.c: Likewise.
23973         * locale/programs/ld-measurement.c: Likewise.
23974         * locale/programs/ld-messages.c: Likewise.
23975         * locale/programs/ld-monetary.c: Likewise.
23976         * locale/programs/ld-name.c: Likewise.
23977         * locale/programs/ld-numeric.c: Likewise.
23978         * locale/programs/ld-paper.c: Likewise.
23979         * locale/programs/ld-telephone.c: Likewise.
23980         * locale/programs/ld-time.c: Likewise.
23981         * locale/programs/linereader.c: Likewise.
23982         * locale/programs/locale.c: Likewise.
23983         * locale/programs/locarchive.c: Likewise.
23984         * locale/programs/locfile.h: Likewise.
23985         * locale/programs/repertoire.c: Likewise.
23986         * locale/programs/simple-hash.c: Likewise.
23987         * locale/programs/simple-hash.h: Likewise.
23988         * malloc/memusage.c: Likewise.
23989         * malloc/memusagestat.c: Likewise.
23990         * nis/nis_defaults.c: Likewise.
23991         * nis/nis_hash.c: Likewise.
23992         * nis/nis_print.c: Likewise.
23993         * nis/nis_xdr.c: Likewise.
23994         * nscd/connections.c: Likewise.
23995         * nscd/hstcache.c: Likewise.
23996         * nscd/nscd_gethst_r.c: Likewise.
23997         * nscd/nscd_getserv_r.c: Likewise.
23998         * nscd/nscd_helper.c: Likewise.
23999         * nscd/servicescache.c: Likewise.
24000         * nss/makedb.c: Likewise.
24001         * nss/nss_db/db-XXX.c: Likewise.
24002         * nss/nss_db/db-initgroups.c: Likewise.
24003         * nss/nss_db/db-netgrp.c: Likewise.
24004         * nss/nss_files/files-network.c: Likewise.
24005         * nss/nss_files/files-parse.c: Likewise.
24006         * posix/bug-regex5.c: Likewise.
24007         * posix/fnmatch_loop.c: Likewise.
24008         * posix/regcomp.c: Likewise.
24009         * posix/regexec.c: Likewise.
24010         * posix/tst-rfc3484-2.c: Likewise.
24011         * posix/tst-rfc3484-3.c: Likewise.
24012         * posix/tst-rfc3484.c: Likewise.
24013         * resolv/nss_dns/dns-canon.c: Likewise.
24014         * resolv/nss_dns/dns-network.c: Likewise.
24015         * resolv/res_init.c: Likewise.
24016         * resolv/res_mkquery.c: Likewise.
24017         * resolv/tst-aton.c: Likewise.
24018         * stdlib/cxa_atexit.c: Likewise.
24019         * stdlib/cxa_finalize.c: Likewise.
24020         * stdlib/gen-fpioconst.c: Likewise.
24021         * stdlib/strtol_l.c: Likewise.
24022         * string/tst-endian.c: Likewise.
24023         * sunrpc/auth_des.c: Likewise.
24024         * sunrpc/clnt_udp.c: Likewise.
24025         * sunrpc/rtime.c: Likewise.
24026         * sunrpc/svcauth_des.c: Likewise.
24027         * sunrpc/xdr.c: Likewise.
24028         * sunrpc/xdr_intXX_t.c: Likewise.
24029         * sunrpc/xdr_rec.c: Likewise.
24030         * sysdeps/generic/ldconfig.h: Likewise.
24031         * sysdeps/generic/ldsodefs.h: Likewise.
24032         * sysdeps/generic/memusage.h: Likewise.
24033         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24034         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24035         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24036         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24037         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24038         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24039         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24040         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24041         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24042         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24043         * sysdeps/posix/getaddrinfo.c: Likewise.
24044         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24045         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24046         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24047         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24048         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24049         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24050         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24051         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24052         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24053         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24054         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24055         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24056         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24057         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24058         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24059         * sysdeps/x86_64/dl-tls.h: Likewise.
24060         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24061         * time/alt_digit.c: Likewise.
24062         * time/era.c: Likewise.
24063         * wcsmbs/tst-c16c32-1.c: Likewise.
24065 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24067         * math/libm-test.inc (struct test_sincos_data): New type.
24068         (RUN_TEST_LOOP_sincos): New macro.
24069         (sincos_test_data): New variable.
24070         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24072 2013-05-16  Richard Henderson  <rth@redhat.com>
24074         * math/atest-exp2.c (LIMB64): New macro.
24075         (CONSTSZ): New macro.
24076         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24077         (hexdig): Move ...
24078         (print_mpn_fp): ... to function scope.
24079         (read_mpn_hex): Remove.
24080         (get_log2): Remove.
24081         (exp2_mpn): Use mp_log2.
24082         (main): Use mp_exp1.
24084 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24086         * math/libm-test.inc: Remove comment about not testing "inexact"
24087         exceptions.
24088         (INEXACT_EXCEPTION): New macro.
24089         (NO_INEXACT_EXCEPTION): Likewise.
24090         (INVALID_EXCEPTION_OK): Update value.
24091         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24092         (OVERFLOW_EXCEPTION_OK): Likewise.
24093         (UNDERFLOW_EXCEPTION_OK): Likewise.
24094         (IGNORE_ZERO_INF_SIGN): Likewise.
24095         (ERRNO_UNCHANGED): Likewise.
24096         (ERRNO_EDOM): Likewise.
24097         (ERRNO_ERANGE): Likewise.
24098         (test_exceptions): Handle testing "inexact" exceptions.
24099         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24100         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24101         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24102         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24103         INEXACT_EXCEPTION.
24104         (rint_towardzero_test_data): Likewise.
24105         (rint_downward_test_data): Likewise.
24106         (rint_upward_test_data): Likewise.
24108         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24109         with OVERFLOW_EXCEPTION.
24110         (exp10_test_data): Likewise.
24111         (exp2_test_data): Likewise.
24112         (expm1_test_data): Likewise.
24113         (lgamma_test_data): Likewise.
24114         (pow_test_data): Likewise.
24115         (tgamma_test_data): Likewise.
24116         (yn_test_data): Remove duplicate test of overflow.
24118         * math/libm-test.inc (struct test_cc_c_data): New type.
24119         (RUN_TEST_LOOP_cc_c): New macro.
24120         (cpow_test_data): New variable.
24121         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24123         * math/libm-test.inc (struct test_f_L_data): New type.
24124         (RUN_TEST_LOOP_f_L): New macro.
24125         (llrint_test_data): New variable.
24126         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24127         (llrint_tonearest_test_data): New variable.
24128         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24129         (llrint_towardzero_test_data): New variable.
24130         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24131         (llrint_downward_test_data): New variable.
24132         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24133         (llrint_upward_test_data): New variable.
24134         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24135         (llround_test_data): New variable.
24136         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24138 2013-05-13  Peter Collingbourne  <pcc@google.com>
24140         * math/atest-exp2.c (get_log2): Remove const attribute.
24142 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24144         * math/libm-test.inc (struct test_f_l_data): New type.
24145         (RUN_TEST_LOOP_f_l): New macro.
24146         (lrint_test_data): New variable.
24147         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24148         (lrint_tonearest_test_data): New variable.
24149         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24150         (lrint_towardzero_test_data): New variable.
24151         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24152         (lrint_downward_test_data): New variable.
24153         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24154         (lrint_upward_test_data): New variable.
24155         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24156         (lround_test_data): New variable.
24157         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24159 2013-05-15  Peter Collingbourne  <pcc@google.com>
24161         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24162         (EXTRACT_WORDS64) Use where appropriate.
24163         (INSERT_WORDS64) Likewise.
24165         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24166         constraints with x constraints.
24167         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24169         * malloc/obstack.c (_obstack_compat): Add initializer.
24171 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24173         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24174         si_trapno and add si_addr_lsb to _sifields.sigfault.
24175         (si_trapno): Remove macro.
24176         (si_addr_lsb): Define new macro.
24177         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24179 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24181         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24182         instead of TEST_f_l.
24183         (llrint_test_tonearest): Likewise.
24184         (llrint_test_towardzero): Likewise.
24185         (llrint_test_downward): Likewise.
24186         (llrint_test_upward): Likewise.
24187         (llround_test): Likewise.
24189         * math/libm-test.inc (struct test_f_i_data): Add comment.
24190         (RUN_TEST_LOOP_f_b): New macro.
24191         (RUN_TEST_LOOP_f_b_tg): Likewise.
24192         (finite_test_data): New variable.
24193         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24194         (isfinite_test_data): New variable.
24195         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24196         (isinf_test_data): New variable.
24197         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24198         (isnan_test_data): New variable.
24199         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24200         (isnormal_test_data): New variable.
24201         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24202         (issignaling_test_data): New variable.
24203         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24204         (signbit_test_data): New variable.
24205         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24207         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24208         with INVALID_EXCEPTION.
24209         (acosh_test_data): Likewise.
24210         (asin_test_data): Likewise.
24211         (atanh_test_data): Likewise.
24212         (fmod_test_data): Likewise.
24213         (log_test_data): Likewise.
24214         (log10_test_data): Likewise.
24215         (log2_test_data): Likewise.
24216         (pow_test_data): Likewise.
24217         (sqrt_test_data): Likewise.
24218         (y0_test_data): Likewise.
24219         (y1_test_data): Likewise.
24220         (yn_test_data): Likewise.
24222         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24223         function contents.
24225         * math/libm-test.inc (struct test_ff_i_data): New type.
24226         (RUN_TEST_LOOP_ff_i_tg): New macro.
24227         (isgreater_test_data): New variable.
24228         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24229         (isgreaterequal_test_data): New variable.
24230         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24231         (isless_test_data): New variable.
24232         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24233         (islessequal_test_data): New variable.
24234         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24235         (islessgreater_test_data): New variable.
24236         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24237         (isunordered_test_data): New variable.
24238         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24240 2013-05-14  David S. Miller  <davem@davemloft.net>
24242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24244 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24246         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24248         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24249         extra_test to int.
24250         (struct test_f_i_data): Change type of max_ulp to int.
24252         * math/libm-test.inc (test_ffI_f1_data): New type.
24253         (RUN_TEST_LOOP_ffI_f1): New macro.
24254         (remquo_test_data): New variable.
24255         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24257         * setjmp/tst-setjmp-fp.c: New file.
24258         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24259         (link-libm): New variable.
24260         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24262         * math/libm-test.inc (struct test_f_i_data): New type.
24263         (RUN_TEST_LOOP_f_i): New macro.
24264         (RUN_TEST_LOOP_f_i_tg): Likewise.
24265         (fpclassify_test_data): New variable.
24266         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24267         (ilogb_test_data): New variable.
24268         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24270         * math/libm-test.inc (scalbln_test): Correct function name in END
24271         call.
24273         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24274         (RUN_TEST_LOOP_fI_f1): New macro.
24275         (frexp_test_data): New variable.
24276         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24278         * math/libm-test.inc (struct test_fF_f1_data): New type.
24279         (RUN_TEST_LOOP_fF_f1): New macro.
24280         (modf_test_data): New variable.
24281         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24283         * math/libm-test.inc (struct test_f_f1_data): New type.
24284         (RUN_TEST_LOOP_f_f1): New macro.
24285         (gamma_test_data): New variable.
24286         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24287         (lgamma_test_data): New variable.
24288         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24290 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24292         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24293         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24294         (main): Comment "tls" pseudo-hwcap.
24296 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24298         * math/libm-test.inc (struct test_fl_f_data): New type.
24299         (RUN_TEST_LOOP_fl_f): New variable.
24300         (scalbln_test_data): New variable.
24301         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24303         * math/libm-test.inc (struct test_fi_f_data): New type.
24304         (RUN_TEST_LOOP_fi_f): New macro.
24305         (ldexp_test_data): New variable.
24306         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24307         (scalbn_test_data): New variable.
24308         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24310         * math/libm-test.inc (struct test_c_f_data): New type.
24311         (RUN_TEST_LOOP_c_f): New macro.
24312         (cabs_test_data): New variable.
24313         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24314         (carg_test_data): New variable.
24315         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24316         (cimag_test_data): New variable.
24317         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24318         (creal_test_data): New variable.
24319         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24321         * math/libm-test.inc (struct test_if_f_data): New type.
24322         (RUN_TEST_LOOP_if_f): New macro.
24323         (jn_test_data): New variable.
24324         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24325         (yn_test_data): New variable.
24326         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24328         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24330 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24332         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24333         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24335 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24337         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24338         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24339         (bench-deps): Add bench-timing.h.
24340         * benchtests-bench-skeleton.c: Include bench-timing.h.
24341         (main): Use TIMING_* macros instead of clock_gettime.
24342         * benchtests/bench-timing.h: New file.
24344         [BZ #14582]
24345         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24346         Renamed from _LIB_VERSION.
24347         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24349 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24351         * math/libm-test.inc (struct test_fff_f_data): New type.
24352         (RUN_TEST_LOOP_fff_f): New macro.
24353         (fma_test_data): New variable.
24354         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24355         (fma_towardzero_test_data): New variable.
24356         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24357         (fma_downward_test_data): New variable.
24358         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24359         (fma_upward_test_data): New variable.
24360         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24362         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24363         (struct test_c_c_data): New type.
24364         (RUN_TEST_LOOP_c_c): New macro.
24365         (cacos_test_data): New variable.
24366         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24367         (cacosh_test_data): New variable.
24368         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24369         (casin_test_data): New variable.
24370         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24371         (casinh_test_data): New variable.
24372         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24373         (catan_test_data): New variable.
24374         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24375         (catanh_test_data): New variable.
24376         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24377         (ccos_test_data): New variable.
24378         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24379         (ccosh_test_data): New variable.
24380         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24381         (cexp_test_data): New variable.
24382         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24383         (clog_test_data): New variable.
24384         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24385         (clog10_test_data): New variable.
24386         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24387         (conj_test_data): New variable.
24388         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24389         (cproj_test_data): New variable.
24390         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24391         (csin_test_data): New variable.
24392         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24393         (csinh_test_data): New variable.
24394         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24395         (csqrt_test_data): New variable.
24396         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24397         (ctan_test_data): New variable.
24398         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24399         (ctan_tonearest_test_data): New variable.
24400         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24401         (ctan_towardzero_test_data): New variable.
24402         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24403         (ctan_downward_test_data): New variable.
24404         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24405         (ctan_upward_test_data): New variable.
24406         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24407         (ctanh_test_data): New variable.
24408         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24409         (ctanh_tonearest_test_data): New variable.
24410         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24411         (ctanh_towardzero_test_data): New variable.
24412         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24413         (ctanh_downward_test_data): New variable.
24414         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24415         (ctanh_upward_test_data): New variable.
24416         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24417         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24418         of BUILD_COMPLEX.
24420         * math/libm-test.inc (struct test_ff_f_data): New type.
24421         (struct test_ff_f_data_nexttoward): Likewise.
24422         (RUN_TEST_LOOP_2_f): New macro.
24423         (RUN_TEST_LOOP_ff_f): Likewise.
24424         (atan2_test_data): New variable.
24425         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24426         (copysign_test_data): New variable.
24427         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24428         (fdim_test_data): New variable.
24429         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24430         (fmax_test_data): New variable.
24431         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24432         (fmin_test_data): New variable.
24433         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24434         (fmod_test_data): New variable.
24435         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24436         (hypot_test_data): New variable.
24437         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24438         (nextafter_test_data): New variable.
24439         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24440         (nexttoward_test_data): New variable.
24441         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24442         (pow_test_data): New variable.
24443         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24444         (pow_tonearest_test_data): New variable.
24445         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24446         (pow_towardzero_test_data): New variable.
24447         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24448         (pow_downward_test_data): New variable.
24449         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24450         (pow_upward_test_data): New variable.
24451         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24452         (remainder_test_data): New variable.
24453         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24454         (scalb_test_data): New variable.
24455         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24456         * sysdeps/i386/fpu/libm-test-ulps: Update.
24458 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
24460         * math/libm-test.inc (fma_test): Use max_value instead of local
24461         variable fltmax.
24462         (nextafter_test): Likewise.
24464         * math/libm-test.inc (acos_towardzero_test_data): New variable.
24465         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24466         (acos_downward_test_data): New variable.
24467         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24468         (acos_upward_test_data): New variable.
24469         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24470         (acosh_test_data): New variable.
24471         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24472         (asin_test_data): New variable.
24473         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24474         (asin_tonearest_test_data): New variable.
24475         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24476         (asin_towardzero_test_data): New variable.
24477         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24478         (asin_downward_test_data): New variable.
24479         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24480         (asin_upward_test_data): New variable.
24481         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24482         (asinh_test_data): New variable.
24483         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24484         (atan_test_data): New variable.
24485         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24486         (atanh_test_data): New variable.
24487         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24488         (cbrt_test_data): New variable.
24489         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24490         (ceil_test_data): New variable.
24491         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24492         (cos_test_data): New variable.
24493         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24494         (cos_tonearest_test_data): New variable.
24495         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24496         (cos_towardzero_test_data): New variable.
24497         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24498         (cos_downward_test_data): New variable.
24499         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24500         (cos_upward_test_data): New variable.
24501         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24502         (cosh_test_data): New variable.
24503         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24504         (cosh_tonearest_test_data): New variable.
24505         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24506         (cosh_towardzero_test_data): New variable.
24507         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24508         (cosh_downward_test_data): New variable.
24509         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24510         (cosh_upward_test_data): New variable.
24511         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24512         (erf_test_data): New variable.
24513         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24514         (erfc_test_data): New variable.
24515         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24516         (exp_test_data): New variable.
24517         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24518         (exp_tonearest_test_data): New variable.
24519         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24520         (exp_towardzero_test_data): New variable.
24521         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24522         (exp_downward_test_data): New variable.
24523         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24524         (exp_upward_test_data): New variable.
24525         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24526         (exp10_test_data): New variable.
24527         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24528         (exp2_test_data): New variable.
24529         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24530         (expm1_test_data): New variable.
24531         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24532         (fabs_test_data): New variable.
24533         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24534         (floor_test_data): New variable.
24535         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24536         (j0_test_data): New variable.
24537         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24538         (j1_test_data): New variable.
24539         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24540         (log_test_data): New variable.
24541         (log_test): Run tests with RUN_TEST_LOOP_f_f.
24542         (log10_test_data): New variable.
24543         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24544         (log1p_test_data): New variable.
24545         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24546         (log2_test_data): New variable.
24547         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24548         (logb_test_data): New variable.
24549         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24550         (logb_downward_test_data): New variable.
24551         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24552         (nearbyint_test_data): New variable.
24553         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24554         (rint_test_data): New variable.
24555         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24556         (rint_tonearest_test_data): New variable.
24557         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24558         (rint_towardzero_test_data): New variable.
24559         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24560         (rint_downward_test_data): New variable.
24561         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24562         (rint_upward_test_data): New variable.
24563         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24564         (round_test_data): New variable.
24565         (round_test): Run tests with RUN_TEST_LOOP_f_f.
24566         (sin_test_data): New variable.
24567         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24568         (sin_tonearest_test_data): New variable.
24569         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24570         (sin_towardzero_test_data): New variable.
24571         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24572         (sin_downward_test_data): New variable.
24573         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24574         (sin_upward_test_data): New variable.
24575         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24576         (sinh_test_data): New variable.
24577         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24578         (sinh_tonearest_test_data): New variable.
24579         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24580         (sinh_towardzero_test_data): New variable.
24581         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24582         (sinh_downward_test_data): New variable.
24583         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24584         (sinh_upward_test_data): New variable.
24585         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24586         (sqrt_test_data): New variable.
24587         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24588         (tan_test_data): New variable.
24589         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24590         (tan_tonearest_test_data): New variable.
24591         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24592         (tan_towardzero_test_data): New variable.
24593         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24594         (tan_downward_test_data): New variable.
24595         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24596         (tan_upward_test_data): New variable.
24597         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24598         (tanh_test_data): New variable.
24599         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24600         (tgamma_test_data): New variable.
24601         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24602         (trunc_test_data): New variable.
24603         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24604         (y0_test_data): New variable.
24605         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24606         (y1_test_data): New variable.
24607         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24608         (significand_test_data): New variable.
24609         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24611 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
24613         [BZ #12387]
24614         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24616 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24618         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24620 2013-05-10  Andreas Jaeger  <aj@suse.de>
24622         [BZ #15448]
24623         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24624         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24626 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24628         * math/gen-libm-test.pl (adjust_arg): New function.
24629         (special_functions): Handle generating output in both functions
24630         and arrays.
24631         (parse_args): Likewise.
24632         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
24633         $in_func argument to parse_args.
24634         * math/libm-test.inc (struct test_f_f_data): New type.
24635         (IF_ROUND_INIT_): New macro.
24636         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24637         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24638         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24639         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24640         (ROUND_RESTORE_): Likewise.
24641         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24642         (ROUND_RESTORE_FE_TONEAREST): Likewise.
24643         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24644         (ROUND_RESTORE_FE_UPWARD): Likewise.
24645         (RUN_TEST_LOOP_f_f): New macro.
24646         (acos_test_data): New variable.
24647         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24648         (acos_tonearest_test_data): New variable.
24649         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24651 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24653         * benchtests/bench-skeleton.c (startup): Fix coding style.
24655 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24657         [BZ #6809]
24658         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24659         negative infinity argument.
24660         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24661         negative infinity argument.
24662         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24663         negative infinity argument.
24664         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24665         domain errors.
24667 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24669         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24670         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24671         * iconv/iconv_prog.c (main): Likewise.
24672         * locale/programs/charmap-dir.c (charmap_readdir)
24673         (fopen_uncompressed): Likewise.
24674         * locale/programs/locfile.c (siblings_uncached)
24675         (write_locale_data): Use lstat64 instead of lstat.
24676         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24677         stat.
24679 2013-05-10  Andreas Jaeger  <aj@suse.de>
24681         [BZ #15395]
24682         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24683         localization.
24684         Include <locale.h>.
24686 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24688         * elf/dl-close.c (_dl_close_worker): Add comments.
24690 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24692         [BZ #15359]
24693         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24694         high part of pi/2.
24695         (__ieee754_rem_pio2l): Update comments.
24697         [BZ #15429]
24698         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24699         high part of pi/2.
24700         (__ieee754_rem_pio2l): Update comments.
24702         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24703         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24705         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24706         M_PI_4l.
24708         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24709         (M_PI_34_LOG10El): Likewise.
24710         (M_PI2_LOG10El): Likewise.
24711         (M_PI4_LOG10El): Likewise.
24712         (M_PI_LOG10El): Likewise.
24714 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24716         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24718 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24720         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24721         (MINUS_ZERO_INIT): Likewise.
24722         (PLUS_INFTY_INIT): Likewise.
24723         (MINUS_INFTY_INIT): Likewise.
24724         (QNAN_VALUE_INIT): Likewise.
24725         (MAX_VALUE_INIT): Likewise.
24726         (MIN_VALUE_INIT): Likewise.
24727         (MIN_SUBNORM_VALUE_INIT): Likewise.
24728         (plus_zero): Initialize with PLUS_ZERO_INIT.
24729         (minus_zero): Initialize with MINUS_ZERO_INIT.
24730         (plus_infty): Initialize with PLUS_INFTY_INIT.
24731         (minus_infty): Initialize with MINUS_INFTY_INIT.
24732         (qnan_value): Initialize with QNAN_VALUE_INIT.
24733         (max_value): Initialize with MAX_VALUE_INIT.
24734         (min_value): Initialize with MIN_VALUE_INIT.
24735         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24737         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24738         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24739         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24740         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24742         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24743         (RUN_TEST_2_f): Likewise.
24744         (RUN_TEST_ff_f): Likewise.
24745         (RUN_TEST_fi_f): Likewise.
24746         (RUN_TEST_fl_f): Likewise.
24747         (RUN_TEST_fff_f): Likewise.
24748         (RUN_TEST_c_f): Likewise.
24749         (RUN_TEST_f_f1): Likewise.
24750         (RUN_TEST_fF_f1): Likewise.
24751         (RUN_TEST_fI_f1): Likewise.
24752         (RUN_TEST_ffI_f1): Likewise.
24753         (RUN_TEST_c_c): Likewise.
24754         (RUN_TEST_cc_c): Likewise.
24755         (RUN_TEST_f_i): Likewise.
24756         (RUN_TEST_f_i_tg): Likewise.
24757         (RUN_TEST_ff_i_tg): Likewise.
24758         (RUN_TEST_f_b): Likewise.
24759         (RUN_TEST_f_b_tg): Likewise.
24760         (RUN_TEST_f_l): Likewise.
24761         (RUN_TEST_f_L): Likewise.
24762         (RUN_TEST_sincos): Likewise.
24763         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24764         whether to show exceptions.  Do not include ");\n" in return
24765         value.
24766         (special_functions): Output call to RUN_TEST_sincos instead of
24767         check_float calls.  Update calls to new_test.
24768         (parse_args): Output call to single RUN_TEST_* macro instead of
24769         check_* calls and other assignments.  Update calls to new_test.
24771         [BZ #2546]
24772         [BZ #2560]
24773         [BZ #5159]
24774         [BZ #15426]
24775         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24776         input to result for tgamma overflow.
24777         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24778         (gamma_coeff): New variable.
24779         (NCOEFF): New macro.
24780         (gamma_positive): New function.
24781         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24782         underflow here.  Use gamma_positive instead of exp (lgamma) for
24783         other arguments.
24784         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24785         (gamma_coeff): New variable.
24786         (NCOEFF): New macro.
24787         (gammaf_positive): New function.
24788         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24789         underflow here.  Use gamma_positive instead of exp (lgamma) for
24790         other arguments.
24791         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24792         (gamma_coeff): New variable.
24793         (NCOEFF): New macro.
24794         (gammal_positive): New function.
24795         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24796         underflow here.  Use gamma_positive instead of exp (lgamma) for
24797         other arguments.
24798         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24799         (gamma_coeff): New variable.
24800         (NCOEFF): New macro.
24801         (gammal_positive): New function.
24802         (__ieee754_gammal_r): Handle positive infinity, overflow and
24803         underflow here.  Handle NaN the same as positive infinity.  Remove
24804         check x < 0xffffffff for negative integers.  Use gamma_positive
24805         instead of exp (lgamma) for other arguments.
24806         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24807         (gamma_coeff): New variable.
24808         (NCOEFF): New macro.
24809         (gammal_positive): New function.
24810         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24811         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24812         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24813         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24814         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24815         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24816         * sysdeps/generic/math_private.h (__gamma_productf): New
24817         prototype.
24818         (__gamma_product): Likewise.
24819         (__gamma_productl): Likewise.
24820         * math/Makefile (libm-calls): Add gamma_product.
24821         * math/libm-test.inc (tgamma_test): Add more tests.
24822         * sysdeps/i386/fpu/libm-test-ulps: Update.
24823         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24825 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24827         * benchtests/bench-skeleton.c (main): Preheat CPU.
24829 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24831         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24833 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24835         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24836         and _dl_skip_args_internal.
24838 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24840         * manual/message.texi (Message Translation): Talk about users.
24841         Message to key mapping impacts design.
24843 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24845         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24847         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24849         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24850         * sysdeps/wordsize-64/glob64.c: ... here.
24852         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24853         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24854         New macros.
24856         * debug/getlogin_r_chk.c: Moved to ...
24857         * login/getlogin_r_chk.c: ... here.
24858         * debug/Makefile (routines): Move getlogin_r_chk to ...
24859         * login/Makefile (routines): ... here.
24860         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24861         * login/Versions (libc: GLIBC_2.4): ... here.
24863         * io/poll.c (__poll): Renamed from poll.
24864         Add libc_hidden_def.
24865         (poll): Define as weak alias.
24867         * debug/ptsname_r_chk.c: Moved to ...
24868         * login/ptsname_r_chk.c: ... here.
24869         * debug/Makefile (routines): Move ptsname_r_chk to ...
24870         * login/Makefile (routines): ... here.
24871         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24872         * login/Versions (libc: GLIBC_2.4): ... here.
24874         * posix/getlogin.c: Moved to ...
24875         * login/getlogin.c: ... here.
24876         * posix/getlogin_r.c: Moved to ...
24877         * login/getlogin_r.c: ... here.
24878         * posix/getlogin_r.c: Moved to ...
24879         * login/getlogin_r.c: ... here.
24880         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24881         * login/Makefile (routines): ... here.
24882         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24883         * login/Versions (libc: GLIBC_2.0): ... here.
24885         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24886         (setrlimit): Define as weak alias.
24888         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24889         Call __ names for open, ftruncate, and close.
24890         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24891         (truncate): Define as weak alias.
24893 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24895         * math/gen-libm-test.pl (parse_args): Initialize x before each
24896         test of frexp, modf and remquo.
24898         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24899         test signgam value.
24901 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24903         [BZ #15418]
24904         [BZ #15419]
24905         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24906         internal tests.
24907         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24909 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24911         * elf/dl-writev.h: New file.
24912         * elf/dl-misc.c: Include it.
24913         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24914         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24916 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24918         * math/libm-test.inc (noXFails): Remove variable.
24919         (noXPasses): Likewise.
24920         (BUILD_COMPLEX_INT): Remove macro.
24921         (print_screen): Remove xfail argument.
24922         (print_screen_max_error): Likewise.
24923         (update_stats): Likewise.
24924         (print_max_error): Likewise.  Update calls to other affected
24925         functions.
24926         (print_complex_max_error): Likewise.
24927         (test_single_exception): Update calls to print_screen.
24928         (test_single_errno): Likewise.
24929         (check_float_internal): Remove xfail argument.  Update calls to
24930         other affected functions.
24931         (check_float): Likewise.
24932         (check_complex): Likewise.
24933         (check_int): Likewise.
24934         (check_long): Likewise.
24935         (check_bool): Likewise.
24936         (check_longlong): Likewise.
24937         (main): Don't print noXFails and noXPasses.
24938         * math/gen-libm-test.pl (top level): Don't mention expected
24939         failure handling in comment.
24940         (new_test): Don't handle expected failures.
24941         (parse_args): Don't mention expected failure handling in comment.
24942         (generate_testfile): Don't handle expected failures.
24943         (parse_ulps): Likewise.
24944         (print_ulps_file): Likewise.
24945         (get_failure): Remove function.
24946         (output_test): Don't handle expected failures.
24947         * make/README.libm-test: Don't mention expected failure handling.
24949         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24950         (minus_zero): Likewise.
24951         (plus_infty): Likewise.
24952         (minus_infty): Likewise.
24953         (qnan_value): Likewise.
24954         (max_value): Likewise.
24955         (min_value): Likewise.
24956         (min_subnorm_value): Likewise.
24957         (initialize): Do not initialize those variables dynamically.
24959 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24961         * io/open.c (__open_2): Moved to ...
24962         * io/open_2.c: ... this new file.
24963         * io/open64.c (__open64_2): Moved to ...
24964         * io/open64_2.c: ... this new file.
24965         * io/openat.c (__openat_2): Moved to ...
24966         * io/openat_2.c: ... this new file.
24967         * io/openat64.c (__openat64_2): Moved to ...
24968         * io/openat64_2.c: ... this new file.
24969         * io/Makefile (routines): Add them.
24970         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24971         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24972         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24973         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24974         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24975         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24976         (__openat64): Add hidden_ver.
24977         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
24978         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
24980         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
24981         Separately conditionalize setting of GLRO(dl_sysinfo) so
24982         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
24983         as well, but the actual setting is only under [NEED_DL_SYSINFO].
24985 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24987         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
24988         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
24989         definition.
24990         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
24991         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24992         (_libc_vdso_platform_setup): Add __vdso_time initialization.
24993         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
24994         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
24996 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
24998         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
24999         test signgam value.
25001         * math/libm-test.inc (hypot_test): Do not use
25002         IGNORE_ZERO_INF_SIGN.
25004 2013-05-03  Andreas Jaeger  <aj@suse.de>
25006         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25007         Linux 3.9.
25008         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25009         (PF_MAX): Adjust for VSOCK change.
25011 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25013         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25015 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25017         [BZ #15264]
25018         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25019         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25020         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25022 2013-05-02  David S. Miller  <davem@davemloft.net>
25024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25026 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25028         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25030 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25032         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25034 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25036         [BZ #14952]
25037         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25038         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25039         Use __attribute__ ((__gnu_inline__)).
25040         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25041         Don't use __attribute__ ((__gnu_inline__)).
25043 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25045         [BZ #15423]
25046         * math/s_catan.c (__catan): Handle small real or imaginary part of
25047         input specially to avoid spurious underflow.
25048         * math/s_catanf.c (__catanf): Likewise.
25049         * math/s_catanh.c (__catanh): Likewise.
25050         * math/s_catanhf.c (__catanhf): Likewise.
25051         * math/s_catanhl.c (__catanhl): Likewise.
25052         * math/s_catanl.c (__catanl): Likewise.
25053         * math/libm-test.inc (catan_test): Add more tests.
25054         (catanh_test): Likewise.
25055         * sysdeps/i386/fpu/libm-test-ulps: Update.
25056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25058 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25060         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25062 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25064         [BZ #15416]
25065         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25066         accurately for denominator in atan2.
25067         * math/s_catanf.c (__catanf): Likewise.
25068         * math/s_catanh.c (__catanh): Likewise.
25069         * math/s_catanhf.c (__catanhf): Likewise.
25070         * math/s_catanhl.c (__catanhl): Likewise.
25071         * math/s_catanl.c (__catanl): Likewise.
25072         * math/libm-test.inc (catan_test): Add more tests.
25073         (catanh_test): Likewise.
25074         * sysdeps/i386/fpu/libm-test-ulps: Update.
25075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25077 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25079         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25081         * benchtests/Makefile (bench): Remove slow benchmarks.
25082         * benchtests/atan-inputs: Add slow benchmark inputs.
25083         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25084         (BENCH_FUNC): Accept variant offset.
25085         (VARIANT): Define.
25086         * benchtests/bench-skeleton.c (main): Run benchmark for each
25087         variant.
25088         * benchtests/cos-inputs: Add slow benchmark inputs.
25089         * benchtests/exp-inputs: Likewise.
25090         * benchtests/pow-inputs: Likewise.
25091         * benchtests/sin-inputs: Likewise.
25092         * benchtests/slowatan-inputs: Remove.
25093         * benchtests/slowatan.c: Remove.
25094         * benchtests/slowcos-inputs: Remove.
25095         * benchtests/slowcos.c: Remove.
25096         * benchtests/slowexp-inputs: Remove.
25097         * benchtests/slowexp.c: Remove.
25098         * benchtests/slowpow-inputs: Remove.
25099         * benchtests/slowpow.c: Remove.
25100         * benchtests/slowsin-inputs: Remove.
25101         * benchtests/slowsin.c: Remove.
25102         * benchtests/slowtan-inputs: Remove.
25103         * benchtests/slowtan.c: Remove.
25104         * benchtests/tan-inputs: Add slow benchmark inputs.
25105         * scripts/bench.pl: Parse comments and directives.
25107         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25108         in CPPFLAGS.
25109         ($(objpfx)bench-%.c): Remove *-ITER.
25110         * benchtests/bench-modf.c: Remove definition of ITER.
25111         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25112         (main): Loop for DURATION seconds instead of fixed number of
25113         iterations.
25114         * scripts/bench.pl: Don't expect iterations in parameters.
25116 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25118         * io/fchdir.c (__fchdir): Renamed from fchdir.
25119         (fchdir): Define as weak alias.
25121 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25123         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25124         (ERRNO_EDOM): Likewise.
25125         (ERRNO_ERANGE): Likewise.
25126         (noErrnoTests): New variable.
25127         (init_max_error): Set errno to 0.
25128         (test_single_errno): New function.
25129         (test_errno): Likewise.
25130         (check_float_internal): Call test_errno.  Set errno to 0.
25131         (check_complex): Refer to errno tests in comment.
25132         (check_int): Call test_errno.  Set errno to 0.
25133         (check_long): Likewise.
25134         (check_bool): Likewise.
25135         (check_longlong): Likewise.
25136         (cos_test): Use ERRNO_* flags for errno tests instead of
25137         check_int.
25138         (expm1_test): Likewise.
25139         (fmod_test): Likewise.
25140         (ilogb_test): Likewise.
25141         (lgamma_test): Likewise.
25142         (pow_test): Likewise.
25143         (remainder_test): Likewise.
25144         (sin_test): Likewise.
25145         (tan_test): Likewise.
25146         (yn_test): Likewise.
25147         (initialize): Set errno to 0.
25148         (main): Print number of errno tests.
25149         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25151 2013-04-29  Andreas Jaeger  <aj@suse.de>
25153         [BZ #15084]
25154         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25155         and RES_USEVC.
25157         [BZ #15085]
25158         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25159         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25160         unimplemented.
25162         [BZ #15380]
25163         * stdlib/random.c (__initstate): Return NULL if
25164         __initstate fails.
25166         [BZ #15086]
25167         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25168         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25169         RES_SNGLKUPREOP.
25171 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25173         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25175 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25177         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25178         of individual tests.
25179         (casin_test): Likewise.
25180         (casinh_test): Likewise.
25182 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25184         [BZ #15409]
25185         * math/s_catan.c (__catan): Handle arguments with large real or
25186         imaginary part separately without squaring.
25187         * math/s_catanf.c (__catanf): Likewise.
25188         * math/s_catanh.c (__catanh): Likewise.
25189         * math/s_catanhf.c (__catanhf): Likewise.
25190         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25191         and redefine.
25192         (__catanhl): Handle arguments with large real or imaginary part
25193         separately without squaring.
25194         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25195         and redefine.
25196         (__catanl): Handle arguments with large real or imaginary part
25197         separately without squaring.
25198         * math/libm-test.inc (catan_test): Add more tests.
25199         (catanh_test): Likewise.
25200         * sysdeps/i386/fpu/libm-test-ulps: Update.
25201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25203 2013-04-27  Andreas Jaeger  <aj@suse.de>
25205         [BZ #15007]
25206         * stdlib/stdlib.h: Update guards for qecvt.
25207         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25208         <stdlib.h>.
25210 2013-04-27  Allan McRae  <allan@archlinux.org>
25212         * sysdeps/i386/fpu/libm-test-ulps: Update.
25214 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25216         [BZ #15406]
25217         * math/s_catan.c: Include <float.h>.
25218         (__catan): Ensure underflow exception occurs for underflowed
25219         result.
25220         * math/s_catanf.c: Include <float.h>.
25221         (__catanf): Ensure underflow exception occurs for underflowed
25222         result.
25223         * math/s_catanh.c: Include <float.h>.
25224         (__catanh): Ensure underflow exception occurs for underflowed
25225         result.
25226         * math/s_catanhf.c: Include <float.h>.
25227         (__catanhf): Ensure underflow exception occurs for underflowed
25228         result.
25229         * math/s_catanhl.c: Include <float.h>.
25230         (__catanhl): Ensure underflow exception occurs for underflowed
25231         result.
25232         * math/s_catanl.c: Include <float.h>.
25233         (__catanl): Ensure underflow exception occurs for underflowed
25234         result.
25235         * math/libm-test.inc (catan_test): Add more tests.
25236         (catanh_test): Likewise.
25238         [BZ #15405]
25239         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25240         underflowed result.
25241         * math/s_ccoshf.c (__ccoshf): Likewise.
25242         * math/s_ccoshl.c (__ccoshl): Likewise.
25243         * math/s_csin.c (__csin): Likewise.
25244         * math/s_csinf.c (__csinf): Likewise.
25245         * math/s_csinh.c (__csinh): Likewise.
25246         * math/s_csinhf.c (__csinhf): Likewise.
25247         * math/s_csinhl.c (__csinhl): Likewise.
25248         * math/s_csinl.c (__csinl): Likewise.
25249         * math/libm-test.inc (ccos_test): Add more tests.
25250         (ccosh_test): Likewise.
25251         (csin_test): Likewise.
25252         (csinh_test): Likewise.
25254 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25256         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25257         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25258         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25259         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25260         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25261         powerpc/power5+/fpu folders.
25262         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25265 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25267         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25269 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25271         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25272         additions to variable.
25273         [$(config-machine) = x86_64] (modules-names): Likewise.
25274         ($(objpfx)tst-audit3): Remove dependency.
25275         ($(objpfx)tst-audit3.out): Likewise.
25276         ($(objpfx)tst-audit4): Likewise.
25277         ($(objpfx)tst-audit4.out): Likewise.
25278         ($(objpfx)tst-audit5): Likewise.
25279         ($(objpfx)tst-audit5.out): Likewise.
25280         ($(objpfx)tst-audit6): Likewise.
25281         ($(objpfx)tst-audit6.out): Likewise.
25282         ($(objpfx)tst-audit7): Likewise.
25283         ($(objpfx)tst-audit7.out): Likewise.
25284         (tst-audit3-ENV): Remove variable.
25285         (tst-audit4-ENV): Likewise.
25286         (tst-audit5-ENV): Likewise.
25287         (tst-audit6-ENV): Likewise.
25288         (tst-audit7-ENV): Likewise.
25289         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25290         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25291         addition to variable.
25292         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25293         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25294         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25295         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25296         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25297         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25298         tst-audit3, tst-audit4 and tst-audit5.
25299         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25300         tst-audit6 and tst-audit7.
25301         [$(subdir) = elf] (modules-names): Add audit modules for those
25302         tests.
25303         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25304         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25305         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25306         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25307         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25308         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25309         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25310         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25311         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25312         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25313         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25314         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25315         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25316         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25317         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25318         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25319         Likewise.
25320         [$(subdir) = elf && $(config-cflags-avx) = yes]
25321         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25322         [$(subdir) = elf && $(config-cflags-avx) = yes]
25323         (CFLAGS-tst-auditmod4a.c): Likewise.
25324         [$(subdir) = elf && $(config-cflags-avx) = yes]
25325         (CFLAGS-tst-auditmod4b.c): Likewise.
25326         [$(subdir) = elf && $(config-cflags-avx) = yes]
25327         (CFLAGS-tst-auditmod6b.c): Likewise.
25328         [$(subdir) = elf && $(config-cflags-avx) = yes]
25329         (CFLAGS-tst-auditmod6c.c): Likewise.
25330         [$(subdir) = elf && $(config-cflags-avx) = yes]
25331         (CFLAGS-tst-auditmod7b.c): Likewise.
25332         * elf/tst-audit3.c: Move to ...
25333         * sysdeps/x86_64/tst-audit3.c: ... here.
25334         * elf/tst-audit4.c: Move to ...
25335         * sysdeps/x86_64/tst-audit4.c: ... here.
25336         * elf/tst-audit5.c: Move to ...
25337         * sysdeps/x86_64/tst-audit5.c: ... here.
25338         * elf/tst-audit6.c: Move to ...
25339         * sysdeps/x86_64/tst-audit6.c: ... here.
25340         * elf/tst-audit7.c: Move to ...
25341         * sysdeps/x86_64/tst-audit7.c: ... here.
25342         * elf/tst-auditmod3a.c: Move to ...
25343         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25344         * elf/tst-auditmod3b.c: Move to ...
25345         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25346         * elf/tst-auditmod4a.c: Move to ...
25347         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25348         * elf/tst-auditmod4b.c: Move to ...
25349         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25350         * elf/tst-auditmod5a.c: Move to ...
25351         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25352         * elf/tst-auditmod5b.c: Move to ...
25353         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25354         * elf/tst-auditmod6a.c: Move to ...
25355         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25356         * elf/tst-auditmod6b.c: Move to ...
25357         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25358         * elf/tst-auditmod6c.c: Move to ...
25359         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25360         * elf/tst-auditmod7a.c: Move to ...
25361         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25362         * elf/tst-auditmod7b.c: Move to ...
25363         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25365 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
25367         [BZ #15366]
25368         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25369         define unconditionally.
25370         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25371         define unconditionally.
25372         (INT8_C, INT16_C, etc.): Likewise.
25374 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
25376         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25377         __ehdr_start with hidden visibility.
25379         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25381 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
25383         * math/libm-test.inc (cos_test): Use accurate hex constants.
25384         (sincost_test): Likewise.
25386 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
25388         * math/libm-test.inc (catan_test): Add more tests.
25389         (catanh_test): Likewise.
25391         * math/s_catanf.c (__catanf): Use suffixed floating-point
25392         constants.
25393         * math/s_catanhf.c (__catanhf): Likewise.
25394         * math/s_catanhl.c (__catanhl): Likewise.
25395         * math/s_catanl.c (__catanl): Likewise.
25397         [BZ #15394]
25398         * math/s_catan.c (__catan): Calculate imaginary part of result
25399         with log1p not log unless computing log of number close to 0.
25400         * math/s_catanf.c (__catanf): Likewise.
25401         * math/s_catanl.c (__catanl): Likewise.
25402         * math/s_catanh.c (__catanh): Calculate real part of result with
25403         log1p not log unless computing log of number close to 0.
25404         * math/s_catanhf.c (__catanhf): Likewise.
25405         * math/s_catanhl.c (__catanhl): Likewise.
25406         * math/libm-test.inc (catan_test): Add more tests.
25407         (catanh_test): Likewise.
25408         * sysdeps/i386/fpu/libm-test-ulps: Update.
25409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25411 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25413         * benchtests/Makefile: Mention files in which fast and slow
25414         paths of math functions are implemented.
25416 2013-04-23  Roland McGrath  <roland@hack.frob.com>
25418         * sysdeps/posix/timespec_get.c: New file.
25420 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25422         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25423         POWER.
25424         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25425         for POWER.
25426         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25427         powerpc/power5/fpu folders.
25428         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25429         * benchtests/Makefile: Add modf testcase.
25430         * benchtests/bench-modf.c: New file: Benchmark test for mo
25432 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25434         [BZ #14888]
25435         * time/Makefile (tests): Add tst-strptime-whitespace.
25436         * time/strptime_l.c (get_number): Use ISSPACE.
25437         (__strptime_internal): Likewise.
25438         * time/tst-strptime-whitespace.c: New test case.
25440 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
25442         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25443         member.
25444         (_nss_files_init): Set it here.
25446 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
25448         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25449         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25450         unsigned.
25452 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
25454         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25456 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25458         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25459         size just once.
25461 2013-04-21  David S. Miller  <davem@davemloft.net>
25463         * po/ru.po: Update Russion translation from translation project.
25465 2013-04-17  Adam Conrad  <adconrad@0c3.net>
25467         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25468         and setfsgid.
25470 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
25472         * configure.in: Remove i386 configure warning. Remove i386 case.
25473         * configure: Regenerate.
25474         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25475         Add example to error message.
25476         * sysdeps/i386/configure: Regenerate.
25478 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25480         * benchtests/Makefile (bench): Add cos, tan, slowcos and
25481         slowtan.
25482         * benchtests/cos-inputs: New file.
25483         * benchtests/slowcos-inputs: New file.
25484         * benchtests/slowcos.c: New file.
25485         * benchtests/slowtan-inputs: New file.
25486         * benchtests/slowtan.c: New file.
25487         * benchtests/tan-inputs: New file.
25489 2013-04-16  Roland McGrath  <roland@hack.frob.com>
25491         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25492         considered kosher.
25494 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25496         * benchtests/Makefile: Include cppflags-iterator.mk to add
25497         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25499         * Makefile.in (bench-clean): New target.
25500         * benchtests/Makefile (bench-clean): Likewise.
25502 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
25504         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25506 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
25508         * stdio-common/tstdiomisc.c: Fix coding-style violation.
25510 2013-04-15  Andreas Schwab  <schwab@suse.de>
25512         * nscd/grpcache.c (cache_addgr): Properly check for short write.
25513         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25514         * nscd/pwdcache.c (cache_addpw): Likewise.
25515         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
25516         more than recsize.
25518 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25520         * benchtests/Makefile (bench): Write all output to
25521         bench-out.tmp together.
25523 2013-04-15  Andreas Schwab  <schwab@suse.de>
25525         * nscd/nscd.c (main): Don't fork again after closing files.
25527 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25529         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25531         * benchtests/Rules (bench-deps): Collect dependencies into a
25532         single variable.  Add Makefile to dependencies.
25533         ($(objpfx)bench-%.c): Depend on bench-deps.
25535 2013-04-12  Roland McGrath  <roland@hack.frob.com>
25536             Xavier Roche  <roche+kml2@exalead.com>
25538         [BZ #15361]
25539         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25540         just that it's a file descriptor.
25541         * manual/llio.texi (Synchronizing AIO Operations): Update description
25542         for EBADF error from aio_fsync.
25544 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25546         * Rules (bench): Move target definition...
25547         * benchtests/Makefile: ... here.
25549 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
25551         * math/libm-test.inc (cos_test): Fix PI/2 test.
25552         (sincos_test): Likewise.
25553         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25554         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25556 2013-04-11  Andreas Schwab  <schwab@suse.de>
25558         [BZ #13988]
25559         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25560         accept exponent character only when digits were seen.
25561         * stdio-common/Makefile (tests): Add bug26.
25562         * stdio-common/bug26.c: New file.
25564         [BZ #14293]
25565         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25566         non-freeable.
25568 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25570         * Makeconfig (rtld-prefix): Define built linker prefix.
25571         * Rules (run-bench): Use it.
25572         * math/Makefile (run-regen-ulps): Likewise.
25574         * Rules (bench): Remove eval.
25576 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25577             Roland McGrath  <roland@hack.frob.com>
25578             Ondrej Bilka  <neleai@seznam.cz>
25580         [BZ #15346]
25581         * time/getdate.c: Include ctype.h and alloca.h.
25582         (__getdate_r): Trim leading and trailing spaces of input.
25583         * time/tst-getdate.c (tests): Add tests with leading and
25584         trailing spaces.
25586 2013-04-08  Roland McGrath  <roland@hack.frob.com>
25588         [BZ #14280]
25589         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25590         when computing value.
25592 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25594         * math/README.libm-test (How can I generate "libm-test-ulps"?):
25595         Use testrun.sh to run libm tests.
25597         [BZ #15309]
25598         * elf/dl-open.c (dl_open_worker): memset all of seen array.
25600 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
25602         [BZ #15264]
25603         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25605 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25607         * Makefile.in (regen-ulps): New target.
25608         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25609         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25610         [ifneq (no,$(PERL)] (regen-ulps): New target.
25611         [ifeq (no,$(PERL)] (regen-ulps): New target.
25612         * math/libm-test.inc (ulps_file_name): Define.
25613         (output_dir): New variable.
25614         (options): Add "output-dir" option.
25615         (parse_opt): Handle 'o' case.
25616         (main): If output_dir is non-NULL use it as a prefix
25617         otherwise use "".
25618         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25620 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25622         [BZ #10060, #10062]
25623         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25624         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25625         fail configure if __sync_val_compare_and_swap is not inlined.
25626         * sysdeps/i386/configure: Regenerate.
25627         * configure.in: Build for i686 when configured for i386.
25628         * configure: Regenerate.
25629         * README: Remove i386 reference.
25631 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25633         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25634         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25636 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25638         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25639         (lmsnanval): New variables.
25640         (F): Add conversion tests.
25641         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25642         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25644         * stdio-common/tstdiomisc.c (F): Properly collect individual
25645         tests' results.
25647         [BZ #14686, #15336]
25648         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25649         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25650         Instead, use input NaN values or generate a qNaN by arithmetic
25651         operation.  Also fix bugs to comply with the standard.
25652         * math/libm-test.inc (remainder_test): Add more tests.
25654         [BZ #15335, #15342]
25655         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25656         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25657         input NaN values or generate a qNaN by arithmetic operation.
25659         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25660         unreachable code.
25662         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25663         definitions.
25665 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25667         [BZ #14478]
25668         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25669         underflowed result.
25670         * math/s_cexpf.c (__cexpf): Likewise.
25671         * math/s_cexpl.c (__cexpl): Likewise.
25672         * math/libm-test.inc (cexp_test): Add more tests.
25674 2013-04-03  Andreas Schwab  <schwab@suse.de>
25676         [BZ #15330]
25677         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25678         order arrays from heap if bigger than alloca cutoff.
25680 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25682         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25683         (SNAN_TESTS_double): Refer to GCC PR56831.
25684         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25685         GCC PR56828.
25687 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25689         * Rules (bench): Move bench.out after the run is complete.
25691         * Rules (bench): Echo currently running benchmark.
25693         * benchtests/Makefile (bench): Add atan and slowatan.
25694         * benchtests/atan-inputs: New file.
25695         * benchtests/slowatan-inputs: New file.
25696         * benchtests/slowatan.c: New file.
25698         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25700         its value.
25702         [BZ #15305]
25703         * sysdeps/unix/sysv/linux/kernel-features.h
25704         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25705         __ASSUME_XFS_RESTRICTED_CHOWN.
25706         * sysdeps/unix/sysv/linux/pathconf.c
25707         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25708         Save and restore errno.
25710 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25712         [BZ #15327]
25713         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25714         arguments using __kernel_casinh.
25715         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25716         arguments using __kernel_casinhf.
25717         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25718         arguments using __kernel_casinhl.
25719         * math/libm-test.inc (cacosh_test): Add more tests.
25720         * sysdeps/i386/fpu/libm-test-ulps: Update.
25721         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25723 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25725         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25726         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25728         * bench/Makefile (bench): Add sin and slowsin.
25729         * benchtests/sin-inputs: New file.
25730         * benchtests/slowsin-inputs: New file.
25731         * benchtests/slowsin.c: New file.
25733         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25734         (bench): Add slowexp and slowpow.
25735         (exp-ITER): Increase iterations.
25736         (pow-ITER): Likewise.
25737         * benchtests/exp-inputs: Change input.
25738         * benchtests/pow-inputs: Likewise.
25739         * benchtests/slowexp-inputs: New file.
25740         * benchtests/slowexp.c: New file.
25741         * benchtests/slowpow-inputs: New file.
25742         * benchtests/slowpow.c: New file.
25744 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25746         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25747         instructions.
25748         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25749         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25750         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25751         * benchtests/Makefile: Add rint benchtest.
25752         * benchtests/rint-inputs: Input for rint benchtest.
25754 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25756         * Versions.def (libm): Add GLIBC_2.18.
25757         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25758         hidden libm prototypes.
25759         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25760         * math/Makefile (libm-calls): Add s_issignaling.
25761         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25762         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25763         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25764         declaration.
25765         * math/math.h [__USE_GNU] (issignaling): New macro.
25766         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25767         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25768         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25769         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25770         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25771         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25772         * manual/arith.texi (issignaling): New section.
25773         * manual/libm-err-tab.pl (@all_functions): Update comment.
25774         * math/gen-libm-test.pl (parse_args): Apply special handling for
25775         issignaling.
25776         * math/libm-test.inc (print_float, issignaling_test): New
25777         functions.
25778         (check_float_internal): Add issignaling checks.
25779         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25780         default definition.
25781         * sysdeps/powerpc/math-tests.h: New file.
25782         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25783         tests.
25784         * math/test-snan.c (TEST_FUNC): Likewise.
25786 2013-03-30  David S. Miller  <davem@davemloft.net>
25788         * po/de.po: Update from translation team.
25790 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25792         [BZ #10357]
25793         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25794         imaginary part less than 1.0 and real part less than 0.5
25795         specially.
25796         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25797         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25798         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25799         (cacos_test): Add more tests.
25800         (casin_test): Likewise.
25801         (casinh_test): Likewise.
25802         * sysdeps/i386/fpu/libm-test-ulps: Update.
25803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25805 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25807         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25808         ONE with its value.
25810         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25811         (__pow_mp): Replace ONE and MONE with their values.
25812         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25814         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25815         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25816         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25817         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25819         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25821         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25822         (__pow_mp): Replace ZERO and MZERO with their values.
25823         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25824         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25825         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25826         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25827         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25828         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25829         (__sqr): Likewise.
25831         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25833         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25835 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25837         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25838         Declare with __attribute__ ((weak)).
25839         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25840         Call __call_tls_dtors only if it's not NULL.
25842 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25844         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25845         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25846         magic __ehdr_start linker symbol if it's defined.
25847         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25848         them up here if it was already done.
25850         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25851         (_dl_aux_init): Use const in cast when setting it.
25852         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25853         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25854         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25856         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25857         Declare them here.
25858         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25859         * csu/libc-tls.c: Nor here.
25860         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25862         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25863         (__libc_message): Never call vsyslog.
25865 2013-03-28  Alan Modra  <amodra@gmail.com>
25867         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25868         Define as empty.
25869         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25870         Likewise.
25872 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25874         [BZ #15214]
25875         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25876         underflow.
25877         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25879 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25881         [BZ #15304]
25882         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25883         Don't add gid passed as argument.
25885         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25887 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25889         [BZ #15307]
25890         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25891         imaginary part between 1.0 and 1.5 and real part less than 0.5
25892         specially.
25893         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25894         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25895         * math/libm-test.inc (cacos_test): Add more tests.
25896         (casin_test): Likewise.
25897         (casinh_test): Likewise.
25898         * sysdeps/i386/fpu/libm-test-ulps: Update.
25899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25901 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25903         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25904         constants.
25905         (norm): Likewise.
25906         (denorm): Likewise.
25907         (__dbl_mp): Likewise.
25908         (add_magnitudes): Likewise.
25909         (sub_magnitudes): Likewise.
25910         (__add): Likewise.
25911         (__sub): Likewise.
25912         (__mul): Likewise.
25913         (__sqr): Likewise.
25914         (__inv): Likewise.
25915         (__dvd): Likewise.
25917         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25918         commented code.
25919         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25920         (__dubcos): Likewise.
25921         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25922         (__ieee754_acos): Likewise.
25923         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25924         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25925         (__exp1): Likewise.
25926         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25927         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25928         (log1): Likewise.
25929         (my_log2): Likewise.
25930         (checkint): Likewise.
25931         * sysdeps/ieee754/dbl-64/e_remainder.c
25932         (__ieee754_remainder): Likewise.
25933         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25934         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25935         (bsloww): Likewise.
25936         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25938         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25939         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25940         MANTISSA_STORE_T to store computations on mantissa.  Use
25941         macros for rounding and division.
25942         (denorm): Likewise.
25943         (__dbl_mp): Likewise.
25944         (add_magnitudes): Likewise.
25945         (sub_magnitudes): Likewise.
25946         (__mul): Likewise.
25947         (__sqr): Likewise.
25948         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25949         powers of two in terms of TWOPOW macro.
25950         (mp_no): Make type of mantissa as MANTISSA_T.
25951         [!RADIXI]: Define RADIXI.
25952         [!TWO52]: Define TWO52.
25953         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25955 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25957         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25958         llroundl symbol when building for PPC32.
25960 2013-03-24  Mark H Weaver  <mhw@netris.org>
25962         * manual/arith.texi (Normalization Functions): Fix prototypes for
25963         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25965 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25967         [BZ #13889]
25968         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25969         high value to check if expl overflow.
25970         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25971         to check for underflow and overflow.
25972         * math/libm-test.inc: Add exp test.
25974 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25976         [BZ #11120]
25977         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
25978         with NOT_IN_libc.
25980 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25982         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
25983         symbol.
25985 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
25987         * math/gen-libm-test.pl (parse_args, special_functions): Properly
25988         wrap blocks consisting of several statements.
25990         * sysdeps/generic/math-tests.h: New file.
25991         * sysdeps/i386/fpu/math-tests.h: Likewise.
25992         * math/test-snan.c: Include it.
25993         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
25995 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
25997         [BZ #15285]
25998         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
25999         (__ieee754_j0l): Do not improve calculations using cos of twice
26000         input for inputs above LDBL_MAX / 2.0L.
26001         (__ieee754_y0l): Likewise.
26002         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26003         (__ieee754_j1l): Do not improve calculations using cos of twice
26004         input for inputs above LDBL_MAX / 2.0L.
26005         (__ieee754_y1l): Likewise.
26006         * math/libm-test.inc (j0_test): Add another test.
26007         (j1_test): Likewise.
26008         (y0_test): Likewise.
26009         (y1_test): Likewise.
26010         * sysdeps/i386/fpu/libm-test-ulps: Update.
26012 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26014         * Rules ($(objpfx)bench-%.c): Include code from a C source
26015         file.
26017 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26019         [BZ #15287]
26020         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26021         imaginary part 1.0 and real part less than 0.5 specially.
26022         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26023         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26024         * math/libm-test.inc (cacos_test): Add more tests.
26025         (casin_test): Likewise.
26026         (casinh_test): Likewise.
26027         * sysdeps/i386/fpu/libm-test-ulps: Update.
26028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26030 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26032         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26033         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26035 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26037         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26038         * config.make.in (config-cflags-sse4): Remove variable.
26039         (config-cflags-avx): Likewise.
26040         (config-cflags-sse2avx): Likewise.
26041         (config-cflags-novzeroupper): Likewise.
26042         (config-asflags-i686): Likewise.
26043         (have-mfma4): Likewise.
26044         (have-as-vis3): Likewise.
26045         (MIG): Likewise.
26046         * configure.in (MIG): Do not AC_SUBST.
26047         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26048         (libc_cv_cc_sse4): Do not AC_SUBST.
26049         (libc_cv_cc_avx): Likewise.
26050         (libc_cv_cc_sse2avx): Likewise.
26051         (libc_cv_cc_novzeroupper): Likewise.
26052         (libc_cv_cc_fma4): Likewise.
26053         (libc_cv_as_i686): Likewise.
26054         (libc_cv_sparc_as_vis3): Likewise.
26055         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26056         LIBC_CONFIG_VAR.
26057         (config-asflags-i686): Likewise.
26058         (config-cflags-avx): Likewise.
26059         (config-cflags-sse2avx): Likewise.
26060         (have-mfma4): Likewise.
26061         (config-cflags-novzeroupper): Likewise.
26062         * sysdeps/mach/configure.in (MIG): Likewise.
26063         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26064         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26065         LIBC_CONFIG_VAR.
26066         (config-cflags-avx): Likewise.
26067         (config-cflags-sse2avx): Likewise.
26068         (have-mfma4): Likewise.
26069         (config-cflags-novzeroupper): Likewise.
26070         * configure: Regenerated.
26071         * sysdeps/i386/configure: Likewise.
26072         * sysdeps/mach/configure: Likewise.
26073         * sysdeps/sparc/configure: Likewise.
26074         * sysdeps/x86_64/configure: Likewise.
26076 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26078         [BZ #14812]
26079         * locale/programs/localedef.c (options): Put N_ translation marker
26080         on argument names, not just descriptions.
26082 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26084         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26086 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26088         [BZ #14176]
26089         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26091 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26093         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26094         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26095         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26096         [!BEFORE_ABORT] (before_abort): New function.
26097         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26098         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26099         (writev_for_fatal): New function.
26100         (WRITEV_FOR_FATAL): New macro; call that.
26101         (backtrace_and_maps): New function.
26102         (BEFORE_ABORT): New macro; call that.
26103         (struct str_list): Type removed.
26104         (__libc_message, __libc_fatal): Functions removed.
26105         Include <sysdeps/posix/libc_fatal.c> instead.
26107 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26109         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26110         constants.
26111         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26112         double constants.
26114 2013-03-19  Andreas Schwab  <schwab@suse.de>
26116         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26117         * sysdeps/gnu/configure: Regenerate.
26119         * configure.in: Substitute libc_cv_rtlddir.
26120         * configure: Regenerate.
26121         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26122         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26123         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26124         * elf/Makefile (install-others, CFLAGS-interp.c)
26125         (ldso_install, common-ldd-rewrite): Likewise.
26126         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26127         $(inst_slibdir)/$(rtld-installed-name).
26128         * scripts/rellns-sh: Add -p option.
26129         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26130         for source.
26132 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26134         * manual/nptl.texi: Renamed to ...
26135         * manual/threads.texi: ... this.
26136         * manual/Makefile (chapters): Update.
26138 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26140         [BZ #14812]
26141         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26142         on argument names, not just descriptions.
26143         * malloc/memusagestat.c (options): Likewise.
26144         * nss/getent.c (options): Likewise.
26146 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26148         [BZ #14812]
26149         * iconv/iconv_prog.c (options): Put N_ translation marker
26150         on argument names, not just descriptions.
26151         * iconv/iconvconfig.c (options): Likewise.
26153 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26155         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26156         implementation which is faster on all x86_64 architectures.
26157         Tested on AMD, Intel Nehalem, SNB, IVB.
26158         * sysdeps/x86_64/strnlen.S: Likewise.
26160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26161         Remove all multiarch strlen and strnlen versions.
26162         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26163         Remove strlen and strnlen related parts.
26165         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26166         Inline strlen part.
26167         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26169         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26170         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26171         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26172         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26173         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26174         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26176 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26178         * manual/memory.texi (Malloc Tunable Parameters):
26179         Sort parameters alphabetically. Add comments for missing entries.
26181 2013-03-17  David S. Miller  <davem@davemloft.net>
26183         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26185 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26187         [BZ #15283]
26188         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26189         for arguments at most half maximum finite value.
26190         * math/libm-test.inc (j0_test): Add more tests.
26191         (j1_test): Likewise.
26192         (y0_test): Likewise.
26193         (y1_test): Likewise.
26194         * sysdeps/i386/fpu/libm-test-ulps: Update.
26195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26197         [BZ #14155]
26198         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26199         1 / x and functions P and Q for arguments above 0x1p256L.
26200         (__ieee754_y0l): Likewise.
26201         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26202         (__ieee754_y1l): Likewise.
26203         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26204         (j1_test): Likewise.
26205         (y0_test): Likewise.
26206         (y1_test): Likewise.
26208 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26210         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26211         variable.
26213 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26215         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26216         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26217         zero since it's initialized to EXEC_PAGESIZE.
26219         * sysdeps/unix/sysv/linux/ldsodefs.h
26220         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26221         * sysdeps/generic/ldsodefs.h: ... here.
26223 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26225         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26227         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26228         math/test-snan.c.
26229         * math/test-snan.c: Renamed from
26230         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26231         * math/Makefile (tests): Add test-snan.
26232         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26233         test-powerpc-snan.
26235         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26236         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26237         functions.
26238         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26239         __builtin_nan family of functions.
26240         * math/libm-test.inc (initialize): Initialize qnan_value with
26241         __builtin_nan family of functions.
26242         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26243         Remove variables.
26244         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26245         Remove functions.
26246         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26247         storage class.  Initialize qNaN_var and sNaN_var with
26248         __builtin_nan and __builtin_nans families of functions,
26249         respectively.
26251         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26252         (sqrt_test): Remove duplicate test with qNaN input.
26253         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26254         (round_test, signbit_test, significand_test): Note missing +/-Inf
26255         as well as qNaN tests.
26257         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26258         qNaN_var.  Fix a few strings, too.
26259         * math/libm-test.inc (nan_value): Rename to qnan_value.
26260         * math/gen-libm-test.pl (%beautify): Adjust to that.
26261         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26262         * math/test-misc.c (main): Likewise.
26263         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26264         to __qnan_bytes, and __qnan_union, respectively.
26265         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26266         Likewise.
26267         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26268         and lqnanval, respectively.
26269         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26270         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26271         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26272         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26274         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26275         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26276         doubles.
26278         * math/test-misc.c (main): Fix copy'n'pastos.
26279         * misc/tst-efgcvt.c (special): Likewise.
26281         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26282         Remove declarations.
26284 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26286         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26287         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26288         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26289         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26291 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26293         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26294         macro to return vdso values correctly in IFUNC implementations.
26295         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26296         Optimization by using IFUNC.
26298 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26299             Richard Henderson  <rth@redhat.com>
26300             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26302         * Makefile.in (bench): New target.
26303         * NEWS: Mention the benchmark framework.
26304         * Rules (bench): Likewise.
26305         (binaries-bench): Generate binaries for functions to
26306         benchmark.
26307         * benchtests/Makefile: New makefile for benchmark tests.
26308         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26309         programs.
26310         * benchtests/exp-inputs: New input file for EXP function.
26311         * benchtests/pow-inputs: New input file for POW function.
26312         * scripts/bench.pl: New script to generate source files for
26313         benchmark programs.
26315 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26317         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26318         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26319         computations on mantissa.  Use macros for rounding and
26320         division.
26321         (denorm): Likewise.
26322         (__dbl_mp): Likewise.
26323         (add_magnitudes): Likewise.
26324         (sub_magnitudes): Likewise.
26325         (__mul): Likewise.
26326         (__sqr): Likewise.
26327         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26328         powers of two in terms of TWOPOW macro.
26329         (mp_no): Make type of mantissa as MANTISSA_T.
26330         [!RADIXI]: Define RADIXI.
26331         [!TWO52]: Define TWO52.
26332         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26334         * manual/nptl.texi (cindex): Modify threads to pthreads.
26336 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26338         * sysdeps/x86_64/preconfigure: Regenerated.
26340 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26342         [BZ #14155]
26343         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26344         0x1p28 and above.
26345         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26346         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26347         0x1p28 and above.
26348         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26349         * math/libm-test.inc (j0_test): Do not allow one spurious
26350         underflow exception.
26351         (y1_test): Likewise.
26353 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26355         * manual/Makefile (chapters): Add nptl.
26356         * manual/debug.texi (Debugging Support): Add link to Threads
26357         chapter.
26358         * manual/nptl.texi: New file.
26360         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26362 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26364         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26365         for non-NULL pointer before the memory validity test. Pointed
26366         out by Holger Brunck <holger.brunck@keymile.com>.
26368 2013-03-13  Andreas Schwab  <schwab@suse.de>
26370         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26371         instead of .os.
26373 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
26375         * timezone/zic.c: Update from tzcode 2013b.
26377 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
26379         * manual/install.texi (Configuring and compiling):
26380         Mention i686 and i586.
26381         * INSTALL: Regenerate.
26383 2013-03-12  Roland McGrath  <roland@hack.frob.com>
26385         * sysdeps/init_array/elf-init.c: New file.
26386         * csu/elf-init.c
26387         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26388         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26390         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26391         __gmon_start__ as global, but as static with a .preinit_array pointer.
26392         * sysdeps/init_array/gmon-start.c: New file.  Use that.
26393         * sysdeps/init_array/crti.S: New file, empty except for comments.
26394         * sysdeps/init_array/crtn.S: Likewise.
26396 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
26398         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26399         definining bcopy.
26400         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26401         Remove Prefer_SSE_for_memop.
26402         * sysdeps/x86_64/multiarch/init-arch.h: Remove
26403         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26404         HAS_PREFER_SSE_FOR_MEMOP.
26405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26406         memset-x86-64.
26407         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26408         Remove bzero, memset ifunc support.
26409         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26410         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26411         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26412         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26414 2013-03-11  Andreas Schwab  <schwab@suse.de>
26416         [BZ #15234]
26417         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26418         by SHLIB_COMPAT.
26419         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26420         (GLIBC_2.16): Remove pthread_atfork.
26422 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26424         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26425         (ptestcases.h): Likewise.
26427 2013-03-08  Roland McGrath  <roland@hack.frob.com>
26429         * Makeconfig ($(common-objpfx)config.status): Depend on
26430         sysdeps/*/preconfigure{,.in} too.
26432 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
26434         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26435         (__free_hook): Use void * instead of __malloc_ptr_t.
26436         (__malloc_hook): Likewise.
26437         (__realloc_hook): Likewise.
26438         (__memalign_hook): Likewise.
26439         (__after_morecore_hook): Likewise.
26440         * malloc/arena.c (save_malloc_hook): Likewise.
26441         (save_free_hook): Likewise.
26442         * malloc/hooks.c (malloc_hook_ini): Likewise.
26443         (realloc_hook_ini): Likewise.
26444         (memalign_hook_ini): Likewise.
26445         * malloc/malloc.c (malloc_hook_ini): Likewise.
26446         (realloc_hook_ini): Likewise.
26447         (memalign_hook_ini): Likewise.
26448         (__free_hook): Likewise.
26449         (__malloc_hook): Likewise.
26450         (__realloc_hook): Likewise.
26451         (__memalign_hook): Likewise.
26452         (__libc_malloc): Likewise.
26453         (__libc_free): Likewise.
26454         (__libc_realloc): Likewise.
26455         (__libc_memalign): Likewise.
26456         (__libc_valloc): Likewise.
26457         (__libc_pvalloc): Likewise.
26458         (__libc_calloc): Likewise.
26459         (__posix_memalign): Likewise.
26460         * malloc/morecore.c (__sbrk): Likewise.
26461         (__default_morecore): Likewise.
26463         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26465         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26466         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26467         __malloc_ptrdiff_t.
26469         * malloc/malloc.h (__malloc_size_t): Remove macro.
26470         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26471         __malloc_size_t.
26472         (old_memalign_hook): Likewise.
26473         (old_realloc_hook): Likewise.
26474         (struct hdr): Likewise.
26475         (flood): Likewise.
26476         (mallochook): Likewise.
26477         (memalignhook): Likewise.
26478         (reallochook): Likewise.
26479         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26480         (tr_old_realloc_hook): Likewise.
26481         (tr_old_memalign_hook): Likewise.
26482         (tr_mallochook): Likewise.
26483         (tr_reallochook): Likewise.
26484         (tr_memalignhook): Likewise.
26486 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26488         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26489         default_ldbl_pack and using as default implementation.
26490         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26491         implementation.
26492         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26493         redundant definition.
26494         (ldbl_insert_mantissa): Likewise.
26495         (ldbl_canonicalize): Likewise.
26496         (ldbl_nearbyint): Likewise.
26497         (ldbl_pack): Rename to ldbl_pack_ppc.
26498         (ldbl_unpack): Rename to ldbl_unpack_ppc.
26499         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26500         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26502 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26504         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26505         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26506         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26507         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26509         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26510         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26511         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26513 2013-03-07  Andreas Jaeger  <aj@suse.de>
26515         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26516         bits/mman-linux.h.
26518 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26520         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26521         Include mpa.h and declare __MPEXP.
26522         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26523         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26524         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26525         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26526         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26527         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26528         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26530         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26531         (__slowpow): Use long double EXPL and LOGL functions to
26532         compute POW.
26533         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26534         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26535         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26536         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26537         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26538         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26540         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26541         intermediate variable to calculate exponent.
26542         (__sqr): Likewise.
26543         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26544         Likewise.
26545         (__sqr): Likewise.
26547         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26548         [!NO__SQR]: Define __sqr.
26549         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26550         and NO__SQR.  Remove all code except __mul and __sqr.  Include
26551         sysdeps/ieee754/dbl-64/mpa.c.
26552         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26554         [BZ #12723]
26555         * posix/Makefile (tests): Add tst-pathconf.
26556         * posix/tst-pathconf.c: New test case.
26557         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26558         _PC_PIPE_BUF.
26559         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26561 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
26563         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26565 2013-03-06  Andreas Jaeger  <aj@suse.de>
26567         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26568         definition via __MAP_ANONYMOUS.
26570         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26571         it's not part of Linux headers.
26573         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26574         (MAP_HUGE_MASK): Define.
26576         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26577         Define.
26578         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26579         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26580         Define.
26581         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26582         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26583         Define.
26584         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26585         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26586         Define.
26587         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26589         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26590         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26591         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26592         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26593         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26594         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26596         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26597         Handle f2fs.
26599         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26600         Handle f2fs and efivarfs.
26602         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26603         f2fs.
26605         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26606         (EFIVARFS_MAGIC): Add.
26607         (F2FS_LINK_MAX): Add.
26609 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26611         * stdio-common/vfprintf.c: Replace __builtin_expect with
26612         __glibc_unlikely.
26614 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
26616         [BZ #13550]
26617         * sysdeps/generic/bp-sym.h: Remove file.
26618         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26619         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26620         <bp-sym.h> and <bp-asm.h>.
26621         (__longjmp): Don't use BP_SYM.
26622         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26623         and <bp-asm.h>.
26624         (memcpy): Don't use BP_SYM.
26625         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26626         <bp-sym.h> and <bp-asm.h>.
26627         (memcpy): Don't use BP_SYM.
26628         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26629         <bp-asm.h>.
26630         (memcpy): Don't use BP_SYM.
26631         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26632         <bp-asm.h>.
26633         (memset): Don't use BP_SYM.
26634         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26635         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26636         (__bzero): Don't use BP_SYM.
26637         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26638         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26639         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26640         <bp-sym.h> and <bp-asm.h>.
26641         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26642         pointers.
26643         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26644         <bp-sym.h> and <bp-asm.h>.
26645         (memcpy): Don't use BP_SYM.
26646         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26647         <bp-sym.h> and <bp-asm.h>.
26648         (memset): Don't use BP_SYM.
26649         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26650         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26651         (__bzero): Don't use BP_SYM.
26652         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26653         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26654         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26655         <bp-sym.h> and <bp-asm.h>.
26656         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26657         pointers.
26658         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26659         <bp-sym.h> and <bp-asm.h>.
26660         (memcpy): Don't use BP_SYM.
26661         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26662         <bp-sym.h> and <bp-asm.h>.
26663         (memset): Don't use BP_SYM.
26664         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26665         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26666         (__bzero): Don't use BP_SYM.
26667         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26668         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26669         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26670         <bp-sym.h> and <bp-asm.h>.
26671         (__memchr): Don't use BP_SYM.
26672         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26673         <bp-sym.h> and <bp-asm.h>.
26674         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26675         pointers.
26676         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26677         <bp-sym.h> and <bp-asm.h>.
26678         (memcpy): Don't use BP_SYM.
26679         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26680         <bp-sym.h> and <bp-asm.h>.
26681         (__mempcpy): Don't use BP_SYM.
26682         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26683         <bp-sym.h> and <bp-asm.h>.
26684         (__memrchr): Don't use BP_SYM.
26685         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26686         <bp-sym.h> and <bp-asm.h>.
26687         (memset): Don't use BP_SYM.
26688         (__bzero): Likewise.
26689         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26690         <bp-sym.h> and <bp-asm.h>.
26691         (__rawmemchr): Don't use BP_SYM.
26692         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26693         <bp-sym.h> and <bp-asm.h>.
26694         (__STRCMP): Don't use BP_SYM.
26695         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26696         <bp-sym.h> and <bp-asm.h>.
26697         (strchr): Don't use BP_SYM.
26698         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26699         <bp-sym.h> and <bp-asm.h>.
26700         (__strchrnul): Don't use BP_SYM.
26701         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26702         <bp-sym.h> and <bp-asm.h>.
26703         (strlen): Don't use BP_SYM.
26704         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26705         <bp-sym.h> and <bp-asm.h>.
26706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26707         pointers.
26708         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26709         <bp-sym.h> and <bp-asm.h>.
26710         (__strnlen): Don't use BP_SYM.
26711         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26712         <bp-sym.h> and <bp-asm.h>.
26713         (__GI__setjmp): Don't use BP_SYM.
26714         (_setjmp): Likewise.
26715         (__sigsetjmp): Likewise.
26716         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26717         (L(start_addresses)): Don't use BP_SYM.
26718         (_start): Likewise.
26719         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26720         <bp-asm.h>.
26721         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26722         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26723         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26724         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26725         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26726         <bp-asm.h>.
26727         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26728         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26729         about bounded pointers.
26730         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26731         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26732         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26733         <bp-asm.h>.
26734         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26735         about bounded pointers.  Remove GKM FIXME comments.
26736         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26737         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26738         <bp-asm.h>.
26739         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26740         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26741         Remove GKM FIXME comments.
26742         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26743         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26744         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26745         <bp-asm.h>.
26746         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26747         about bounded pointers.  Remove GKM FIXME comment.
26748         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26749         and <bp-asm.h>.
26750         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26751         pointers.
26752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26753         <bp-sym.h> and <bp-asm.h>.
26754         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26756         <bp-sym.h> and <bp-asm.h>.
26757         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26758         comment.
26760 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26762         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26763         call free(NULL).
26765 2013-03-05  David S. Miller  <davem@davemloft.net>
26767         * po/es.po: Update from translation team.
26769 2013-03-05  Andreas Jaeger  <aj@suse.de>
26771         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26772         <bits/mman-linux.h>.
26773         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26774         is fine.
26775         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26776         <bits/mman-linux.h> to end of file.
26777         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26778         is fine.
26779         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26780         <bits/mman-linux.h> to end of file.
26781         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26782         is fine.
26783         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26784         <bits/mman-linux.h> to end of file.
26786         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26787         (MCL_CURRENT, MCL_FUTURE): Define here.
26789 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26791         [BZ #15232]
26792         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26793         attribute_hidden.
26794         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26796 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26798         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26799         fourth parameter needed for rt_sigprocmask syscall.
26800         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26801         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26802         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26803         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26804         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26805         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26807 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26809         [BZ #13550]
26810         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26811         comment about bounded pointers.
26812         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26813         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26815 2013-03-04  Andreas Jaeger  <aj@suse.de>
26817         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26818         common definitions.
26820         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26821         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26822         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26823         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26824         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26825         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26827 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26829         [BZ #15055]
26830         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26831         __ieee754_sqrl instead of __sqrl.
26833 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26835         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26836         * sysdeps/powerpc/fpu_control.h: ... here.
26837         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26838         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26839         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26840         * sysdeps/powerpc/bits/mathinline.h: ... here.
26842 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26844         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26845         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26846         to just [NEED_DL_SYSINFO_DSO].
26847         * elf/dl-support.c: Likewise.
26848         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26849         * elf/rtld.c (dl_main): Likewise.
26850         * elf/setup-vdso.h (setup_vdso): Likewise.
26851         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26852         * sysdeps/unix/sysv/linux/dl-sysdep.c
26853         (_dl_discover_osversion): Likewise.
26855 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26857         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26858         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26860 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26862         * NEWS: Mention libm performance improvements and non-x86 PI
26863         futex support.
26865         * csu/libc-start.c (__pthread_initialize_minimal): Change
26866         function arguments.
26867         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26869 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26871         [BZ #13550]
26872         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26873         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26874         <bp-sym.h> and <bp-asm.h>.
26875         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26876         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26877         and <bp-asm.h>.
26878         (memcpy): Don't use BP_SYM.
26879         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26880         <bp-asm.h>.
26881         (__mpn_add_n): Don't use BP_SYM.
26882         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26883         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26884         and <bp-asm.h>.
26885         (__mpn_addmul_1): Don't use BP_SYM.
26886         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26887         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26888         <bp-sym.h>.
26889         (_setjmp): Don't use BP_SYM.
26890         (__novmx_setjmp): Likewise.
26891         (__GI__setjmp): Likewise.
26892         (__vmx_setjmp): Likewise.
26893         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26894         <bp-sym.h>.
26895         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26896         (__bzero): Don't use BP_SYM.
26897         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26898         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26899         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26900         <bp-sym.h> and <bp-asm.h>.
26901         (memcpy): Don't use BP_SYM.
26902         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26903         <bp-sym.h> and <bp-asm.h>.
26904         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26905         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26906         <bp-sym.h> and <bp-asm.h>.
26907         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26908         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26909         <bp-asm.h>.
26910         (__mpn_lshift): Don't use BP_SYM.
26911         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26912         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26913         <bp-asm.h>.
26914         (memset): Don't use BP_SYM.
26915         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26916         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26917         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26918         <bp-asm.h>.
26919         (__mpn_mul_1): Don't use BP_SYM.
26920         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26921         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26922         <bp-sym.h> and <bp-asm.h>.
26923         (memcmp): Don't use BP_SYM.
26924         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26925         <bp-sym.h> and <bp-asm.h>.
26926         (memcpy): Don't use BP_SYM.
26927         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26928         <bp-sym.h> and <bp-asm.h>.
26929         (memset): Don't use BP_SYM.
26930         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26931         <bp-sym.h> and <bp-asm.h>.
26932         (strncmp): Don't use BP_SYM.
26933         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26934         <bp-sym.h> and <bp-asm.h>.
26935         (memcpy): Don't use BP_SYM.
26936         * sysdeps/powerpc/powerpc32/power6/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/memchr.S: Don't include
26940         <bp-sym.h> and <bp-asm.h>.
26941         (__memchr): Don't use BP_SYM.
26942         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26943         <bp-sym.h> and <bp-asm.h>.
26944         (memcmp): Don't use BP_SYM.
26945         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26946         <bp-sym.h> and <bp-asm.h>.
26947         (memcpy): Don't use BP_SYM.
26948         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26949         <bp-sym.h> and <bp-asm.h>.
26950         (__mempcpy): Don't use BP_SYM.
26951         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26952         <bp-sym.h> and <bp-asm.h>.
26953         (__memrchr): Don't use BP_SYM.
26954         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26955         <bp-sym.h> and <bp-asm.h>.
26956         (memset): Don't use BP_SYM.
26957         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26958         <bp-sym.h> and <bp-asm.h>.
26959         (__rawmemchr): Don't use BP_SYM.
26960         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26961         <bp-sym.h> and <bp-asm.h>.
26962         (__STRCMP): Don't use BP_SYM.
26963         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26964         <bp-sym.h> and <bp-asm.h>.
26965         (strchr): Don't use BP_SYM.
26966         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26967         <bp-sym.h> and <bp-asm.h>.
26968         (__strchrnul): Don't use BP_SYM.
26969         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26970         <bp-sym.h> and <bp-asm.h>.
26971         (strlen): Don't use BP_SYM.
26972         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26973         <bp-sym.h> and <bp-asm.h>.
26974         (strncmp): Don't use BP_SYM.
26975         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26976         <bp-sym.h> and <bp-asm.h>.
26977         (__strnlen): Don't use BP_SYM.
26978         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
26979         <bp-asm.h>.
26980         (__mpn_rshift): Don't use BP_SYM.
26981         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26982         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
26983         <bp-sym.h> and <bp-asm.h>.
26984         (__sigsetjmp): Don't use BP_SYM.
26985         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
26986         (L(start_addresses)): Don't use BP_SYM.
26987         (_start): Likewise.
26988         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
26989         <bp-asm.h>.
26990         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
26991         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26992         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26993         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
26994         <bp-asm.h>.
26995         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
26996         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26997         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26998         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
26999         <bp-asm.h>.
27000         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27001         comments.
27002         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27003         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27004         <bp-asm.h>.
27005         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27006         FIXME comments.
27007         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27008         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27009         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27010         <bp-asm.h>.
27011         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27012         comment.
27013         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27014         and <bp-asm.h>.
27015         (strncmp): Don't use BP_SYM,
27016         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27017         <bp-asm.h>.
27018         (__mpn_sub_n): Don't use BP_SYM.
27019         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27020         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27021         and <bp-asm.h>.
27022         (__mpn_submul_1): Don't use BP_SYM.
27023         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27025         <bp-sym.h> and <bp-asm.h>.
27026         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27028         <bp-sym.h> and <bp-asm.h>.
27029         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27030         comment.
27032 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27034         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27035         Use ZK to minimize writes to Z.
27036         (sub_magnitudes): Simplify code a bit.
27037         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27038         Use ZK to minimize writes to Z.
27039         (sub_magnitudes): Simplify code a bit.
27041 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27043         * csu/gmon-start.c: Add special exception to license text.
27045 2013-02-27  Richard Henderson  <rth@redhat.com>
27047         * scripts/config.guess: Update from config.git.
27048         * scripts/config.sub: Likewise.
27050 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27052         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27054         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27056         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27058         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27060         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27062 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27064         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27065         [$(build-shared = yes].
27067 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27069         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27070         (__mul): Reduce iterations for calculating mantissa.
27072         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27073         MPTWO.
27074         (__mpranred): Likewise.
27076         [BZ #15160]
27077         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27078         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27080 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27082         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27083         Define __attribute__.
27085 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27087         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27088         unused.
27089         * posix/regex_internal.h (__attribute): Remove.
27090         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27091         (re_string_context_at): Likewise.
27092         (bitset_not): Use __attribute__ and mark function as possibly
27093         unused.
27094         (bitset_merge): Likewise.
27095         (bitset_mask): Likewise.
27096         (re_string_char_size_at): Likewise.
27097         (re_string_wchar_at): Likewise.
27098         (re_string_elem_size_at): Likewise.
27100 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27102         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27103         code.
27104         (cc32): Likewise.
27106         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27107         (__acr): Likewise.
27108         (__cpy): Likewise.
27109         (norm): Likewise.
27110         (denorm): Likewise.
27111         (__dbl_mp): Likewise.
27112         (add_magnitudes): Likewise.
27113         (sub_magnitudes): Likewise.
27114         (__mul): Likewise.
27115         (__inv): Likewise.
27117         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27118         style.
27120         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27121         style.
27123         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27124         code.
27126         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27127         up changes with default code.
27128         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27129         Likewise.
27131 2013-02-24  Allan McRae  <allan@archlinux.org>
27133         * manual/socket.texi (The Internet Namespace): Order menu items
27134         to match that in the file.
27136         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27137         node listing of the info page menu.
27139 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27141         [BZ #13550]
27142         * sysdeps/i386/bp-asm.h: Remove file.
27143         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27144         (PARMS): Do not use macros from bp-asm.h.
27145         (S1): Likewise.
27146         (S2): Likewise.
27147         (SIZE): Likewise.
27148         (__mpn_add_n): Do not use BP_SYM
27149         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27150         "bp-asm.h".
27151         (PARMS): Do not use macros from bp-asm.h.
27152         (S1): Likewise.
27153         (SIZE): Likewise.
27154         (__mpn_addmul_1): Do not use BP_SYM
27155         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27156         "bp-asm.h".
27157         (PARMS): Do not use macros from bp-asm.h.
27158         (SIGMSK): Likewise.
27159         (_setjmp): Likewise.  Do not use BP_SYM.
27160         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27161         "bp-asm.h".
27162         (PARMS): Do not use macros from bp-asm.h.
27163         (SIGMSK): Likewise.
27164         (setjmp): Likewise.  Do not use BP_SYM.
27165         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27166         "bp-asm.h".
27167         (PARMS): Do not use macros from bp-asm.h.
27168         (__frexp): Do not use BP_SYM.
27169         (frexp): Likewise.
27170         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27171         "bp-asm.h".
27172         (PARMS): Do not use macros from bp-asm.h.
27173         (__frexpf): Do not use BP_SYM.
27174         (frexpf): Likewise.
27175         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27176         "bp-asm.h".
27177         (PARMS): Do not use macros from bp-asm.h.
27178         (__frexpl): Do not use BP_SYM.
27179         (frexpl): Likewise.
27180         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27181         "bp-asm.h".
27182         (PARMS): Do not use macros from bp-asm.h.
27183         (__remquo): Do not use BP_SYM.
27184         (remquo): Likewise.
27185         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27186         "bp-asm.h".
27187         (PARMS): Do not use macros from bp-asm.h.
27188         (__remquof): Do not use BP_SYM.
27189         (remquof): Likewise.
27190         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27191         "bp-asm.h".
27192         (PARMS): Do not use macros from bp-asm.h.
27193         (__remquol): Do not use BP_SYM.
27194         (remquol): Likewise.
27195         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27196         "bp-asm.h".
27197         (PARMS): Do not use macros from bp-asm.h.
27198         (DEST): Likewise.
27199         (SRC): Likewise.
27200         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27201         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27202         "bp-asm.h".
27203         (PARMS): Do not use macros from bp-asm.h.
27204         (strlen): Do not use BP_SYM.
27205         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27206         "bp-asm.h".
27207         (PARMS): Do not use macros from bp-asm.h.
27208         (S1): Likewise.
27209         (S2): Likewise.
27210         (SIZE): Likewise.
27211         (__mpn_add_n): Do not use BP_SYM.
27212         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27213         "bp-asm.h".
27214         (PARMS): Do not use macros from bp-asm.h.
27215         (S1): Likewise.
27216         (SIZE): Likewise.
27217         (__mpn_addmul_1): Do not use BP_SYM.
27218         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27219         weak_alias.
27220         (bzero): Likewise.
27221         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27222         "bp-asm.h".
27223         (PARMS): Do not use macros from bp-asm.h.
27224         (S): Likewise.
27225         (SIZE): Likewise.
27226         (__mpn_lshift): Do not use BP_SYM.
27227         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27228         "bp-asm.h".
27229         (PARMS): Do not use macros from bp-asm.h.
27230         (DEST): Likewise.
27231         (SRC): Likewise.
27232         (LEN): Likewise.
27233         (memcpy): Likewise.  Do not use BP_SYM.
27234         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27235         libc_hidden_def and weak_alias.
27236         (mempcpy): Do not use BP_SYM in weak_alias.
27237         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27238         "bp-asm.h".
27239         (PARMS): Do not use macros from bp-asm.h.
27240         (DEST): Likewise.
27241         (LEN): Likewise.
27242         [!BZERO_P] (CHR): Likewise.
27243         (memset): Likewise.  Do not use BP_SYM.
27244         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27245         "bp-asm.h".
27246         (PARMS): Do not use macros from bp-asm.h.
27247         (S1): Likewise.
27248         (SIZE): Likewise.
27249         (__mpn_mul_1): Do not use BP_SYM.
27250         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27251         "bp-asm.h".
27252         (PARMS): Do not use macros from bp-asm.h.
27253         (S): Likewise.
27254         (SIZE): Likewise.
27255         (__mpn_rshift): Do not use BP_SYM.
27256         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27257         "bp-asm.h".
27258         (PARMS): Do not use macros from bp-asm.h.
27259         (STR): Likewise.
27260         (CHR): Likewise.
27261         (strchr): Likewise.  Do not use BP_SYM.
27262         (index): Do not use BP_SYM in weak_alias.
27263         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27264         "bp-asm.h".
27265         (PARMS): Do not use macros from bp-asm.h.
27266         (DEST): Likewise.
27267         (SRC): Likewise.
27268         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27269         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27270         "bp-asm.h".
27271         (PARMS): Do not use macros from bp-asm.h.
27272         (strlen): Do not use BP_SYM.
27273         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27274         "bp-asm.h".
27275         (PARMS): Do not use macros from bp-asm.h.
27276         (S1): Likewise.
27277         (S2): Likewise.
27278         (SIZE): Likewise.
27279         (__mpn_sub_n): Do not use BP_SYM.
27280         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27281         "bp-asm.h".
27282         (PARMS): Do not use macros from bp-asm.h.
27283         (S1): Likewise.
27284         (SIZE): Likewise.
27285         (__mpn_submul_1): Do not use BP_SYM.
27286         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27287         "bp-asm.h".
27288         (PARMS): Do not use macros from bp-asm.h.
27289         (S1): Likewise.
27290         (S2): Likewise.
27291         (SIZE): Likewise.
27292         (__mpn_add_n): Do not use BP_SYM.
27293         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27294         weak_alias.
27295         (bzero): Likewise.
27296         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27297         "bp-asm.h".
27298         (PARMS): Do not use macros from bp-asm.h.
27299         (BLK2): Likewise.
27300         (LEN): Likewise.
27301         (memcmp): Do not use BP_SYM.
27302         (bcmp): Do not use BP_SYM in weak_alias.
27303         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27304         "bp-asm.h".
27305         (PARMS): Do not use macros from bp-asm.h.
27306         (DEST): Likewise.
27307         (SRC): Likewise.
27308         (LEN): Likewise.
27309         (memcpy): Likewise.  Do not use BP_SYM.
27310         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27311         "bp-asm.h".
27312         (PARMS): Do not use macros from bp-asm.h.
27313         (DEST): Likewise.
27314         (SRC): Likewise.
27315         (LEN): Likewise.
27316         (memmove): Likewise.  Do not use BP_SYM.
27317         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27318         "bp-asm.h".
27319         (PARMS): Do not use macros from bp-asm.h.
27320         (DEST): Likewise.
27321         (SRC): Likewise.
27322         (LEN): Likewise.
27323         (__mempcpy): Likewise.  Do not use BP_SYM.
27324         (mempcpy): Do not use BP_SYM in weak_alias.
27325         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27326         "bp-asm.h".
27327         (PARMS): Do not use macros from bp-asm.h.
27328         (DEST): Likewise.
27329         (LEN): Likewise.
27330         [!BZERO_P] (CHR): Likewise.
27331         (memset): Likewise.  Do not use BP_SYM.
27332         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27333         "bp-asm.h".
27334         (PARMS): Do not use macros from bp-asm.h.
27335         (STR2): Likewise.
27336         (strcmp): Do not use BP_SYM.
27337         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27338         "bp-asm.h".
27339         (PARMS): Do not use macros from bp-asm.h.
27340         (STR): Likewise.
27341         (DELIM): Likewise.
27342         [USE_AS_STRTOK_R] (SAVE): Likewise.
27343         (FUNCTION): Likewise.  Do not use BP_SYM.
27344         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27345         aliases.
27346         (strtok_r): Likewise.
27347         (__GI___strtok_r): Likewise.
27348         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27349         (PARMS): Do not use macros from bp-asm.h.
27350         (S): Likewise.
27351         (SIZE): Likewise.
27352         (__mpn_lshift): Do not use BP_SYM.
27353         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27354         (PARMS): Do not use macros from bp-asm.h.
27355         (STR): Likewise.
27356         (CHR): Likewise.
27357         (__memchr): Do not use BP_SYM.
27358         (memchr): Do not use BP_SYM in weak_alias.
27359         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27360         (PARMS): Do not use macros from bp-asm.h.
27361         (BLK2): Likewise.
27362         (LEN): Likewise.
27363         (memcmp): Do not use BP_SYM.
27364         (bcmp): Do not use BP_SYM in weak_alias.
27365         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27366         (PARMS): Do not use macros from bp-asm.h.
27367         (S1): Likewise.
27368         (SIZE): Likewise.
27369         (__mpn_mul_1): Do not use BP_SYM.
27370         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27371         "bp-asm.h".
27372         (PARMS): Do not use macros from bp-asm.h.
27373         (STR): Likewise.
27374         (CHR): Likewise.
27375         (__rawmemchr): Do not use BP_SYM.
27376         (rawmemchr): Do not use BP_SYM in weak_alias.
27377         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27378         (PARMS): Do not use macros from bp-asm.h.
27379         (S): Likewise.
27380         (SIZE): Likewise.
27381         (__mpn_rshift): Do not use BP_SYM.
27382         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27383         (PARMS): Do not use macros from bp-asm.h.
27384         (SIGMSK): Likewise.
27385         (__sigsetjmp): Likewise.  Do not use BP_SYM.
27386         * sysdeps/i386/start.S: Do not include "bp-sym.h".
27387         (_start): Do not use BP_SYM.
27388         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27389         (PARMS): Do not use macros from bp-asm.h.
27390         (DEST): Likewise.
27391         (SRC): Likewise.
27392         (__stpcpy): Likewise.  Do not use BP_SYM.
27393         (stpcpy): Do not use BP_SYM in weak_alias.
27394         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27395         "bp-asm.h".
27396         (PARMS): Do not use macros from bp-asm.h.
27397         (DEST): Likewise.
27398         (SRC): Likewise.
27399         (LEN): Likewise.
27400         (__stpncpy): Likewise.  Do not use BP_SYM.
27401         (stpncpy): Do not use BP_SYM in weak_alias.
27402         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27403         (PARMS): Do not use macros from bp-asm.h.
27404         (STR): Likewise.
27405         (CHR): Likewise.
27406         (strchr): Likewise.  Do not use BP_SYM.
27407         * sysdeps/i386/strchrnul.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         (__strchrnul): Likewise.  Do not use BP_SYM.
27413         (strchrnul): Do not use BP_SYM in weak_alias.
27414         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27415         "bp-asm.h".
27416         (PARMS): Do not use macros from bp-asm.h.
27417         (STOP): Likewise.
27418         (strcspn): Do not use BP_SYM.
27419         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27420         "bp-asm.h".
27421         (PARMS): Do not use macros from bp-asm.h.
27422         (STR): Likewise.
27423         (STOP): Likewise.
27424         (strpbrk): Likewise.  Do not use BP_SYM.
27425         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27426         "bp-asm.h".
27427         (PARMS): Do not use macros from bp-asm.h.
27428         (STR): Likewise.
27429         (CHR): Likewise.
27430         (strrchr): Likewise.  Do not use BP_SYM.
27431         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27432         (PARMS): Do not use macros from bp-asm.h.
27433         (SKIP): Likewise.
27434         (strspn): Do not use BP_SYM.
27435         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27436         (PARMS): Do not use macros from bp-asm.h.
27437         (STR): Likewise.
27438         (DELIM): Likewise.
27439         (SAVE): Likewise.
27440         (FUNCTION): Likewise.  Do not use BP_SYM.
27441         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27442         aliases.
27443         (strtok_r): Likewise.
27444         (__GI___strtok_r): Likewise.
27445         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27446         (PARMS): Do not use macros from bp-asm.h.
27447         (S1): Likewise.
27448         (S2): Likewise.
27449         (SIZE): Likewise.
27450         (__mpn_sub_n): Do not use BP_SYM.
27451         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27452         "bp-asm.h".
27453         (PARMS): Do not use macros from bp-asm.h.
27454         (S1): Likewise.
27455         (SIZE): Likewise.
27456         (__mpn_submul_1): Do not use BP_SYM.
27457         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27458         <bp-sym.h>.
27459         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27460         and <bp-asm.h>.
27461         (PARMS): Do not use macros from bp-asm.h.
27462         (FLAGS): Likewise.
27463         (PTID): Likewise.
27464         (TLS): Likewise.
27465         (CTID): Likewise.
27466         (__clone): Do not use BP_SYM.
27467         (clone): Do not use BP_SYM in weak_alias.
27468         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27469         and <bp-asm.h>.
27470         (PARMS): Do not use macros from bp-asm.h.
27471         (LEN): Likewise.
27472         (__mmap64): Do not use BP_SYM.
27473         (mmap64): Do not use BP_SYM in weak_alias.
27474         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27475         <bp-sym.h> and <bp-asm.h>.
27476         (PARMS): Do not use macros from bp-asm.h.
27477         (__posix_fadvise64_l64): Do not use BP_SYM.
27478         * sysdeps/unix/sysv/linux/i386/semtimedop.S
27479         (PARMS): Do not use macros from bp-asm.h.
27480         (NSOPS): Likewise.
27481         (semtimedop): Do not use BP_SYM.
27482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27483         and <bp-asm.h>.
27485 2013-02-21  Allan McRae  <allan@archlinux.org>
27487         * manual/message.texi (Charset conversion in gettext):
27488         Move @end statement to beginning of line.
27490 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27492         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27493         static.
27494         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27495         Likewise.
27497         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27498         (denorm): Likewise.
27499         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27500         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27502 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27504         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27505         tail-call to the resolved function if pltexit isn't needed.
27507 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27509         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27510         or Y being zero as being unlikely.
27511         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27512         Likewise.
27514 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
27516         * manual/nss.texi (System Databases and Name Service Switch):
27517         Remove frobnicate @pxref.
27519 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27521         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27522         __attribute__ ((unused)) to __attribute__ ((__unused__)).
27524 2013-02-20  Petr Machata  <pmachata@redhat.com>
27526         * elf/elf.h (R_ARM_TARGET1): New macro.
27527         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27528         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27529         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27530         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27531         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27532         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27533         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27534         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27535         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27536         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27537         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27538         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27539         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27540         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27541         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27542         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27543         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27544         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27545         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27546         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27547         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27548         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27549         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27550         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27551         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27552         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27553         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27554         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27555         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27556         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27557         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27558         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27559         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27560         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27561         (R_ARM_THM_GOT_BREL12): Likewise.
27562         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27563         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27564         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27565         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27566         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27567         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27568         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27569         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27570         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27572 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27574         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27575         __attribute_used__ to __attribute__ ((unused)).
27577 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27579         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27580         powerpc mpa.c.
27581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27582         comment formatting.
27583         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27585 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
27587         [BZ #13550]
27588         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27589         Remove macro.
27590         (ENTER): Remove both macro definitions.
27591         (LEAVE): Likewise.
27592         (CHECK_BOUNDS_LOW): Likewise.
27593         (CHECK_BOUNDS_HIGH): Likewise.
27594         (CHECK_BOUNDS_BOTH): Likewise.
27595         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27596         (RETURN_BOUNDED_POINTER): Likewise.
27597         (RETURN_NULL_BOUNDED_POINTER): Likewise.
27598         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27599         (POP_ERRNO_LOCATION_RETURN): Likewise.
27600         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27601         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27602         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27603         macros.
27604         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27605         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27606         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27607         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27608         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27609         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27610         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27611         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27612         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27613         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27614         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27615         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27616         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27617         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27618         removed macros.
27619         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27620         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27621         macros.
27622         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27623         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27624         * sysdeps/i386/i586/memset.S (memset): Likewise.
27625         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27626         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27627         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27628         macros.
27629         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27630         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27631         Change uses of L(2) to L(out).
27632         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27633         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27634         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27635         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27636         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27637         removed macros.
27638         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27639         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27640         macros.
27641         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27642         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27643         (RETURN): Do not use macro LEAVE.
27644         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27645         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27646         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27647         * sysdeps/i386/i686/memset.S (memset): Likewise.
27648         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27649         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27650         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27651         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27652         Likewise.
27653         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27654         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
27655         L(1_2) and L(1_3) into L(1).
27656         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27657         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27658         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27659         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27660         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27661         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27662         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27663         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27664         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27665         macros.
27666         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27667         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27668         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27669         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27670         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27671         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27672         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27673         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27674         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27675         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27676         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27677         * sysdeps/i386/strspn.S (strspn): Likewise.
27678         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27679         conditional code.
27680         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27681         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27682         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27683         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27684         L(1_3) into L(1_1).
27685         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27686         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27687         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27688         macros.
27689         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27691 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27693         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27694         macro.
27696 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27698         * math/atest-exp.c (exp_mpn): Remove ROUND.
27699         * math/atest-exp2.c (exp_mpn): Likewise.
27700         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27702         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27703         * stdlib/tst-tls-atexit-lib.c: Likewise.
27704         * stdlib/tst-tls-atexit.c: Likewise.
27706 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27708         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27709         and __attribute_alloc_size__.
27711 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27713         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27714         __attribute_alloc_size__.
27715         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27716         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27718 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27720         * include/programs/xmalloc.h: New file.
27721         * catgets/gencat.c: Include it.
27722         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27723         * elf/pldd.c: Likewise.
27724         * iconv/iconv_charmap.c: Likewise.
27725         * iconv/iconvconfig.c: Likewise.
27726         * iconv/strtab.c: Likewise.
27727         * locale/programs/locale.c: Likewise.
27728         * locale/programs/localedef.h: Likewise.
27729         * locale/programs/simple-hash.c: Likewise.
27730         * nscd/nscd.h: Likewise.
27731         * nss/makedb.c: Likewise.
27732         * sysdeps/generic/ldconfig.h: Likewise.
27734 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27736         * Versions.def: Add GLIBC_2.18.
27737         * include/link.h (struct link_map): New member l_tls_dtor_count.
27738         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27739         (__call_tls_dtors): Likewise.
27740         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27741         __cxa_thread_atexit_impl.
27742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27743         Likewise.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27745         Likewise.
27746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27747         Likewise.
27748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27749         Likewise.
27750         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27751         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27752         Likewise.
27753         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27754         Likewise.
27755         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27756         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27757         Likewise.
27758         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27759         (tests): Add test case tst-tls-atexit.
27760         (modules-names): Add shared library for tst-tls-atexit.
27761         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27762         (GLIBC_PRIVATE): Add __call_tls_dtors.
27763         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27764         for libstdc++.
27765         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27766         * stdlib/tst-tls-atexit.c: New test case.
27767         * stdlib/tst-tls-atexit-lib.c: New test case.
27769         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27771         * elf/Versions (ld): Add _dl_find_dso_for_object.
27772         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27773         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27774         (dl_open_worker): Use _dl_find_dso_for_object.
27775         * elf/dl-sym.c (do_sym): Likewise.
27776         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27778 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27780         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27781         Syntactic changes only.
27782         (_dl_runtime_profile): Do a tail-call to the resolved function.
27784 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27786         [BZ #13550]
27787         * sysdeps/x86_64/bp-asm.h: Remove file.
27788         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27789         <bp-sym.h> and <bp-asm.h>.
27790         (__clone): Do not use BP_SYM.
27791         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27792         <bp-sym.h> and <bp-asm.h>.
27793         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27794         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27795         "bp-asm.h".
27796         (_setjmp): Do not use BP_SYM.
27797         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27798         "bp-asm.h".
27799         (setjmp): Do not use BP_SYM.
27800         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27801         libc_hidden_def.
27802         (mempcpy): Do not use BP_SYM in weak_alias.
27803         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27804         "bp-asm.h".
27805         (strchr): Do not use BP_SYM.
27806         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27807         "bp-asm.h".
27808         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27809         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27810         (_start): Do not use BP_SYM.
27811         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27812         "bp-asm.h".
27813         (strcat): Do not use BP_SYM.
27814         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27815         "bp-asm.h".
27816         (STRCMP): Do not use BP_SYM.
27817         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27818         "bp-asm.h".
27819         (STRCPY): Do not use BP_SYM.
27820         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27821         "bp-asm.h".
27822         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27823         "bp-asm.h".
27824         (FUNCTION): Do not use BP_SYM.
27825         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27826         weak_alias.
27827         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27829 2013-02-17  Andreas Jaeger  <aj@suse.de>
27831         * time/Versions: Sort entries.
27832         * string/Versions: Likewise.
27833         * resolv/Versions: Likewise.
27834         * posix/Versions: Likewise.
27835         * iconv/Versions: Likewise.
27836         * elf/Versions: Likewise.
27837         * wcsmbs/Versions: Likewise.
27839 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27841         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27842         loop termination condition.
27844         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27845         variable to calculate EZ.
27846         (__sqr): Likewise.
27848         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27849         the lower precision input.
27851 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27853         [BZ #13550]
27854         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27855         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27856         (run-via-rtld-prefix): Do not handle %-bp tests.
27857         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27858         (all-object-suffixes): Remove .ob.
27859         (bppfx): Remove variable.
27860         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27861         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27862         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27863         [$(build-bounded) = yes] (libtype.ob): Likewise.
27864         * Makerules (elide-routines.ob): Remove variable.
27865         (do-tests-clean): Do not handle *-bp.out.
27866         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27867         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27868         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27869         (tests): Do not include $(tests-bp.out).
27870         (xtests): Do not include $(xtests-bp.out).
27871         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27872         [$(build-bounded) = yes] ($(addprefix
27873         $(objpfx),$(binaries-bounded))): Remove rule.
27874         ($(objpfx)%-bp.out): Remove rule.
27875         * config.make.in (build-bounded): Remove variable.
27876         * crypt/Makefile [$(build-bounded) = yes]
27877         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27878         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27879         append to variable.
27880         [$(build-bounded) = yes] (install-lib): Likewise.
27881         [$(build-bounded) = yes] (generated): Likewise.
27882         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27883         Remove rule.
27884         * intl/Makefile [$(build-bounded) = yes]
27885         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27886         * math/Makefile [$(build-bounded) = yes]
27887         ($(tests:%=$(objpfx)%-bp): Likewise.
27888         * misc/Makefile [$(build-bounded) = yes]
27889         ($(objpfx)tst-tsearch-bp): Likewise.
27890         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27891         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27892         Remove dependency.
27893         * string/Makefile (o-objects.ob): Remove variable.
27894         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27895         (CFLAGS-.ob): Remove variable.
27896         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27897         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27898         both definitions of variable.
27899         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27900         (ASFLAGS-.ob): Remove variable.
27902 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27904         [BZ #13550]
27905         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27906         Remove __BOUNDED_POINTERS__ from condition.
27907         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27908         * string/bits/string2.h [!__NO_STRING_INLINES &&
27909         !__BOUNDED_POINTERS__]: Likewise.
27910         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27911         Likewise.
27912         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27913         Remove conditional code.
27914         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27915         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27916         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27917         condition.
27919         [BZ #13550]
27920         * csu/libc-start.c: Do not include <bp-sym.h>.
27921         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27922         * elf/dl-open.c: Do not include <bp-sym.h>.
27923         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27924         * math/fegetenv.c: Do not include <bp-sym.h>.
27925         (fegetenv): Do not use BP_SYM in versioned symbols.
27926         * nptl/sysdeps/pthread/bits/libc-lockP.h
27927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27928         <bp-sym.h>.
27929         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27930         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27931         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27932         (__pthread_mutex_destroy): Likewise.
27933         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27934         (__pthread_mutex_lock): Likewise.
27935         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27936         (__pthread_mutex_trylock): Likewise.
27937         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27938         (__pthread_mutex_unlock): Likewise.
27939         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27940         (__pthread_mutexattr_init): Likewise.
27941         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27942         (__pthread_mutexattr_destroy): Likewise.
27943         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27944         (__pthread_mutexattr_settype): Likewise.
27945         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27946         (__pthread_rwlock_init): Likewise.
27947         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27948         (__pthread_rwlock_destroy): Likewise.
27949         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27950         (__pthread_rwlock_rdlock): Likewise.
27951         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27952         (__pthread_rwlock_tryrdlock): Likewise.
27953         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27954         (__pthread_rwlock_wrlock): Likewise.
27955         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27956         (__pthread_rwlock_trywrlock): Likewise.
27957         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27958         (__pthread_rwlock_unlock): Likewise.
27959         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27960         (__pthread_key_create): Likewise.
27961         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27962         (__pthread_setspecific): Likewise.
27963         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27964         (__pthread_getspecific): Likewise.
27965         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27966         Likewise.
27967         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27968         (_pthread_cleanup_push_defer): Likewise.
27969         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27970         (_pthread_cleanup_pop_restore): Likewise.
27971         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27972         (pthread_setcancelstate): Likewise.
27973         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27974         <bp-sym.h>.
27975         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27976         (memchr): Do not use BP_SYM in weak_alias.
27977         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
27978         (fegetenv): Do not use BP_SYM in versioned symbols.
27979         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
27980         (fesetenv): Do not use BP_SYM in versioned symbols.
27981         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27982         (feupdateenv): Do not use BP_SYM in versioned symbols.
27983         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27984         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
27985         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
27986         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
27987         (open64): Do not use BP_SYM in weak_alias.
27988         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
27989         (fegetenv): Do not use BP_SYM in versioned symbols.
27990         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
27991         (fesetenv): Do not use BP_SYM in versioned symbols.
27992         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
27993         (feupdateenv): Do not use BP_SYM in versioned symbols.
27994         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
27995         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
27996         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
27997         (feraiseexcept): Do not use BP_SYM in versioned symbols.
27998         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
27999         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28000         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28001         <bp-sym.h>.
28002         (__libc_start_main): Do not use BP_SYM.
28004 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28006         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28007         redundant return line.
28008         (norm): Likewise.
28009         (denorm): Likewise.
28010         (dbl_mp): Likewise.
28011         (sub_magnitudes): Likewise.
28012         (__add): Likewise.
28013         (__sub): Likewise.
28014         (__mul): Likewise.
28015         (__inv): Likewise.
28016         (__dvd): Likewise.
28017         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28018         (norm): Likewise.
28019         (denorm): Likewise.
28020         (dbl_mp): Likewise.
28021         (sub_magnitudes): Likewise.
28022         (__add): Likewise.
28023         (__sub): Likewise.
28024         (__mul): Likewise.
28025         (__inv): Likewise.
28026         (__dvd): Likewise.
28028         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28029         instead of __mul.
28030         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28031         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28032         (cc32): Likewise.
28034         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28035         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28036         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28037         of __mul for squares.
28038         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28039         function
28040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28041         Likewise.
28042         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28043         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28045 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28047         [BZ #13550]
28048         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28049         code.
28050         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28051         prototype or function definition.  Rename ubp_* variables and
28052         parameters.  Remove argv definitions conditional on
28053         [__BOUNDED_POINTERS__].
28054         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28055         * elf/dl-runtime.c (_dl_fixup): Likewise.
28056         * include/set-hooks.h (RUN_HOOK): Likewise.
28057         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28058         definition.
28059         * string/strcpy.c (strcpy): Do not use __unbounded.
28060         * sysdeps/generic/frame.h (struct layout): Likewise.
28061         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28062         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28063         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28064         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28065         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28066         (__backtrace): Likewise.
28067         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28068         use __ptrvalue.
28069         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28070         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28071         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28072         Likewise.
28073         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28074         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28075         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28076         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28077         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28078         Do not use __unbounded.
28079         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28080         Rename __unboundedrlimits parameter to rlimits in prototype.
28081         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28082         Do not use __unbounded.
28083         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28084         not use __ptrvalue.
28085         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28086         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28087         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28088         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28089         __ptrvalue or __unbounded.
28090         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28091         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28092         use __unbounded.
28093         (__new_msgctl): Do not use __ptrvalue.
28094         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28095         __unbounded.
28096         (__libc_msgrcv): Do not use __ptrvalue.
28097         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28098         startup_info): Do not use __unbounded.
28099         (__libc_start_main): Likewise.  Rename ubp_* variables and
28100         parameters.  Remove argv definitions conditional on
28101         [__BOUNDED_POINTERS__].
28102         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28103         __ptrvalue.
28104         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28105         use __unbounded.
28106         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28107         or __ptrvalue.
28108         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28109         use __unbounded.
28110         (__new_shmctl): Do not use __ptrvalue.
28111         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28112         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28113         Likewise.
28114         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28115         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28116         (__libc_sigaction): Likewise.
28117         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28118         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28119         Likewise.
28120         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28122 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28124         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28126         * string/mempcpy.c: Implement by calling memcpy.
28128 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28132         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28133         evaluation.
28135         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28136         values in the mantissa.
28138         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28139         minimize writes to Z.
28140         (sub_magnitudes): Simplify code a bit.
28142 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28144         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28145         from the message.  The linker prefixes all warnings with that already.
28147 2013-02-12  Andreas Schwab  <schwab@suse.de>
28149         [BZ #15078]
28150         * posix/regexec.c (extend_buffers): Add parameter min_len.
28151         (check_matching): Pass minimum needed length.
28152         (clean_state_log_if_needed): Likewise.
28153         (get_subexp): Likewise.
28154         * posix/Makefile (tests): Add bug-regex34.
28155         (bug-regex34-ENV): Define.
28156         * posix/bug-regex34.c: New file.
28158         [BZ #11561]
28159         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28160         elements compare against the byte sequence of it, not its name.
28161         * posix/Makefile (tests): Add bug-regex35.
28162         (bug-regex35-ENV): Define.
28163         * posix/bug-regex35.c: New file.
28165 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28167         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28168         comment.
28169         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28170         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28171         (CHECK_EOL): Add undef.
28173 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28175         * bits/stdlib-bsearch.h: New file.
28176         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28177         * stdlib/stdlib.h: Likewise.
28179 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28181         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28182         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28183         declaration.
28184         * manual/search.texi (Array Search Function): Add missing const in
28185         lfind prototype.
28186         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28187         declaration to use rlim_t.
28188         (Basic Scheduling Functions): Remove erroneous const from
28189         sched_getparam prototype.  Remove erroneous * from
28190         sched_get_priority_max and sched_get_priority_min prototypes.
28191         (Resource Usage): Fix summary @comment on vtimes to refer to
28192         sys/vtimes.h rather than vtimes.h.
28193         Add missing *s in vtimes prototype.
28194         (Limits on Resources): Fix ulimit prototype to return long int.
28195         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28196         prototypes to use long int rather than double.
28197         (BSD Random): Fix initstate and setstate to use char *, not void *.
28198         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28199         prototype to make second argument 'struct aiocb64 *const[]'.
28200         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28201         (Status of AIO Operations): Remove erroneous const in aio_return and
28202         aio_return64 prototypes.
28203         (Synchronizing I/O): Fix sync prototype to return void.
28204         * manual/startup.texi (Suboptions): Remove an erroneous const in
28205         getsubopt prototype.
28206         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28207         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28208         use size_t rather than int.
28209         (Scanning All Users): Likewise for getpwent_r.
28210         (Setting Groups): Add missing const to setgroups prototype.
28211         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28212         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28213         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28214         'const void *' rather than 'const char *'.
28215         (Host Address Functions): Likewise for inet_ntop.
28216         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28217         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28218         ssize_t for return value.
28219         (Sending Data): Likewise for send, sendto, sendmsg.
28220         (Socket Option Functions): Add a missing const in setsockopt prototype.
28221         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28222         use wchar_t for the argument.
28223         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28224         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28225         take no arguments.
28226         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28227         double/float/long double for second argument.
28228         Fix return types of significand, significandf, significandl.
28229         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28230         argument in fchmod prototype.
28231         (File Owner): Use uid_t and gid_t in fchown prototype.
28232         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28233         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28234         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28235         use 'const struct dirent **' as argument types to CMP function pointer
28236         argument.
28237         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28238         (File Times): Fix summary magic @comment for struct utimbuf and utime
28239         to refer to utime.h, not time.h.
28240         * manual/string.texi (Argz Functions): Add missing const in
28241         argz_extract and argz_next prototypes.
28242         (Finding Tokens in a String): Likewise for basename.
28243         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28244         (Copying and Concatenation): Fix typo in wmemmove prototype.
28245         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28246         (Signal Stack): Remove erroneous const in sigstack prototype.
28247         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28248         prototype.
28249         (Simple Calendar Time): Likewise for stime.
28250         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28251         prototype.
28252         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28253         say sys/sysctl.h instead.
28254         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28255         and vsyslog prototypes.
28257 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28259         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28260         Remove.
28262 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28264         * misc/sys/mman.h: Fix typo in mremap comment.
28266 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28268         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28269         the '\0' terminator.
28271 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28273         [BZ #13550]
28274         * debug/segfault.c: Don't include <bp-checks.h>.
28275         * sysdeps/generic/bp-checks.h: Remove file.
28276         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28277         (__GETDENTS): Don't use CHECK_N.
28278         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28279         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28280         (__getgroups): Don't use CHECK_N.
28281         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28282         (setgroups): Don't use CHECK_N.
28283         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28284         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28285         (__libc_msgrcv): Don't use CHECK_N.
28286         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28287         (__libc_msgsnd): Don't use CHECK_N.
28288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28289         <bp-checks.h>.
28290         (__libc_pread): Don't use CHECK_N.
28291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28292         include <bp-checks.h>.
28293         (__libc_pread64): Don't use CHECK_N.
28294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28295         include <bp-checks.h>.
28296         (__libc_pwrite): Don't use CHECK_N.
28297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28298         include <bp-checks.h>.
28299         (__libc_pwrite64): Don't use CHECK_N.
28300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28301         <bp-checks.h>.
28302         (__libc_pread): Don't use CHECK_N.
28303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28304         include <bp-checks.h>.
28305         (__libc_pread64): Don't use CHECK_N.
28306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28307         include <bp-checks.h>.
28308         (__libc_pwrite): Don't use CHECK_N.
28309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28310         include <bp-checks.h>.
28311         (__libc_pwrite64): Don't use CHECK_N.
28312         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28313         (do_pread): Don't use CHECK_N.
28314         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28315         (do_pread64): Don't use CHECK_N.
28316         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28317         (do_pwrite): Don't use CHECK_N.
28318         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28319         (do_pwrite64): Don't use CHECK_N.
28320         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28321         (__libc_readv): Don't use CHECK_N.
28322         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28323         (semop): Don't use CHECK_N.
28324         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28325         <bp-checks.h>.
28326         (semtimedop): Don't use CHECK_N.
28327         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28328         (__libc_pread): Don't use CHECK_N.
28329         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28330         <bp-checks.h>.
28331         (__libc_pread64): Don't use CHECK_N.
28332         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28333         <bp-checks.h>.
28334         (__libc_pwrite): Don't use CHECK_N.
28335         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28336         <bp-checks.h>.
28337         (__libc_pwrite64): Don't use CHECK_N.
28338         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28339         <bp-checks.h>.
28340         (__libc_msgrcv): Don't use CHECK_N.
28341         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28342         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28343         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28344         (__libc_writev): Don't use CHECK_N.
28346 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28348         * string/strcpy.c: Removed unused variable.
28350         * Makeconfig (+sysdep-includes): Define with := rather than =.
28351         Use an existing include/ subdir of each sysdeps dir before it.
28353 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28355         * nscd/connection.c (register_traced_file): Comment function.
28356         [HAVE_INOTIFY] (union __inev): Define.
28357         [HAVE_INOTIFY] (inotify_check_files): New function.
28358         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28359         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28360         clear_db_cache.
28361         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28363 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28365         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28366         loaded if not already and that a failure is permanent.
28368 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28370         [BZ #15006]
28371         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28372         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28374 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28376         [BZ #13550]
28377         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28378         (CHECK_1_NULL_OK): Likewise.
28379         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28380         (__fxstat): Do not use CHECK_1.
28381         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28382         <bp-checks.h>.
28383         (___fxstat64): Do not use CHECK_1.
28384         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28385         <bp-checks.h>.
28386         (__fxstatat): Do not use CHECK_1.
28387         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28388         <bp-checks.h>.
28389         (__fxstatat64): Do not use CHECK_1.
28390         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28391         <bp-checks.h>.
28392         (__fxstat): Do not use CHECK_1.
28393         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28394         <bp-checks.h>.
28395         (__fxstatat): Do not use CHECK_1.
28396         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28397         <bp-checks.h>.
28398         (__getresgid): Do not use CHECK_1.
28399         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28400         <bp-checks.h>.
28401         (__getresuid): Do not use CHECK_1.
28402         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28403         <bp-checks.h>.
28404         (__lxstat): Do not use CHECK_1.
28405         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28406         <bp-checks.h>.
28407         (__old_msgctl): Do not use CHECK_1.
28408         (__new_msgctl): Likewise.
28409         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28410         <bp-checks.h>.
28411         (__new_setrlimit): Do not use CHECK_1.
28412         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28413         <bp-checks.h>.
28414         (__old_shmctl): Do not use CHECK_1.
28415         (__new_shmctl): Likewise.
28416         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28417         <bp-checks.h>.
28418         (__xstat): Do not use CHECK_1.
28419         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28420         (__lxstat): Do not use CHECK_1.
28421         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28422         <bp-checks.h>.
28423         (___lxstat64): Do not use CHECK_1.
28424         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28425         (__old_msgctl): Do not use CHECK_1.
28426         (__new_msgctl): Likewise.
28427         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28428         <bp-checks.h>.
28429         (__gettimeofday): Do not use CHECK_1.
28430         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28431         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28432         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28433         <bp-checks.h>.
28434         (__gettimeofday): Do not use CHECK_1.
28435         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28436         (__old_shmctl): Do not use CHECK_1_NULL_OK.
28437         (__new_shmctl): Do not use CHECK_1.
28438         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28439         <bp-checks.h>.
28440         (do_sigtimedwait): Do not use CHECK_1.
28441         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28442         <bp-checks.h>.
28443         (do_sigwaitinfo): Do not use CHECK_1.
28444         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28445         <bp-checks.h>.
28446         (msgctl): Do not use CHECK_1.
28447         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28448         <bp-checks.h>.
28449         (shmctl): Do not use CHECK_1.
28450         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28451         (ustat): Do not use CHECK_1.
28452         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28453         <bp-checks.h>.
28454         (__fxstat): Do not use CHECK_1.
28455         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28456         <bp-checks.h>.
28457         (__fxstatat): Do not use CHECK_1.
28458         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28459         <bp-checks.h>.
28460         (__lxstat): Do not use CHECK_1.
28461         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28462         <bp-checks.h>.
28463         (__xstat): Do not use CHECK_1.
28464         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28465         (__xstat): Do not use CHECK_1.
28466         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28467         (___xstat64): Do not use CHECK_1.
28469         [BZ #13550]
28470         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28471         definitions.
28472         (CHECK_BOUNDS_HIGH): Likewise.
28473         * string/strcpy.c: Do not include <bp-checks.h>.
28474         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28476 2013-02-07  Roland McGrath  <roland@hack.frob.com>
28478         * nscd/nscd-client.h (__nscd_drop_map_ref):
28479         Add __attribute__ ((unused)).
28480         * nis/nss-nisplus.h (niserr2nss): Likewise.
28482         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28483         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28485         * csu/libc-tls.c (init_static_tls, init_slotinfo):
28486         Remove inline keyword.
28487         * include/rounding-mode.h (round_away): Likewise.
28488         * libio/wfileops.c (adjust_wide_data): Likewise.
28489         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28490         (__m128i_strloadu_tolower): Likewise.
28491         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28492         (__m128i_strloadu_tolower): Likewise.
28493         * time/mktime.c (ydhms_diff): Likewise.
28494         * locale/elem-hash.h (elem_hash): Likewise.
28495         * locale/setlocale.c (setdata): Likewise.
28496         * posix/regex_internal.h (re_string_char_size_at): Likewise.
28497         (re_string_wchar_at): Likewise.
28498         (bitset_not, bitset_merge, bitset_mask): Likewise.
28499         [!(__GNUC__ > 3)] (inline): Remove macro.
28500         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28501         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28502         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28503         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28504         * string/memcmp.c (memcmp_bytes): Likewise.
28505         * locale/programs/locarchive.c (compute_hashval): Likewise.
28506         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28507         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28508         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28509         * nss/getent.c (print_rpc, print_protocols): Likewise.
28510         (print_passwd, print_group, print_aliases): Likewise.
28511         * nis/nss-nisplus.h (niserr2nss): Likewise.
28512         * nscd/connections.c (restart_p): Likewise.
28513         Change return type to bool.
28515 2013-02-05  Roland McGrath  <roland@hack.frob.com>
28517         * Makeconfig (all-Depend-files): Add existing
28518         $(sorted-subdirs:=/Depend) files.
28519         (all-subdirs): Remove nss.
28520         * sysdeps/unix/inet/Subdirs: Add it here instead.
28521         * hesiod/Depend: New file.
28523         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28524         instead of calling alloca.
28526         * io/lseek.c (__lseek): Rename to __libc_lseek.
28527         Define __lseek as an alias.
28529         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28531 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
28533         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28534         else clause and remove check for non-standard endianness.
28536 2013-02-04  David S. Miller  <davem@davemloft.net>
28538         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28540 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
28542         [BZ #13550]
28543         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28544         (__ubp_memchr): Remove prototype.
28545         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28546         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28547         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28548         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28549         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28550         Remove alias.
28551         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28552         (__ubp_memchr): Likewise.
28553         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28554         (__ubp_memchr): Likewise.
28555         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28556         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28557         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28558         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28559         CHECK_STRING.
28560         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28561         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28562         (__getcwd): Do not use CHECK_STRING.
28563         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28564         <bp-checks.h>.
28565         (__real_chown): Do not use CHECK_STRING.
28566         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28567         <bp-checks.h>.
28568         (fchownat): Do not use CHECK_STRING.
28569         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28570         CHECK_STRING.
28571         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28572         <bp-checks.h>.
28573         (__lchown): Do not use CHECK_STRING.
28574         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28575         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28576         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28577         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28579         include <bp-checks.h>.
28580         (truncate64): Do not use CHECK_STRING.
28581         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28582         <bp-checks.h>.
28583         (__real_chown): Do not use CHECK_STRING.
28584         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28585         <bp-checks.h>.
28586         (__lchown): Do not use CHECK_STRING.
28587         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28588         <bp-checks.h>.
28589         (__chown): Do not use CHECK_STRING.
28590         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28591         <bp-checks.h>.
28592         (truncate64): Do not use CHECK_STRING.
28593         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28594         Likewise.
28595         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28596         (__xmknod): Do not use CHECK_STRING.
28597         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28598         <bp-checks.h>.
28599         (__xmknodat): Do not use CHECK_STRING.
28600         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28601         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28603 2013-02-04  Andreas Schwab  <schwab@suse.de>
28605         [BZ #14142]
28606         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28607         * include/netdb.h: Likewise for h_errno.
28608         * elf/tst-stackguard1.c: Include <tls.h>.
28610 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
28612         * elf/link.h (struct link_map): Extend the l_addr comment.
28613         * include/link.h (struct link_map): Likewise.
28615 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
28617         [BZ #13550]
28618         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28619         (BOUNDED_1): Remove macro.
28620         * debug/backtrace.c: Don't include <bp-checks.h>.
28621         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28622         (__backtrace): Likewise.
28623         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28624         <bp-checks.h>.
28625         (__backtrace): Don't use BOUNDED_1.
28626         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28627         <bp-checks.h>.
28628         (__backtrace): Don't use BOUNDED_1.
28629         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28630         (__backtrace): Don't use BOUNDED_1.
28631         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28632         (shmat): Don't use BOUNDED_N.
28634 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
28636         [BZ #13550]
28637         * sysdeps/generic/bp-start.h: Remove file.
28638         * csu/libc-start.c: Don't include <bp-start.h>.
28639         (LIBC_START_MAIN): Set up __environ directly instead of using
28640         INIT_ARGV_and_ENVIRON.
28641         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28642         <bp-start.h>.
28644         [BZ #13550]
28645         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28646         definitions.
28647         (CHECK_FCNTL): Likewise.
28648         (CHECK_N_PAGES): Likewise.
28650         [BZ #13550]
28651         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28652         definitions.
28653         (CHECK_SIGSET_NULL_OK): Likewise.
28654         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28655         <bp-checks.h>.
28656         (sigpending): Don't use CHECK_SIGSET.
28657         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28658         <bp-checks.h>.
28659         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28660         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28661         <bp-checks.h>.
28662         (do_sigsuspend): Don't use CHECK_SIGSET.
28663         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28664         use CHECK_SIGSET.
28665         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28666         (do_sigwait): Don't use CHECK_SIGSET.
28667         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28668         use CHECK_SIGSET.
28669         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28670         include <bp-checks.h>.
28671         (sigpending): Don't use CHECK_SIGSET.
28672         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28673         include <bp-checks.h>.
28674         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28675         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28676         <bp-checks.h>.
28677         (sigpending): Don't use CHECK_SIGSET.
28678         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28679         <bp-checks.h>.
28680         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28682         [BZ #13550]
28683         * sysdeps/generic/bp-semctl.h: Remove file.
28684         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28685         <bp-checks.h> and <bp-semctl.h>.
28686         (__old_semctl): Don't use CHECK_SEMCTL.
28687         (__new_semctl): Likewise.
28688         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28689         and <bp-semctl.h>.
28690         (__old_semctl): Don't use CHECK_SEMCTL.
28691         (__new_semctl): Likewise.
28692         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28693         <bp-checks.h> and <bp-semctl.h>.
28694         (__old_semctl): Don't use CHECK_SEMCTL.
28695         (__new_semctl): Likewise.
28696         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28697         <bp-checks.h> and <bp-semctl.h>.
28698         (semctl): Don't use CHECK_SEMCTL.
28700         [BZ #13550]
28701         * Makerules (elide-bp-thunks): Remove variable.
28702         (elide-routines.oS): Don't use $(elide-bp-thunks).
28703         (elide-routines.os): Likewise.
28704         (elide-routines.o): Likewise.
28705         (elide-routines.op): Likewise.
28706         (elide-routines.og): Likewise.
28707         (objects): Don't use $(bp-thunks).
28708         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28709         include.
28710         (common-generated): Do not add s-proto-bp.d.
28711         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28712         (int): Likewise.
28713         (typ): Likewise.
28714         Do not generate makefile rules for bounded-pointer thunks.
28715         * sysdeps/generic/bp-thunks.h: Remove file.
28716         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28717         * sysdeps/unix/s-proto-bp.S: Likewise.
28719         [BZ #15062]
28720         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28721         parts of result separately when argument is not close to line from
28722         -i to i and one part of argument is small.
28723         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28724         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28725         * math/libm-test.inc (cacos_test): Add more tests.
28726         (casin_test): Likewise.
28727         (casinh_test): Likewise.
28728         * sysdeps/i386/fpu/libm-test-ulps: Update.
28729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28731 2013-01-31  David S. Miller  <davem@davemloft.net>
28733         * po/de.po: Update from translation team.
28735 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28737         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28739 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28741         * configure.in (_AC_PROG_CC_C89): New definition.
28742         * configure: Regenerate.
28744         * configure.in (AC_PROG_CPP): New definition.
28745         * configure: Regenerate.
28747 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28749         * debug/tst-backtrace.h: New file.
28750         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28751         (ret): Remove variable.
28752         (x): Likewise.
28753         (FAIL): Remove macro.
28754         (NO_INLINE): Likewise.
28755         (fn1): Use match function instead of strstr.
28756         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28757         (ret): Remove variable.
28758         (x): Likewise.
28759         (FAIL): Remove macro.
28760         (NO_INLINE): Likewise.
28761         (fn): Use match function instead of strstr.
28762         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28763         (ret): Remove variable.
28764         (x): Likewise.
28765         (FAIL): Remove macro.
28766         (NO_INLINE): Likewise.
28767         (handle_signal): Use match function instead of strstr.
28768         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28769         (ret): Remove variable.
28770         (x): Likewise.
28771         (FAIL): Remove macro.
28772         (NO_INLINE): Likewise.
28773         (handle_signal): Use match function instead of strstr.
28775 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28777         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28779 2013-01-23  David S. Miller  <davem@davemloft.net>
28781         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28782         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28783         argument of CAS if possible.
28784         * sysdeps/sparc/sparc64/bits/atomic.h
28785         (__arch_compare_and_exchange_val_32_acq): Likewise.
28786         (__arch_compare_and_exchange_val_64_acq): Likewise.
28788 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28790         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28791         * sysdeps/posix/ulimit.c: ... this.
28792         Include <limits.h>.
28793         * sysdeps/unix/bsd/ulimit.c: Remove file.
28795 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28797         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28798         (LDFLAGS-tst-array5): Likewise.
28800 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28802         [BZ #15036]
28803         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28804         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28805         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28806         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28808 2013-01-21  David S. Miller  <davem@davemloft.net>
28810         * sysdeps/sparc/backtrace.c: New file.
28811         * sysdeps/sparc/sparc32/backtrace.h: New file.
28812         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28813         * sysdeps/sparc/sparc64/backtrace.h: New file.
28814         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28815         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28816         -funwind-tables.
28818 2013-01-21  Andreas Schwab  <schwab@suse.de>
28820         [BZ #15020]
28821         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28822         closed its stdout.
28824 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28826         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28827         "mpa2.h".
28828         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28830 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28831             Mark Mitchell  <mark@codesourcery.com>
28832             Tom de Vries  <tom@codesourcery.com>
28833             Paul Pluzhnikov  <ppluzhnikov@google.com>
28835         * debug/tst-backtrace2.c: New file.
28836         * debug/tst-backtrace3.c: Likewise.
28837         * debug/tst-backtrace4.c: Likewise.
28838         * debug/tst-backtrace5.c: Likewise.
28839         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28840         (CFLAGS-tst-backtrace3.c): Likewise.
28841         (CFLAGS-tst-backtrace4.c): Likewise.
28842         (CFLAGS-tst-backtrace5.c): Likewise.
28843         (LDFLAGS-tst-backtrace2): Likewise.
28844         (LDFLAGS-tst-backtrace3): Likewise.
28845         (LDFLAGS-tst-backtrace4): Likewise.
28846         (LDFLAGS-tst-backtrace5): Likewise.
28847         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28848         tst-backtrace4 and tst-backtrace5.
28850 2013-01-18  Anton Blanchard  <anton@samba.org>
28851             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28853         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28854         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28855         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28856         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28858         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28859         "+r" and remove output regs list as redundant.  Add explicit inline
28860         asm to specify register of return val to work around compiler codegen
28861         bug.  Remove (int) cast on return value.  Add return type parameter to
28862         use in macro so that this macro does not truncate return value for
28863         64-bit values.
28864         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28865         pass to INTERNAL_VSYSCALL_NCS.
28866         (INLINE_VSYSCALL): Add 'long int' as return type to
28867         INTERNAL_VSYSCALL_NCS macro invocation.
28868         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28869         INTERNAL_VSYSCALL_NCS macro invocation.
28870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28872 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28874         [BZ #14496]
28875         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28876         Fix application of SIMD FP exception mask.
28878         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28879         mp_no from a power of two.
28880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28881         __mpexp_twomm1.  Use __pow_mp.
28883         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28884         multiplication.
28886 2013-01-17  David S. Miller  <davem@davemloft.net>
28888         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28890 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28892         [BZ #15023]
28893         * include/complex.h: Condition contents on [!_COMPLEX_H].
28894         (__kernel_casinhf): New prototype.
28895         (__kernel_casinh): Likewise.
28896         (__kernel_casinhl): Likewise.
28897         * math/Makefile (libm_calls): Add k_casinh.
28898         * math/k_casinh.c: New file.
28899         * math/k_casinhf.c: Likewise.
28900         * math/k_casinhl.c: Likewise.
28901         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28902         finite nonzero arguments.
28903         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28904         finite nonzero arguments.
28905         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28906         finite nonzero arguments.
28907         * math/s_casinh.c: Do not include <float.h>.
28908         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28909         * math/s_casinhf.c: Do not include <float.h>.
28910         (__casinhf): Move code for finite nonzero arguments to
28911         k_casinhf.c.
28912         * math/s_casinhl.c: Do not include <float.h>.
28913         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28914         redefine.
28915         (__casinhl): Move code for finite nonzero arguments to
28916         k_casinhl.c.
28917         * math/libm-test.inc (cacos_test): Add more tests.
28918         * sysdeps/i386/fpu/libm-test-ulps: Update.
28919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28921 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28923         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28924         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28925         [!HAVE_MREMAP]: Remove [defined linux] case.
28926         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28928 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28930         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28932 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28934         * elf/elf.h (R_386_SIZE32): New relocation.
28935         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28936         R_386_SIZE32.
28937         (elf_machine_rela): Likewise.
28938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28939         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28941 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28943         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28944         (FP_FAST_FMA): Do not define.
28945         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28946         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28947         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28948         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28949         !_SOFT_FLOAT]: Likewise.
28950         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28951         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28952         value.
28953         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28954         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28955         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28956         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28957         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28958         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28959         file.
28961 2013-01-16  Andreas Schwab  <schwab@suse.de>
28963         [BZ #14327]
28964         * include/stdlib.h (__mktemp): Add declaration.
28965         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28966         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28968 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28970         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28971         definitions.
28972         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28973         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28974         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28975         definitions here.
28976         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
28977         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
28978         definitions.
28979         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
28980         and ONE.
28981         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
28982         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
28983         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
28984         definitions.
28985         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
28986         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
28987         definitions.
28988         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
28990         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
28992 2013-01-15  David S. Miller  <davem@davemloft.net>
28994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
28995         trunc{,f} to libm-sysdep_routes.
28996         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
28997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
28998         file.
28999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29001         file.
29002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29003         file.
29004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29006         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29007         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29008         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29009         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29010         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29011         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29013         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29014         nearbyint{,f} to libm-sysdep_routes.
29015         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29016         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29017         New file.
29018         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29019         file.
29020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29021         New file.
29022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29023         file.
29024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29026         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29027         file.
29028         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29029         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29030         file.
29031         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29032         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29033         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29035         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29036         libc_feholdexcept and libc_fesetenv.
29038 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29040         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29042 2013-01-14  David S. Miller  <davem@davemloft.net>
29044         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29045         (SPARC_ASM_VIS2_IFUNC): Likewise.
29046         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29048         use of 'siam' instruction.
29049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29050         Likewise.
29051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29052         Likewise.
29053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29054         Likewise.
29055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29057         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29058         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29060         file.
29061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29062         file.
29063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29064         file.
29065         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29066         file.
29067         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29068         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29069         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29070         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29071         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29072         new VIS2 routines.
29073         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29075         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29076         Likewise.
29077         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29079         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29082         routines to libm-sysdep_routines.
29083         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29086         fdim/fdimf to libm-sysdep_routines.
29087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29088         file.
29089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29091         file.
29092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29093         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29094         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29095         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29096         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29097         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29098         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29100 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29102         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29103         to optimize copies.
29105         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29106         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29107         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29109         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29110         local variable MPTWO.
29111         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29112         Likewise.
29114 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29116         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29117         GLOB_NOESCAPE.
29119 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29121         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29123 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29125         * manual/pattern.texi (glob_t): Document gl_flags.
29126         (glob64_t): Likewise.
29128 2013-01-11  David S. Miller  <davem@davemloft.net>
29130         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29131         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29132         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29133         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29134         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29135         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29136         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29137         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29138         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29139         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29140         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29141         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29142         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29144         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29145         sparc V9 rather than using V8 code.
29146         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29147         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29149         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29150         Move to...
29151         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29152         Here.
29154 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29156         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29157         not in the main loop.
29158         * configure: Regenerated.
29160 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29162         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29163         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29164         to just #else.
29165         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29166         [!__GLIBC_HAVE_LONG_LONG] case.
29167         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29168         condition to just #else.
29169         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29170         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29171         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29172         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29173         unconditional.
29174         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29175         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29176         #elif condition to just #else.
29177         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29178         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29179         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29180         #elif condition to just #else.
29182 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29184         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29185         (EF_MIPS_ARCH_64): Fix value.
29186         (EF_MIPS_ARCH_32R2): New.
29187         (EF_MIPS_ARCH_64R2): New.
29189 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29191         * Makeconfig (+link-pie-before-libc): New.
29192         (+link-pie-after-libc): Likewise.
29193         (+link-pie-tests): Likewise.
29194         (+link-pie): Rewritten.
29195         (link-before-libc): Remove $(config-LDFLAGS).
29196         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29197         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29198         (config-LDFLAGS): Renamed to ...
29199         (rtld-LDFLAGS): This.
29200         (rtld-tests-LDFLAGS): New macro.
29201         (link-libc-rpath-link): Likewise.
29202         (link-libc-tests-rpath-link): Likewise.
29203         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29204         (link-libc): Prepand $(link-libc-rpath-link).
29205         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29206         (test-program-prefix): New macro.
29207         (test-via-rtld-prefix): Likewise.
29208         (test-program-cmd): Likewise.
29209         (host-test-program-cmd): Likewise.
29210         * Makefile ($(common-objpfx)testrun.sh): Replace
29211         $(run-program-prefix) with $(test-program-prefix).
29212         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29213         $(rtld-LDFLAGS).
29214         ($(common-objpfx)shlib.lds): Likewise.
29215         (build-module-helper): Likewise.
29216         ($(common-objpfx)format.lds): Likewise.
29217         * Rules (binaries-pie-tests): New.
29218         (binaries-pie-notests): Likewise.
29219         (binaries-pie): Rewritten.
29220         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29221         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29222         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29223         (make-test-out): Replace $(host-built-program-cmd) with
29224         $(host-test-program-cmd).
29225         * config.make.in (build-hardcoded-path-in-tests): New variable.
29226         * configure.in (--enable-hardcoded-path-in-tests): New configure
29227         option.
29228         (hardcoded_path_in_tests): New AC_SUBST.
29229         * configure: Regenerated.
29230         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29231         $(built-program-cmd) with $(test-program-cmd).
29232         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29233         (test_program_cmd): This.
29234         * elf/Makefile ($(objpfx)order.out): Run test with
29235         $(test-program-prefix).
29236         ($(objpfx)order2.out): Likewise.
29237         ($(objpfx)tst-initorder.out): Likewise.
29238         ($(objpfx)tst-initorder2.out): Likewise.
29239         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29240         $(test-program-cmd).
29241         ($(objpfx)tst-array1-static.out): Likewise.
29242         ($(objpfx)tst-array2.out): Likewise.
29243         ($(objpfx)tst-array3.out): Likewise.
29244         ($(objpfx)tst-array4.out): Likewise.
29245         ($(objpfx)tst-array5.out): Likewise.
29246         ($(objpfx)tst-array5-static.out): Likewise.
29247         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29248         $(test-program-cmd).
29249         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29250         $(run-program-prefix) with $(test-program-prefix).
29251         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29252         (test_program_prefix): This.
29253         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29254         $(run-program-prefix) with $(test-program-prefix).
29255         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29256         (test_program_prefix): This.
29257         * iconvdata/tst-tables.sh: Likewise.
29258         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29259         $(run-program-prefix) with $(test-program-prefix).
29260         ($(objpfx)tst-translit.out): Likewise.
29261         ($(objpfx)tst-gettext2.out): Likewise.
29262         ($(objpfx)tst-gettext4.out): Likewise.
29263         ($(objpfx)tst-gettext6.out): Likewise.
29264         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29265         (test_program_prefix): This.
29266         * intl/tst-gettext2.sh: Likewise.
29267         * intl/tst-gettext4.sh  Likewise.
29268         * intl/tst-gettext6.sh: Likewise.
29269         * intl/tst-translit.sh: Likewise.
29270         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29271         with $(test-program-cmd).
29272         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29273         $(run-program-prefix) with $(test-program-prefix).
29274         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29275         (test_program_prefix): This.
29276         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29277         $(run-program-prefix) with $(test-program-prefix).
29278         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29279         (test_program_prefix): This.
29280         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29281         * posix/Makefile ($(objpfx)globtest.out): Replace
29282         $(run-via-rtld-prefix) and $(test-wrapper) with
29283         $(test-program-prefix) and $(test-via-rtld-prefix).
29284         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29285         $(test-program-prefix).
29286         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29287         $(host-test-program-cmd).
29288         (tst-spawn-ARGS): Likewise.
29289         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29290         $(test-program-prefix).
29291         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29292         (test_via_rtld_prefix): This.
29293         (test_wrapper): Renamed to ...
29294         (test_program_prefix): This.
29295         (run_program_prefix): Replaced by test_program_prefix.
29296         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29297         (test_program_prefix): This.
29298         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29299         with $(host-test-program-cmd).
29300         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29301         $(run-program-prefix) with $(test-program-prefix).
29302         ($(objpfx)tst-printf.out): Likewise.
29303         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29304         $(test-program-cmd).
29305         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29306         (test_program_prefix): This.
29307         * stdio-common/tst-unbputc.sh: Likewise.
29308         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29309         $(run-program-prefix) with $(test-program-prefix).
29310         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29311         (test_program_prefix): This.
29312         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29313         $(built-program-cmd) with $(test-program-cmd).
29315 2013-01-11  Andreas Jaeger  <aj@suse.de>
29317         [BZ #15003]
29318         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29319         value. Sync with Linux 3.7.
29321 2013-01-10  David S. Miller  <davem@davemloft.net>
29323         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29324         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29325         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29327 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29329         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29330         never set.
29331         * configure: Regenerated.
29333 2013-01-10  David S. Miller  <davem@davemloft.net>
29335         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29336         sparc V9 rather than using V8 code.
29337         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29338         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29340 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29342         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29343         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29344         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29345         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29346         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29347         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29348         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29349         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29350         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29351         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29352         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29353         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29354         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29355         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29356         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29357         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29358         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29359         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29360         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29361         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29362         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29363         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29364         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29365         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29366         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29367         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29368         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29370 2013-01-10  David S. Miller  <davem@davemloft.net>
29372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29374 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29376         * posix/Makefile (tests-static): New variable.
29377         (tests): Add $(tests-static).
29378         (tst-exec-static-ARGS): New variable.
29379         (tst-spawn-static-ARGS): Likewise.
29380         * posix/tst-exec-static.c: New file.
29381         * posix/tst-spawn-static.c: Likewise.
29382         * posix/tst-exec.c: Support run directly.
29383         * posix/tst-spawn.c: Likewise.
29385 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
29387         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29388         long.
29389         * math/bits/mathcalls.h (llrint): Likewise.
29390         (llround): Likewise.
29391         * stdlib/stdlib.h (struct drand48_data): Likewise.
29392         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29393         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29394         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29395         Likewise.
29396         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29397         Likewise.
29398         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29399         (elf_greg_t): Likewise.
29400         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29401         (__jmp_buf): Likewise.
29402         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29403         definitions.
29404         (llrint): Likewise, for all definitions.
29405         (llrintl): Likewise.
29407         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29408         Remove [__GNUC__] condition.
29409         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29410         condition to just [__USE_ISOC99].
29411         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29413 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29415         [BZ #14200]
29416         * sysdeps/unix/sysv/linux/x86/bits/environments.h
29417         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29418         defined.
29419         (_POSIX_V6_ILP32_OFF32): Likewise.
29420         (_XBS5_ILP32_OFF32): Likewise.
29421         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29422         (__ILP32_OFFBIG_LDFLAGS): Likewise.
29424 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29426         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29428         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29429         doubles __mpexp_twomm1.  Adjust usage.
29430         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29431         Remove.
29433 2013-01-10  Andreas Schwab  <schwab@suse.de>
29435         [BZ #14964]
29436         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29437         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29439 2013-01-09  David S. Miller  <davem@davemloft.net>
29441         [BZ #15003]
29442         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29443         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29444         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29445         (TCP_FASTOPEN): Define.
29446         (tcp_repair_opt): New structure.
29447         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29448         enum values.
29449         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29450         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29451         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29452         (tcp_cookie_transactions): New structure.
29454 2013-01-09  Anton Blanchard  <anton@samba.org>
29456         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29457         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29458         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29459         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29461 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
29463         * include/features.h (__USE_ANSI): Remove.
29465 2013-01-09  Roland McGrath  <roland@hack.frob.com>
29467         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29469         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29471 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29473         * sysdeps/s390/fpu/libm-test-ulps: Update.
29475         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29477         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29478         (__acr): Likewise.
29479         (__cpy): Likewise.
29480         (norm): Likewise.
29481         (denorm): Likewise.
29482         (__mp_dbl): Likewise.
29483         (__dbl_mp): Likewise.
29484         (add_magnitudes): Likewise.
29485         (sub_magnitudes): Likewise.
29486         (__add): Likewise.
29487         (__sub): Likewise.
29488         (__mul): Likewise.
29489         (__inv): Likewise.
29490         (__dvd): Likewise.
29491         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29492         (__acr): Likewise.
29493         (__cpy): Likewise.
29494         (norm): Likewise.
29495         (denorm): Likewise.
29496         (__mp_dbl): Likewise.
29497         (__dbl_mp): Likewise.
29498         (add_magnitudes): Likewise.
29499         (sub_magnitudes): Likewise.
29500         (__add): Likewise.
29501         (__sub): Likewise.
29502         (__mul): Likewise.
29503         (__inv): Likewise.
29504         (__dvd): Likewise.
29505         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29506         (__acr): Likewise.
29507         (__cpy): Likewise.
29508         (norm): Likewise.
29509         (denorm): Likewise.
29510         (__mp_dbl): Likewise.
29511         (__dbl_mp): Likewise.
29512         (add_magnitudes): Likewise.
29513         (sub_magnitudes): Likewise.
29514         (__add): Likewise.
29515         (__sub): Likewise.
29516         (__mul): Likewise.
29517         (__inv): Likewise.
29518         (__dvd): Likewise.
29520 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
29522         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29523         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29524         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29525         2 && __USE_EXTERN_INLINES]: Likewise.
29527 2013-01-08  Andreas Jaeger  <aj@suse.de>
29529         [BZ# 14985]
29530         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29531         Remove.
29532         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29533         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29535 2013-01-07  Anton Blanchard  <anton@samba.org>
29537         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29538         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29539         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29540         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29541         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29542         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29543         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29544         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29545         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29546         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29547         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29548         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29549         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29550         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29551         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29552         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29553         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29554         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29555         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29556         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29557         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29558         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29559         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29560         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29561         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29562         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29563         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29564         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29565         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29566         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29567         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29568         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29569         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29570         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29571         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29572         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29573         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29574         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29575         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29577         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29578         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29579         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29581 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
29583         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29584         (__MALLOC_PMT): Likewise.
29585         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29586         [__GNUC__], only on [_LIBC].
29587         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29588         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29589         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29590         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29591         forward declaration.
29592         (realloc_hook_ini): Likewise.
29593         (memalign_hook_ini): Likewise.
29594         (__libc_memalign): Do not use __MALLOC_PMT in variable
29595         declaration.
29596         (__libc_valloc): Likewise.
29597         (__libc_pvalloc): Likewise.
29598         (__libc_calloc): Likewise.
29599         (__posix_memalign): Likewise.
29601         [BZ #14996]
29602         * math/s_casinh.c: Include <float.h>.
29603         (__casinh): Do not do computation with squaring and square root
29604         for large arguments.
29605         * math/s_casinhf.c: Include <float.h>.
29606         (__casinhf): Do not do computation with squaring and square root
29607         for large arguments.
29608         * math/s_casinhl.c: Include <float.h>.
29609         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29610         (__casinhl): Do not do computation with squaring and square root
29611         for large arguments.
29612         * math/libm-test.inc (casin_test): Add more tests.
29613         (casinh_test): Likewise.
29614         * sysdeps/i386/fpu/libm-test-ulps: Update.
29615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29617 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
29619         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29620         (__x86_64_raw_data_cache_size): Likewise.
29621         (__x86_64_data_cache_size_half): Likewise.
29622         (__x86_64_raw_data_cache_size_half): Likewise.
29623         (__x86_64_shared_cache_size): Likewise.
29624         (__x86_64_raw_shared_cache_size): Likewise.
29625         (__x86_64_shared_cache_size_half): Likewise.
29626         (__x86_64_raw_shared_cache_size_half): Likewise.
29627         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29628         to ...
29629         (__x86_data_cache_size): This.
29630         (__x86_64_raw_data_cache_size): Renamed to ...
29631         (__x86_raw_data_cache_size): This.
29632         (__x86_64_data_cache_size_half): Renamed to ...
29633         (__x86_data_cache_size_half): This.
29634         (__x86_64_raw_data_cache_size_half): Renamed to ...
29635         (__x86_raw_data_cache_size_half): This.
29636         (__x86_64_shared_cache_size): Renamed to ...
29637         (__x86_shared_cache_size): This.
29638         (__x86_64_raw_shared_cache_size): Renamed to ...
29639         (__x86_raw_shared_cache_size): This.
29640         (__x86_64_shared_cache_size_half): Renamed to ...
29641         (__x86_shared_cache_size_half): This.
29642         (__x86_64_raw_shared_cache_size_half): Renamed to ...
29643         (__x86_raw_shared_cache_size_half): This.
29644         * sysdeps/x86_64/memcpy.S: Updated.
29645         * sysdeps/x86_64/memset.S: Likewise.
29646         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29647         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29648         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29650 2013-01-04  David S. Miller  <davem@davemloft.net>
29652         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29654 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
29656         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29657         1 to avoid redefinition warning.
29658         (__USE_GNU): Don't define.
29659         (init_signaling_nan): Protoize.
29661         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29663 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29665         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29667         (__cpymn): Likewise.
29668         (norm): Remove commented code.
29669         (denorm): Likewise.
29670         (__mp_dbl): Likewise.
29671         (__inv): Likewise.
29672         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29673         (__cpymn): Likewise.
29674         (norm): Remove commented code.
29675         (denorm): Likewise.
29676         (__mp_dbl): Likewise.
29677         (__inv): Likewise.
29679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29680         mp_no value for 1.0 and 2.0.
29681         (norm): Use RADIXI instead of radixi.d.
29682         (denorm): Likewise.
29683         (__mul): Use 0.0 instead of zero.d.
29684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29685         mp_no value for 1.0 and 2.0.
29686         (norm): Use RADIXI instead of radixi.d.
29687         (denorm): Likewise.
29688         (__mul): Use 0.0 instead of zero.d.
29690 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29692         [BZ #14994]
29693         * math/s_casinh.c (__casinh): Reduce finite argument to first
29694         quadrant then set signs of results at the end.
29695         * math/s_casinhf.c (__casinhf): Likewise.
29696         * math/s_casinhl.c (__casinhl): Likewise.
29697         * math/libm-test.inc (casin_test): Add more tests.
29698         (casinh_test): Likewise.
29699         * sysdeps/i386/fpu/libm-test-ulps: Update.
29700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29702 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29704         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29706         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29708         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29709         declarations.
29710         (denorm): Likewise.
29711         (__mp_dbl): Likewise.
29712         (__inv): Likewise.
29714         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29715         and adjust the header comment.
29717         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29718         variable name from declaration.
29720 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29722         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29723         Initialize COMMON_CPUID_INDEX_7 element.
29724         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29725         (CPUID_RTM): Likewise.
29726         (HAS_RTM): Likewise.
29727         (COMMON_CPUID_INDEX_7): New enum.
29729 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29731         [BZ #14981]
29732         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29733         size is zero, record memory as freed.
29735 2013-01-03  Andreas Jaeger  <aj@suse.de>
29737         * po/ia.po: Add new Interlingua translation.
29739 2012-01-03  Allan McRae  <allan@archlinux.org>
29741         * locale/programs/localedef.c: Fix description of '--posix' flag.
29743 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29745         * NEWS: Update dates in second copyright notice.
29746         * README: Update copyright dates in example.
29747         * manual/libc.texinfo: Update copyright dates.
29748         * scripts/test-installation.pl: Update copyright date in --version
29749         output.
29751         * hurd/ctty-input.c: Fix copyright notice formatting.
29752         * hurd/ctty-output.c: Likewise.
29753         * hurd/dtable.c: Likewise.
29754         * hurd/hurd-raise.c: Likewise.
29755         * hurd/hurdprio.c: Likewise.
29756         * hurd/msgportdemux.c: Likewise.
29757         * misc/sys/file.h: Likewise.
29758         * misc/sys/ioctl.h: Likewise.
29759         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29760         * sysdeps/mach/hurd/chdir.c: Likewise.
29761         * sysdeps/mach/hurd/fchdir.c: Likewise.
29762         * sysdeps/mach/hurd/rename.c: Likewise.
29763         * sysdeps/mach/hurd/rmdir.c: Likewise.
29764         * sysdeps/mach/hurd/seekdir.c: Likewise.
29765         * sysdeps/mach/hurd/setsid.c: Likewise.
29766         * sysdeps/posix/wait3.c: Likewise.
29768         * All files with FSF copyright notices: Update copyright dates
29769         using scripts/update-copyrights.
29770         * intl/plural.c: Regenerated.
29771         * locale/programs/charmap-kw.h: Likewise.
29772         * locale/programs/locfile-kw.h: Likewise.
29774 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29776         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29777         four values.
29779         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29780         calculation loop and add branch prediction.
29782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29783         check access beyond bounds of m1np.
29785         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29786         MPTWO.
29787         (__inv): Remove local variable MPTWO to use the global
29788         constant.
29789         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29790         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29791         variable MPTWO.
29792         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29793         MP3HALFS static const.
29795 2013-01-01  David S. Miller  <davem@davemloft.net>
29797         * po/ca.po: Update from translation team.
29799 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29801         * scripts/update-copyrights: New file.
29802         * Makeconfig: Reformat copyright notice.
29803         * ctype/ctype.h: Likewise.
29804         * debug/swprintf_chk.c: Likewise.
29805         * elf/dl-cache.c: Likewise.
29806         * elf/dl-debug.c: Likewise.
29807         * elf/dl-object.c: Likewise.
29808         * grp/initgroups.c: Likewise.
29809         * hurd/Makefile: Likewise.
29810         * hurd/hurd/signal.h: Likewise.
29811         * hurd/hurdfault.c: Likewise.
29812         * hurd/hurdioctl.c: Likewise.
29813         * hurd/hurdlookup.c: Likewise.
29814         * hurd/intr-msg.c: Likewise.
29815         * iconv/gconv_open.c: Likewise.
29816         * libio/swprintf.c: Likewise.
29817         * locale/lc-ctype.c: Likewise.
29818         * locale/nl_langinfo.c: Likewise.
29819         * mach/Machrules: Likewise.
29820         * mach/Makefile: Likewise.
29821         * malloc/obstack.h: Likewise.
29822         * manual/Makefile: Likewise.
29823         * manual/tsort.awk: Likewise.
29824         * misc/bits/stab.def: Likewise.
29825         * nis/nis_print_group_entry.c: Likewise.
29826         * nis/nis_table.c: Likewise.
29827         * nis/nss_compat/compat-pwd.c: Likewise.
29828         * nis/nss_compat/compat-spwd.c: Likewise.
29829         * po/Makefile: Likewise.
29830         * posix/fnmatch.c: Likewise.
29831         * posix/regex.h: Likewise.
29832         * resolv/Makefile: Likewise.
29833         * resolv/nss_dns/dns-network.c: Likewise.
29834         * resolv/res_hconf.c: Likewise.
29835         * scripts/gen-sorted.awk: Likewise.
29836         * soft-fp/soft-fp.h: Likewise.
29837         * stdio-common/printf.h: Likewise.
29838         * stdlib/monetary.h: Likewise.
29839         * stdlib/random.c: Likewise.
29840         * stdlib/random_r.c: Likewise.
29841         * sysdeps/generic/Makefile: Likewise.
29842         * sysdeps/gnu/Makefile: Likewise.
29843         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29844         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29845         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29846         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29847         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29848         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29849         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29850         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29851         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29852         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29853         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29854         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29855         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29856         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29857         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29858         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29859         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29860         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29861         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29862         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29863         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29864         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29865         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29866         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29867         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29868         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29869         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29870         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29871         * sysdeps/mach/hurd/errnos.awk: Likewise.
29872         * sysdeps/mach/hurd/fork.c: Likewise.
29873         * sysdeps/mach/hurd/getcwd.c: Likewise.
29874         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29875         * sysdeps/mach/hurd/mmap.c: Likewise.
29876         * sysdeps/mach/hurd/utimes.c: Likewise.
29877         * sysdeps/mach/hurd/xmknod.c: Likewise.
29878         * sysdeps/posix/profil.c: Likewise.
29879         * sysdeps/posix/readdir_r.c: Likewise.
29880         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29881         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29882         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29883         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29884         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29885         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29886         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29887         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29888         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29889         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29890         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29891         * sysdeps/pthread/lio_listio.c: Likewise.
29892         * sysdeps/sparc/dl-procinfo.h: Likewise.
29893         * sysdeps/unix/i386/sysdep.S: Likewise.
29894         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29895         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29896         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29897         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29899         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29900         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29901         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29902         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29903         * sysdeps/wordsize-32/divdi3.c: Likewise.
29904         * time/sys/time.h: Likewise.
29905         * wcsmbs/Makefile: Likewise.
29907 2013-01-01  David S. Miller  <davem@davemloft.net>
29909         * po/fr.po: Update from translation team.
29911         * catgets/gencat.c: Update copyright year.
29912         * csu/version.c: Likewise.
29913         * debug/catchsegv.sh: Likewise.
29914         * debug/pcprofiledump.c: Likewise.
29915         * debug/xtrace.sh: Likewise.
29916         * elf/ldconfig.c: Likewise.
29917         * elf/ldd.bash.in: Likewise.
29918         * elf/pldd.c: Likewise.
29919         * elf/sotruss.ksh: Likewise.
29920         * elf/sprof.c: Likewise.
29921         * iconv/iconv_prog.c: Likewise.
29922         * iconv/iconvconfig.c: Likewise.
29923         * locale/programs/locale.c: Likewise.
29924         * locale/programs/localedef.c: Likewise.
29925         * login/programs/pt_chown.c: Likewise.
29926         * malloc/memusage.sh: Likewise.
29927         * malloc/memusagestat.c: Likewise.
29928         * malloc/mtrace.pl: Likewise.
29929         * nscd/nscd.c: Likewise.
29930         * nss/getent.c: Likewise.
29931         * nss/makedb.c: Likewise.
29932         * posix/getconf.c: Likewise.
29934 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29936         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29937         numbers.
29939 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29941         * math/bits/mathcalls.h (modf): Use __nonnull.
29943 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29945         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29946         (split): Use macro CN instead of the bare value.
29947         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29948         could be used.
29949         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29950         instead of the bare value.
29951         (power1): Likewise.
29953 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29955         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29956         __ATAN_TWOM.
29957         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29959         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29960         their values.
29961         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29962         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29963         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29964         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29966 2012-12-28  Andreas Jaeger  <aj@suse.de>
29968         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29969         values are from Linux 3.7.
29971         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29972         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29974 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29976         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
29977         TRUE case.
29979         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
29980         (norm): Likewise.
29981         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
29982         variables with preprocessor constants.
29983         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29984         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
29985         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
29987 2012-12-27  Bruno Haible  <bruno@clisp.org>
29989         [BZ #14317]
29990         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
29991         only if needed.
29993 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
29995         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
29996         and use variable directly.
29997         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
29999         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30000         MPONE.
30001         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30002         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30003         variable MPONE.
30004         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30005         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30006         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30007         include directive.  Remove local variable MPONE.
30008         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30009         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30010         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30012 2012-12-25  David S. Miller  <davem@davemloft.net>
30014         * version.h (RELEASE): Set to "development".
30015         (VERSION): Set to "2.17.90".
30016         * NEWS: Add 2.18 section.
30018 2012-12-21  David S. Miller  <davem@davemloft.net>
30020         * po/hr.po: Update from translation team.
30022 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30024         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30026 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30028         * NEWS:  Mention new memcpy for MIPS.
30030 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30032         * manual/contrib.texi (Contributors): Spelling correction.
30034 2012-12-15  David S. Miller  <davem@davemloft.net>
30036         * po/ru.po: Update from translation team.
30038 2012-12-13  David S. Miller  <davem@davemloft.net>
30040         * NEWS: Mention IFUNC testsuite enhancements.
30042         * po/pl.po: Update from translation team.
30043         * po/bg.po: Likewise.
30045         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30046         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30048 2012-12-11  David S. Miller  <davem@davemloft.net>
30050         * po/sv.po: Update from translation team.
30052         * po/vi.po: Update from translation team.
30054         * po/cs.po: Update from translation team.
30056         * po/de.po: Update from translation team.
30057         * po/eo.po: Likewise.
30058         * po/nl.po: Likewise.
30060 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30062         [BZ #14246]
30063         * manual/argp.texi (Argp Helper Functions): Move node to follow
30064         Argp Parsing State.
30066         [BZ #14872]
30067         * manual/conf.texi (Limits on File System Capacity): Mention if
30068         terminating null is included in the max size.
30070 2012-12-10  Andreas Jaeger  <aj@suse.de>
30072         * po/cs.po: Update from translation team.
30074 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30076         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30077         void pointer and cast to uintptr_t.
30078         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30079         path.
30080         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30081         * sysdeps/s390/s390-64/memset.S: Likewise.
30083 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30085         [BZ #14833]
30086         * menual/message.texi (Message Translation): Fix typos.
30087         (Helper programs for gettext): Likewise.
30089 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30091         [BZ #14898]
30092         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30093         Change to -1.
30095 2012-12-07  David S. Miller  <davem@davemloft.net>
30097         * po/libc.pot: Update.
30099 2012-12-07  Richard Henderson  <rth@redhat.com>
30101         [BZ #10114]
30102         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30103         normal/normal case to before the switch.
30104         (_FP_DIV): Likewise.
30106 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30107             Mike Frysinger  <vapier@gentoo.org>
30109         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30110         check for __NR_fadvise64_64.
30112 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30114         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30115         0, not just to plain "0" as a statement.
30116         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30117         with cw.
30119 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30121         * NEWS: Use sourceware.org in Bugzilla URL.
30123 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30125         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30126         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30128         * stdio-common/tst-put-error.c (do_test): Add newline to the
30129         padded test to ensure flush.
30131 2012-12-05  Jeff Law  <law@redhat.com>
30133         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30135 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30137         * README: Don't refer to ports add-on as distributed separately.
30138         Mention AArch64 in list of systems supported in the ports add-on.
30140         * LICENSES: Add more non-FSF copyright and license notices.
30142         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30143         ((unused)).
30145         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30147         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30148         10000 as width of padded output.
30150 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30152         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30154         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30155         variable LX with __attribute__ ((unused)).
30156         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30157         Likewise.
30158         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30159         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30160         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30161         with __attribute__ ((unused)).
30163 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30165         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30167 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30169         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30170         (CFLAGS-nldbl-acos.c): New variable.
30171         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30172         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30173         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30174         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30175         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30176         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30177         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30178         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30179         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30180         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30181         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30182         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30183         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30184         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30185         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30186         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30187         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30188         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30189         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30190         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30191         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30192         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30193         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30194         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30195         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30196         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30197         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30198         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30199         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30200         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30201         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30202         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30203         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30204         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30205         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30206         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30207         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30208         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30209         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30210         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30211         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30212         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30213         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30214         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30215         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30216         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30217         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30218         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30219         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30220         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30221         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30222         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30223         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30224         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30225         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30226         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30227         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30228         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30229         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30230         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30231         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30232         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30233         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30234         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30235         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30236         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30237         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30238         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30239         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30240         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30241         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30242         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30243         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30244         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30245         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30246         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30247         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30248         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30249         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30250         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30251         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30252         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30253         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30254         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30255         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30256         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30257         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30258         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30259         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30260         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30261         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30262         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30263         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30264         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30265         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30266         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30267         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30270         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30272         [BZ #14914]
30273         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30274         whole low double instead of just low 47 bits when splitting values
30275         into two parts.
30277 2012-12-03  Allan McRae  <allan@archlinux.org>
30279         * manual/stdio.texi (Predefined Printf Handlers): Remove
30280         @hsep and @vsep usage.
30282 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30284         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30285         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30287 2012-12-03  Jeff Law  <law@redhat.com>
30289         * time/sys/time.h (settimeofday): Do not mark TV argument
30290         as __nonnull.
30292 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30294         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30295         when currently writing and seek to current position when not.
30296         * libio/Makefile (tests): Remove bug-fclose1.
30297         * libio/bug-fclose1.c: Delete.
30299 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30301         * manual/arith.texi (feenableexcept): Fix typo.
30302         (fedisableexcept): Likewise.
30304 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30306         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30307         second, differently-typed declaration, rather than a cast.
30309 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30311         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30312         * include/rpc/svc.h: ... here.
30314 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30316         [BZ #13013]
30317         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30318         depending n and resplen2 to catch cases where answer
30319         equals answerp2.
30321 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30323         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30324         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30326 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30328         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30330 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30332         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30334 2012-11-28  Jeff Law  <law@redhat.com>
30336         [BZ #13761]
30337         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30338         dataset_temporary.  Track alloca usage into alloca_used.
30339         If dataset is large allocate and release it via malloc/free.
30341 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30343         [BZ #14197]
30344         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30346 2012-11-28  David S. Miller  <davem@davemloft.net>
30348         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30350 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30352         [BZ #14803]
30353         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30354         of pi/2 rounded to nearest to 64 bits.
30355         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30356         nearest to 64 bits.
30357         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30358         bits.
30360 2012-11-28  Jeff Law <law@redhat.com>
30361             Martin Osvald <mosvald@redhat.com>
30363         [BZ #14889]
30364         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30365         * sunrpc/svc.c: Include time.h.
30366         (__svc_accept_failed): New function.
30367         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30368         any reason other than EINTR, call __svc_accept_failed.
30369         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30370         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30372 2012-11-28  Andreas Schwab  <schwab@suse.de>
30374         * scripts/abilist.awk: Also handle indirect functions in .opd
30375         section.
30377 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30379         [BZ #13881]
30380         * sysdeps/x86/fpu/powl_helper.c: New file.
30381         * sysdeps/x86/fpu/Makefile: Likewise.
30382         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30383         (p3): New object.
30384         (__ieee754_powl): Use __powl_helper for finite arguments except
30385         integer exponents below 8.
30386         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30387         (p3): New object.
30388         (__ieee754_powl): Use __powl_helper for finite arguments except
30389         integer exponents below 8.
30390         * math/libm-test.inc (pow_test): Add more tests and enable some
30391         previously disabled tests.
30392         * sysdeps/i386/fpu/libm-test-ulps: Update.
30393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30395 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30396             Carlos O'Donell  <carlos_odonell@mentor.com>
30398         * nss/makedb.c (is_prime): Assert that input is odd and greater
30399         than 4.  Note that fact in a comment too.
30400         (next_prime): Add 4 to input.
30402 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30404         [BZ #11741]
30405         * libio/Makefile (tests): Add test case tst-fwrite-error.
30406         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30407         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30408         * libio/tst-fwrite-error.c: New test case.
30410 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
30412         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30413         before casting to void *.
30414         * include/libc-internal.h (__pointer_type): New macro.
30415         (__integer_if_pointer_type_sub): Likewise.
30416         (__integer_if_pointer_type): Likewise.
30417         (cast_to_integer): Likewise.
30418         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30419         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30420         before casting to atomic64_t.
30421         (atomic_exchange_acq): Likewise.
30422         (__arch_exchange_and_add_body): Likewise.
30423         (__arch_add_body): Likewise.
30424         (atomic_add_negative): Likewise.
30425         (atomic_add_zero): Likewise.
30427 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
30429         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30430         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30431         (add_fdes): Likewise.
30432         (linear_search_fdes): Likewise.
30433         (binary_search_unencoded_fdes): Likewise.
30435 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
30437         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30439 2012-11-24  Adam Conrad  <adconrad@0c3.net>
30441         * configure.in: Autodetect C++ header directories.
30442         * configure: Regenerated.
30444 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
30446         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30448 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
30450         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30452 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
30454         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30455         LDBL_MANT_DIG == 106]: Disable some tests.
30456         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30457         Likewise.
30458         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30459         Likewise.
30461         [BZ #14871]
30462         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30463         input for small inputs.  Return +/- pi/2 for large inputs.
30464         * math/libm-test.inc (atan_test): Add more tests.
30466         * sysdeps/generic/unwind-dw2-fde-glibc.c
30467         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30468         __attribute__ ((unused)).
30470         [BZ #14645]
30471         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30472         x * y if x and y are nonzero and z is zero.
30474         [BZ #14811]
30475         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30476         nonzero exponents with absolute value below 0x1p-117 to +/-
30477         0x1p-117.
30479         [BZ #14869]
30480         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30481         up arguments below 2**-450, not just those below 2**-500.
30482         * math/libm-test.inc (hypot_test): Add another test.
30484         [BZ #14868]
30485         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30486         Return a+b for ratio over 2**120, not 2**60.
30487         * math/libm-test.inc (hypot_test): Add another test.
30489         * math/libm-test.inc (clog_test): Use
30490         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30491         (clog10_test): Likewise.
30493         [BZ #6778]
30494         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30496 2012-11-22  Andreas Schwab  <schwab@suse.de>
30498         * sysdeps/i386/fpu/libm-test-ulps: Update.
30500 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
30502         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30503         printf output with newline.
30505 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30507         [BZ #14865]
30508         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30509         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30510         -z nodlopen, -z initfirst and -z execstack support.
30511         * configure: Regenerated.
30513         * elf/elf.h (DF_1_NODIRECT): New macro.
30514         (DF_1_IGNMULDEF): Likewise.
30515         (DF_1_NOKSYMS): Likewise.
30516         (DF_1_NOHDR): Likewise.
30517         (DF_1_EDITED): Likewise.
30518         (DF_1_NORELOC): Likewise.
30519         (DF_1_SYMINTPOSE): Likewise.
30520         (DF_1_GLOBAUDIT): Likewise.
30521         (DF_1_SINGLETON): Likewise.
30522         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30523         DT_1_SUPPORTED_MASK bits.
30524         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30526 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
30528         * sysdeps/unix/make-syscalls.sh: Document prefixes.
30530 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
30532         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30533         macro.
30535         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30536         (sendmmsg): Move declarations...
30537         * socket/sys/socket.h: ... here.
30538         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30539         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30540         include it from...
30541         * socket/recvmmsg.c: ... this new file.
30542         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30543         (sendmmsg): Rename to __sendmmsg, create weak alias and make
30544         definition of __sendmmsg hidden.
30545         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30546         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30547         Move ENOSYS stub into and include it from...
30548         * socket/sendmmsg.c: ... this new file.
30549         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30550         (sysdep_routines): Move recvmmsg and sendmmsg...
30551         * socket/Makefile (routines): ... here.
30552         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30553         (GLIBC_PRIVATE): Add __sendmmsg.
30554         * include/sys/socket.h (__sendmmsg): Add declarations.
30555         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30556         sendmmsg.
30558 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
30560         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30561         variable I1 with __attribute__ ((unused)).
30562         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30564 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30566         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30567         DUMMY variables with __attribute__ ((unused)).
30569         * bits/byteswap.h: Include <bits/types.h>.
30570         (__bswap_64): Use __uint64_t instead of unsigned long long int.
30572 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30574         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30575         string_t.  Do not manually set errno.
30576         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30577         length with __strnlen.  Make sure to both set errno and return it on
30578         failure.
30580 2012-11-19  David S. Miller  <davem@davemloft.net>
30582         With help from Joseph Myers.
30583         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30584         very large arguments properly.
30585         * math/libm-test.inc (atan_test): New tests.
30586         (atan2_test): New tests.
30587         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30588         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30590 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30592         [BZ #14856]
30593         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30594         Define to 3.
30596         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30597         [POSIX] (EADDRNOTAVAIL): Likewise.
30598         [POSIX] (EAFNOSUPPORT): Likewise.
30599         [POSIX] (EALREADY): Likewise.
30600         [POSIX] (ECONNABORTED): Likewise.
30601         [POSIX] (ECONNREFUSED): Likewise.
30602         [POSIX] (ECONNRESET): Likewise.
30603         [POSIX] (EDESTADDRREQ): Likewise.
30604         [POSIX] (EDQUOT): Likewise.
30605         [POSIX] (EHOSTUNREACH): Likewise.
30606         [POSIX] (EIDRM): Likewise.
30607         [POSIX] (EISCONN): Likewise.
30608         [POSIX] (ELOOP): Likewise.
30609         [POSIX] (EMULTIHOP): Likewise.
30610         [POSIX] (ENETDOWN): Likewise.
30611         [POSIX] (ENETUNREACH): Likewise.
30612         [POSIX] (ENOBUFS): Likewise.
30613         [POSIX] (ENODATA): Likewise.
30614         [POSIX] (ENOLINK): Likewise.
30615         [POSIX] (ENOMSG): Likewise.
30616         [POSIX] (ENOPROTOOPT): Likewise.
30617         [POSIX] (ENOSR): Likewise.
30618         [POSIX] (ENOSTR): Likewise.
30619         [POSIX] (ENOTCONN): Likewise.
30620         [POSIX] (ENOTSOCK): Likewise.
30621         [POSIX] (EOPNOTSUPP): Likewise.
30622         [POSIX] (EOVERFLOW): Likewise.
30623         [POSIX] (EPROTO): Likewise.
30624         [POSIX] (EPROTONOSUPPORT): Likewise.
30625         [POSIX] (EPROTOTYPE): Likewise.
30626         [POSIX] (ESTALE): Likewise.
30627         [POSIX] (ETIME): Likewise.
30628         [POSIX] (ETXTBSY): Likewise.
30629         [POSIX] (EWOULDBLOCK): Likewise.
30630         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30631         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30632         [POSIX] (SEEK_CUR): Likewise.
30633         [POSIX] (SEEK_END): Likewise.
30634         [POSIX || UNIX98] (mode_t): Do not require.
30635         [POSIX] (off_t): Likewise.
30636         [POSIX] (pid_t): Likewise.
30637         [POSIX] (sys/stat.h): Do not allow header.
30638         [POSIX] (unistd.h): Likewise.
30639         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30640         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30641         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30642         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30643         require.
30644         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30645         sigevent): Specify elements.
30646         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30647         entry.
30648         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30649         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30651         * conform/data/cpio.h-data [POSIX]: Disable whole file.
30652         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30653         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30654         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30655         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30656         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30657         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30658         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30659         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30660         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30661         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30662         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30663         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30664         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30665         Likewise.
30666         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30667         Likewise.
30668         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30669         Likewise.
30670         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30671         Likewise.
30672         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30673         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30674         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30675         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30676         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30677         Specify lower bound on value.
30678         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30679         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30680         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30681         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30682         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30683         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30684         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30685         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30686         value.
30687         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30688         as optional.
30689         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30690         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30691         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30692         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30693         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30694         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30695         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30696         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30697         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30698         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30699         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30700         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30701         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30702         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30703         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30704         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30705         entry.
30706         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30707         optional.
30708         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30709         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30710         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30711         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30712         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30713         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30714         Likewise.
30715         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30716         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30717         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30718         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30719         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30720         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30721         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30722         as optional.
30723         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30724         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30725         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30726         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30727         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30728         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30729         specify as optional.
30730         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30731         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30732         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30733         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30734         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30735         [XPG3] (NL_LANGMAX): Likewise.
30736         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30737         [POSIX || XPG3] (NL_NMAX): Likewise.
30738         [POSIX || XPG3] (NL_SETMAX): Likewise.
30739         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30740         [XPG3] (NZERO): Likewise.
30741         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30742         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30743         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30744         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30745         (REG_ERANGE): Expect.
30746         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30747         optional-constant.
30748         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30749         Use (void) in prototype.
30750         [POSIX] (*_t): Allow.
30751         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30752         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30753         (WRDE_BADVAL): Expect.
30755         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30756         expect.
30757         [XPG3 || XPG4] (O_RSYNC): Likewise.
30758         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30759         Likewise.
30760         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30761         [XPG3 || XPG4] (sigqueue): Likewise.
30762         [XPG3 || XPG4] (sigtimedwait): Likewise.
30763         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30764         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30765         [XPG3 || XPG4] (vsnprintf): Likewise.
30766         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30767         Likewise.
30768         [XPG3 || XPG4] (blksize_t): Likewise.
30769         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30770         Likewise.
30771         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30772         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30773         [XPG3 || XPG4] (struct itimerspec): Likewise.
30774         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30775         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30776         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30777         [XPG3 || XPG4] (clockid_t): Likewise.
30778         [XPG3 || XPG4] (timer_t): Likewise.
30779         [XPG3 || XPG4] (clock_getres): Likewise.
30780         [XPG3 || XPG4] (clock_gettime): Likewise.
30781         [XPG3 || XPG4] (clock_settime): Likewise.
30782         [XPG3 || XPG4] (nanosleep): Likewise.
30783         [XPG3 || XPG4] (timer_create): Likewise.
30784         [XPG3 || XPG4] (timer_delete): Likewise.
30785         [XPG3 || XPG4] (timer_gettime): Likewise.
30786         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30787         [XPG3 || XPG4] (timer_settime): Likewise.
30788         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30789         [XPG3 || XPG4] (getlogin_r): Likewise.
30790         [XPG3 || XPG4] (pread): Likewise.
30791         [XPG3 || XPG4] (pthread_atfork): Likewise.
30792         [XPG3 || XPG4] (pwrite): Likewise.
30794         [BZ #14835]
30795         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30796         <bits/siginfo.h>.
30798 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30800         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30801         finalizing MALLSTREAM.
30803         * sysdeps/mach/hurd/syncfs.c: New file.
30805 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30807         [BZ #14719]
30808         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30809         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30810         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30811         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30812         (_nss_dns_gethostbyname4_r): Likewise.
30813         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30814         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30816 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30818         [BZ #13763]
30819         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30821 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30823         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30824         * elf/cache.c (print_entry): Print ",AArch64" for
30825         FLAG_AARCH64_LIB64
30827         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30828         * elf/cache.c (print_entry): Print ",hard-float" for
30829         FLAG_ARM_LIBHF.
30831 2012-11-18  David S. Miller  <davem@davemloft.net>
30833         With help from Joseph Myers.
30834         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30835         cutoff to 2**-13.
30836         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30837         cutoff to 2**-25.
30838         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30839         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30840         small.
30841         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30842         * math/libm-test.inc (y0_test): New tests.
30843         (y1_test): New tests.
30844         * sysdeps/i386/fpu/libm-test-ulps: Update.
30845         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30846         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30848 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30850         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30851         64-bit targets.
30852         * configure: Regenerated.
30854 2012-11-17  David S. Miller  <davem@davemloft.net>
30856         [BZ #14811]
30857         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30858         nonzero exponents with absolute value below 0x1p-128 to +/-
30859         0x1p-128.
30861 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30863         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30865         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30867         * posix/getconf-speclist.c: New file.
30868         * posix/posix-envs.def: Likewise.
30869         * posix/confstr.c (START_ENV_GROUP): New macro.
30870         (END_ENV_GROUP): Likewise.
30871         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30872         (KNOWN_PRESENT_ENV_STRING): Likewise.
30873         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30874         (UNKNOWN_ENVIRONMENT): Likewise.
30875         (confstr): Include posix-envs.def instead of handling
30876         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30877         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30878         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30879         (END_ENV_GROUP): Likewise.
30880         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30881         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30882         (UNKNOWN_ENVIRONMENT): Likewise.
30883         (__sysconf): Include posix-envs.def instead of handling associated
30884         cases directly here.
30885         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30886         preprocessing getconf-speclist.c rather than running getconf or
30887         generating empty file.
30889 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30891         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30893 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30895         [BZ #14672]
30896         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30898 2012-11-16  David S. Miller  <davem@davemloft.net>
30900         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30901         smaller than LDBL_EPSILON/2.0L, just return xm1.
30903 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30905         * elf/tst-array1.c (init): Set constructor priority to 1000.
30906         (fini): Set destructor priority to 1000.
30907         * elf/tst-array2dep.c: Likewise.
30909 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30911         [BZ #11741]
30912         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30913         (_IO_new_file_xsputn): Also return EOF if none of the input
30914         data was written when overflow failed.
30915         * libio/iopadn.c (_IO_padn): Likewise.
30916         * libio/iowpadn.c (_IO_wpadn): Likewise.
30917         * stdio-common/tst-put-error.c: Add copyright notice.
30918         (do_test): Add case for printing padded string.
30919         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30920         _IO_padn returned error.
30921         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30922         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30923         return EOF.
30925 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30927         * libio/libioP.h: Add comment note that the references to C++
30928         bits are now obsolete.
30930 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30932         * math/libm-test.inc (check_complex): Use asprintf.
30934 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30936         * debug/pcprofiledump.c (print_version): Update copyright year.
30937         * malloc/memusagestat.c (print_version): Likewise.
30939 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30941         [BZ #14831]
30942         * elf/Makefile (tests): Add tst-audit8.
30943         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30944         ($(objpfx)tst-audit8.out): New target.
30945         (tst-audit8-ENV): New variable.
30946         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30947         audit if l_reloc_result is NULL.
30948         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30949         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30950         * elf/tst-audit8.c: New file.
30952 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30954         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30955         * misc/Makefile (CFLAGS-select.c): Define.
30956         * posix/Makefile (CFLAGS-pause.c): Define.
30958 2012-11-13  David S. Miller  <davem@davemloft.net>
30960         * crypt/Makefile: Move test targets after toplevel Rules
30961         inclusion.  Grab any necessary sysdep routines when linking.
30962         * crypt/md5.c (md5_process_block): Remove define, we will always
30963         name it __md5_process_block.
30964         (md5_finish_ctx): Update md5_process_block call.
30965         (md5_stream): Likewise.
30966         (md5_process_bytes): Likewise.
30967         (md5_process_block): Rename to __md5_process_block and move to ...
30968         * crypt/md5-block.c: ... here.
30969         * crypt/sha256.c (sha256_process_block): Move to ...
30970         * crypt/sha256-block.c: ... here.
30971         * crypt/sha512.c (sha512_process_block): Move to ...
30972         * crypt/sha512-block.c: ... here.
30973         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30974         path.
30975         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30976         * sysdeps/sparc/sparc64/multiarch/Makefile
30977         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
30978         crypt subdir.
30979         (localedef-aux): Add md5 crypto assembler when in locale subdir.
30980         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
30981         multiarch changes.
30982         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
30983         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
30984         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
30985         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
30986         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
30987         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
30988         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
30989         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
30990         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
30991         file.
30992         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
30993         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
30994         file.
30995         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
30997 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
30999         * timezone/tzselect.ksh: Update from tzcode git revision
31000         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31001         * timezone/zdump.c: Likewise.
31002         * timezone/zic.c: Likewise.
31003         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31004         in TZVERSION setting, not $(PKGVERSION).
31005         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31006         REPORT_BUGS_TO settings.
31008         [BZ #14838]
31009         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31010         macro.
31012 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31014         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31015         detection to immediately after _FP_ROUND().
31016         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31017         bits are 0.
31019 2012-11-11  David S. Miller  <davem@davemloft.net>
31021         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31022         inttypes.h
31023         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31024         __close rather than their public counterparts.
31026 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31028         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31029         file.
31030         [UNIX98] (sem_timedwait): Do not expect.
31031         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31032         [XPG4 || UNIX98] (sockatmark): Do not expect.
31033         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31034         (clock_getcpuclockid): Do not expect.
31035         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31036         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31037         Do not expect.
31038         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31039         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31040         [UNIX98] (vwscanf): Likewise.
31041         [UNIX98] (vswscanf): Likewise.
31043 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31045         * timezone/version.h: Remove file.
31046         * timezone/README: Do not refer to version.h.
31047         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31048         $(objpfx)version.h.
31049         ($(objpfx)zdump.o): Likewise.
31050         ($(objpfx)version.h): New target.
31052         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31053         2012i.
31054         * timezone/README: Don't mention modification to tzselect.ksh.
31055         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31056         work on unmodified tzselect.ksh.  Substitute version numbers in
31057         tzselect.ksh.
31059         * Makefile (format-me): Remove.
31060         (INSTALL): Adjust indentation.  Use commands directly instead of
31061         using $(format-me).
31063         * aclocal.m4 (ACX_PKGVERSION): New macro.
31064         (ACX_BUGURL): Likewise.
31065         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31066         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31067         (REPORT_BUGS_TO): Likewise.
31068         * configure: Regenerated.
31069         * config.h.in (PKGVERSION): New macro.
31070         (REPORT_BUGS_TO): Likewise.
31071         * config.make.in (PKGVERSION): New variable.
31072         (PKGVERSION_TEXI): Likewise.
31073         (REPORT_BUGS_TO): Likewise.
31074         (REPORT_BUGS_TEXI): Likewise.
31075         * Makefile (format-me): Use -I$(common-objpfx)manual.
31076         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31077         ($(common-objpfx)manual/%): New target.
31078         (manual/%): Remove target.
31079         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31080         (print_version): Use PKGVERSION.
31081         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31082         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31083         and REPORT_BUGS_TO.
31084         ($(objpfx)xtrace): Likewise.
31085         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31086         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31087         (print_version): Use PKGVERSION.
31088         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31089         (do_version): Use PKGVERSION.
31090         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31091         REPORT_BUGS_TO.
31092         (common-ldd-rewrite): Likewise.
31093         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31094         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31095         (print_version): Use PKGVERSION.
31096         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31097         * elf/pldd.c (argp_program_bug_address): Remove variable.
31098         (more_help): New function.
31099         (argp): Use more_help.
31100         (print_version): Use PKGVERSION.
31101         * elf/sln.c (main): Use PKGVERSION.
31102         (usage): Use REPORT_BUGS_TO.
31103         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31104         (top level): Use PKGVERSION.
31105         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31106         (print_version): Use PKGVERSION.
31107         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31108         (print_version): Use PKGVERSION.
31109         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31110         (print_version): Use PKGVERSION.
31111         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31112         (print_version): Use PKGVERSION.
31113         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31114         (print_version): Use PKGVERSION.
31115         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31116         (print_version): Use PKGVERSION.
31117         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31118         and BUGURL.
31119         ($(objpfx)memusage): Likewise.
31120         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31121         (do_version): Use PKGVERSION.
31122         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31123         (print_version): Use PKGVERSION.
31124         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31125         ($PKGVERSION): New variable.
31126         ($REPORT_BUGS_TO): Likewise.
31127         (usage): Use $REPORT_BUGS_TO.
31128         (top level): Use $PKGVERSION.
31129         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31130         ($(objpfx)pkgvers.texi): New rule.
31131         ($(objpfx)stamp-pkgvers): Likewise.
31132         * manual/install.texi: Include pkgvers.texi.
31133         (--with-pkgversion): Document new configure option.
31134         (--with-bugurl): Likewise.
31135         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31136         than necessarily for this particular distribution.  Use
31137         REPORT_BUGS_TO for where to report bugs.
31138         * INSTALL: Regenerated.
31139         * manual/libc.texinfo: Include pkgvers.texi.
31140         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31141         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31142         (print_version): Use PKGVERSION.
31143         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31144         (print_version): Use PKGVERSION.
31145         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31146         (print_version): Use PKGVERSION.
31147         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31148         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31149         macro.
31150         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31151         (print_version): Use PKGVERSION.
31152         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31153         (print_version): Use PKGVERSION.
31154         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31155         and PKGVERSION.
31157         * timezone/checktab.awk: Update from tzcode 2012i.
31158         * timezone/ialloc.c: Likewise.
31159         * timezone/private.h: Likewise.
31160         * timezone/scheck.c: Likewise.
31161         * timezone/tzfile.h: Likewise.
31162         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31163         (TZVERSION): Hardcode tzcode version number.
31164         * timezone/zdump.c: Update from tzcode 2012i.
31165         * timezone/zic.c: Likewise.
31166         * timezone/version.h: New file.
31167         * timezone/README: Describe version.h.  Update upstream location.
31169         [BZ #14824]
31170         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31171         (mktemp): Enable declaration.
31172         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31173         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31174         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31175         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31176         Likewise.
31177         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31178         Likewise.
31179         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31180         Likewise.
31181         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31182         Likewise.
31183         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31184         Likewise.
31185         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31186         Likewise.
31188         [BZ #14821]
31189         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31190         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31191         for copies of such integer values.
31192         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31193         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31195 2012-11-09  Andreas Jaeger  <aj@suse.de>
31197         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31198         definitions and declarations that are provided by
31199         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31201 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31203         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31204         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31205         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31206         definition.
31208 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31210         * elf/elf.h: Update comment before AArch64 relocations.
31212 2012-11-07  David S. Miller  <davem@davemloft.net>
31214         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31215         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31216         (__start_context): Declare.
31217         (__makecontext_ret): Delete.
31218         (__makecontext): Hook up __start_context instead of
31219         __makecontext_ret.
31220         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31221         (sysdep_routines): Add __start_context when in stdlib.
31223 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31225         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31226         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31227         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31228         hardcoded "nm".
31229         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31230         (READELF): New variable.  Use it instead of hardcoded "readelf".
31232 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31234         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31235         * sysdeps/x86/Makefile: Here.
31236         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31237         * sysdeps/x86/tst-xmmymm.sh: This.
31239 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31241         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31242         expectations.
31243         [UNIX98] (pthread_barrier_t): Do not expect.
31244         [UNIX98] (pthread_barrierattr_t): Likewise.
31245         [UNIX98] (pthread_spinlock_t): Likewise.
31246         [UNIX98] (pthread_barrier_destroy): Likewise.
31247         [UNIX98] (pthread_barrier_init): Likewise.
31248         [UNIX98] (pthread_barrier_wait): Likewise.
31249         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31250         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31251         [UNIX98] (pthread_barrierattr_init): Likewise.
31252         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31253         [UNIX98] (pthread_getcpuclockid): Likewise.
31254         [UNIX98] (pthread_mutex_timedlock): Likewise.
31255         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31256         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31257         [UNIX98] (pthread_sigmask): Likewise.
31258         [UNIX98] (pthread_spin_destroy): Likewise.
31259         [UNIX98] (pthread_spin_init): Likewise.
31260         [UNIX98] (pthread_spin_lock): Likewise.
31261         [UNIX98] (pthread_spin_trylock): Likewise.
31262         [UNIX98] (pthread_spin_unlock): Likewise.
31263         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31264         Do not expect.
31265         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31266         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31267         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31268         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31269         [XPG3 || XPG4] (pthread_key_t): Likewise.
31270         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31271         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31272         [XPG3 || XPG4] (pthread_once_t): Likewise.
31273         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31274         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31275         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31276         [XPG3 || XPG4] (pthread_t): Likewise.
31278         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31279         not expect.
31280         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31282         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31283         Change function return type to int.
31285         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31286         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31287         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31288         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31289         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31290         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31291         [!POSIX] (posix_madvise): Likewise.
31292         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31293         && !UNIX98].
31294         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31295         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31296         (mode_t): Likewise.
31297         (posix_mem_offset): Likewise.
31298         (posix_typed_mem_get_info): Likewise.
31299         (posix_typed_mem_open): Likewise.
31301         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31302         Change condition to [XOPEN2K8].
31304         * conform/conformtest.pl: Preprocess allow-header data with -x c
31305         instead of from stdin.
31306         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31307         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31308         [C99-based standards] (cerfc): Likewise.
31309         [C99-based standards] (cexp2): Likewise.
31310         [C99-based standards] (cexpm1): Likewise.
31311         [C99-based standards] (clog10): Likewise.
31312         [C99-based standards] (clog1p): Likewise.
31313         [C99-based standards] (clog2): Likewise.
31314         [C99-based standards] (clgamma): Likewise.
31315         [C99-based standards] (ctgamma): Likewise.
31316         [C99-based standards] (cerff): Likewise.
31317         [C99-based standards] (cerfcf): Likewise.
31318         [C99-based standards] (cexp2f): Likewise.
31319         [C99-based standards] (cexpm1f): Likewise.
31320         [C99-based standards] (clog10f): Likewise.
31321         [C99-based standards] (clog1pf): Likewise.
31322         [C99-based standards] (clog2f): Likewise.
31323         [C99-based standards] (clgammaf): Likewise.
31324         [C99-based standards] (ctgammaf): Likewise.
31325         [C99-based standards] (cerfl): Likewise.
31326         [C99-based standards] (cerfcl): Likewise.
31327         [C99-based standards] (cexp2l): Likewise.
31328         [C99-based standards] (cexpm1l): Likewise.
31329         [C99-based standards] (clog10l): Likewise.
31330         [C99-based standards] (clog1pl): Likewise.
31331         [C99-based standards] (clog2l): Likewise.
31332         [C99-based standards] (clgammal): Likewise.
31333         [C99-based standards] (ctgammal): Likewise.
31334         * conform/data/inttypes.h-data [C99-based standards]: Include
31335         stdint.h-data.  Remove all expectations for stdint.h contents.
31336         [C99-based standards] (PRI*): Do not allow.
31337         [C99-based standards] (SCN*): Likewise.
31338         [C99-based standards] (*_t): Likewise.
31339         [C99-based-standards] (PRId8): Expect macro.
31340         [C99-based-standards] (PRIi8): Likewise.
31341         [C99-based-standards] (PRIo8): Likewise.
31342         [C99-based-standards] (PRIu8): Likewise.
31343         [C99-based-standards] (PRIx8): Likewise.
31344         [C99-based-standards] (PRIX8): Likewise.
31345         [C99-based-standards] (SCNd8): Likewise.
31346         [C99-based-standards] (SCNi8): Likewise.
31347         [C99-based-standards] (SCNo8): Likewise.
31348         [C99-based-standards] (SCNu8): Likewise.
31349         [C99-based-standards] (SCNx8): Likewise.
31350         [C99-based-standards] (PRIdLEAST8): Likewise.
31351         [C99-based-standards] (PRIiLEAST8): Likewise.
31352         [C99-based-standards] (PRIoLEAST8): Likewise.
31353         [C99-based-standards] (PRIuLEAST8): Likewise.
31354         [C99-based-standards] (PRIxLEAST8): Likewise.
31355         [C99-based-standards] (PRIXLEAST8): Likewise.
31356         [C99-based-standards] (SCNdLEAST8): Likewise.
31357         [C99-based-standards] (SCNiLEAST8): Likewise.
31358         [C99-based-standards] (SCNoLEAST8): Likewise.
31359         [C99-based-standards] (SCNuLEAST8): Likewise.
31360         [C99-based-standards] (SCNxLEAST8): Likewise.
31361         [C99-based-standards] (PRIdFAST8): Likewise.
31362         [C99-based-standards] (PRIiFAST8): Likewise.
31363         [C99-based-standards] (PRIoFAST8): Likewise.
31364         [C99-based-standards] (PRIuFAST8): Likewise.
31365         [C99-based-standards] (PRIxFAST8): Likewise.
31366         [C99-based-standards] (PRIXFAST8): Likewise.
31367         [C99-based-standards] (SCNdFAST8): Likewise.
31368         [C99-based-standards] (SCNiFAST8): Likewise.
31369         [C99-based-standards] (SCNoFAST8): Likewise.
31370         [C99-based-standards] (SCNuFAST8): Likewise.
31371         [C99-based-standards] (SCNxFAST8): Likewise.
31372         [C99-based-standards] (PRId16): Likewise.
31373         [C99-based-standards] (PRIi16): Likewise.
31374         [C99-based-standards] (PRIo16): Likewise.
31375         [C99-based-standards] (PRIu16): Likewise.
31376         [C99-based-standards] (PRIx16): Likewise.
31377         [C99-based-standards] (PRIX16): Likewise.
31378         [C99-based-standards] (SCNd16): Likewise.
31379         [C99-based-standards] (SCNi16): Likewise.
31380         [C99-based-standards] (SCNo16): Likewise.
31381         [C99-based-standards] (SCNu16): Likewise.
31382         [C99-based-standards] (SCNx16): Likewise.
31383         [C99-based-standards] (PRIdLEAST16): Likewise.
31384         [C99-based-standards] (PRIiLEAST16): Likewise.
31385         [C99-based-standards] (PRIoLEAST16): Likewise.
31386         [C99-based-standards] (PRIuLEAST16): Likewise.
31387         [C99-based-standards] (PRIxLEAST16): Likewise.
31388         [C99-based-standards] (PRIXLEAST16): Likewise.
31389         [C99-based-standards] (SCNdLEAST16): Likewise.
31390         [C99-based-standards] (SCNiLEAST16): Likewise.
31391         [C99-based-standards] (SCNoLEAST16): Likewise.
31392         [C99-based-standards] (SCNuLEAST16): Likewise.
31393         [C99-based-standards] (SCNxLEAST16): Likewise.
31394         [C99-based-standards] (PRIdFAST16): Likewise.
31395         [C99-based-standards] (PRIiFAST16): Likewise.
31396         [C99-based-standards] (PRIoFAST16): Likewise.
31397         [C99-based-standards] (PRIuFAST16): Likewise.
31398         [C99-based-standards] (PRIxFAST16): Likewise.
31399         [C99-based-standards] (PRIXFAST16): Likewise.
31400         [C99-based-standards] (SCNdFAST16): Likewise.
31401         [C99-based-standards] (SCNiFAST16): Likewise.
31402         [C99-based-standards] (SCNoFAST16): Likewise.
31403         [C99-based-standards] (SCNuFAST16): Likewise.
31404         [C99-based-standards] (SCNxFAST16): Likewise.
31405         [C99-based-standards] (PRId32): Likewise.
31406         [C99-based-standards] (PRIi32): Likewise.
31407         [C99-based-standards] (PRIo32): Likewise.
31408         [C99-based-standards] (PRIu32): Likewise.
31409         [C99-based-standards] (PRIx32): Likewise.
31410         [C99-based-standards] (PRIX32): Likewise.
31411         [C99-based-standards] (SCNd32): Likewise.
31412         [C99-based-standards] (SCNi32): Likewise.
31413         [C99-based-standards] (SCNo32): Likewise.
31414         [C99-based-standards] (SCNu32): Likewise.
31415         [C99-based-standards] (SCNx32): Likewise.
31416         [C99-based-standards] (PRIdLEAST32): Likewise.
31417         [C99-based-standards] (PRIiLEAST32): Likewise.
31418         [C99-based-standards] (PRIoLEAST32): Likewise.
31419         [C99-based-standards] (PRIuLEAST32): Likewise.
31420         [C99-based-standards] (PRIxLEAST32): Likewise.
31421         [C99-based-standards] (PRIXLEAST32): Likewise.
31422         [C99-based-standards] (SCNdLEAST32): Likewise.
31423         [C99-based-standards] (SCNiLEAST32): Likewise.
31424         [C99-based-standards] (SCNoLEAST32): Likewise.
31425         [C99-based-standards] (SCNuLEAST32): Likewise.
31426         [C99-based-standards] (SCNxLEAST32): Likewise.
31427         [C99-based-standards] (PRIdFAST32): Likewise.
31428         [C99-based-standards] (PRIiFAST32): Likewise.
31429         [C99-based-standards] (PRIoFAST32): Likewise.
31430         [C99-based-standards] (PRIuFAST32): Likewise.
31431         [C99-based-standards] (PRIxFAST32): Likewise.
31432         [C99-based-standards] (PRIXFAST32): Likewise.
31433         [C99-based-standards] (SCNdFAST32): Likewise.
31434         [C99-based-standards] (SCNiFAST32): Likewise.
31435         [C99-based-standards] (SCNoFAST32): Likewise.
31436         [C99-based-standards] (SCNuFAST32): Likewise.
31437         [C99-based-standards] (SCNxFAST32): Likewise.
31438         [C99-based-standards] (PRId64): Likewise.
31439         [C99-based-standards] (PRIi64): Likewise.
31440         [C99-based-standards] (PRIo64): Likewise.
31441         [C99-based-standards] (PRIu64): Likewise.
31442         [C99-based-standards] (PRIx64): Likewise.
31443         [C99-based-standards] (PRIX64): Likewise.
31444         [C99-based-standards] (SCNd64): Likewise.
31445         [C99-based-standards] (SCNi64): Likewise.
31446         [C99-based-standards] (SCNo64): Likewise.
31447         [C99-based-standards] (SCNu64): Likewise.
31448         [C99-based-standards] (SCNx64): Likewise.
31449         [C99-based-standards] (PRIdLEAST64): Likewise.
31450         [C99-based-standards] (PRIiLEAST64): Likewise.
31451         [C99-based-standards] (PRIoLEAST64): Likewise.
31452         [C99-based-standards] (PRIuLEAST64): Likewise.
31453         [C99-based-standards] (PRIxLEAST64): Likewise.
31454         [C99-based-standards] (PRIXLEAST64): Likewise.
31455         [C99-based-standards] (SCNdLEAST64): Likewise.
31456         [C99-based-standards] (SCNiLEAST64): Likewise.
31457         [C99-based-standards] (SCNoLEAST64): Likewise.
31458         [C99-based-standards] (SCNuLEAST64): Likewise.
31459         [C99-based-standards] (SCNxLEAST64): Likewise.
31460         [C99-based-standards] (PRIdFAST64): Likewise.
31461         [C99-based-standards] (PRIiFAST64): Likewise.
31462         [C99-based-standards] (PRIoFAST64): Likewise.
31463         [C99-based-standards] (PRIuFAST64): Likewise.
31464         [C99-based-standards] (PRIxFAST64): Likewise.
31465         [C99-based-standards] (PRIXFAST64): Likewise.
31466         [C99-based-standards] (SCNdFAST64): Likewise.
31467         [C99-based-standards] (SCNiFAST64): Likewise.
31468         [C99-based-standards] (SCNoFAST64): Likewise.
31469         [C99-based-standards] (SCNuFAST64): Likewise.
31470         [C99-based-standards] (SCNxFAST64): Likewise.
31471         [C99-based-standards] (PRIdMAX): Likewise.
31472         [C99-based-standards] (PRIiMAX): Likewise.
31473         [C99-based-standards] (PRIoMAX): Likewise.
31474         [C99-based-standards] (PRIuMAX): Likewise.
31475         [C99-based-standards] (PRIxMAX): Likewise.
31476         [C99-based-standards] (PRIXMAX): Likewise.
31477         [C99-based-standards] (SCNdMAX): Likewise.
31478         [C99-based-standards] (SCNiMAX): Likewise.
31479         [C99-based-standards] (SCNoMAX): Likewise.
31480         [C99-based-standards] (SCNuMAX): Likewise.
31481         [C99-based-standards] (SCNxMAX): Likewise.
31482         [C99-based-standards] (PRIdPTR): Likewise.
31483         [C99-based-standards] (PRIiPTR): Likewise.
31484         [C99-based-standards] (PRIoPTR): Likewise.
31485         [C99-based-standards] (PRIuPTR): Likewise.
31486         [C99-based-standards] (PRIxPTR): Likewise.
31487         [C99-based-standards] (PRIXPTR): Likewise.
31488         [C99-based-standards] (SCNdPTR): Likewise.
31489         [C99-based-standards] (SCNiPTR): Likewise.
31490         [C99-based-standards] (SCNoPTR): Likewise.
31491         [C99-based-standards] (SCNuPTR): Likewise.
31492         [C99-based-standards] (SCNxPTR): Likewise.
31493         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31494         allow.
31495         * conform/data/stdint.h-data: Update comments to clarify
31496         requirements.
31497         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
31498         type.
31499         [C99-based standards] (INT8_MAX): Likewise.
31500         [C99-based standards] (INT16_MIN): Likewise.
31501         [C99-based standards] (INT16_MAX): Likewise.
31502         [C99-based standards] (INT32_MIN): Likewise.
31503         [C99-based standards] (INT32_MAX): Likewise.
31504         [C99-based standards] (INT64_MIN): Likewise.
31505         [C99-based standards] (INT64_MAX): Likewise.
31506         [C99-based standards] (UINT8_MAX): Likewise.
31507         [C99-based standards] (UINT16_MAX): Likewise.
31508         [C99-based standards] (UINT32_MAX): Likewise.
31509         [C99-based standards] (UINT64_MAX): Likewise.
31510         [C99-based standards] (INT_LEAST8_MIN): Likewise.
31511         [C99-based standards] (INT_LEAST8_MAX): Likewise.
31512         [C99-based standards] (INT_LEAST16_MIN): Likewise.
31513         [C99-based standards] (INT_LEAST16_MAX): Likewise.
31514         [C99-based standards] (INT_LEAST32_MIN): Likewise.
31515         [C99-based standards] (INT_LEAST32_MAX): Likewise.
31516         [C99-based standards] (INT_LEAST64_MIN): Likewise.
31517         [C99-based standards] (INT_LEAST64_MAX): Likewise.
31518         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31519         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31520         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31521         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31522         [C99-based standards] (INT_FAST8_MIN): Likewise.
31523         [C99-based standards] (INT_FAST8_MAX): Likewise.
31524         [C99-based standards] (INT_FAST16_MIN): Likewise.
31525         [C99-based standards] (INT_FAST16_MAX): Likewise.
31526         [C99-based standards] (INT_FAST32_MIN): Likewise.
31527         [C99-based standards] (INT_FAST32_MAX): Likewise.
31528         [C99-based standards] (INT_FAST64_MIN): Likewise.
31529         [C99-based standards] (INT_FAST64_MAX): Likewise.
31530         [C99-based standards] (UINT_FAST8_MAX): Likewise.
31531         [C99-based standards] (UINT_FAST16_MAX): Likewise.
31532         [C99-based standards] (UINT_FAST32_MAX): Likewise.
31533         [C99-based standards] (UINT_FAST64_MAX): Likewise.
31534         [C99-based standards] (INTPTR_MIN): Likewise.
31535         [C99-based standards] (INTPTR_MAX): Likewise.
31536         [C99-based standards] (UINTPTR_MAX): Likewise.
31537         [C99-based standards] (INTMAX_MIN): Likewise.
31538         [C99-based standards] (INTMAX_MAX): Likewise.
31539         [C99-based standards] (UINTMAX_MAX): Likewise.
31540         [C99-based standards] (PTRDIFF_MIN): Likewise.
31541         [C99-based standards] (PTRDIFF_MAX): Likewise.
31542         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31543         [C99-based standards] (SIZE_MAX): Likewise.
31544         [C99-based standards] (WCHAR_MAX): Likewise.
31545         [C99-based standards] (WINT_MAX): Likewise.
31546         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
31547         constraint on value.
31548         [C99-based standards] (WCHAR_MIN): Likewise.
31549         [C99-based standards] (WINT_MIN): Likewise.
31550         [C99-based standards] (*_t): Allow.
31551         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31552         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31553         Include math.h-data and complex.h-data.  Remove all expectations
31554         of math.h and complex.h contents.
31555         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31556         at end of line.
31557         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31558         (struct tm): Expect tag.
31559         [C99-based-standards] (wcstof): Expect function.
31560         [C99-based-standards] (wcstold): Likewise.
31561         [C99-based-standards] (wcstoll): Likewise.
31562         [C99-based-standards] (wcstoull): Likewise.
31563         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31564         macro-int-constant.  Specify type.
31565         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
31566         constraint on value.
31567         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31568         Specify type.
31569         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31570         Specify value.
31571         [ISO C standards]: Do not allow headers.
31572         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31573         wcs[abcdefghijklmnopqrstuvwxyz]*.
31574         [ISO C standards] (*_t): Do not allow.
31575         * conform/data/wctype.h-data [C99-based standards] (iswblank):
31576         Expect function.
31577         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31578         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31579         Specify type.
31580         [ISO C standards]: Do not allow headers.
31581         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31582         is[abcdefghijklmnopqrstuvwxyz]*.
31583         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31584         to[abcdefghijklmnopqrstuvwxyz]*.
31585         [ISO C standards] (*_t): Do not allow.
31586         * conform/data/stdalign.h-data: New file.
31587         * conform/data/stdbool.h-data: Likewise.
31588         * conform/data/stdnoreturn.h-data: Likewise.
31590 2012-11-07  Roland McGrath  <roland@hack.frob.com>
31592         [BZ #14815]
31593         * manual/filesys.texi (Directory Entries): Typo fix.
31594         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31596 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31598         * elf/elf.h (EM_AARCH64): New macro.
31599         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31600         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31601         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31602         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31603         (R_AARCH64_TLSDESC): Likewise.
31604         (NT_ARM_TLS): Likewise.
31605         (NT_ARM_HW_BREAK): Likewise.
31606         (NT_ARM_HW_WATCH): Likewise.
31608 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31610         [BZ #14811]
31611         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31612         (__ieee754_powl): Saturate nonzero exponents with absolute value
31613         below 0x1p-79 to +/- 0x1p-79.
31614         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31615         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31616         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31617         nonzero exponents with absolute value below 0x1p-32 to +/-
31618         0x1p-32.
31619         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31620         (__ieee754_powl): Saturate nonzero exponents with absolute value
31621         below 0x1p-79 to +/- 0x1p-79.
31622         * math/libm-test.inc (pow_test): Add more tests.
31624 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31626         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31627         _dl_s390_cap_flags with kernel. Increase string length.
31628         (_dl_s390_platforms): Add z196 and zEC12.
31630 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31632         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31633         Change XOPEN21K to XOPEN2K.
31635 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
31637         * string/memmove.c: Use memcpy when possible.
31639 2012-11-06  Andreas Jaeger  <aj@suse.de>
31641         * po/eo.po: Update from translation team.
31643 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
31645         [BZ #14793]
31646         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31647         exponent and small x and y exponents, scale x or y up.  Increase
31648         by 2 the exponent used in scaling up.
31649         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31650         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31651         * math/libm-test.inc (fma_test): Add more tests.
31652         (fma_test_towardzero): Likewise.
31653         (fma_test_downward): Likewise.
31654         (fma_test_upward): Likewise.
31656 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
31658         [BZ #14805]
31659         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31660         fenv_t *.
31662         [BZ #14801]
31663         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31664         namespace for names of struct fields.
31665         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31666         fenv_t fields.
31667         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31668         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31670 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31672         [BZ #3665]
31673         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31675 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31677         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31678         PTR_DEMANGLE.
31680         [BZ #5246]
31681         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31682         PTR_DEMANGLE.
31684 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31686         [BZ #14797]
31687         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31688         definitely overflow as x * y not x * y + z.
31689         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31690         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31691         * math/libm-test.inc (fma_test): Add more tests.
31692         (fma_test_towardzero): Likewise.
31693         (fma_test_downward): Likewise.
31694         (fma_test_upward): Likewise.
31696 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31698         [BZ #157]
31700         * include/stub-tag.h: Remove file.
31701         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31702         '#include' of it.
31703         * manual/maint.texi (Porting): Don't reference it.
31704         * Makerules ($(objpfx)stubs): Likewise.
31705         * dirent/closedir.c: Don't include <stub-tag.h>.
31706         * dirent/dirfd.c: Likewise.
31707         * dirent/fdopendir.c: Likewise.
31708         * dirent/getdents.c: Likewise.
31709         * dirent/getdents64.c: Likewise.
31710         * dirent/opendir.c: Likewise.
31711         * dirent/readdir.c: Likewise.
31712         * dirent/readdir64.c: Likewise.
31713         * dirent/readdir64_r.c: Likewise.
31714         * dirent/readdir_r.c: Likewise.
31715         * dirent/rewinddir.c: Likewise.
31716         * dirent/seekdir.c: Likewise.
31717         * dirent/telldir.c: Likewise.
31718         * gmon/profil.c: Likewise.
31719         * grp/setgroups.c: Likewise.
31720         * inet/if_index.c: Likewise.
31721         * io/access.c: Likewise.
31722         * io/chdir.c: Likewise.
31723         * io/chmod.c: Likewise.
31724         * io/chown.c: Likewise.
31725         * io/close.c: Likewise.
31726         * io/dup.c: Likewise.
31727         * io/dup2.c: Likewise.
31728         * io/dup3.c: Likewise.
31729         * io/euidaccess.c: Likewise.
31730         * io/faccessat.c: Likewise.
31731         * io/fchdir.c: Likewise.
31732         * io/fchmod.c: Likewise.
31733         * io/fchmodat.c: Likewise.
31734         * io/fchown.c: Likewise.
31735         * io/fchownat.c: Likewise.
31736         * io/fcntl.c: Likewise.
31737         * io/flock.c: Likewise.
31738         * io/fstatfs.c: Likewise.
31739         * io/fstatfs64.c: Likewise.
31740         * io/fstatvfs.c: Likewise.
31741         * io/fstatvfs64.c: Likewise.
31742         * io/futimens.c: Likewise.
31743         * io/fxstat.c: Likewise.
31744         * io/fxstat64.c: Likewise.
31745         * io/fxstatat.c: Likewise.
31746         * io/fxstatat64.c: Likewise.
31747         * io/getcwd.c: Likewise.
31748         * io/isatty.c: Likewise.
31749         * io/lchmod.c: Likewise.
31750         * io/lchown.c: Likewise.
31751         * io/link.c: Likewise.
31752         * io/linkat.c: Likewise.
31753         * io/lseek.c: Likewise.
31754         * io/lseek64.c: Likewise.
31755         * io/lxstat64.c: Likewise.
31756         * io/mkdir.c: Likewise.
31757         * io/mkdirat.c: Likewise.
31758         * io/mkfifo.c: Likewise.
31759         * io/mkfifoat.c: Likewise.
31760         * io/open.c: Likewise.
31761         * io/open64.c: Likewise.
31762         * io/openat.c: Likewise.
31763         * io/openat64.c: Likewise.
31764         * io/pipe.c: Likewise.
31765         * io/pipe2.c: Likewise.
31766         * io/poll.c: Likewise.
31767         * io/posix_fadvise.c: Likewise.
31768         * io/posix_fadvise64.c: Likewise.
31769         * io/posix_fallocate.c: Likewise.
31770         * io/posix_fallocate64.c: Likewise.
31771         * io/read.c: Likewise.
31772         * io/readlink.c: Likewise.
31773         * io/readlinkat.c: Likewise.
31774         * io/rmdir.c: Likewise.
31775         * io/sendfile.c: Likewise.
31776         * io/sendfile64.c: Likewise.
31777         * io/statfs.c: Likewise.
31778         * io/statfs64.c: Likewise.
31779         * io/statvfs.c: Likewise.
31780         * io/statvfs64.c: Likewise.
31781         * io/symlink.c: Likewise.
31782         * io/symlinkat.c: Likewise.
31783         * io/ttyname.c: Likewise.
31784         * io/ttyname_r.c: Likewise.
31785         * io/umask.c: Likewise.
31786         * io/unlink.c: Likewise.
31787         * io/unlinkat.c: Likewise.
31788         * io/utime.c: Likewise.
31789         * io/utimensat.c: Likewise.
31790         * io/write.c: Likewise.
31791         * io/xmknod.c: Likewise.
31792         * io/xmknodat.c: Likewise.
31793         * io/xstat.c: Likewise.
31794         * io/xstat64.c: Likewise.
31795         * login/getpt.c: Likewise.
31796         * login/grantpt.c: Likewise.
31797         * login/unlockpt.c: Likewise.
31798         * math/e_acoshl.c: Likewise.
31799         * math/e_acosl.c: Likewise.
31800         * math/e_asinl.c: Likewise.
31801         * math/e_atan2l.c: Likewise.
31802         * math/e_atanhl.c: Likewise.
31803         * math/e_coshl.c: Likewise.
31804         * math/e_expl.c: Likewise.
31805         * math/e_fmodl.c: Likewise.
31806         * math/e_gammal_r.c: Likewise.
31807         * math/e_hypotl.c: Likewise.
31808         * math/e_j0l.c: Likewise.
31809         * math/e_j1l.c: Likewise.
31810         * math/e_jnl.c: Likewise.
31811         * math/e_lgammal_r.c: Likewise.
31812         * math/e_log10l.c: Likewise.
31813         * math/e_log2l.c: Likewise.
31814         * math/e_logl.c: Likewise.
31815         * math/e_powl.c: Likewise.
31816         * math/e_rem_pio2l.c: Likewise.
31817         * math/e_sinhl.c: Likewise.
31818         * math/e_sqrtl.c: Likewise.
31819         * math/fclrexcpt.c: Likewise.
31820         * math/fedisblxcpt.c: Likewise.
31821         * math/feenablxcpt.c: Likewise.
31822         * math/fegetenv.c: Likewise.
31823         * math/fegetexcept.c: Likewise.
31824         * math/fegetround.c: Likewise.
31825         * math/feholdexcpt.c: Likewise.
31826         * math/fesetenv.c: Likewise.
31827         * math/fesetround.c: Likewise.
31828         * math/feupdateenv.c: Likewise.
31829         * math/fgetexcptflg.c: Likewise.
31830         * math/fraiseexcpt.c: Likewise.
31831         * math/fsetexcptflg.c: Likewise.
31832         * math/ftestexcept.c: Likewise.
31833         * math/k_cosl.c: Likewise.
31834         * math/k_rem_pio2l.c: Likewise.
31835         * math/k_sinl.c: Likewise.
31836         * math/k_tanl.c: Likewise.
31837         * math/s_asinhl.c: Likewise.
31838         * math/s_atanl.c: Likewise.
31839         * math/s_cbrtl.c: Likewise.
31840         * math/s_erfl.c: Likewise.
31841         * math/s_expm1l.c: Likewise.
31842         * math/s_log1pl.c: Likewise.
31843         * math/s_tanhl.c: Likewise.
31844         * misc/acct.c: Likewise.
31845         * misc/brk.c: Likewise.
31846         * misc/chflags.c: Likewise.
31847         * misc/chroot.c: Likewise.
31848         * misc/fchflags.c: Likewise.
31849         * misc/fgetxattr.c: Likewise.
31850         * misc/flistxattr.c: Likewise.
31851         * misc/fremovexattr.c: Likewise.
31852         * misc/fsetxattr.c: Likewise.
31853         * misc/fsync.c: Likewise.
31854         * misc/ftruncate.c: Likewise.
31855         * misc/futimes.c: Likewise.
31856         * misc/futimesat.c: Likewise.
31857         * misc/getdomain.c: Likewise.
31858         * misc/getdtsz.c: Likewise.
31859         * misc/gethostid.c: Likewise.
31860         * misc/gethostname.c: Likewise.
31861         * misc/getloadavg.c: Likewise.
31862         * misc/getpagesize.c: Likewise.
31863         * misc/getsysstats.c: Likewise.
31864         * misc/getxattr.c: Likewise.
31865         * misc/gtty.c: Likewise.
31866         * misc/ioctl.c: Likewise.
31867         * misc/lgetxattr.c: Likewise.
31868         * misc/listxattr.c: Likewise.
31869         * misc/llistxattr.c: Likewise.
31870         * misc/lremovexattr.c: Likewise.
31871         * misc/lsetxattr.c: Likewise.
31872         * misc/lutimes.c: Likewise.
31873         * misc/madvise.c: Likewise.
31874         * misc/mincore.c: Likewise.
31875         * misc/mlock.c: Likewise.
31876         * misc/mlockall.c: Likewise.
31877         * misc/mmap.c: Likewise.
31878         * misc/mprotect.c: Likewise.
31879         * misc/msync.c: Likewise.
31880         * misc/munlock.c: Likewise.
31881         * misc/munlockall.c: Likewise.
31882         * misc/munmap.c: Likewise.
31883         * misc/preadv.c: Likewise.
31884         * misc/preadv64.c: Likewise.
31885         * misc/ptrace.c: Likewise.
31886         * misc/pwritev.c: Likewise.
31887         * misc/pwritev64.c: Likewise.
31888         * misc/readv.c: Likewise.
31889         * misc/reboot.c: Likewise.
31890         * misc/remap_file_pages.c: Likewise.
31891         * misc/removexattr.c: Likewise.
31892         * misc/revoke.c: Likewise.
31893         * misc/select.c: Likewise.
31894         * misc/setdomain.c: Likewise.
31895         * misc/setegid.c: Likewise.
31896         * misc/seteuid.c: Likewise.
31897         * misc/sethostid.c: Likewise.
31898         * misc/sethostname.c: Likewise.
31899         * misc/setregid.c: Likewise.
31900         * misc/setreuid.c: Likewise.
31901         * misc/setxattr.c: Likewise.
31902         * misc/sstk.c: Likewise.
31903         * misc/stty.c: Likewise.
31904         * misc/swapoff.c: Likewise.
31905         * misc/swapon.c: Likewise.
31906         * misc/sync.c: Likewise.
31907         * misc/syncfs.c: Likewise.
31908         * misc/syscall.c: Likewise.
31909         * misc/truncate.c: Likewise.
31910         * misc/ualarm.c: Likewise.
31911         * misc/usleep.c: Likewise.
31912         * misc/ustat.c: Likewise.
31913         * misc/utimes.c: Likewise.
31914         * misc/vhangup.c: Likewise.
31915         * misc/writev.c: Likewise.
31916         * posix/_exit.c: Likewise.
31917         * posix/alarm.c: Likewise.
31918         * posix/execve.c: Likewise.
31919         * posix/fexecve.c: Likewise.
31920         * posix/fork.c: Likewise.
31921         * posix/fpathconf.c: Likewise.
31922         * posix/getaddrinfo.c: Likewise.
31923         * posix/getegid.c: Likewise.
31924         * posix/geteuid.c: Likewise.
31925         * posix/getgid.c: Likewise.
31926         * posix/getgroups.c: Likewise.
31927         * posix/getlogin.c: Likewise.
31928         * posix/getlogin_r.c: Likewise.
31929         * posix/getpgid.c: Likewise.
31930         * posix/getpid.c: Likewise.
31931         * posix/getppid.c: Likewise.
31932         * posix/getresgid.c: Likewise.
31933         * posix/getresuid.c: Likewise.
31934         * posix/getsid.c: Likewise.
31935         * posix/getuid.c: Likewise.
31936         * posix/glob64.c: Likewise.
31937         * posix/nanosleep.c: Likewise.
31938         * posix/pathconf.c: Likewise.
31939         * posix/pause.c: Likewise.
31940         * posix/posix_madvise.c: Likewise.
31941         * posix/pread.c: Likewise.
31942         * posix/pread64.c: Likewise.
31943         * posix/pwrite.c: Likewise.
31944         * posix/pwrite64.c: Likewise.
31945         * posix/sched_getaffinity.c: Likewise.
31946         * posix/sched_getp.c: Likewise.
31947         * posix/sched_gets.c: Likewise.
31948         * posix/sched_primax.c: Likewise.
31949         * posix/sched_primin.c: Likewise.
31950         * posix/sched_rr_gi.c: Likewise.
31951         * posix/sched_setaffinity.c: Likewise.
31952         * posix/sched_setp.c: Likewise.
31953         * posix/sched_sets.c: Likewise.
31954         * posix/sched_yield.c: Likewise.
31955         * posix/setgid.c: Likewise.
31956         * posix/setlogin.c: Likewise.
31957         * posix/setpgid.c: Likewise.
31958         * posix/setresgid.c: Likewise.
31959         * posix/setresuid.c: Likewise.
31960         * posix/setsid.c: Likewise.
31961         * posix/setuid.c: Likewise.
31962         * posix/sleep.c: Likewise.
31963         * posix/spawni.c: Likewise.
31964         * posix/sysconf.c: Likewise.
31965         * posix/times.c: Likewise.
31966         * posix/wait.c: Likewise.
31967         * posix/wait3.c: Likewise.
31968         * posix/wait4.c: Likewise.
31969         * posix/waitpid.c: Likewise.
31970         * resolv/gai_sigqueue.c: Likewise.
31971         * resource/getpriority.c: Likewise.
31972         * resource/getrlimit.c: Likewise.
31973         * resource/getrusage.c: Likewise.
31974         * resource/nice.c: Likewise.
31975         * resource/setpriority.c: Likewise.
31976         * resource/setrlimit.c: Likewise.
31977         * resource/ulimit.c: Likewise.
31978         * rt/aio_cancel.c: Likewise.
31979         * rt/aio_fsync.c: Likewise.
31980         * rt/aio_read.c: Likewise.
31981         * rt/aio_sigqueue.c: Likewise.
31982         * rt/aio_suspend.c: Likewise.
31983         * rt/aio_write.c: Likewise.
31984         * rt/clock_getres.c: Likewise.
31985         * rt/clock_gettime.c: Likewise.
31986         * rt/clock_nanosleep.c: Likewise.
31987         * rt/clock_settime.c: Likewise.
31988         * rt/lio_listio.c: Likewise.
31989         * rt/mq_close.c: Likewise.
31990         * rt/mq_getattr.c: Likewise.
31991         * rt/mq_notify.c: Likewise.
31992         * rt/mq_open.c: Likewise.
31993         * rt/mq_receive.c: Likewise.
31994         * rt/mq_send.c: Likewise.
31995         * rt/mq_setattr.c: Likewise.
31996         * rt/mq_timedreceive.c: Likewise.
31997         * rt/mq_timedsend.c: Likewise.
31998         * rt/mq_unlink.c: Likewise.
31999         * rt/shm_open.c: Likewise.
32000         * rt/shm_unlink.c: Likewise.
32001         * rt/timer_create.c: Likewise.
32002         * rt/timer_delete.c: Likewise.
32003         * rt/timer_getoverr.c: Likewise.
32004         * rt/timer_gettime.c: Likewise.
32005         * rt/timer_settime.c: Likewise.
32006         * setjmp/__longjmp.c: Likewise.
32007         * setjmp/setjmp.c: Likewise.
32008         * signal/kill.c: Likewise.
32009         * signal/killpg.c: Likewise.
32010         * signal/raise.c: Likewise.
32011         * signal/sigaction.c: Likewise.
32012         * signal/sigaltstack.c: Likewise.
32013         * signal/sigblock.c: Likewise.
32014         * signal/sigignore.c: Likewise.
32015         * signal/sigintr.c: Likewise.
32016         * signal/signal.c: Likewise.
32017         * signal/sigpause.c: Likewise.
32018         * signal/sigpending.c: Likewise.
32019         * signal/sigqueue.c: Likewise.
32020         * signal/sigreturn.c: Likewise.
32021         * signal/sigset.c: Likewise.
32022         * signal/sigsetmask.c: Likewise.
32023         * signal/sigstack.c: Likewise.
32024         * signal/sigsuspend.c: Likewise.
32025         * signal/sigtimedwait.c: Likewise.
32026         * signal/sigvec.c: Likewise.
32027         * signal/sigwait.c: Likewise.
32028         * signal/sigwaitinfo.c: Likewise.
32029         * signal/sysv_signal.c: Likewise.
32030         * socket/accept.c: Likewise.
32031         * socket/accept4.c: Likewise.
32032         * socket/bind.c: Likewise.
32033         * socket/connect.c: Likewise.
32034         * socket/getpeername.c: Likewise.
32035         * socket/getsockname.c: Likewise.
32036         * socket/getsockopt.c: Likewise.
32037         * socket/isfdtype.c: Likewise.
32038         * socket/listen.c: Likewise.
32039         * socket/recv.c: Likewise.
32040         * socket/recvfrom.c: Likewise.
32041         * socket/recvmsg.c: Likewise.
32042         * socket/send.c: Likewise.
32043         * socket/sendmsg.c: Likewise.
32044         * socket/sendto.c: Likewise.
32045         * socket/setsockopt.c: Likewise.
32046         * socket/shutdown.c: Likewise.
32047         * socket/sockatmark.c: Likewise.
32048         * socket/socket.c: Likewise.
32049         * socket/socketpair.c: Likewise.
32050         * stdio-common/ctermid.c: Likewise.
32051         * stdio-common/cuserid.c: Likewise.
32052         * stdio-common/remove.c: Likewise.
32053         * stdio-common/rename.c: Likewise.
32054         * stdio-common/renameat.c: Likewise.
32055         * stdio-common/tempname.c: Likewise.
32056         * stdlib/getcontext.c: Likewise.
32057         * stdlib/makecontext.c: Likewise.
32058         * stdlib/setcontext.c: Likewise.
32059         * stdlib/swapcontext.c: Likewise.
32060         * stdlib/system.c: Likewise.
32061         * streams/fattach.c: Likewise.
32062         * streams/fdetach.c: Likewise.
32063         * streams/getmsg.c: Likewise.
32064         * streams/getpmsg.c: Likewise.
32065         * streams/putmsg.c: Likewise.
32066         * streams/putpmsg.c: Likewise.
32067         * sysdeps/unix/bsd/getpt.c: Likewise.
32068         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32069         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32070         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32072         Likewise.
32073         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32074         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32075         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32076         * sysvipc/msgctl.c: Likewise.
32077         * sysvipc/msgget.c: Likewise.
32078         * sysvipc/msgrcv.c: Likewise.
32079         * sysvipc/msgsnd.c: Likewise.
32080         * sysvipc/semctl.c: Likewise.
32081         * sysvipc/semget.c: Likewise.
32082         * sysvipc/semop.c: Likewise.
32083         * sysvipc/semtimedop.c: Likewise.
32084         * sysvipc/shmat.c: Likewise.
32085         * sysvipc/shmctl.c: Likewise.
32086         * sysvipc/shmdt.c: Likewise.
32087         * sysvipc/shmget.c: Likewise.
32088         * termios/tcdrain.c: Likewise.
32089         * termios/tcflow.c: Likewise.
32090         * termios/tcflush.c: Likewise.
32091         * termios/tcgetattr.c: Likewise.
32092         * termios/tcgetpgrp.c: Likewise.
32093         * termios/tcsendbrk.c: Likewise.
32094         * termios/tcsetattr.c: Likewise.
32095         * termios/tcsetpgrp.c: Likewise.
32096         * time/adjtime.c: Likewise.
32097         * time/clock.c: Likewise.
32098         * time/getitimer.c: Likewise.
32099         * time/gettimeofday.c: Likewise.
32100         * time/setitimer.c: Likewise.
32101         * time/settimeofday.c: Likewise.
32102         * time/stime.c: Likewise.
32103         * time/time.c: Likewise.
32105 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32107         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32108         /usr/old/bin.
32110         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32111         instead of spaces.
32112         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32114 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32116         [BZ #14796]
32117         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32118         FE_TONEAREST before applying Dekker multiplication and Knuth
32119         addition.  Clear inexact exceptions and check for exact zero
32120         results afterwards.
32121         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32122         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32124         * math/libm-test.inc (fma_test): Add more tests.
32125         (fma_test_towardzero): Likewise.
32126         (fma_test_downward): Likewise.
32127         (fma_test_upward): Likewise.
32128         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32129         function.
32130         (libc_fesetround): New macro.
32131         (libc_fesetroundf): Likewise.
32132         (libc_fesetroundl): Likewise.
32133         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32134         function.
32135         (libc_fesetround_387): Likewise.
32136         (libc_fesetroundf): New macro.
32137         (libc_fesetround): Likewise.
32138         (libc_fesetroundl): Likewise.
32139         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32140         function.
32141         (libc_fesetroundf): New macro.
32142         (libc_fesetround): Likewise.
32143         (libc_fesetroundl): Likewise.
32144         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32145         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32146         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32147         libm_hidden_ver.
32148         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32149         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32150         libm_hidden_def.
32151         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32152         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32153         libm_hidden_ver.
32154         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32155         libm_hidden_def.
32157         [BZ #3439]
32158         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32159         integer constant usable in #if and use that to give value to enum
32160         constant.
32161         (FE_DIVBYZERO): Likewise.
32162         (FE_UNDERFLOW): Likewise.
32163         (FE_OVERFLOW): Likewise.
32164         (FE_INVALID): Likewise.
32165         (FE_INVALID_SNAN): Likewise.
32166         (FE_INVALID_ISI): Likewise.
32167         (FE_INVALID_IDI): Likewise.
32168         (FE_INVALID_ZDZ): Likewise.
32169         (FE_INVALID_IMZ): Likewise.
32170         (FE_INVALID_COMPARE): Likewise.
32171         (FE_INVALID_SOFTWARE): Likewise.
32172         (FE_INVALID_SQRT): Likewise.
32173         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32174         (FE_TONEAREST): Likewise.
32175         (FE_TOWARDZERO): Likewise.
32176         (FE_UPWARD): Likewise.
32177         (FE_DOWNWARD): Likewise.
32178         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32179         (FE_DIVBYZERO): Likewise.
32180         (FE_OVERFLOW): Likewise.
32181         (FE_UNDERFLOW): Likewise.
32182         (FE_INEXACT): Likewise.
32183         (FE_TONEAREST): Likewise.
32184         (FE_DOWNWARD): Likewise.
32185         (FE_UPWARD): Likewise.
32186         (FE_TOWARDZERO): Likewise.
32187         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32188         (FE_UNDERFLOW): Likewise.
32189         (FE_OVERFLOW): Likewise.
32190         (FE_DIVBYZERO): Likewise.
32191         (FE_INVALID): Likewise.
32192         (FE_TONEAREST): Likewise.
32193         (FE_TOWARDZERO): Likewise.
32194         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32195         (FE_OVERFLOW): Likewise.
32196         (FE_UNDERFLOW): Likewise.
32197         (FE_DIVBYZERO): Likewise.
32198         (FE_INEXACT): Likewise.
32199         (FE_TONEAREST): Likewise.
32200         (FE_TOWARDZERO): Likewise.
32201         (FE_UPWARD): Likewise.
32202         (FE_DOWNWARD): Likewise.
32203         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32204         (FE_DIVBYZERO): Likewise.
32205         (FE_OVERFLOW): Likewise.
32206         (FE_UNDERFLOW): Likewise.
32207         (FE_INEXACT): Likewise.
32208         (FE_TONEAREST): Likewise.
32209         (FE_DOWNWARD): Likewise.
32210         (FE_UPWARD): Likewise.
32211         (FE_TOWARDZERO): Likewise.
32213 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32215         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32217 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32219         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32220         commands.  Quote $PWD.
32221         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32222         -x" by "export".
32223         (remove_newlines): Remove.
32225 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32227         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32228         * stdlib/stdlib.h (atof): Moved to ...
32229         * include/bits/stdlib-float.h: Here.  New file.
32230         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32231         * stdlib/bits/stdlib-float.h: New file.
32232         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32233         -mno-sse -mno-mmx.
32234         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32235         <xmmintrin.h>.
32237 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32239         * conform/conformtest.pl (@headers): Add fenv.h.
32240         * conform/data/fenv.h-data: New file.
32241         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32242         include of <math/fenv.h>.
32244         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32245         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32246         && !UNIX98].  Enables tests for XOPEN2K8.
32247         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32248         POSIX2008]: Likewise.
32250         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32251         (struct rusage): Do not expect type or its members.
32253         [BZ #3439]
32254         * math/math.h (FP_NAN): Define macro to integer constant usable in
32255         #if and use that to give value to enum constant.
32256         (FP_INFINITE): Likewise.
32257         (FP_ZERO): Likewise.
32258         (FP_SUBNORMAL): Likewise.
32259         (FP_NORMAL): Likewise.
32261 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32263         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32264         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32265         arguments.
32267 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32269         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32270         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32271         autoconf-time if not.
32272         * configure.in: Remove AC_PREREQ.
32274 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32276         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32277         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32278         of the internal implementation.
32280 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32282         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32283         except include of <misc/sys/syslog.h>.
32285 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32288         function returns with a NULL context exit with zero.
32290 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32292         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32294 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32296         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32297         (run_program_cmd): This.
32298         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32299         (tst_langinfo): New variable.  Use it.
32301 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32303         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32304         floating point opcodes.
32306 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32308         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32309         variable.
32311         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32313         * sysdeps/mach/hurd/powerpc: Remove directory.
32314         * sysdeps/mach/powerpc: Likewise.
32316 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32318         * scripts/check-local-headers.sh: Ignore c++ headers.
32320 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32322         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32323         __libc_cleanup_region_start argument.
32325 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32327         [BZ #14784]
32328         [BZ #14785]
32329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32330         x * y using scaling, not as x * y + z.
32331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32333         * math/libm-test.inc (fma_test): Add more tests.
32334         (fma_test_towardzero): Likewise.
32335         (fma_test_downward): Likewise.
32336         (fma_test_upward): Likewise.
32338 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32340         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32342 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32344         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32345         New variable.
32347 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32349         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32351 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32354         Fix sort order.
32355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32356         Likewise.
32358 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32361         Fix the order of the list for glibc 2.17.
32362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32363         Likewise.
32365 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32369 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32371         [BZ #14610]
32372         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32373         for low part of x being zero before using __atanl (y).
32374         * math/libm-test.inc (atan2_test): Add another test.
32376         * manual/install.texi (Configuring and compiling): Document
32377         general use of test-wrapper and test-wrapper-env.
32378         * INSTALL: Regenerated.
32380         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32381         (__fma): Do not extract and scale down low bits on after-rounding
32382         systems when result rounded to normal precision would have normal
32383         exponent.
32384         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32385         (__fmal): Do not extract and scale down low bits on after-rounding
32386         systems when result rounded to normal precision would have normal
32387         exponent.
32388         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32389         (__fmal): Do not extract and scale down low bits on after-rounding
32390         systems when result rounded to normal precision would have normal
32391         exponent.
32392         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32393         macro.
32394         (fma_test): Add more tests.
32395         (fma_test_towardzero): Likewise.
32396         (fma_test_downward): Likewise.
32397         (fma_test_upward): Likewise.
32399 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
32401         * sysdeps/i386/tininess.h: Renamed to ...
32402         * sysdeps/x86/tininess.h: This.
32403         * sysdeps/x86_64/tininess.h: Removed.
32405 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32407         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32408         input.  Use $(build-program-cmd).
32409         ($(objpfx)tst-array1-static.out): Likewise.
32410         ($(objpfx)tst-array2.out): Likewise.
32411         ($(objpfx)tst-array3.out): Likewise.
32412         ($(objpfx)tst-array4.out): Likewise.
32413         ($(objpfx)tst-array5.out): Likewise.
32414         ($(objpfx)tst-array5-static.out): Likewise.
32416 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
32418         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32419         if defined.
32421         * nss/nsswitch.h (nss_interface_function): Provide new
32422         macro for use with NSS functions.
32423         * grp/initgroups.c: Use new macro.
32424         * nss/getXXbyYY.c: Likewise.
32425         * nss/getXXbyYY_r.c: Likewise.
32426         * nss/getXXent.c: Likewise.
32427         * nss/getXXent_r.c: Likewise.
32428         * sysdeps/posix/getaddrinfo.c: Likewise.
32430 2012-10-30  Andreas Jaeger  <aj@suse.de>
32432         * po/ru.po: Update Russion translation from translation project.
32434 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32436         [BZ #14152]
32437         [BZ #14783]
32438         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32439         result and shift together with sticky bit instead of replicating
32440         round-to-nearest rounding.
32441         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32442         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32443         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
32444         missing underflow exceptions.
32445         (fma_test_towardzero): Add more tests.
32446         (fma_test_downward): Likewise.
32447         (fma_test_upward): Likewise.
32449         [BZ #14047]
32450         * sysdeps/generic/tininess.h: New file.
32451         * sysdeps/i386/tininess.h: Likewise.
32452         * sysdeps/sh/tininess.h: Likewise.
32453         * sysdeps/x86_64/tininess.h: Likewise.
32454         * stdlib/tst-strtod-underflow.c: Likewise.
32455         * stdlib/tst-tininess.c: Likewise.
32456         * stdlib/strtod_l.c: Include <tininess.h>.
32457         (round_and_return): Do not set errno for exact underflow cases.
32458         Force an underflow exception when setting errno for underflow.
32459         Determine underflow based on rounding to normal precision if
32460         TININESS_AFTER_ROUNDING.
32461         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32462         ERANGE for exact underflow cases.
32463         * stdlib/Makefile (tests): Add tst-tininess and
32464         tst-strtod-underflow.
32465         ($(objpfx)tst-tininess): Use $(link-libm).
32466         ($(objpfx)tst-strtod-underflow): Likewise.
32468 2012-10-30  Andreas Jaeger  <aj@suse.de>
32470         [BZ#14767]
32471         * elf/Makefile (tests): Remove conditional for have-initfini-array
32472         since this is now always required and the variable does not exist
32473         anymore.
32474         (tests-static): Likewise.
32475         (modules-names): Likewise.
32477         * po/eo.po: Add Esperanto translation from translation project.
32479         * elf/tst-array1.c (fini_array): Make writeable so that it can be
32480         merged with constructor/destructor.
32481         (init_array): Likewise.
32482         * elf/tst-array2dep.c (fini_array): Likewise.
32483         (init_array): Likewise.
32485 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
32487         * manual/message.texi: Delete @cartouche tags.
32489 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
32491         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32492         EOPNOTSUPP.
32493         * sysdeps/mach/hurd/fsync.c: Likewise.
32495         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32496         [_POSIX_REALTIME_SIGNALS]: Change condition to
32497         [_POSIX_REALTIME_SIGNALS > 0].
32499 2012-10-27  Andreas Jaeger  <aj@suse.de>
32501         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32502         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32503         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32504         [__WORDSIZE != 64]: Likewise.
32506 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
32508         *  iconvdata/tst-table.sh: Remove ${SHELL}.
32509         *  iconvdata/tst-tables.sh: Likewise.
32511 2012-10-25  David S. Miller  <davem@davemloft.net>
32513         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32514         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32515         of strtoull.
32517         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32518         ifunc-impl-list.c
32519         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32520         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32521         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32522         file.
32524 2012-10-25  Roland McGrath  <roland@hack.frob.com>
32526         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32527         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32528         __getdirentries.
32530 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32531             Jim Blandy  <jimb@codesourcery.com>
32533         * scripts/cross-test-ssh.sh: New file.
32534         * manual/install.texi (Configuring and compiling): Document use of
32535         cross-test-ssh.sh.
32536         * INSTALL: Regenerated.
32538 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
32540         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32541         EOPNOTSUPP.
32543 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32545         * Makeconfig (run-program-prefix): Fix comment.
32547 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32548             Jim Blandy  <jimb@codesourcery.com>
32550         * Makeconfig (test-wrapper): New variable,
32551         (test-wrapper-env): Likewise.
32552         [$(cross-compiling) = yes && $(test-wrapper) != ""]
32553         (run-built-tests): Define to yes.
32554         (run-program-prefix): Use $(test-wrapper).
32555         (built-program-cmd): Likewise.
32556         * Rules (make-test-out): Use $(test-wrapper-env) and
32557         $(host-built-program-cmd).
32558         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32559         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32560         tst-pathopt.sh.
32561         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32562         $(test-wrapper-env) to tst-rtld-load-self.sh.
32563         ($(objpfx)order2.out): Use $(test-wrapper).
32564         ($(objpfx)tst-initorder.out): Likewise.
32565         ($(objpfx)tst-initorder2.out): Likewise.
32566         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32567         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32568         (test_wrapper_env): New variable.  Use it to run ld.so.
32569         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32570         Use it to run ld.so.
32571         (test_wrapper_env): Likewise.
32572         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32573         $(test-wrapper) to run-iconv-test.sh.
32574         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32575         (ICONV): Use $test_wrapper.
32576         * posix/Makefile ($(objpfx)globtest.out): Pass
32577         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32578         globtest.sh, not $(run-program-prefix).
32579         * posix/globtest.sh (run_via_rtld_prefix): New variable.
32580         (test_wrapper): Likewise.
32581         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
32582         set together with run_via_rtld_prefix.
32583         (run_program_prefix): Define in terms of test_wrapper and
32584         run_via_rtld_prefix.
32586 2012-10-24  Roland McGrath  <roland@hack.frob.com>
32588         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32589         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32590         Targets removed.
32592         [BZ #14743]
32593         * include/time.h: Remove librt_hidden_proto (clock_gettime).
32594         Declare __clock_getres, __clock_gettime, __clock_settime,
32595         __clock_nanosleep, and __clock_getcpuclockid.
32596         * rt/clock_gettime.c: Define __clock_gettime as an alias.
32597         Remove librt_hidden_def (clock_gettime).
32598         * sysdeps/unix/clock_gettime.c: Likewise.
32599         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32600         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32601         * rt/clock_getres.c: Define __clock_getres as an alias.
32602         * sysdeps/posix/clock_getres.c: Likewise.
32603         * rt/clock_settime.c: Define __clock_settime as an alias.
32604         * sysdeps/unix/clock_settime.c: Likewise.
32605         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32606         * sysdeps/unix/clock_nanosleep.c: Likewise.
32607         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32608         * rt/clock-compat.c: New file.
32609         * rt/Makefile (librt-routines): Add clock-compat and move
32610         $(clock-routines) to ...
32611         (routines): ... here, new variable.
32612         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32613         Don't add get_clockfreq here.
32614         * rt/Versions (libc: GLIBC_2.17): New version set.
32615         Add clock_* symbols here.
32616         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
32617         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32618         (GLIBC_2.17): Add clock_* symbols.
32619         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32620         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32621         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32623         Likewise.
32624         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32625         Likewise.
32626         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32627         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32629         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32630         * NEWS: Mention the move.
32632         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32633         Use __open, __read, __close rather than their public counterparts.
32634         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32635         (__get_clockfreq_via_cpuinfo): Likewise.
32636         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32637         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32639         * config.h.in (HAVE_IFUNC): New #undef.
32640         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32641         was successful.
32642         * configure: Regenerated.
32644 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32646         * configure.in: Move READELF check to start of file.
32647         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32648         libc_cv_asm_gnu_indirect_function in the process.
32649         * configure: Regenerated.
32651 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32653         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32654         send the output to /dev/null.
32655         (libc_cv_cc_with_libunwind): Likewise.
32656         (libc_cv_as_noexecstack): Likewise.
32657         * configure: Regenerate.
32659 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32661         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32663         * posix/globtest.sh (TMPDIR): Do not set.
32664         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32665         (testout): Likewise.
32667 2012-10-24  Andreas Jaeger  <aj@suse.de>
32669         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32670         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32671         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32672         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32673         posix_fadvise64, posix_fallocate64.
32675         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32676         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32677         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32678         Likewise.
32679         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32680         Likewise.
32681         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32683         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32684         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32685         <bits/fcntl-linux.h>.
32686         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32688         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32689         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32690         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32691         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32692         [__WORDSIZE != 64]: Likewise.
32694 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32696         * Makeconfig (run-built-tests): New variable.
32697         * Rules [$(cross-compiling) = yes]: Change condition to
32698         [$(run-built-tests) = no].
32699         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32700         to [$(run-built-tests) = yes].
32701         * elf/Makefile [$(cross-compiling) = no]: Likewise
32702         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32703         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32704         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32705         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32706         * io/Makefile [$(cross-compiling) = no]: Likewise.
32707         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32708         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32709         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32710         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32711         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32712         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32713         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32714         * string/Makefile [$(cross-compiling) = no]: Likewise.
32716         * posix/Makefile ($(objpfx)globtest.out): Pass
32717         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32718         $(rtld-installed-name).
32719         * posix/globtest.sh (elf_objpfx): Remove variable.
32720         (rtld_installed_name): Likewise.
32721         (library_path): Likewise.
32722         (run_program_prefix): New variable.  Use for running globtest
32723         binary.
32725 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32726             Joseph Myers  <joseph@codesourcery.com>
32728         * Makeconfig (host-built-program-cmd): New variable.
32729         * elf/Makefile (tst-stackguard1-ARGS): Use
32730         $(host-built-program-cmd).
32731         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32732         (tst-spawn-ARGS): Likewise.
32733         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32735 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32736             Jim Blandy  <jimb@codesourcery.com>
32738         * Makeconfig (run-via-rtld-prefix): New variable.
32739         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32740         (built-program-cmd): Likewise.
32742 2012-10-22  Andreas Jaeger  <aj@suse.de>
32744         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32745         __O_RSYNC if it exists, otherwise to O_SYNC.
32747 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32748             Joseph Myers  <joseph@codesourcery.com>
32750         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32751         /dev/null.
32752         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32753         from /dev/null
32754         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32755         /dev/null.
32757 2012-10-22  Andreas Jaeger  <aj@suse.de>
32759         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32760         Define always.
32761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32763         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32764         bits/fcntl-linux.h.
32766         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32767         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32769         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32770         to __O_LARGEFILE.
32771         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32772         to __O_LARGEFILE.
32774 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32775             Joseph Myers  <joseph@codesourcery.com>
32777         * config.make.in (NM): New variable.
32779 2012-10-21  Andreas Jaeger  <aj@suse.de>
32781         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32782         definitions and declarations that are provided by
32783         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32785 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32787         [BZ #14683]
32788         * elf/Makefile (tests-static): Add tst-leaks1-static.
32789         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32790         ($(objpfx)tst-leaks1-static): New rule.
32791         ($(objpfx)tst-leaks1-static-mem): Likewise.
32792         (tst-leaks1-static-ENV): New macro.
32793         * elf/dl-open.c (dl_open_worker): Check the main application
32794         only if SHARED is defined.
32795         * elf/tst-leaks1-static.c: New file.
32797 2012-10-20  Andreas Jaeger  <aj@suse.de>
32799         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32800         generic values for Linux.
32801         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32802         and declarations that are provided by <bits/fcntl-linux.h> and
32803         include <bits/fcntl-linux.h>.
32804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32805         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32807 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32809         * io/fcntl.h: Move include of <bits/types.h> to the top and
32810         include it unconditionally.
32812 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32814         * wcsmbs/Makefile (tests-ifunc): New variable.
32815         (tests): Add $(tests-ifunc).
32816         * wcsmbs/test-wcschr-ifunc.c: New file.
32817         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32818         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32819         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32820         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32821         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32823         * string/Makefile (tests-ifunc): New variable.
32824         (tests): Add $(tests-ifunc).
32825         * string/test-memccpy.c (TEST_NAME): New macro.
32826         * string/test-memchr.c (TEST_NAME): Likewise.
32827         * string/test-memcmp.c (TEST_NAME): Likewise.
32828         * string/test-memcpy.c (TEST_NAME): Likewise.
32829         * string/test-memmem.c (TEST_NAME): Likewise.
32830         * string/test-memmove.c (TEST_NAME): Likewise.
32831         * string/test-memset.c (TEST_NAME): Likewise.
32832         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32833         * string/test-stpcpy.c (TEST_NAME): Likewise.
32834         * string/test-stpncpy.c (TEST_NAME): Likewise.
32835         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32836         * string/test-strcasestr.c (TEST_NAME): Likewise.
32837         * string/test-strcat.c (TEST_NAME): Likewise.
32838         * string/test-strchr.c (TEST_NAME): Likewise.
32839         * string/test-strcmp.c(TEST_NAME): Likewise.
32840         * string/test-strcpy.c (TEST_NAME): Likewise.
32841         * string/test-strcspn.c (TEST_NAME): Likewise.
32842         * string/test-strlen.c (TEST_NAME): Likewise.
32843         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32844         * string/test-strncmp.c (TEST_NAME): Likewise.
32845         * string/test-strncpy.c (TEST_NAME): Likewise.
32846         * string/test-strnlen.c (TEST_NAME): Likewise.
32847         * string/test-strpbrk.c (TEST_NAME): Likewise.
32848         * string/test-strrchr.c (TEST_NAME): Likewise.
32849         * string/test-strspn.c (TEST_NAME): Likewise.
32850         * string/test-strstr.c (TEST_NAME): Likewise.
32851         * string/test-bcopy-ifunc.c: New file.
32852         * string/test-bzero-ifunc.c: Likewise.
32853         * string/test-memccpy-ifunc.c: Likewise.
32854         * string/test-memchr-ifunc.c: Likewise.
32855         * string/test-memcmp-ifunc.c: Likewise.
32856         * string/test-memcpy-ifunc.c: Likewise.
32857         * string/test-memmem-ifunc.c: Likewise.
32858         * string/test-memmove-ifunc.c: Likewise.
32859         * string/test-mempcpy-ifunc.c: Likewise.
32860         * string/test-memset-ifunc.c: Likewise.
32861         * string/test-rawmemchr-ifunc.c: Likewise.
32862         * string/test-stpcpy-ifunc.c: Likewise.
32863         * string/test-stpncpy-ifunc.c: Likewise.
32864         * string/test-strcasecmp-ifunc.c: Likewise.
32865         * string/test-strcasestr-ifunc.c: Likewise.
32866         * string/test-strcat-ifunc.c: Likewise.
32867         * string/test-strchr-ifunc.c: Likewise.
32868         * string/test-strchrnul-ifunc.c: Likewise.
32869         * string/test-strcmp-ifunc.c: Likewise.
32870         * string/test-strcpy-ifunc.c: Likewise.
32871         * string/test-strcspn-ifunc.c: Likewise.
32872         * string/test-strlen-ifunc.c: Likewise.
32873         * string/test-strncasecmp-ifunc.c: Likewise.
32874         * string/test-strncat-ifunc.c: Likewise.
32875         * string/test-strncmp-ifunc.c: Likewise.
32876         * string/test-strncpy-ifunc.c: Likewise.
32877         * string/test-strnlen-ifunc.c: Likewise.
32878         * string/test-strpbrk-ifunc.c: Likewise.
32879         * string/test-strrchr-ifunc.c: Likewise.
32880         * string/test-strspn-ifunc.c: Likewise.
32881         * string/test-strstr-ifunc.c: Likewise.
32883         * debug/Makefile (tests-ifunc): New variable.
32884         (tests): Add $(tests-ifunc).
32885         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32886         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32887         * debug/test-stpcpy_chk-ifunc.c: New file.
32888         * debug/test-strcpy_chk-ifunc.c: Likewise.
32890 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32892         [BZ #13601]
32893         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32894         header is not read in.
32896 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32898         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32899         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32900         directly.  Pass built executable to script as
32901         $(built-program-cmd).
32902         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32903         $testprogram without using LD_LIBRARY_PATH and $ldso.
32905         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32906         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32907         $(rtld-installed-name).
32908         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32909         (rtld_installed_name): Likewise.
32910         (library_path): Likewise.
32911         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32912         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32913         $(run-program-prefix) to tst-tables.sh.
32914         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32915         it to run tst-table-from and tst-table-to.
32916         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32917         Pass it to tst-table.sh.
32918         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32919         $(run-program-prefix) to tst-gettext.sh.
32920         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32921         tst-translit.sh.
32922         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32923         tst-gettext2.sh.
32924         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32925         to run tst-gettext.
32926         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32927         to run tst-gettext2.
32928         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32929         to run tst-translit.
32930         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32931         $(run-program-prefix) to tst-mtrace.sh.
32932         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32933         to run tst-mtrace.
32934         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32935         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32936         $(rtld-installed-name).
32937         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32938         (rtld_installed_name): Likewise.
32939         (run_program_prefix): New variable.  Use it to run wordexp-test.
32941         * Makeconfig (ARCH): Remove all definitions.
32942         (machine): Likewise.
32943         [ARCH]: Remove conditional code.
32944         [!objdir]: Give error.
32945         [!objdir] (objpfx): Remove.
32946         [!objdir] (common-objpfx): Likewise.
32947         [!objdir] (common-objdir): Likewise.
32948         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32949         AC_CONFIG_FILES call.
32950         * configure: Regenerated.
32952         [BZ #13888]
32953         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32954         or TMPDIR.
32955         (testout): Likewise.
32957         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32958         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32959         $(rtld-installed-name).
32960         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32961         (rtld_installed_name): Likwise.
32962         (runit): Remove function.
32963         (run_getconf): New variable,  Use it for running getconf binary.
32965 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32967         [BZ #14716]
32968         * string/test-memmem.c (check_result): New function.
32969         (do_one_test): Use it.
32970         (check1): New function.
32971         (test_main): Use it.
32973 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32975         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
32977 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
32979         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
32980         (_G_LSEEK64): Likewise.
32981         (_G_MMAP64): Likewise.
32982         (_G_FSTAT64): Likewise.
32983         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
32984         (_G_LSEEK64): Likewise.
32985         (_G_MMAP64): Likewise.
32986         (_G_FSTAT64): Likewise.
32987         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
32988         unconditional.  Call __mmap64 directly.
32989         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
32990         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
32991         __lseek64 directly.
32992         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
32993         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
32994         __mmap64 directly.
32995         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
32996         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
32997         __lseek64 directly.
32998         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
32999         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33000         __lseek64 directly.
33001         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33002         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33003         __lseek64 directly.
33004         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33005         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33006         __fxstat64 directly.
33007         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33008         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33009         unconditional.
33010         (freopen64) [!_G_OPEN64]: Remove conditional code.
33011         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33012         unconditional.
33013         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33014         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33015         unconditional.
33016         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33017         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33018         unconditional.
33019         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33020         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33021         unconditional.
33022         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33023         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33024         unconditional.
33025         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33026         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33027         unconditional.
33028         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33029         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33030         unconditional.
33031         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33033 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33035         [BZ #12140]
33036         * manual/memory.texi (Malloc Tunable Parameters): Add note
33037         about free list pointers overwriting some perturb bytes.
33038         Wording suggested by Roland McGrath.
33040 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33042         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33043         (lgamma_test): Likewise.
33044         (tgamma_test): Likewise.
33046 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33048         [BZ #14700]
33049         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33050         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33052 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33054         * NEWS: Mention BZ #14716.
33055         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33056         when removing AVAILABLE1_USES_J macro.
33058 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33060         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33061         (__bswap_64): __uint64_t for unsigned 64-bit int.
33063 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33065         * include/string.h (memmem): Declare libc hidden alias.
33066         * string/memmem.c (memmem): Define libc hidden alias.
33067         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33068         __read, __close instead of open, read, close.
33070 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33072         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33073         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33074         global and hidden.
33075         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33076         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33077         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33078         Likewise.
33079         (__rawmemchr_sse2): Likewise.
33080         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33081         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33082         (__strchr_sse2): Likewise.
33083         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33084         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33085         (__strcasecmp_sse2): Likewise.
33086         (__strncasecmp_sse2): Likewise.
33087         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33088         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33089         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33090         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33091         (__strrchr_sse2): Likewise.
33092         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33093         ifunc-impl-list.c.
33094         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33095         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33096         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33097         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33098         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33099         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33100         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33101         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33102         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33103         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33104         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33105         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33106         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33107         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33108         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33109         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33110         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33111         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33112         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33113         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33114         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33115         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33116         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33117         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33118         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33119         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33120         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33121         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33122         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33123         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33125         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33126         global and hidden.
33127         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33128         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33129         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33130         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33131         Likewise.
33132         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33133         Likewise.
33134         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33135         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33136         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33137         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33138         ifunc-impl-list.c.
33139         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33140         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33141         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33142         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33143         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33144         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33145         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33146         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33147         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33148         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33149         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33150         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33151         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33152         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33153         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33154         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33155         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33156         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33157         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33158         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33159         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33160         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33161         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33162         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33163         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33164         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33165         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33166         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33167         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33168         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33169         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33170         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33171         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33172         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33173         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33174         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33175         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33176         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33177         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33178         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33179         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33181         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33182         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33183         * include/ifunc-impl-list.h: New file.
33184         * misc/ifunc-impl-list.c: Likewise.
33185         * misc/Makefile (routines): Add ifunc-impl-list.
33186         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33187         * string/test-string.h: Include <ifunc-impl-list.h>.
33188         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33189         TEST_NAME]: New variables.
33190         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33191         are defined.
33192         (test_init): Call __libc_ifunc_impl_list to initialize
33193         func_list if TEST_IFUNC and TEST_NAME are defined.
33195         * string/Makefile (strop-tests): Add bcopy and bzero.
33196         * string/test-bcopy.c: New file.
33197         * string/test-bzero.c: Likewise.
33198         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33199         defined.
33200         * string/test-memset.c: Support bzero test if TEST_BZERO is
33201         defined.
33202         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33203         __libc_memmove.
33204         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33205         __libc_memset.
33206         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33207         of memset.
33209 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33211         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33212         * configure: Regenerated.
33214         * Makeconfig (+link-static-before-libc): Don't include
33215         $(link-static-libc).
33217         * libio/libio.h (_IO_pos_t): Remove.
33219 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33221         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33222         McGrath.
33224 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33226         * crypt/crypt-entry.c: Include fips-private.h.
33227         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33228         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33229         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33230         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33232 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33234         * crypt/crypt-private.h: Include stdbool.h.
33235         (_ufc_setup_salt_r): Return bool.
33236         * crypt/crypt-entry.c: Include errno.h.
33237         (__crypt_r): Return NULL with EINVAL for bad salt.
33238         * crypt/crypt_util.c (bad_for_salt): New.
33239         (_ufc_setup_salt_r): Check that salt is long enough and within
33240         the specified alphabet.
33241         * crypt/badsalttest.c: New file.
33242         * crypt/Makefile (tests): Add it.
33243         ($(objpfx)badsalttest): New.
33245 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33247         * NEWS: Add entry for BZ #14602.
33249 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33251         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33252         type-generic.
33253         * math/libm-test.inc: Update comment listing what functions and
33254         macros are tested.
33255         (isgreater_test): New function.
33256         (isgreaterequal_test): Likewise.
33257         (isless_test): Likewise.
33258         (islessequal_test): Likewise.
33259         (islessgreater_test): Likewise.
33260         (isunordered_test): Likewise.
33261         (main): Call the new functions.
33263 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33265         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33266         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33267         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33268         * sysdeps/i386/configure: Regenerated.
33269         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33270         * sysdeps/mach/configure: Regenerated.
33271         * sysdeps/mach/hurd/configure: Regenerated.
33272         * sysdeps/powerpc/configure: Regenerated.
33273         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33274         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33275         * sysdeps/s390/s390-32/configure: Regenerated.
33276         * sysdeps/s390/s390-64/configure: Regenerated.
33277         * sysdeps/sh/configure: Regenerated.
33278         * sysdeps/sparc/configure: Regenerated.
33279         * sysdeps/unix/sysv/linux/configure: Regenerated.
33280         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33281         * sysdeps/x86_64/configure: Regenerated.
33283         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33284         defined.  Don't check if MAP is NULL.
33286 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33288         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33289         (_G_stat64): Likewise.
33290         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33291         (_G_stat64): Likewise.
33292         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33293         instead of struct _G_stat64.
33294         * libio/fileops.c (mmap_remap_check): Likewise.
33295         (decide_maybe_mmap): Likewise.
33296         (_IO_new_file_seekoff): Likewise.
33297         (_IO_file_stat): Likewise.
33298         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33299         _G_off64_t.
33300         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33301         instead of struct _G_stat64.
33302         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33304 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33306         [BZ #14602]
33307         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33308         Replace with ...
33309         (CHECK_EOL): New macro.
33310         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33311         CHECK_EOL.
33312         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33313         Replace with CHECK_EOL.
33314         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33315         Replace with CHECK_EOL.
33317 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33319         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33320         type-generic.
33321         * math/libm-test.inc: Update comment listing what functions and
33322         macros are tested.
33323         (finite_test): New function.
33324         (isinf_test): Likewise.
33325         (isnan_test): Likewise.
33326         (fpclassify_test): Test subnormal input.
33327         (isfinite_test): Likewise.
33328         (isnormal_test): Likewise.
33329         (main): Call the new functions.
33331 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33333         [BZ #14660]
33334         * Makerules (%.dynsym): Force C locale when running
33335         $(OBJDUMP) --dynamic-syms.
33337 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33339         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33340         <stdint.h>.
33342 2012-10-06  David S. Miller  <davem@davemloft.net>
33344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33345         upper 32-bits of the length value in %o2 since we use branch-on-register
33346         tests which consider the entire 64-bit register.
33348 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33350         * string/test-strstr.c (check2): Add a test for page boundary.
33352 2012-10-05  David S. Miller  <davem@davemloft.net>
33354         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33355         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33356         file.
33357         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33358         sysdep_routines.
33359         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33360         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33361         and bzero when HWCAP_SPARC_CRYPTO is present.
33363 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
33365         [BZ #14602]
33366         * string/test-strstr.c (check2): New function.
33367         (test_main): Call check2.
33369         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33370         and bug-strchr1.
33371         * string/bug-strcasestr1.c (do_test): Moved to ...
33372         * string/test-strcasestr.c (check1): Here.  New function.
33373         (do_one_test): Break out result checking code into ...
33374         (check_result): This.  New function.
33375         (do_one_test): Call check_result.
33376         (test_main): Call check1.
33377         * string/bug-strchr1.c (do_test): Moved to ...
33378         * string/test-strchr.c (check1): Here.  New function.
33379         (do_one_test): Break out result checking code into ...
33380         (check_result): This.  New function.
33381         (do_one_test): Call check_result.
33382         (test_main): Call check1.
33383         * string/bug-strstr1.c (main): Moved to ...
33384         * string/test-strstr.c (check1): Here.  New function.
33385         (do_one_test): Break out result checking code into ...
33386         (check_result): This.  New function.
33387         (do_one_test): Call check_result.
33388         (test_main): Call check1.
33389         * string/bug-strcasestr1.c: Removed.
33390         * string/bug-strchr1.c: Likewise.
33391         * string/bug-strstr1.c: Likewise.
33393         * elf/Makefile (dl-routines): Add hwcaps.
33394         * elf/dl-support.c (_dl_important_hwcaps): Removed.
33395         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33396         (_dl_important_hwcaps): Moved to ...
33397         * elf/dl-hwcaps.c: Here.  New file.
33398         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33400         [BZ #14557]
33401         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33402         if IS_IN_rtld isn't defined.
33404         * elf/dl-support.c (_dl_sysinfo_map): New.
33405         Include "get-dynamic-info.h" and "setup-vdso.h".
33406         (_dl_non_dynamic_init): Call setup_vdso.
33407         * elf/dynamic-link.h: Don't include <assert.h>.
33408         (elf_get_dynamic_info): Moved to ...
33409         * elf/get-dynamic-info.h: Here.  New file.
33410         * elf/dynamic-link.h: Include "get-dynamic-info.h".
33411         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33412         * elf/setup-vdso.h: Here.  New file.
33413         * elf/rtld.c: Include "setup-vdso.h".
33414         (dl_main): Call setup_vdso.
33416 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
33418         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33419         creal in comment listing functions tested.  List finite, isinf,
33420         isnan, isless, islessequal, isgreater, isgreaterequal,
33421         islessgreater, isunordered, lgamma_r and pow10 as functions and
33422         macros not tested.  Mention which functions not tested are aliases
33423         for other functions.  Fix typo.  Note that signs of NaNs are not
33424         tested.
33426         * scripts/config.guess: Update from config.git.
33427         * scripts/config.sub: Likewise.
33429 2012-10-04  Roland McGrath  <roland@hack.frob.com>
33431         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33432         * misc/madvise.c (madvise): Renamed to __madvise.
33433         Make madvise a weak alias.
33434         * include/sys/mman.h: Declare __madvise.
33435         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33436         * sysdeps/unix/syscalls.list
33437         (madvise): Make __madvise the strong name, and madvise a weak alias.
33438         * sysdeps/unix/sysv/linux/syscalls.list
33439         (madvise, mmap): Remove redundant entries.
33440         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33441         * malloc/malloc.c (mtrim): Likewise.
33442         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33444 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33446         * sysdeps/mach/hurd/dl-cache.c: File removed.
33447         * config.h.in (USE_LDCONFIG): New #undef.
33448         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33449         * configure: Regenerated.
33450         * elf/Makefile (dl-routines): Add dl-cache only under
33451         [$(use-ldconfig) = yes].
33452         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33453         cache on [USE_LDCONFIG].
33454         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33455         [USE_LDCONFIG].
33456         * elf/rtld.c (dl_main): Likewise.
33458 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
33460         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33461         _SC_LEVEL4_CACHE_LINESIZE.
33463 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33465         * sysdeps/unix/bsd/confstr.h: File removed.
33467 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
33469         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33470         sys/sdt-config.h.
33472 2012-10-02  Roland McGrath  <roland@hack.frob.com>
33474         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33475         Make 'mapoff' field ElfW(Off) rather than off_t.
33477 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
33479         * nscd/Makefile: Remove nscd-cflags and all its users.
33480         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33481         (CFLAGS-nonlib): Add compiler flags for nscd modules.
33483         [BZ #10631]
33484         * malloc.c (malloc_printerr): Clarify error message.
33486 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
33488         [BZ #14648]
33489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33490         Set bit_FMA_Usable if FMA is supported.
33491         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33492         macro.
33493         (bit_FMA4_Usable): Updated.
33494         (index_FMA_Usable): New macro.
33495         (CPUID_FMA): Likewise
33496         (HAS_FMA): Defined with bit_FMA_Usable.
33498 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33500         * bits/types.h (__swblk_t): Type removed.
33501         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33502         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33503         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33504         (__SWBLK_T_TYPE): Likewise.
33505         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33506         (__SWBLK_T_TYPE): Likewise.
33507         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33508         (__SWBLK_T_TYPE): Likewise.
33509         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33510         (__SWBLK_T_TYPE): Likewise.
33512 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
33513             Honza Horak <hhorak@redhat.com>
33515         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33516         (xdr_mapname): Use YPMAXMAP as maxsize.
33517         (xdr_peername): Use YPMAXPEER as maxsize.
33518         (xdr_keydat): Use YPAXRECORD as maxsize.
33519         (xdr_valdat): Use YPMAXRECORD as maxsize.
33521 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33523         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33525         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33526         * csu/init-first.c: ... here.
33527         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33528         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33529         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33530         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33531         * sysdeps/i386/init-first.c: File removed.
33532         * sysdeps/sh/init-first.c: File removed.
33534 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
33536         [BZ #14645]
33537         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33538         if x * y might underflow to zero and z is zero.
33539         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33540         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33541         * math/libm-test.inc (min_subnorm_value): New variable.
33542         (fma_test): Add more tests.
33543         (fma_test_towardzero): Likewise.
33544         (fma_test_downward): Likewise
33545         (fma_test_upward): Likewise.
33546         (initialize): Set min_subnorm_value.
33548 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
33550         [BZ #14638]
33551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33552         0 + 0.
33553         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33554         mode for addition resulting in exact zero.
33555         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33556         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33557         exact 0 + 0.
33558         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33559         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33560         * math/libm-test.inc (fma_test): Add more tests.
33561         (fma_test_towardzero): New function.
33562         (fma_test_downward): Likewise.
33563         (fma_test_upward): Likewise.
33564         (main): Call the new functions.
33566 2012-09-28  David S. Miller  <davem@davemloft.net>
33568         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33570 2012-09-28  Roland McGrath  <roland@hack.frob.com>
33572         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33573         instead of SIGALRM.
33575         * sysdeps/gnu/_G_config.h: Moved to ...
33576         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33577         * sysdeps/mach/hurd/_G_config.h: Moved to ...
33578         * sysdeps/generic/_G_config.h: ... here.
33580         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
33582         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33584         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33585         Conditionalize target on [libnss_test1.so-version].
33587         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33589         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33590         (elfobjdir): Move out of conditionals.
33592         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33593         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33594         (__nss_lookup_function): Conditionalize label remove_from_tree on
33595         [!DO_STATIC_NSS || SHARED], matching its only use.
33597 2012-09-28  David S. Miller  <davem@davemloft.net>
33599         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33600         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33601         file.
33602         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33603         sysdep_routines.
33604         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33605         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33606         when HWCAP_SPARC_CRYPTO is present.
33608 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33610         * io/tst-mknodat.c: Create a FIFO instead of a socket.
33612 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
33614         [BZ #6530]
33615         * stdio-common/vfprintf.c (process_string_arg): Revert
33616         2000-07-22 change.
33618 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
33620         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33621         for testcase.
33622         * stdio-common/tst-sprintf.c: Include <locale.h>
33623         (main): Test sprintf's handling of incomplete multibyte
33624         characters.
33626 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
33628         * elf/dl-runtime.c (VERSYMIDX): Removed.
33629         * elf/dl-version.c (VERSYMIDX): Likewise.
33630         * elf/do-rel.h (VERSYMIDX): Likewise.
33631         (VALIDX): Likewise.
33632         * elf/dynamic-link.h (VERSYMIDX): Likewise.
33633         * elf/rtld.c (VALIDX): Likewise.
33634         (ADDRIDX): Likewise.
33635         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33636         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33637         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33638         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33639         (VALIDX): Likewise.
33640         (ADDRIDX): Likewise.
33642 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33644         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33646 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
33648         [BZ #11438]
33649         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33650         to global scope.
33651         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33652         addresses are in the same scope as 192.0.2/24.
33653         * posix/gai.conf: Document new scope table defaults.
33655 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33657         [BZ #5298]
33658         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33659         for ftell.  Compute offsets from write pointers instead.
33660         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33662 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33664         [BZ #14543]
33665         * libio/Makefile (tests): New test case tst-fseek.
33666         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33667         combination works in wide mode.
33668         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33669         state when the external buffer state changes.
33671 2012-09-27  David S. Miller  <davem@davemloft.net>
33673         [BZ #14376]
33674         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33675         pass reloc->r_addend in as the 'high' argument to
33676         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33678         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33680 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33682         * rt/tst-aio2.c: Include <pthread.h>.
33683         * rt/tst-aio3.c: Likewise.
33685 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33687         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33689 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33691         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33692         contents on [SHARED].
33694 2012-09-26  Marek Polacek  <polacek@redhat.com>
33696         [BZ #14530]
33697         [BZ #13741]
33698         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33699         for C++ and GCC <4.3 as well as for non GCC compilers.
33701 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33705 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33707         * Makefile.in (all, install): Declare with .PHONY.
33708         Reported by Michael Hope <michael.hope@linaro.org>.
33710 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33712         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33713         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33714         system header.
33715         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33716         Likewise.
33717         (sydep_routines): Add the new and the internal functions.
33718         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33719         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33721         (GLIBC_2.17): Add the new function.
33722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33723         (GLIBC_2.17): Likewise.
33724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33725         (GLIBC_2.17): Likewise.
33726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33727         (GLIBC_2.17): Likewise.
33728         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33730 2012-09-25  Alan Modra  <amodra@gmail.com>
33732         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33733         Add release barrier before setting once_control to say
33734         initialisation is done.  Add hints on lwarx.  Use macro in
33735         place of isync.
33736         (clear_once_control): Add release barrier.
33738 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33740         [BZ #13629]
33741         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33742         specially.
33743         * math/s_clog10.c (__clog10): Likewise.
33744         * math/s_clog10f.c (__clog10f): Likewise.
33745         * math/s_clog10l.c (__clog10l): Likewise.
33746         * math/s_clogf.c (__clogf): Likewise.
33747         * math/s_clogl.c (__clogl): Likewise.
33748         * math/Makefile (libm-calls): Add x2y2m1.
33749         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33750         (__x2y2m1): Likewise.
33751         (__x2y2m1l): Likewise.
33752         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33753         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33754         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33755         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33756         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33757         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33758         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33759         * sysdeps/i386/fpu/libm-test-ulps: Update.
33760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33762         [BZ #14621]
33763         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33764         int as type of variable DEPTH.
33765         (glob): Use size_t instead of int as type of variables NEWCOUNT
33766         and OLD_PATHC.
33768 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33770         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33771         Add s_sincosf-sse2.
33772         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33773         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33774         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33775         macros for using routine as __sincosf_ia32.
33776         Use macro for function declaration and weak_alias.
33777         * sysdeps/i386/fpu/libm-test-ulps: Update.
33779         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33780         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33782         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33783         subnormal argument.
33784         * math/s_cexpf.c (__cexpf): Likewise.
33785         * math/s_csinf.c (__csinf): Likewise.
33786         * math/s_csinhf.c (__csinhf): Likewise.
33787         * math/s_ctanf.c (__ctanf): Likewise.
33788         * math/s_ctanhf.c (__ctanhf): Likewise.
33789         * math/s_ccosh.c (__ccoshf): Likewise.
33790         * math/s_cexp.c (__cexpl): Likewise.
33791         * math/s_csin.c (__csin): Likewise.
33792         * math/s_csinh.c (__csinh): Likewise.
33793         * math/s_ctan.c (__ctan): Likewise.
33794         * math/s_ctanh.c (ctanh): Likewise.
33795         * math/s_ccoshl.c (__ccoshl): Likewise.
33796         * math/s_cexpl.c (__cexpl): Likewise.
33797         * math/s_csinl.c (__csinl): Likewise.
33798         * math/s_csinhl.c (__csinhl): Likewise.
33799         * math/s_ctanl.c (__ctanl): Likewise.
33800         * math/s_ctanhl.c (__ctanhl): Likewise.
33802 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33804         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33805         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33806         (_IO_off_t): Define to __off_t, not _G_off_t.
33807         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33808         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33809         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33810         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33811         type of __dummy and __dummy2 fields.
33812         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33813         (_G_ssize_t): Likewise.
33814         (_G_off_t): Likewise.
33815         (_G_pid_t): Likewise.
33816         (_G_uid_t): Likewise.
33817         (_G_wchar_t): Likewise.
33818         (_G_wint_t): Likewise.
33819         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33820         (_G_ssize_t): Likewise.
33821         (_G_off_t): Likewise.
33822         (_G_pid_t): Likewise.
33823         (_G_uid_t): Likewise.
33824         (_G_wchar_t): Likewise.
33825         (_G_wint_t): Likewise.
33826         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33827         (_G_ssize_t): Likewise.
33828         (_G_off_t): Likewise.
33829         (_G_pid_t): Likewise.
33830         (_G_uid_t): Likewise.
33831         (_G_wchar_t): Likewise.
33832         (_G_wint_t): Likewise.
33834 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33836         * malloc/arena.c: Include malloc-sysdep.h.
33837         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33838         is sufficient to shrink the heap or an unmap is needed.
33839         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33840         new function check_may_shrink_heap.
33841         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33842         new function check_may_shrink_heap.
33844 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33846         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33847         comments.
33849 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33851         * catgets/test-gencat.sh: Add "set -e".
33852         * elf/tst-pathopt.sh: Likewise.
33853         * grp/tst_fgetgrent.sh: Likewise.
33854         * iconvdata/run-iconv-test.sh: Likewise.
33855         * intl/tst-gettext.sh: Likewise.
33856         * intl/tst-gettext2.sh: Likewise.
33857         * intl/tst-gettext4.sh: Likewise.
33858         * intl/tst-gettext6.sh: Likewise.
33859         * intl/tst-translit.sh: Likewise.
33860         * io/ftwtest-sh: Likewise.
33861         * libio/test-freopen.sh: Likewise.
33862         * malloc/tst-mtrace.sh: Likewise.
33863         * posix/globtest.sh: Likewise.
33864         * posix/tst-getconf.sh: Likewise.
33865         * posix/wordexp-tst.sh: Likewise.
33866         * stdio-common/tst-printf.sh: Likewise.
33867         * stdio-common/tst-unbputc.sh: Likewise.
33868         * stdlib/tst-fmtmsg.sh: Likewise.
33869         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33870         * catgets/Makefile: Do not specify -e option when running
33871         testsuite shell scripts.
33872         * elf/Makefile: Likewise.
33873         * grp/Makefile: Likewise.
33874         * iconvdata/Makefile: Likewise.
33875         * intl/Makefile: Likewise.
33876         * io/Makefile: Likewise.
33877         * libio/Makefile: Likewise.
33878         * malloc/Makefile: Likewise.
33879         * posix/Makefile: Likewise.
33880         * stdio-common/Makefile: Likewise.
33881         * stdlib/Makefile: Likewise.
33882         * sysdeps/x86_64/Makefile: Likewise.
33884         * io/ftwtest-sh: Add copyright header.
33885         * posix/globtest.sh: Likewise.
33886         * posix/tst-getconf.sh: Likewise.
33887         * posix/wordexp-tst.sh: Likewise.
33888         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33890 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33892         [BZ #13679]
33893         * Makeconfig (+link): Defined as $(+link-static) if
33894         $(build-shared) isn't yes.
33895         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33896         isn't yes.
33897         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33899         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33901         [BZ #14562]
33902         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33903         new chunk size with MALLOC_ALIGN_MASK.
33905 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33907         [BZ #5044]
33908         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33909         <rounding-mode.h>.
33910         (__printf_fphex): Determine rounding using get_rounding_mode and
33911         round_away.
33912         * stdio-common/tst-printf-round.c (struct hex_test): New
33913         structure.
33914         (hex_tests): New variable.
33915         (test_hex_in_one_mode): New function.
33916         (do_test): Also run tests for hex float output.
33918 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33920         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33921         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33922         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33923         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33924         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33925         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33926         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33927         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33929 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33931         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33932         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33933         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33934         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33936 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33938         [BZ #14579]
33939         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33940         mode only.
33941         * elf/tst-rtld-load-self.sh: New test.
33942         * elf/Makefile: Run it.
33944 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33946         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33947         (tst-writev-ENV): Remove.
33948         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33950 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33952         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33954 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33956         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33957         unconditional.
33958         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33959         Likewise.
33960         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33961         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33962         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33963         Likewise.
33965 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33967         [BZ #14587]
33968         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33969         * config.make.in (have-cpp-asm-debuginfo): Removed.
33970         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33971         * configure: Regenerated.
33973 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33975         [BZ #5044]
33976         * stdio-common/printf_fp.c: Include <stdbool.h> and
33977         <rounding-mode.h>.
33978         (___printf_fp): Determine rounding using get_rounding_mode and
33979         round_away.
33980         * stdio-common/tst-printf-round.c: New file.
33981         * stdio-common/Makefile (tests): Add tst-printf-round.
33982         (link-libm): New variable.
33983         ($(objpfx)tst-printf-round): Depend in $(link-libm).
33985 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
33987         [BZ #14576]
33988         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
33989         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
33990         Likewise.
33991         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
33992         Likewise.
33994 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
33996         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
33997         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33998         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
33999         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34001 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34003         [BZ #14518]
34004         * include/rounding-mode.h: New file.
34005         * sysdeps/generic/get-rounding-mode.h: Likewise.
34006         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34007         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34008         (MAX_VALUE): New macro.
34009         (MIN_VALUE): Likewise.
34010         (overflow_value): New function.
34011         (underflow_value): Likewise.
34012         (round_and_return): Use overflow_value and underflow_value to
34013         determine return values in overflow and underflow cases.  Use
34014         round_away to determine rounding depending on rounding mode.
34015         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34016         determine return values in overflow and underflow cases.
34017         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34018         (struct test_results): New structure.
34019         (struct test): Use struct test_results to store expected results
34020         for all rounding modes.
34021         (TEST): Include expected results for all rounding modes.
34022         (test_in_one_mode): New function.
34023         (do_test): Use test_in_one_mode to compute and check results.
34024         Check results for all rounding modes.
34025         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34026         $(link-libm).
34028 2012-12-09  Allan McRae  <allan@archlinux.org>
34030         * sysdeps/i386/fpu/libm-test-ulps: Update
34032 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34034         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34035         (_G_int32_t): Likewise.
34036         (_G_uint16_t): Likewise.
34037         (_G_uint32_t): Likewise.
34038         (_G_HAVE_BOOL): Likewise.
34039         (_G_HAVE_ATEXIT): Likewise.
34040         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34041         (_G_HAVE_IO_FILE_OPEN): Likewise.
34042         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34043         (_G_int32_t): Likewise.
34044         (_G_uint16_t): Likewise.
34045         (_G_uint32_t): Likewise.
34046         (_G_HAVE_BOOL): Likewise.
34047         (_G_HAVE_ATEXIT): Likewise.
34048         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34049         (_G_HAVE_IO_FILE_OPEN): Likewise.
34050         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34051         (_G_int32_t): Likewise.
34052         (_G_uint16_t): Likewise.
34053         (_G_uint32_t): Likewise.
34054         (_G_HAVE_BOOL): Likewise.
34055         (_G_HAVE_ATEXIT): Likewise.
34056         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34057         (_G_HAVE_IO_FILE_OPEN): Likewise.
34059 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34061         * csu/libc-tls.c: Update copyright years.
34063 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34065         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34066         [!_G_USING_THUNKS]: Remove conditional code.
34067         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34068         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34070         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34071         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34072         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34073         (_G_VTABLE_LABEL_PREFIX): Likewise.
34074         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34075         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34076         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34077         (_G_VTABLE_LABEL_PREFIX): Likewise.
34078         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34079         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34080         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34081         (_G_VTABLE_LABEL_PREFIX): Likewise.
34082         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34084 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34086         * libio/Makefile: Include ../Makeconfig before tests.
34087         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34088         only if $(build-shared) is yes.
34090         * iconv/gconv_db.c: Update copyright years.
34092 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34094         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34095         unwind info if defined PIC. Fix special cases description.
34096         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34098         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34099         DP_HI_MASK entry.
34100         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34102 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34104         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34106         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34107         is NULL.
34109         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34110         (LDLIBS-tst-chk4): This.
34111         (LDFLAGS-tst-chk5): Renamed to ...
34112         (LDLIBS-tst-chk5): This.
34113         (LDFLAGS-tst-chk6): Renamed to ...
34114         (LDLIBS-tst-chk6): This.
34115         (LDFLAGS-tst-lfschk4): Renamed to ...
34116         (LDLIBS-tst-lfschk4): This.
34117         (LDFLAGS-tst-lfschk5): Renamed to ...
34118         (LDLIBS-tst-lfschk5): This.
34119         (LDFLAGS-tst-lfschk6): Renamed to ...
34120         (LDLIBS-tst-lfschk6): This.
34122         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34123         on $(common-objpfx)soversions.mk.
34125 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34127         [BZ #10014]
34128         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34129         example host name.
34131 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34133         * malloc/arena.c (arena_get_retry): New function that gets
34134         another arena for the caller to try its request on.
34135         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34136         current arena cannot fulfill the request.
34137         (__libc_memalign): Likewise.
34138         (__libc_memalign): Likewise.
34139         (__libc_pvalloc): Likewise.
34140         (__libc_calloc): Likewise.
34142 2012-09-05  John Tobey  <john.tobey@gmail.com>
34144         [BZ #13542]
34145         * manual/arith.texi (Operations on Complex): Fix description
34146         of carg branch cut.
34148 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34150         [BZ #10014]
34151         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34152         host name.
34154         [BZ #10038]
34155         * manual/memory.texi (Memory): Make order of menu items match
34156         order of sections.
34158 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34160         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34161         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34162         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34164 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34166         * csu/libc-tls.c (static_dtv): Renamed to ...
34167         (_dl_static_dtv): This.  Make it global.
34168         (_dl_initial_dtv): Removed.
34169         (__libc_setup_tls): Updated.
34170         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34171         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34172         DL_INITIAL_DTV.
34174 2012-09-06  Petr Machata  <pmachata@redhat.com>
34176         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34177         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34178         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34179         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34181 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34183         [BZ #14545]
34184         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34185         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34186         freeing dtv[-1].
34188 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34190         [BZ #14544]
34191         * Makeconfig (link-static-before-libc): Replace $(+prector)
34192         with $(+prectorT).
34193         (link-static-after-libc): Replace $(+postctor) with
34194         $(+postctorT).
34195         (link-bounded): Replace $(+prector)/$(+postctor) with
34196         $(+prectorT)/$(+postctorT).
34197         (+prectorT): New macro.
34198         (+postctorT): Likewise.
34200 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34202         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34203         (round_str): Handle values above the maximum for IBM long double
34204         as inexact.
34205         * stdlib/tst-strtod-round.c (tests): Regenerated.
34207 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34209         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34210         assembler flag.
34211         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34212         zarch_nohighgprs around the zarch optimized routines.
34213         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34214         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34215         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34216         for zarch.
34218 2012-09-05  David S. Miller  <davem@davemloft.net>
34220         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34222         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34223         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34224         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34225         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34226         entries.
34228 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34230         * malloc/arena.c: Fold copyright years.
34231         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34233 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34235         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34237 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34239         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34241 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34243         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34244         change internal state upon failure.
34246 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34248         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34249         * malloc/memusage.c (mmap): Likewise.
34250         (mmap64, mremap): Likewise.  Adjust name in comment.
34252 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34254         * libio/fileops.c: Fix typos in comments.
34255         * libio/oldfileops.c: Likewise.
34256         * libio/wfileops.c: Likewise.
34258 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34260         [BZ #1349]
34261         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34262         (tst-malloc-usable-ENV): Set environment for test case.
34263         * malloc/hooks.c (malloc_check_get_size): New function to get
34264         requested size.
34265         * malloc/malloc.c (musable): Use malloc_check_get_size.
34266         * malloc/tst-malloc-usable.c: New test case.
34268 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34270         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34272 2012-09-05  Allan McRae  <allan@archlinux.org>
34274         [BZ #13966]
34275         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34276         determine header location.
34277         * configure: Regenerated.
34279 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34281         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34282         float format.
34283         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34284         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34285         format.
34286         (test): Regenerate.
34288 2012-09-04  David S. Miller  <davem@davemloft.net>
34290         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34291         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34292         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34294 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34296         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34297         failures.
34299         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34301 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34303         [BZ #9914]
34304         * libio/iogetdelim.c: Include <limits.h>.
34305         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34306         + len + 1 would overflow.
34308 2012-09-03  Andreas Jaeger  <aj@suse.de>
34310         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34311         * sysdeps/i386/fpu/libm-test-ulps: Update.
34313 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34315         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34316         Add s_sinf-sse2, s_conf-sse2.
34318         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34319         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34320         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34321         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34323         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34324         for using routine as __sinf_ia32.
34325         Use macro for function declaration and weak_alias.
34326         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34327         for using routine as __cosf_ia32.
34328         Use macro for function declaration and weak_alias.
34330         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34331         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34333         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34334         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34335         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34337         * math/libm-test.inc (cos_test): Add more test cases.
34338         (sin_test): Likewise.
34339         (sincos_test): Likewise.
34341 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34343         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34344         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34345         hidden.
34346         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34348 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34350         [BZ #14538]
34351         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34352         first element of the GOT.
34353         (elf_machine_load_address): Return the difference between
34354         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34356 2012-09-01  Allan McRae  <allan@archlinux.org>
34358         [BZ #13412]
34359         * configure.in (AWK): Require gawk version 3.0 or later.
34360         * configure: Regenerated.
34362 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34364         * sysdeps/unix/sysv/linux/kernel-features.h
34365         (__ASSUME_POSIX_CPU_TIMERS): Remove.
34366         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34367         [__NR_clock_getres]: Make code unconditional.
34368         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34369         (clock_getcpuclockid): Remove code left unreachable by removal of
34370         conditionals.
34371         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34372         code unconditional.
34373         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34374         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34375         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34376         Make code unconditional.
34377         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34378         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34379         * sysdeps/unix/sysv/linux/clock_settime.c
34380         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34381         conditional code.
34382         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34383         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34385 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
34387         [BZ #14476]
34388         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34389         scripts/test-installation.pl.
34391         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34392         and $ld_so_version if it is set.
34394 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34396         [BZ #14516]
34397         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34398         failure if reading from procfs failed.
34399         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34401 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34403         * sysdeps/unix/sysv/linux/kernel-features.h
34404         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34405         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34406         Remove conditional code.
34407         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34408         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34409         Remove conditional code.
34410         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34411         * sysdeps/unix/sysv/linux/i386/fxstat.c
34412         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34413         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34414         * sysdeps/unix/sysv/linux/i386/fxstatat.c
34415         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34416         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34417         * sysdeps/unix/sysv/linux/i386/lxstat.c
34418         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34419         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34420         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34421         Remove conditional code.
34422         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34423         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34424         Remove conditional code.
34425         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34426         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34427         <kernel-features.h>.
34428         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34429         Remove.
34430         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34431         Remove conditional code.
34432         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34433         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34434         Remove conditional.
34436 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
34438         [BZ #5400]
34439         * NEWS: Add fixed bug number.
34441 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34443         [BZ #14519]
34444         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34445         underflowing exponent in case of negative sign.
34446         * stdlib/tst-strtod-round-data: Add more tests.
34447         * stdlib/tst-strtod-round.c (tests): Regenerated.
34449         [BZ #3479]
34450         * stdlib/strtod_l.c (NDIG): Remove.
34451         (HEXNDIG): Likewise.
34452         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34453         smallest representable value.
34454         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34455         lie within an exact representation of 1/2 ulp of the result.
34456         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34457         unconditionally.
34458         (TENS_P9_IDX): Define unconditionally.
34459         (TENS_P9_SIZE): Likewise.
34460         (TENS_P10_IDX): Likewise.
34461         (TENS_P10_SIZE): Likewise.
34462         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34463         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34464         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34465         entries for 10^2^13 and 10^2^14.
34466         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34467         (TENS_P13_IDX): Define.
34468         (TENS_P13_SIZE): Likewise.
34469         (TENS_P14_IDX): Likewise.
34470         (TENS_P14_SIZE): Likewise.
34471         (_fpioconst_pow10): Change array size to
34472         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
34473         unconditional.
34474         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34475         1024]: Add entries for 10^2^13 and 10^2^14.
34476         [LAST_POW10 > _LAST_POW10]: Remove #error.
34477         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34478         (_fpioconst_pow10): Change array size to
34479         FPIOCONST_POW10_ARRAY_SIZE.
34480         * stdlib/gen-fpioconst.c: New file.
34481         * stdlib/gen-tst-strtod-round.c: Likewise.
34482         * stdlib/tst-strtod-round-data: Likewise.
34483         * stdlib/tst-strtod-round.c: Likewise.
34484         * stdlib/Makefile (tests): Add tst-strtod-round.
34486         [BZ #14459]
34487         * stdlib/strtod_l.c: Include <stdint.h>.
34488         (NDEBUG): Do not define.
34489         (round_and_return): Change EXPONENT parameter to type intmax_t.
34490         Rearrange calculations to avoid internal overflow possibilities.
34491         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34492         Rearrange calculations to avoid internal overflow possibilities.
34493         Assert that number fits inside MPNSIZE limbs.
34494         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34495         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
34496         calculations and add assertions to avoid internal overflow
34497         possibilities.  Add casts to avoid signed/unsigned operations.
34498         * stdlib/tst-strtod-overflow.c: New file.
34499         * stdlib/Makefile (tests): Add tst-strtod-overflow.
34501 2012-08-25  Marek Polacek  <polacek@redhat.com>
34503         * time/time.h: Fix some typos in comments.
34505 2012-08-23  Roland McGrath  <roland@hack.frob.com>
34507         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34508         * posix/tst-rfc3484-2.c: Likewise.
34509         * posix/tst-rfc3484-3.c: Likewise.
34511 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
34513         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34514         (EF_ARM_ABI_FLOAT_HARD): Likewise.
34516 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
34518         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34519         #include of fxstatat64.c.
34521 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34523         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34524         * shadow/getspent_r.c: Likewise.
34525         * shadow/getspnam.c: Likewise.
34526         * shadow/getspnam_r.c: Likewise.
34527         * gshadow/getsgent.c: Likewise.
34528         * gshadow/getsgent_r.c: Likewise.
34529         * gshadow/getsgnam.c: Likewise.
34530         * gshadow/getsgnam_r.c: Likewise.
34531         * inet/getnetbyad.c: Likewise.
34532         * inet/getnetbyad_r.c: Likewise.
34533         * inet/getnetbynm.c: Likewise.
34534         * inet/getnetbynm_r.c: Likewise.
34535         * inet/getnetent.c: Likewise.
34536         * inet/getnetent_r.c: Likewise.
34537         * inet/getproto.c: Likewise.
34538         * inet/getproto_r.c: Likewise.
34539         * inet/getprtent.c: Likewise.
34540         * inet/getprtent_r.c: Likewise.
34541         * inet/getprtname.c: Likewise.
34542         * inet/getprtname_r.c: Likewise.
34543         * inet/getrpcbyname.c: Likewise.
34544         * inet/getrpcbyname_r.c: Likewise.
34545         * inet/getrpcbynumber.c: Likewise.
34546         * inet/getrpcbynumber_r.c: Likewise.
34547         * inet/getrpcent.c: Likewise.
34548         * inet/getrpcent_r.c: Likewise.
34549         * inet/getaliasent.c: Likewise.
34550         * inet/getaliasent_r.c: Likewise.
34551         * inet/getaliasname.c: Likewise.
34552         * inet/getaliasname_r.c: Likewise.
34553         * nscd/getgrgid_r.c: Likewise.
34554         * nscd/getgrnam_r.c: Likewise.
34555         * nscd/gethstbyad_r.c: Likewise.
34556         * nscd/gethstbynm3_r.c: Likewise.
34557         * nscd/getpwnam_r.c: Likewise.
34558         * nscd/getpwuid_r.c: Likewise.
34559         * nscd/getsrvbynm_r.c: Likewise.
34560         * nscd/getsrvbypt_r.c: Likewise.
34561         * nscd/gai.c: Likewise.
34563         * configure.in (build_nscd): New substituted variable, set
34564         by --disable-build-nscd and defaults to $use_nscd.
34565         * configure: Regenerated.
34566         * config.make.in (build-nscd): New substituted variable.
34567         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34568         Change conditional to require [$(build-nscd) = yes] as well.
34569         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34571         [BZ# 13696]
34572         * configure.in (use_nscd): New substituted variable, set by
34573         --disable-nscd.  If enabled, define USE_NSCD.
34574         * configure: Regenerated.
34575         * config.h.in: Add USE_NSCD.
34576         * config.make.in (use-nscd): New substituted variable.
34577         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34578         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34579         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34580         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34581         (CFLAGS-getgrnam_r.c): Likewise.
34582         (CFLAGS-initgroups.c): Likewise.
34583         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34584         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34585         Variables removed.
34586         * inet/getnetgrent_r.c
34587         (nscd_setnetgrent): New function, broken out of ...
34588         (setnetgrent): ... here.  Call it.
34589         (innetgr): Conditionalize nscd bits on [USE_NSCD].
34590         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34591         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34592         * nscd/Makefile (routines, aux): Move definitions after include of
34593         Makeconfig.  Conditionalize on [$(use-nscd) != no].
34594         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34595         Conditionalize on [USE_NSCD].
34596         (is_nscd, nscd_init_cb): Likewise.
34597         (nss_load_library): Conditionalize init callback on [USE_NSCD].
34598         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34599         * nss/nss_db/db-init.c: Likewise.
34600         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34601         [USE_NSCD].
34602         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34603         (make_request): Use it.
34604         (cache_valid_p): New function.
34605         (__check_pf): Use it.
34606         * NEWS: Add item for --disable-nscd.
34608 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
34610         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34611         to support sed >= 4.2.1-20-ga9bf076.
34612         * configure: Regenerated.
34614 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34616         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34617         Conditionalize whole body on [IREL].
34619 2012-08-22  Jeff Law <law@redhat.com>
34621         [BZ #14505]
34622         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34623         if the family is PF_UNSPEC.
34625 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
34627         * Makerules (lib-version): Rename from V.
34628         (install-lib-nosubdir): Change V to lib-version.
34630 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
34632         [BZ #14252]
34633         * powerpc32/power6/wcschr.c: New file.
34634         * powerpc32/power6/wcscpy.c: New file.
34635         * powerpc32/power6/wcsrchr.c: New file.
34636         * powerpc64/power6/wcschr.c: New file.
34637         * powerpc64/power6/wcscpy.c: New file.
34638         * powerpc64/power6/wcsrchr.c: New file.
34640 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34642         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34643         (two_way_short_needle): Use it.
34644         * string/strstr.c (AVAILABLE1_USES_J): Define.
34645         * string/strcasestr.c: Likewise.
34647         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34648         array references.
34649         * string/strcasestr.c (TOLOWER): Make side-effect safe.
34651         [BZ #11607]
34652         * NEWS: Add an entry.
34653         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34654         define their defaults.
34655         (two_way_short_needle): Detect end-of-string on-the-fly.
34656         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34657         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34658         * string/bug-strcasestr1.c: New test.
34659         * string/Makefile: Run it.
34661 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34663         [BZ #11607]
34664         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34665         the first character.
34667 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34669         * csu/elf-init.c (__libc_csu_irel): Function removed.
34670         * csu/libc-start.c (apply_irel): New function.
34671         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34673 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34675         * sysdeps/unix/sysv/linux/kernel-features.h
34676         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34677         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34678         <kernel-features.h>.
34679         [__NR_fadvise64_64]: Make code unconditional.
34680         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34681         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34682         !__NR_fadvise64_64)]: Likewise.
34683         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34684         !__NR_fadvise64_64))]: Likewise.
34685         [__NR_fadvise64]: Make code unconditional.
34686         [!__NR_fadvise64]: Remove conditional code.
34687         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34688         <kernel-features.h>.
34689         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34690         unconditional.
34691         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34692         conditional code.
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34694         not include <kernel-features.h>.
34695         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34696         unconditional.
34697         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34698         conditional code.
34699         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34700         include <kernel-features.h>.
34701         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34702         unconditional.
34703         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34704         conditional code.
34706 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34708         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34709         slight instruction rearrangements per scrollpipe analysis.
34710         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34712 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34714         * manual/syslog.texi (syslog; vsyslog, closelog):
34715         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34716         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34718         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34719         DSOCAPS to match condition on defining it.
34721 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34723         * sysdeps/unix/sysv/linux/kernel-features.h
34724         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34726         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34727         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34729         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34730         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34732         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34733         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34735         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34736         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34738         * sysdeps/unix/sysv/linux/kernel-features.h
34739         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34740         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34741         unconditional.
34742         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34743         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34744         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34745         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34746         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34747         Make code unconditional.
34748         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34749         (__mmap64) [!__NR_mmap2]: Likewise.
34750         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34751         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34752         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34753         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34754         [__NR_mmap2]: Make code unconditional.
34755         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34756         (__mmap64) [!__NR_mmap2]: Likewise.
34758 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34760         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34762 2012-08-18  Andreas Jaeger  <aj@suse.de>
34764         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34766 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34768         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34769         * include/unistd.h (__have_sock_cloexec): Likewise.
34770         (__have_pipe2): Likewise.
34771         (__have_dup3): Likewise.
34773 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34775         [BZ #9685]
34776         * include/unistd.h (__have_pipe2): Change define into an extern int.
34777         (__have_dup3): Likewise.
34778         * socket/have_sock_cloexec.c: Include fcntl.h.
34779         (__have_pipe2): New variable.
34780         (__have_dup3): Likewise.
34782 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34784         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34786 2012-08-17  Marek Polacek  <polacek@redhat.com>
34788         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34789         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34791 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34793         * configure.in: Add AC_SUBST for sysheaders.
34794         * configure: Regenerated.
34795         * config.make.in (sysheaders): New substituted variable.
34797         * sysdeps/unix/mkfifo.c: Moved ...
34798         * sysdeps/posix/mkfifo.c: ... here.
34799         * sysdeps/unix/mkfifoat.c: Moved ...
34800         * sysdeps/posix/mkfifoat.c: ... here.
34802         * sysdeps/unix/utime.c: Moved ...
34803         * sysdeps/posix/utime.c: ... here.
34805         * sysdeps/unix/time.c: Moved ...
34806         * sysdeps/posix/time.c: ... here.
34807         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34808         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34810         * sysdeps/unix/nice.c: Moved ...
34811         * sysdeps/posix/nice.c: ... here.
34813         * sysdeps/unix/alarm.c: Moved ...
34814         * sysdeps/posix/alarm.c: ... here.
34816         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34818 2012-08-17  Jeff Law <law@redhat.com>
34820         * intl/Makefile (codeset_mo): New variable.
34821         ($(codeset_mo)): New target.
34822         (tst-codeset.out): Depend on that.  Remove explicit rule.
34823         (tst-gettext3.out, tst-gettext5.out): Likewise.
34824         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34825         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34826         * intl/tst-codeset.sh: Remove.
34827         * intl/tst-gettext3.sh: Likewise.
34828         * intl/tst-gettext5.sh: Likewise.
34830 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34832         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34833         * sysdeps/unix/syscalls.list: ... here.
34835         * sysdeps/posix/getaddrinfo.c
34836         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34837         (gaiconf_init, gaiconf_reload): Use them.
34838         [!_STATBUF_ST_NSEC]
34839         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34840         Define using time_t rather than struct timespec.
34842         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34843         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34844         Macros removed.
34845         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34846         [!NO_THREADS].
34847         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34848         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34849         Likewise.
34851         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34852         __libc_cleanup_push argument.
34854         * bits/param.h: New file.
34855         * misc/sys/param.h: New file.
34856         * include/sys/param.h: New file.
34857         * misc/Makefile (headers): Add bits/param.h.
34858         * sysdeps/generic/sys/param.h: File removed.
34859         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34860         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34861         * sysdeps/mach/hurd/bits/param.h: New file.
34862         * sysdeps/mach/hurd/sys/param.h: File removed.
34864         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34865         last change.
34867         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34868         [_IO_MTSAFE_IO].
34869         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34870         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34871         New macros.
34873         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34874         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34875         rather than -D_IO_MTSAFE_IO conditionally.
34876         * stdio-common/Makefile (CPPFLAGS): Likewise.
34877         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34878         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34879         Use $(libio-mtsafe).
34880         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34881         of -D_IO_MTSAFE_IO.
34882         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34883         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34884         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34885         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34886         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34887         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34888         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34889         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34890         (CFLAGS-fread_u_chk.c): Likewise.
34891         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34892         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34893         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34894         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34895         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34896         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34897         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34898         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34899         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34901         * libio/Makefile: Test [$(libc-reentrant) = yes]
34902         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34904         * Makeconfig
34905         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34906         * sysdeps/pthread/configure: File removed.
34907         * sysdeps/pthread/Makeconfig: New file.
34908         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34909         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34911 2012-08-16  Gary Benson  <gbenson@redhat.com>
34913         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34914         unmapping the first object in a namespace.
34916 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34918         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34919         (__internal_setnetgrent): ... this.  Add internal_function to
34920         definition.  Add libc_hidden_def.
34921         (setnetgrent): Update caller.
34922         (internal_endnetgrent): Renamed to ...
34923         (__internal_endnetgrent): ... this.  Add internal_function to
34924         definition.  Add libc_hidden_def.
34925         (endnetgrent): Update caller.
34926         (internal_getnetgrent_r): Renamed to ...
34927         (__internal_getnetgrent_r): ... this.  Add internal_function to
34928         definition.  Add libc_hidden_def.
34929         (__getnetgrent_r): Update caller.
34930         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34932 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34934         * stdlib/longlong.h: Update from GCC.
34936 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34938         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34939         on _QL, which is set by umul_ppmm but never used.
34940         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34941         variables, which are set by GMP macros but never used.
34942         * stdio-common/_itowa.c (_itowa): Likewise.
34943         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34944         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34946 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34948         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34949         struct La_sh_regs is not constant.
34950         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34951         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34952         and struct La_sparc64_regs are not constant.
34954 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34956         * sysdeps/unix/sysv/linux/kernel-features.h
34957         (__ASSUME_POSIX_TIMERS): Remove.
34958         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34959         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34960         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34961         Make code unconditional.
34962         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34963         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34964         Make code unconditional.
34965         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34966         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34967         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34968         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34969         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34970         Make code unconditional.
34971         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34972         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34973         (__libc_missing_posix_timers): Remove.
34975 2012-08-15  Roland McGrath  <roland@hack.frob.com>
34977         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
34978         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
34980         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
34982         * elf/dl-sym.c: Include <stdlib.h>.
34984         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
34985         constants, which avoids warnings in 32-bit builds.
34987         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
34988         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
34990         * misc/lseek.c: File moved to ...
34991         * io/lseek.c: ... here.
34993         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
34995         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
34996         shifting LEN more than 31 bits at once.
34998 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35000         [BZ #14195]
35001         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35002         segmentation fault for a case of two empty input strings.
35003         * string/test-strncasecmp.c (check1): Renamed to...
35004         (bz12205): ...this.
35005         (bz14195): Add new testcase for two empty input strings and N > 0.
35006         (test_main): Call new testcase, adapt for renamed function.
35008 2012-08-15  Andreas Jaeger  <aj@suse.de>
35010         [BZ #14090]
35011         * crypt/md5test2.c: New test, based on test supplied by Serge
35012         Belyshev <belyshev@depni.sinp.msu.ru>.
35013         * crypt/Makefile (xtests): Add md5test-giant..
35014         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35016 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35018         [BZ #14090]
35019         * crypt/md5.c (md5_process_block): Don't assume the buffer
35020         length is less than 2**32.
35021         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35022         length is less than 2**64.
35024 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35026         * string/str-two-way.h: Include <sys/param.h>.
35027         (MAX): Macro removed.
35029         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35030         Move #define and #undef of memmove to just before and after
35031         including <string.h>.
35033         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35034         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35035         and after including <string.h>.  Move declarations of
35036         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35037         to before #include "string/memmove.c".
35039         * include/dirent.h: Declare __getdirentries.
35041         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35042         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35044 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35046         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35047         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35048         * sysdeps/i386/configure: Regenerated.
35049         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35050         STABS_CURRENT_FILE, and STABS_FUN.
35051         (END): Remove call to STABS_FUN_END.
35052         (STABS_CURRENT_FILE1): Delete.
35053         (STABS_CURRENT_FILE): Likewise.
35054         (STABS_FUN): Likewise.
35055         (STABS_FUN_END): Likewise.
35056         (STABS_FUN2): Likewise.
35057         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35058         * sysdeps/x86_64/configure: Regenerated.
35060 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35062         * elf/dl-open.c: Include <atomic.h>.
35063         * elf/dl-lookup.c: Likewise.
35065 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35067         * sysdeps/unix/sysv/linux/kernel-features.h
35068         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35069         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35070         unconditionally.
35071         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35072         unconditionally.
35073         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35074         condition on __ASSUME_CLONE_THREAD_FLAGS.
35076 2012-08-14  Andreas Jaeger  <aj@suse.de>
35078         * sysdeps/i386/fpu/libm-test-ulps: Update.
35080 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35082         * include/atomic.h (atomic_exchange_and_add): Split into ...
35083         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35084         New atomic macros.
35086 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35088         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35090 2012-08-13  Jeff Law <law@redhat.com>
35092         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35093         null byte in the output string.
35095 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35097         * sysdeps/unix/sysv/linux/kernel-features.h
35098         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35099         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35100         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35101         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35102         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35103         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35104         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35106 2012-08-09  Jeff Law <law@redhat.com>
35108         [BZ #13939]
35109         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35110         When avoid_arena is set, don't retry in the that arena.  Pick the
35111         next one, whatever it might be.
35112         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35113         (arena_lock): Pass in new parameter to arena_get2.
35114         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35115         arena_get2.
35116         (__libc_malloc): Unify retrying after main arena failure with
35117         __libc_memalign version.
35118         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35120 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35122         [BZ #14166]
35123         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35124         to __redirect_strstr.
35125         (__strstr_sse42): Use typeof __redirect_strstr.
35126         (__strstr_ia32): Likewise.
35127         (__libc_strstr): New prototype.
35128         (strstr): Renamed to ...
35129         (__libc_strstr): This.
35130         (strstr): New strong alias of __libc_strstr.
35131         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35132         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35133         __redirect_time.
35134         Include <time.h>.
35135         (__libc_time): New prototype.
35136         (time_ifunc): Replace time with __libc_time.
35137         (time): New strong alias and hidden definition of __libc_time.
35138         (__GI_time): Remove strong alias.
35139         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35140         Include <stddef.h>.
35141         (memmove): Redefined to __redirect_memmove.
35142         (__memmove_sse2): Use typeof __redirect_memmove.
35143         (__memmove_ssse3): Likewise.
35144         (__memmove_ssse3_back): Likewise.
35145         (__libc_memmove): New prototype.
35146         (memmove): Renamed to ...
35147         (__libc_memmove): This.
35148         (memmove): New strong alias of __libc_memmove.
35150 2012-08-08  Mark Salter  <msalter@redhat.com>
35152         * elf/elf.h
35153         (R_MN10300_TLS_GD): Define.
35154         (R_MN10300_TLS_LD): Likewise.
35155         (R_MN10300_TLS_LDO): Likewise.
35156         (R_MN10300_TLS_GOTIE): Likewise.
35157         (R_MN10300_TLS_IE): Likewise.
35158         (R_MN10300_TLS_LE): Likewise.
35159         (R_MN10300_TLS_DTPMOD): Likewise.
35160         (R_MN10300_TLS_DTPOFF): Likewise.
35161         (R_MN10300_TLS_TPOFF): Likewise.
35162         (R_MN10300_SYM_DIFF): Likewise.
35163         (R_MN10300_ALIGN): Likewise.
35164         (R_MN10300_NUM): Update.
35166 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35168         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35169         Remove.
35171 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35173         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35175         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35176         sysdeps/unix -> sysdeps/posix move.
35177         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35179 2012-08-07      Allan McRae     <allan@archlinux.org>
35181         [BZ #14303]
35182         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35183         (SUNOS_CPP): Likewise.
35184         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35185         not found.
35186         (open_input): Call CPP using execvp.
35188 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35190         * sysdeps/unix/sysv/linux/kernel-features.h
35191         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35192         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35193         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35194         (__ASSUME_WAITID_SYSCALL): Likewise.
35195         * sysdeps/unix/sysv/linux/dl-execstack.c
35196         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35197         code unconditional.
35198         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35199         conditional code.
35200         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35201         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35202         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35203         code.
35204         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35205         unconditional.
35206         [__ASSUME_WAITID_SYSCALL]: Likewise.
35207         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35209 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35211         * sysdeps/unix/closedir.c: Renamed to ...
35212         * sysdeps/posix/closedir.c: ... here.
35213         * sysdeps/unix/dirfd.c: Renamed to ...
35214         * sysdeps/posix/dirfd.c: ... here.
35215         * sysdeps/unix/dirstream.h: Renamed to ...
35216         * sysdeps/posix/dirstream.h: ... here.
35217         * sysdeps/unix/fdopendir.c: Renamed to ...
35218         * sysdeps/posix/fdopendir.c: ... here.
35219         * sysdeps/unix/opendir.c: Renamed to ...
35220         * sysdeps/posix/opendir.c: ... here.
35221         * sysdeps/unix/readdir.c: Renamed to ...
35222         * sysdeps/posix/readdir.c: ... here.
35223         * sysdeps/unix/readdir_r.c: Renamed to ...
35224         * sysdeps/posix/readdir_r.c: ... here.
35225         * sysdeps/unix/rewinddir.c: Renamed to ...
35226         * sysdeps/posix/rewinddir.c: ... here.
35227         * sysdeps/unix/seekdir.c: Renamed to ...
35228         * sysdeps/posix/seekdir.c: ... here.
35229         * sysdeps/unix/telldir.c: Renamed to ...
35230         * sysdeps/posix/telldir.c: ... here.
35231         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35232         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35233         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35234         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35236         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35237         * bits/fcntl.h: ... here.
35239         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35240         not 0.
35241         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35242         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35243         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35244         (struct flock): Move l_start, l_len to the beginning.
35245         Use __pid_t for l_pid.
35246         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35247         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35248         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35249         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35250         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35251         [__USE_LARGEFILE64] (struct flock64): New type.
35252         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35254         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35255         * bits/dirent.h: ... here.
35257         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35258         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35260 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35262         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35263         Change from 2.6.0 to 2.6.16.
35264         * sysdeps/unix/sysv/linux/configure: Regenerated.
35265         * sysdeps/unix/sysv/linux/kernel-features.h
35266         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35267         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35268         version.
35269         (__ASSUME_UTIMES): Likewise.
35270         (__ASSUME_CLONE_STOPPED): Remove.
35271         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35272         architectures, not kernel version.
35273         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35274         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35275         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35276         (__ASSUME_WAITID_SYSCALL): Likewise.
35277         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35278         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35279         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35280         refer to older versions.
35282 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35284         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35285         Define alphasort64 as an alias.
35286         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35287         Define versionsort64 as an alias.
35288         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35289         Define scandir64 as an alias.
35290         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35291         Define scandirat64 as an alias.
35292         * dirent/alphasort64.c (alphasort64):
35293         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35294         * dirent/versionsort64.c: Likewise.
35295         * dirent/scandir64.c: Likewise.
35296         * dirent/scandirat64.c: Likewise.
35297         * sysdeps/wordsize-64/alphasort.c: File removed.
35298         * sysdeps/wordsize-64/alphasort64.c: File removed.
35299         * sysdeps/wordsize-64/scandir.c: File removed.
35300         * sysdeps/wordsize-64/scandir64.c: File removed.
35301         * sysdeps/wordsize-64/scandirat.c: File removed.
35302         * sysdeps/wordsize-64/scandirat64.c: File removed.
35303         * sysdeps/wordsize-64/versionsort.c: File removed.
35304         * sysdeps/wordsize-64/versionsort64.c: File removed.
35305         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35306         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35307         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35308         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35309         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35310         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35311         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35312         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35314         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35315         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35316         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35317         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35318         [defined __arch64__ || defined __sparcv9]
35319         (__INO_T_MATCHES_INO64_T): New macro.
35320         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35321         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35322         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35323         * sysdeps/unix/sysv/linux/bits/dirent.h
35324         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35325         (_DIRENT_MATCHES_DIRENT64): New macro.
35327         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35328         Define lockf64 as an alias.
35329         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35330         Define fseeko64 as an alias.
35331         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35332         Define ftello64 as an alias.
35333         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35334         Define _IO_fgetpos64 and fgetpos64 as aliases.
35335         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35336         Define _IO_fsetpos64 and fsetpos64 as aliases.
35337         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35338         Conditionalize body on this.
35339         * libio/fseeko64.c: Likewise.
35340         * libio/ftello64.c: Likewise.
35341         * libio/iofgetpos64.c: Likewise.
35342         * libio/iofsetpos64.c: Likewise.
35343         * sysdeps/wordsize-64/lockf.c: File removed.
35344         * sysdeps/wordsize-64/lockf64.c: File removed.
35345         * sysdeps/wordsize-64/fseeko.c: File removed.
35346         * sysdeps/wordsize-64/fseeko64.c: File removed.
35347         * sysdeps/wordsize-64/ftello.c: File removed.
35348         * sysdeps/wordsize-64/ftello64.c: File removed.
35349         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35350         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35351         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35352         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35353         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35354         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35355         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35356         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35357         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35358         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35359         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35360         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35361         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35362         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35364         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35365         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35366         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35367         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35368         [defined __arch64__ || defined __sparcv9]
35369         (__OFF_T_MATCHES_OFF64_T): New macro.
35370         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35371         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35372         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35373         (__OFF_T_MATCHES_OFF64_T): New macro.
35375 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35377         * stdlib/secure-getenv.c (__secure_getenv): Replace
35378         GLIBC_2_16 with GLIBC_2_17.
35380 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35382         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35383         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35385 2012-08-03  David S. Miller  <davem@davemloft.net>
35387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35389 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35391         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35392         Remove.
35393         (__ASSUME_CORRECT_SI_PID): Likewise.
35394         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35395         (__ASSUME_TMPFS_NAME): Likewise.
35396         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35397         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35398         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35399         (HAVE_AUX_SECURE): Make definition unconditional.
35400         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35401         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35403 2012-08-03  Roland McGrath  <roland@hack.frob.com>
35405         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35406         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35407         * sysdeps/mach/hurd/eloop-threshold.h: New file.
35408         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35409         __eloop_threshold instead of SYMLOOP_MAX.
35411         * sysdeps/generic/eloop-threshold.h: New file.
35412         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35413         of MAXSYMLINKS.
35414         * elf/chroot_canon.c (chroot_canon): Likewise.
35416 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35418         [BZ #13717]
35419         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35420         Change to 2.6.0 everywhere.
35421         * sysdeps/unix/sysv/linux/configure: Regenerated.
35422         * sysdeps/unix/sysv/linux/kernel-features.h
35423         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35424         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35425         kernel versions.
35426         (__ASSUME_POSIX_TIMERS): Define unconditionally.
35427         (__ASSUME_FUTEX_REQUEUE): Remove.
35428         (__ASSUME_STATFS64): Define unconditionally.
35429         (__ASSUME_AT_SECURE): Likewise.
35430         (__ASSUME_CORRECT_SI_PID): Likewise.
35431         (__ASSUME_TGKILL): Define without depending on kernel version for
35432         i386.
35433         (__ASSUME_UTIMES): Likewise.
35434         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35435         kernel version.
35436         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35437         (__ASSUME_TMPFS_NAME): Likewise.
35438         * README: Update reference to Linux kernel versions.
35440 2012-08-02  Marek Polacek  <polacek@redhat.com>
35442         [BZ# 14150]
35443         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
35444         libc_cv_asm_type_prefix with %.
35445         * configure: Regenerated.
35446         * include/libc-symbols.h: Remove comment about
35447         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35448         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35449         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35450         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35451         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35452         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35453         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35454         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35455         * elf/tst-unique2mod1.c: Likewise.
35456         * elf/tst-unique1mod2.c: Likewise.
35457         * elf/tst-unique1mod1.c: Likewise.
35458         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35459         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35460         Replace ASM_TYPE_DIRECTIVE with .type.
35461         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35462         * sysdeps/i386/sysdep.h: Likewise.
35463         * sysdeps/x86_64/sysdep.h: Likewise.
35464         * sysdeps/sh/sysdep.h: Likewise.
35465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35466         Do not define ASM_TYPE_DIRECTIVE.
35467         * sysdeps/powerpc/sysdep.h: Likewise.
35468         * sysdeps/powerpc/powerpc32/sysdep.h:
35469         Replace ASM_TYPE_DIRECTIVE with .type.
35470         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35471         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35472         * sysdeps/i386/fpu/e_powf.S: Likewise.
35473         * sysdeps/i386/fpu/e_expl.S: Likewise.
35474         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35475         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35476         * sysdeps/i386/fpu/e_pow.S: Likewise.
35477         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35478         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35479         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35480         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35481         * sysdeps/i386/fpu/e_log2.S: Likewise.
35482         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35483         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35484         * sysdeps/i386/fpu/e_powl.S: Likewise.
35485         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35486         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35487         * sysdeps/i386/fpu/e_logl.S: Likewise.
35488         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35489         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35490         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35491         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35492         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35493         * sysdeps/i386/fpu/e_log.S: Likewise.
35494         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35495         * sysdeps/i386/fpu/e_logf.S: Likewise.
35496         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35497         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35498         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35499         * sysdeps/i386/fpu/e_log10.S: Likewise.
35500         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35501         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35502         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35503         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35504         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35505         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35506         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35507         * sysdeps/i386/i686/strtok.S: Likewise.
35508         * sysdeps/i386/i386-mcount.S: Likewise.
35509         * sysdeps/i386/strtok.S: Likewise.
35510         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35511         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35512         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35513         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35514         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35515         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35516         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35517         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35518         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35519         * sysdeps/x86_64/_mcount.S: Likewise.
35520         * sysdeps/x86_64/strtok.S: Likewise.
35521         * sysdeps/sh/_mcount.S: Likewise.
35523 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35525         * libio/iofopen.c: Include <fcntl.h>.
35526         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35527         (_IO_fopen64, fopen64): Define as aliases.
35528         * libio/iofopen64.c: Include <fcntl.h>.
35529         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35530         Conditionalize body on this.
35531         * sysdeps/wordsize-64/iofopen.c: File removed.
35532         * sysdeps/wordsize-64/iofopen64.c: File removed.
35534 2012-08-01  Marek Polacek  <polacek@redhat.com>
35536         * libc/Makeconfig: Use elf in place of binfmt-subdir.
35537         Use dlfcn directly instead of a variable.
35538         (binfmt-subdir): Do not define.
35539         (dlfcn): Likewise.
35541 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
35543         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35544         Remove all definitions.
35545         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35546         <kernel-features.h>.
35547         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35548         (miss_F_GETOWN_EX): Remove all definitions.
35549         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35550         macro definition.
35551         [!__ASSUME_FCNTL64]: Remove conditional code.
35552         [__ASSUME_FCNTL64]: Make code unconditional.
35553         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35554         <kernel-features.h>.
35555         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35556         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35557         (lockf64) [__NR_fcntl64]: Make code unconditional.
35558         (lockf64) [__ASSUME_FCNTL64]: Likewise.
35560         * sysdeps/unix/sysv/linux/kernel-features.h
35561         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35562         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35563         Make code unconditional.
35564         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35565         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35567         [__NR_vfork]: Make code unconditional.
35568         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35569         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35571         [__NR_vfork]: Make code unconditional.
35572         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35573         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35575 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35577         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35578         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35580         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35581         Define mkstemp64 as an alias.
35582         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35583         Define mkstemps64 as an alias.
35584         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35585         Define mkostemp64 as an alias.
35586         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35587         Define mkostemps64 as an alias.
35588         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35589         Conditionalize body on this.
35590         * misc/mkostemp64.c: Likewise.
35591         * misc/mkostemps64.c: Likewise.
35592         * misc/mkstemps64.c: Likewise.
35593         * sysdeps/wordsize-64/mkstemp64.c: File removed.
35594         * sysdeps/wordsize-64/mkostemp64.c: File removed.
35595         * sysdeps/wordsize-64/mkostemp.c: File removed.
35596         * sysdeps/wordsize-64/mkstemp.c: File removed.
35597         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35598         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35599         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35600         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35602         [BZ #14138]
35603         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35604         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35605         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35606         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35608         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35609         compat_symbol macros from <shlib-compat.h> rather than the underlying
35610         default_symbol_version and symbol_version macros, so that DEFAULT
35611         lines in shlib-versions are respected.
35612         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35614 2012-08-01  Florian Weimer  <fweimer@redhat.com>
35616         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35617         Declare with warn_unused_result.
35618         (setgid, setregid, setegid, setresgid): Likewise.
35619         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35620         Likewise.
35621         * WUR-REPORT: Remove set*id functions.
35623 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
35625         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35627 2012-07-31  Roland McGrath  <roland@hack.frob.com>
35629         [BZ #10191]
35630         * include/sys/socket.h (__libc_accept, __libc_accept4):
35631         Add attribute_hidden.
35632         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35634         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35635         use of PTR_MANGLE.
35636         * inet/getnetgrent_r.c (setup): Likewise.
35638         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35640 2012-07-31  David S. Miller  <davem@davemloft.net>
35642         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35644 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
35646         [BZ #13629]
35647         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35648         value between 1.0 and 2.0 and smaller part has absolute value less
35649         than 1.0.
35650         * math/s_clog10.c (__clog10): Likewise.
35651         * math/s_clog10f.c (__clog10f): Likewise.
35652         * math/s_clog10l.c (__clog10l): Likewise.
35653         * math/s_clogf.c (__clogf): Likewise.
35654         * math/s_clogl.c (__clogl): Likewise.
35655         * math/libm-test.inc (clog_test): Add more tests.
35656         (clog10_test): Likewise.
35657         * sysdeps/i386/fpu/libm-test-ulps: Update.
35658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35660 2012-07-31  Florian Weimer  <fweimer@redhat.com>
35662         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35663         Exit with zero in case no suitable GID is found, and write a
35664         message to standard error.
35666 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35668         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35669         rather than to 1.
35670         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35671         (MAXPATHLEN): Removed.
35672         (NOGROUP, NODEV): New macros.
35673         (setbit, clrbit, isset, isclr): New macros.
35674         (howmany, roundup, powerof2): New macros.
35675         (DEV_BSIZE): New macro.
35677         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35678         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35680         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35681         definition on [!__NO_LONG_DOUBLE_MATH].
35683         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35684         PTR_MANGLE and PTR_DEMANGLE.
35686         * socket/accept4.c (accept4): Rename to __libc_accept4.
35687         Define accept4 as a weak alias.
35689         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35690         on [_DIRENT_HAVE_D_TYPE].
35691         * io/ftw.c (ftw_dir): Likewise.
35693         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35695         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35697         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35698         Use the BSD numbers rather than the arbitrary ones we had.
35699         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35700         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35701         (SIGXCPU, SIGXFSZ): New macros.
35702         (_NSIG): Now 32.
35704         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35705         initializer on [_LIBC_REENTRANT].
35707         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35708         definitions inside [_POSIX_MAPPED_FILES].
35710         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35712         * dirent/opendir.c: Include <fcntl.h>.
35714         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35715         (__libc_getspecific): Likewise.
35716         (__libc_key_create): Likewise.
35718         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35719         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35720         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35721         (tmpfile64): Define as alias.
35722         * sysdeps/wordsize-64/tmpfile.c: File removed.
35723         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35724         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35725         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35727         * stdio-common/vfscanf.c: Include <stdbool.h>.
35728         * nss/makedb.c: Likewise.
35729         * stdio-common/_i18n_number.h: Likewise.
35730         * argp/argp-help.c: Likewise.
35731         * posix/wordexp.c: Likewise.
35732         * sysdeps/posix/spawni.c: Likewise.
35733         * nss/nss_files/files-initgroups.c: Likewise.
35734         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35735         * nss/nss_files/files-initgroups.c: Likewise.
35736         * nss/nss_db/db-netgrp.c: Likewise.
35737         * nss/nss_db/db-initgroups.c: Likewise.
35738         * io/fchmodat.c: Include <sys/stat.h>.
35740         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35741         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35743         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35744         [HAVE_MMAP].
35746         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35747         Add multiple inclusion protection.
35749 2012-07-27  David S. Miller  <davem@davemloft.net>
35751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35753 2012-07-27  Gary Benson  <gbenson@redhat.com>
35755         [BZ #14298]
35756         * elf/rtld.c: Include <stap-probe.h>.
35757         (dl_main): Added static probes "init_start" and "init_complete".
35758         * elf/dl-load.c: Include <stap-probe.h>.
35759         (lose): Take new parameter "nsid".
35760         Added static probe "map_failed".
35761         (_dl_map_object_from_fd): Pass namespace id to lose.
35762         Added static probe "map_start".
35763         (open_verify): Pass namespace id to lose.
35764         * elf/dl-open.c: Include <stap-probe.h>.
35765         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35766         and "reloc_complete".
35767         * elf/dl-close.c: Include <stap-probe.h>.
35768         (_dl_close_worker): Added static probes "unmap_start" and
35769         "unmap_complete".
35770         * elf/rtld-debugger-interface.txt: New file documenting the above.
35772 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35774         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35775         rather than a string variable.
35776         * sunrpc/rpc_main.c (h_output): Likewise.
35777         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35779 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35781         * inet/check_native.c: New file.
35783 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35785         [BZ #13629]
35786         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35787         if larger part has absolute value 1.0.
35788         * math/s_clog10.c (__clog10): Likewise.
35789         * math/s_clog10f.c (__clog10f): Likewise.
35790         * math/s_clog10l.c (__clog10l): Likewise.
35791         * math/s_clogf.c (__clogf): Likewise.
35792         * math/s_clogl.c (__clogl): Likewise.
35793         * math/libm-test.inc (clog_test): Add more tests.
35794         (clog10_test): Likewise.
35795         * sysdeps/i386/fpu/libm-test-ulps: Update.
35796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35798         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35799         (pltexit): Likewise.
35800         (La_regs): Likewise.
35801         (La_retval): Likewise.
35802         (int_retval): Likewise.
35803         Update #error for removed macros to refer only to definitions in
35804         tst-audit.h.
35805         * elf/tst-auditmod3b.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-auditmod4b.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-auditmod5b.c (pltenter): Remove all definitions of
35818         macro.
35819         (pltexit): Likewise.
35820         (La_regs): Likewise.
35821         (La_retval): Likewise.
35822         (int_retval): Likewise.
35823         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35824         macro.
35825         (pltexit): Likewise.
35826         (La_regs): Likewise.
35827         (La_retval): Likewise.
35828         (int_retval): Likewise.
35829         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35830         macro.
35831         (pltexit): Likewise.
35832         (La_regs): Likewise.
35833         (La_retval): Likewise.
35834         (int_retval): Likewise.
35835         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35836         macro.
35837         (pltexit): Likewise.
35838         (La_regs): Likewise.
35839         (La_retval): Likewise.
35840         (int_retval): Likewise.
35841         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35842         macro definitions in tst-audit.h.
35843         * sysdeps/i386/tst-audit.h: New file.
35844         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35845         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35846         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35847         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35848         * sysdeps/sh/tst-audit.h: Likewise.
35849         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35850         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35851         * sysdeps/x86_64/tst-audit.h: Likewise.
35853 2012-07-26  Andreas Jaeger  <aj@suse.de>
35855         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35856         ptrace.
35858         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35859         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35860         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35861         PTRACE_O_MASK.
35862         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35863         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35864         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35866         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35867         value.
35869         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35870         _sigsys.
35871         (si_call_addr, si_syscall, si_arch): Define new macro.
35872         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35873         _sigsys.
35874         (si_call_addr, si_syscall, si_arch): Define new marcro.
35875         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35876         _sigsys.
35877         (si_call_addr, si_syscall, si_arch): Define new macro.
35878         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35879         _sigsys.
35880         (si_call_addr, si_syscall, si_arch): Define new macro.
35882 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35884         [BZ #13717]
35885         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35886         Change to 2.4.21 where previously 2.4.1.
35887         * sysdeps/unix/sysv/linux/configure: Regenerated.
35888         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35889         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35890         Linux kernel version.
35891         (__ASSUME_STD_AUXV): Remove.
35892         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35893         kernel version.
35894         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35895         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35896         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35897         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35898         (__ASSUME_NETLINK_SUPPORT): Likewise.
35899         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35900         (__no_netlink_support): Remove conditional definition.
35901         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35902         Remove.
35903         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35904         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35905         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35906         (if_nameindex_ioctl): Remove.
35907         (if_nameindex_netlink): Do not handle __no_netlink_support.
35908         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35909         code.
35910         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35911         Remove conditional code.
35912         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35913         code.
35914         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35915         unconditional.
35916         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35917         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35918         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35919         Remove.
35920         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35921         [!__ASSUME_STD_AUXV]: Remove conditional code.
35922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35923         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35924         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35926         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35927         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35928         code.
35929         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35931         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35932         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35933         conditional code.
35934         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35936         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35937         code.
35938         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35939         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35940         conditional code.
35941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35942         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35943         code unconditional.
35944         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35945         conditional code.
35946         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35947         unconditional.
35948         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35949         conditional code.
35950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35951         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35952         unconditional.
35953         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35954         conditional code.
35955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35956         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35957         code unconditional.
35958         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35959         conditional code.
35960         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35961         unconditional.
35962         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35963         conditional code.
35964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35965         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35966         code unconditional.
35967         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35968         conditional code.
35969         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35970         unconditional.
35971         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35972         conditional code.
35974 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35976         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
35977         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
35978         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35979         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
35980         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
35981         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
35982         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
35983         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
35984         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
35985         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
35986         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
35987         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
35988         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
35989         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
35990         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
35991         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
35992         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
35993         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
35994         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
35995         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
35996         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
35997         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
35998         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36000 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36002         * Versions.def: Add GLIBC_2.17.
36003         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36004         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36005         Introduce __libc_secure_getenv.
36006         * stdlib/Versions (2.17): Add secure_getenv
36007         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36008         * stdlib/secure-getenv.c: Rename __secure_getenv to
36009         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36010         symbol __secure_getenv for GLIBC_2.0.
36011         * stdlib/tst-secure-getenv.c: New.
36012         * stdlib/Makefile (tests): Add testcase.
36013         * manual/startup.texi (Environment Access): Document
36014         secure_getenv.
36015         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36016         __libc_secure_getenv.
36017         * inet/ruserpass.c (ruserpass): Likewise.
36018         * malloc/mtrace.c (mtrace): Likewise.
36019         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36020         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36021         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36022         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36023         HAVE_SECURE_GETENV.
36024         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36025         __secure_getenv to __libc_secure_getenv.
36026         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36028         Likewise.
36029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36030         Likewise.
36031         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36032         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36033         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36034         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36035         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36036         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36039 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36041         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36042         (struct La_i86_retval): Likewise.
36043         (struct La_x86_64_regs): Likewise.
36044         (struct La_x86_64_retval): Likewise.
36045         (struct La_x32_regs): Likewise.
36046         (struct La_x32_retval): Likewise.
36047         (struct La_ppc32_regs): Likewise.
36048         (struct La_ppc32_retval): Likewise.
36049         (struct La_ppc64_regs): Likewise.
36050         (struct La_ppc64_retval): Likewise.
36051         (struct La_sh_regs): Likewise.
36052         (struct La_sh_retval): Likewise.
36053         (struct La_s390_32_regs): Likewise.
36054         (struct La_s390_32_retval): Likewise.
36055         (struct La_s390_64_regs): Likewise.
36056         (struct La_s390_64_retval): Likewise.
36057         (struct La_sparc32_regs): Likewise.
36058         (struct La_sparc32_retval): Likewise.
36059         (struct La_sparc64_regs): Likewise.
36060         (struct La_sparc64_retval): Likewise.
36061         (struct audit_ifaces): Remove architecture-specific pltenter and
36062         pltexit members.
36063         * sysdeps/i386/ldsodefs.h: New file.
36064         * sysdeps/powerpc/ldsodefs.h: Likewise.
36065         * sysdeps/s390/ldsodefs.h: Likewise.
36066         * sysdeps/sh/ldsodefs.h: Likewise.
36067         * sysdeps/sparc/ldsodefs.h: Likewise.
36068         * sysdeps/x86_64/ldsodefs.h: Likewise.
36070 2012-07-25  Marek Polacek  <polacek@redhat.com>
36072         [BZ #6808]
36073         * math/libm-test.inc (yn_test): Add another test.
36074         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36075         to ERANGE when the result is +-Inf.
36076         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36077         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36078         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36079         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36081 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36083         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36084         equal to 0.
36085         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36086         clock_t.
36087         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36089 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36091         * configure.in <sysdeps resolving>: Correct printing
36092         Implies_before.
36093         * configure: Regenerate.
36095 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36097         * math/w_ilogb.c: Include <limits.h>.
36098         * math/w_ilogbl.c: Likewise.
36100 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36102         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36103         va_copy.  Document allowing for unavailable va_copy only as
36104         pre-C99 compatibility.
36105         * manual/string.texi (Copying and Concatenation): Use va_copy
36106         instead of __va_copy in concat example.
36108 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36110         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36111         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36112         it if not null.
36114         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36115         with O_NOLINK passed to __file_name_lookup.
36117         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36118         with O_NOLINK passed to __file_name_lookup.
36120         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36121         negative N or less than NGIDS.
36123         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36124         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36125         enough.  Use memcpy instead of strncpy.
36127 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36129         * elf/Makefile (check-data): Remove.
36130         (localplt.data): New vpath directive.
36131         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36132         instead of $(check-data).
36133         * scripts/data/localplt-generic.data: Move to ...
36134         * sysdeps/generic/localplt.data: ... here.
36135         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36136         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36137         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36139         ... here.
36140         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36142         ... here.
36143         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36144         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36145         ... here.
36146         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36148         ... here.
36149         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36151         ... here.
36152         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36153         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36154         ... here.
36156 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36158         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36159         PPC32 and PPC64 files.
36160         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36161         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36163 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36165         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36166         __makecontext_ret to ...
36167         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36168         ... here and call exit if uc_link is NULL.  New file.
36169         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36170         __makecontext_ret.S.
36171         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36172         __makecontext_ret to ...
36173         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36174         ... here and call exit if uc_link is NULL.  New file.
36175         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36176         __makecontext_ret.S.
36178 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36180         * elf/elf.h (R_390_IRELATIVE): New definition.
36181         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36182         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36183         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36184         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36185         (elf_machine_lazy_rel): Likewise.
36186         * sysdeps/s390/dl-irel.h: New file.
36187         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36188         * sysdeps/s390/s390-64/memset.S: New asm code.
36189         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36190         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36191         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36192         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36193         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36194         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36195         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36196         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36197         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36198         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36199         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36200         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36201         * sysdeps/s390/s390-32/memset.S: New asm code.
36202         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36204 2012-07-17  Marek Polacek  <polacek@redhat.com>
36206         [BZ #14349]
36207         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36208         * sysdeps/s390/s390-64/configure.in: Likewise.
36209         * sysdeps/sparc/configure.in: Likewise.
36210         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36211         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36212         * sysdeps/i386/configure.in: Likewise.
36213         * sysdeps/x86_64/configure.in: Likewise.
36214         * sysdeps/sh/configure.in: Likewise.
36215         * sysdeps/s390/s390-32/configure: Regenerated.
36216         * sysdeps/s390/s390-64/configure: Likewise.
36217         * sysdeps/x86_64/configure: Likewise.
36218         * sysdeps/sh/configure: Likewise.
36219         * sysdeps/powerpc/powerpc64/configure: Likewise.
36220         * sysdeps/powerpc/powerpc32/configure: Likewise.
36221         * sysdeps/sparc/configure: Likwise.
36222         * sysdeps/i386/configure: Likewise.
36224         * elf/dl-open.c: Comment fixes.
36226 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36228         * Makefile [CXX] (check-data): Remove.
36229         [CXX] (c++-types.data): New vpath directive.
36230         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36231         vpath.  Do not allow for C++ type data being missing.
36232         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36233         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36234         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36235         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36236         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36237         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36238         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36240         ... here.
36241         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36243         ... here.
36244         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36245         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36246         ... here.
36247         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36248         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36249         ... here.
36250         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36252         ... here.
36253         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36255         ... here.
36256         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36257         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36258         ... here.
36259         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36262         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36263         definitions to architecture-specific files.
36264         (TLS_IE): Likewise.
36265         (TLS_LD): Likewise.
36266         (TLS_GD): Likewise.
36267         * sysdeps/i386/tls-macros.h: New file.
36268         * sysdeps/powerpc/tls-macros.h: Likewise.
36269         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36270         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36271         * sysdeps/sh/tls-macros.h: Likewise.
36272         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36273         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36274         * sysdeps/x86_64/tls-macros.h: Likewise.
36276 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36278         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36279         zero value for regular exit case.
36281         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36282         (__start_context): Preserve zero value for regular exit case.
36284 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36285             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36287         * manual/setjmp.texi (setcontext): Clarify normal process
36288         termination when uc_link is the null pointer.
36289         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36290         exit call.
36292 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36294         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36295         preprocessor.  Test for each exception mask separately.
36297 2012-07-16  Andreas Jaeger  <aj@suse.de>
36299         * po/ru.po: Update from translation team.
36301 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36303         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36304         equal to 0.
36305         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36306         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36307         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36308         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36309         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36311 2012-07-13  Andreas Jaeger  <aj@suse.de>
36313         * po/fr.po: Update from translation team.
36315 2012-07-12  Marek Polacek  <polacek@redhat.com>
36317         [BZ #14173]
36318         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36319         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36320         loop condition.
36322 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36324         [BZ #13717]
36325         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36326         Change to 2.4.1 where previously 2.4.0.
36327         * sysdeps/unix/sysv/linux/configure: Regenerated.
36328         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36329         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36330         version.
36331         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36332         (__ASSUME_AT_CLKTCK): Remove.
36333         (__ASSUME_AT_PAGESIZE): Likewise.
36334         (__ASSUME_AT_XID): Likewise.
36335         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36336         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36337         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36338         unconditionally.
36339         (HAVE_AUX_PAGESIZE): Likewise.
36340         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36341         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36342         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36344 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36346         [BZ #14307]
36347         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36348         the temporary buffer used to invoke __gethostbyname2_r,
36349         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36350         host_data / struct gaih_addrtuple.
36351         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36352         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36353         header file nss/nsswitch.h.
36354         * nss/nsswitch.h (global scope): Add definition of implementation
36355         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36356         resolv/nss_dns/dns-host.c).
36358 2012-07-11  Andreas Jaeger  <aj@suse.de>
36360         * po/fr.po: Update from translation team.
36362         * po/sv.po: Update from translation team
36363         * po/fr.po: Another update from translation team.
36365 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36367         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36368         for subnormals or multiply small sinh result by itself.
36369         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36370         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36372 2012-07-11  David S. Miller  <davem@davemloft.net>
36374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36376 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
36378         [BZ #14347]
36379         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36380         (INTERNAL_MARK): Shift it here.
36382 2012-07-10  Marek Polacek  <polacek@redhat.com>
36384         [BZ #14151]
36385         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
36386         libc_cv_asm_global_directive with .globl.
36387         * configure: Regenerated.
36388         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36389         with .globl.
36390         * sysdeps/i386/configure: Regenerated.
36391         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36392         with .globl.
36393         * sysdeps/x86_64/configure: Regenerated.
36394         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36395         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36396         * elf/tst-unique2mod2.c: Likewise.
36397         * elf/tst-unique2mod1.c: Likewise.
36398         * elf/tst-unique1mod2.c: Likewise.
36399         * elf/tst-unique1mod1.c: Likewise.
36400         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36401         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36402         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36403         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36404         * sysdeps/mach/sysdep.h: Likewise.
36405         * sysdeps/i386/sysdep.h: Likewise.
36406         * sysdeps/i386/i386-mcount.S: Likewise.
36407         * sysdeps/x86_64/_mcount.S: Likewise.
36408         * sysdeps/x86_64/sysdep.h: Likewise.
36409         * sysdeps/sh/_mcount.S: Likewise.
36410         * sysdeps/sh/sysdep.h: Likewise.
36411         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36412         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36413         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36414         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36415         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36416         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36417         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36418         * locale/localeinfo.h: Likewise.
36419         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36420         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36422 2012-07-09  Roland McGrath  <roland@hack.frob.com>
36424         [BZ #14336]
36425         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36426         system".
36427         * manual/message.texi (The Uniforum approach): Likewise.
36428         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36429         (glibc iconv Implementation): Likewise.
36431 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
36433         [BZ #14337]
36434         * math/s_clog.c (__clog): Avoid scaling a value down where that
36435         could result in underflow.
36436         * math/s_clog10.c (__clog10): Likewise.
36437         * math/s_clog10f.c (__clog10f): Likewise.
36438         * math/s_clog10l.c (__clog10l): Likewise.
36439         * math/s_clogf.c (__clogf): Likewise.
36440         * math/s_clogl.c (__clogl): Likewise.
36441         * math/libm-test.inc (clog_test): Add more tests.
36442         (clog10_test): Likewise.
36443         * sysdeps/i386/fpu/libm-test-ulps: Update.
36444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36446 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
36448         [BZ #14283]
36449         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36450         by 7 not 8 to examine high bit of fractional part.
36452         [BZ #14042]
36453         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36454         for call to __mcount_internal.
36455         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36456         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36457         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36459 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
36461         [BZ #14154]
36462         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36463         approximation for values within 0x1p-13f of an odd multiple of
36464         pi/4.
36465         * math/libm-test.inc (tan_test): Do not allow spurious underflow
36466         exception.  Add more tests.
36467         * sysdeps/i386/fpu/libm-test-ulps: Update.
36469         [BZ #6778]
36470         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36471         inputs and return -1 for them.  Do not check for +Inf in case not
36472         reachable for +Inf.
36473         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36474         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36475         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36476         and return -1 for them.  Do not check for +Inf in case not
36477         reachable for +Inf.
36478         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36479         define.
36480         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36481         and return -1 for them.  Do not check for +Inf in case not
36482         reachable for +Inf.
36483         * math/libm-test.inc (expm1_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-06  Mike Frysinger  <vapier@gentoo.org>
36490         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36492 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
36494         [BZ #14157]
36495         [BZ #14331]
36496         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36497         could result in spurious underflow.  Scale down values above
36498         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36499         * math/s_csqrtf.c (__csqrtf): Likewise.
36500         * math/s_csqrtl.c (__csqrtl): Likewise.
36501         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
36502         spurious underflow.
36503         * sysdeps/i386/fpu/libm-test-ulps: Update.
36504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36506 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
36508         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36509         xopen-msg.sed.
36510         * catgets/xopen-msg.awk: New file.
36511         * catgets/xopen-msg.sed: Removed.
36513         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36514         po2text.sed.
36515         * intl/po2test.awk: New file.
36516         * intl/po2test.sed: Removed.
36518 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
36520         [BZ #14328]
36521         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36522         or multiply small sinh result by itself.
36523         * math/s_ctanf.c (__ctanf): Likewise.
36524         * math/s_ctanh.c (__ctanh): Likewise.
36525         * math/s_ctanhf.c (__ctanhf): Likewise.
36526         * math/s_ctanhl.c (__ctanhl): Likewise.
36527         * math/s_ctanl.c (__ctanl): Likewise.
36528         * math/libm-test.inc (ctan_test_tonearest): New function.
36529         (ctan_test_towardzero): Likewise.
36530         (ctan_test_downward): Likewise.
36531         (ctan_test_upward): Likewise.
36532         (ctanh_test_tonearest): Likewise.
36533         (ctanh_test_towardzero): Likewise.
36534         (ctanh_test_downward): Likewise.
36535         (ctanh_test_upward): Likewise.
36536         (main): Call these new functions.
36537         * sysdeps/i386/fpu/libm-test-ulps: Update.
36538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36540 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
36542         * .gitignore: Delete /ports entry.
36544 2012-07-03  Andreas Jaeger  <aj@suse.de>
36546         * po/bg.po: Update from translation team.
36547         * po/cs.po: Likewise.
36548         * po/de.po: Likewise.
36549         * po/hr.po: Likewise.
36550         * po/nl.pl: Likewise.
36551         * po/pl.po: Likewise.
36552         * po/vi.po: Likewise.
36554 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
36556         * Makeconfig [!+link] (+link-before-libc): New variable.
36557         [!+link] (+link-after-libc): Likewise.
36558         [!+link] (+link-tests): Likewise.
36559         [!+link] (+link): Define in terms of $(+link-before-libc) and
36560         $(+link-after-libc).
36561         [!+link-static] (+link-static-before-libc): New variable.
36562         [!+link-static] (+link-static-after-libc): Likewise.
36563         [!+link-static] (+link-static-tests): Likewise.
36564         [!+link-static] (+link-static): Define in terms of
36565         $(+link-static-before-libc) and $(+link-static-after-libc).
36566         [build-shared] (link-libc-before-gnulib): New variable.
36567         [build-shared] (link-libc-tests): Likewise.
36568         [build-shared] (link-libc): Define in terms of
36569         $(link-libc-before-gnulib).
36570         [!build-shared] (link-libc-tests): New variable.
36571         (link-libc-static-tests): New variable.
36572         [!gnulib] (gnulib-arch): New variable.
36573         [!gnulib] (gnulib-tests): Likewise.
36574         [!gnulib] (static-gnulib-arch): Likewise.
36575         [!gnulib] (static-gnulib-tests): Likewise.
36576         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
36577         Define with "=" instead of ":=".
36578         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
36579         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
36580         * Rules (binaries-all-notests): New variable.
36581         (binaries-all-tests): Likewise.
36582         (binaries-static-notests): Likewise.
36583         (binaries-static-tests): Likewise.
36584         (binaries-all): Define using $(binaries-all-notests) and
36585         $(binaries-all-tests).
36586         (binaries-static): Define using $(binaries-static-notests) and
36587         $(binaries-static-tests).
36588         (binaries-shared-tests): New variable.
36589         (binaries-shared-notests): Likewise.
36590         (binaries-shared): Remove variable.
36591         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36592         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36593         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36594         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36595         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36596         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36597         * elf/Makefile (sln-modules): New variable.
36598         (extra-objs): Add $(sln-modules:=.o).
36599         (ldconfig-modules): Add static-stubs.
36600         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36601         * elf/static-stubs.c: New file.
36603         [BZ #14283]
36604         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36605         by 7 not 8 to examine high bit of fractional part.  Use volatile
36606         variables when splitting into final array of floats if
36607         __FLT_EVAL_METHOD__ != 0.
36608         * math/libm-test.inc (cos_test): Add another test.
36609         (sin_test): Likewise.
36610         * sysdeps/i386/fpu/libm-test-ulps: Update.
36612         [BZ #14273]
36613         * math/libm-test.inc (cosh_test): Add more tests.
36615         * version.h (RELEASE): Set to "development".
36616         (VERSION): Set to "2.16.90".
36618 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
36620         * NEWS: Update copyright. Remove last-updated date.
36621         Mention math library bug fixes and timezone data changes.
36622         * README: Mention GNU/Hurd, x32, and HPPA support status.
36624 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
36626         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36628 2012-06-27  Andreas Jaeger  <aj@suse.de>
36630         * manual/contrib.texi (Contributors): Add Samuel Thibault.
36632 2012-06-25  Andreas Jaeger  <aj@suse.de>
36634         * sysdeps/s390/fpu/libm-test-ulps: Update.
36636 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
36637             Thomas Schwinge  <thomas@codesourcery.com>
36639         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36640         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36641         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36642         fanotify_mark.
36644 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
36646         * sysdeps/mach/start.c: Remove file.
36647         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36648         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36649         * sysdeps/sh/init-first.c: Likewise.
36651         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36652         registers for frame unwinding purposes, add CFI directives.
36653         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36654         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36655         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36656         Likewise.
36658         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36659         __fortify_fail returning.
36660         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36662         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36663         sysdeps/sh/____longjmp_chk.S.
36664         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36665         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36666         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36667         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36669         * sysdeps/sh/abort-instr.h: New file.
36670         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36671         process in case exit returns.
36673         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36674         initialize the GOT register before use.
36676         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36677         calculation of ARGC > 4.
36679         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36680         meaningful names to some local labels.
36682 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36683             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36685         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36686         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36687         (__arch_compare_and_exchange_val_16_acq): Likewise.
36688         (__arch_compare_and_exchange_val_32_acq): Likewise.
36689         (atomic_exchange_and_add): Fix gUSA sequence.
36690         (atomic_add): Likewise.
36691         (atomic_add_negative): Likewise.
36692         (atomic_add_zero): Likewise.
36693         (atomic_bit_test_set): Likewise.
36695 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36697         [BZ #13579]
36698         * include/link.h (struct link_map): Add l_free_initfini.
36699         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36700         l_initfini.
36701         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36702         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36703         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36704         set.
36706 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36708         * configure.in: Use AC_LANG_SOURCE.
36709         * configure: Regenerate.
36711 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36713         * configure.in (libc_cv_localstatedir): New substituted variable.
36714         * configure: Regenerated.
36715         * config.make.in (localstatedir): New variable, substituted from
36716         libc_cv_localstatedir.
36717         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36718         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36719         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36720         * sysdeps/gnu/configure: Regenerated.
36722 2012-06-21  Jeff Law  <law@redhat.com>
36724         [BZ #14277]
36725         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36726         free.  Simplify list management for _LIBC case.
36728 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36730         [BZ #14273]
36731         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36732         Clear sign bit of 64-bit integer value before comparing against
36733         overflow value.
36735         * sysdeps/mach/configure: Regenerated.
36737 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36739         [BZ #14278]
36740         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36742 2012-06-21  Jeff Law  <law@redhat.com>
36744         [BZ #13882]
36745         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36746         uint16_t for elements in the "seen" array to avoid char overflows.
36747         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36748         * elf/dl-open.c (dl_open_worker): Likewise.
36750 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36752         * scripts/list-sources.sh: Scan PORTS for translations.
36753         * po/libc.pot: Regenerated.
36755 2012-06-21  Andreas Jaeger  <aj@suse.de>
36757         [BZ #12194]
36758         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36759         warning.
36760         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36761         * bits/byteswap-16.h (__bswap_16): Likewise.
36762         * bits/byteswap.h (__bswap_constant_16): Likewise.
36764 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36766         [BZ #14117]
36767         * sysdeps/i386/fpu_control.h: Removed.
36768         * sysdeps/x86_64/fpu_control.h: Moved to ...
36769         * sysdeps/x86/fpu_control.h: Here.
36771         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36772         (_FPU_SETCW): Likewise.
36774 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36776         [BZ #14117]
36777         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36778         * sysdeps/x86/fpu/bits/mathinline.h: This.
36779         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36781         [BZ #14050]
36782         [BZ #14117]
36783         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36784         functions if __x86_64__ is defined.
36786 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36788         * string/endian.h: Add !__ASSEMBLER__ condition for including
36789         conversion interfaces.
36791 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36793         [BZ #14241]
36794         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36795         of ABS(x) in calculating zero to negative powers other than odd
36796         integers.
36797         * math/libm-test.inc (pow_test): Add more tests.
36799 2012-06-15  Andreas Jaeger  <aj@suse.de>
36801         * manual/contrib.texi (Contributors): Update entry of Liubov
36802         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36803         Machado Filho.
36805 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36807         * string/string.h: Add __wur to GNU version of strerror_r.
36809 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36811         [BZ #14229]
36812         * string/Makefile (tests): Add tst-strtok_r.
36813         * string/tst-strtok_r.c: New file.
36814         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36815         RAX_LP/RDX_LP on SAVE_PTR.
36817 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36819         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36821 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36823         * libm_test.inc (csqrt_test): Allow more spurious underflow
36824         exceptions.
36825         (j0_test): Likewise.
36826         (j1_test): Likewise.
36827         (y0_test): Likewise.
36828         (y1_test): Likewise.
36830 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36832         * po/Makefile (libc.pot): Use UTF-8 charset.
36834 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36836         [BZ #14210]
36837         Suppress sign-conversion warning from FD_SET.
36838         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36839         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36840         not unsigned long int.
36841         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36843 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36845         [BZ #14050]
36846         [BZ #14117]
36847         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36848         __extern_always_inline instead of __extern_inline.
36849         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36850         (__signbit): Likewise.
36851         (__signbitl): Support C++ namespace.
36852         (lrintf): New inline function.
36853         (lrint): Likewise.
36854         (llrintf): Likewise.
36855         (llrint): Likewise.
36856         (fmaxf): Likewise.
36857         (fmax): Likewise.
36858         (fminf): Likewise.
36859         (fmin): Likewise.
36860         (rint): Likewise.
36861         (rintf): Likewise.
36862         (ceil): Likewise.
36863         (ceilf): Likewise.
36864         (floor): Likewise.
36865         (floorf): Likewise.
36866         (nearbyint): Likewise.
36867         (nearbyintf): Likewise.
36869 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36871         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36872         non-default versions.
36874 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36876         [BZ #14218]
36877         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36879 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36881         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36882         (FE_UPWARD, FE_DOWNWARD): Don't define.
36883         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36884         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36886         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36887         reading it.
36888         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36889         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36891 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36893         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36894         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36895         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36896         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36898 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36900         [BZ #14117]
36901         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36902         * sysdeps/i386/fpu/Implies: New file.
36903         * sysdeps/x86_64/fpu/Implies: Likewise.
36904         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36905         * sysdeps/x86/fpu/bits/fenv.h: This.
36907         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36908         __SSE_MATH__.
36910 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36912         [BZ #14134]
36913         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36914         character 0xffff that matches the last element of the
36915         conversion table.
36917 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36919         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36920         fmodl commit.
36922 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36924         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36925         values higher than 25.6283.
36927 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36929         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36930         subnormal exponent extraction and add some __builtin_expect.
36931         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36932         Fix for subnormal mantissa calculation.
36934 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36936         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36937         cpu2 is -1 and errno is not ENOSYS.
36939 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36941         [BZ #14117]
36942         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36943         * sysdeps/x86/bits/string.h: This.
36944         * sysdeps/x86_64/bits/string.h: Removed.
36946         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36947         if not compiling for x86-64, but compiling for >= i486.
36949         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36950         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36952         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36953         New macro from Linux kernel 3.4.0.
36954         (FP_XSTATE_MAGIC2): Likewise.
36955         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36956         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36957         (struct _fpx_sw_bytes): New struct.
36958         (struct _xsave_hdr): Likewise.
36959         (struct _ymmh_state): Likewise.
36960         (struct _xstate): Likewise.
36962         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36963         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36964         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36965         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36966         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36967         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36969         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36970         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36971         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36972         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36973         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36974         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36976 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36978         [BZ #13743]
36979         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
36980         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
36981         (sysdep_headers): Include sys/platform/ppc.h.
36982         * sysdeps/powerpc/test-gettimebase.c: Test for
36983         __ppc_get_timebase() to catch future ISA opcode/insn changes.
36984         * manual/Makefile (appendices): Include platform.texi.
36985         * manual/contrib.texi (Contributors): Update @node pointers.
36986         * manual/maint.texi (Maintenance): Likewise.
36987         (Platform): New node.
36988         * manual/platform.texi: New file.  Document the new features.
36990 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
36991             Jakub Jelinek  <jakub@redhat.com>
36993         [BZ #14188]
36994         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
36995         where __builtin_expect is unavailable.
36997 2012-06-03  David S. Miller  <davem@davemloft.net>
36999         * stdlib/longlong.h: Updated from GCC.
37001 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37003         [BZ #14042]
37004         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37005         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37006         __mcount_internal.
37007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37008         (GLIBC_2.16): Likewise.
37010 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37012         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37014 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37017         (default-abi): New variable.
37018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37019         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37020         variable.
37021         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37022         Likewise.
37023         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37024         Likewise.
37025         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37026         Likewise.
37028         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37029         definition.  Document in comment.
37031 2012-06-01  David S. Miller  <davem@davemloft.net>
37033         * stdlib/longlong.h: Updated from GCC.
37035 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37037         [BZ #14117]
37038         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37039         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37040         sys/debugreg.h sys/io.h here.
37041         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37042         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37043         sys/io.h.
37044         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37045         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37046         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37047         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37048         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37049         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37051         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37052         Define only if __x86_64__ is defined.
37054 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37056         [BZ #14048]
37057         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37058         Use int64_t for variable i.
37059         * math/libm-test.inc (fmod_test): Add more tests.
37061         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37062         z computation is not scheduled after fetestexcept.
37063         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37064         Use math_force_eval instead of asm to ensure calculation scheduled
37065         before exception test.
37066         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37067         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37069 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37071         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37072         computation is not scheduled after fetestexcept.
37074 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37076         [BZ #14117]
37077         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37078         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37080 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37082         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37083         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37085 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37087         [BZ #14117]
37088         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37089         <bits/wordsize.h>.
37090         (__WCHAR_MIN): Support __WORDSIZE == 64.
37091         (__WCHAR_MAX): Likewise.
37093         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37094         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37096         [BZ #14183]
37097         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37098         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37100         [BZ #14117]
37101         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37102         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37104         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37105         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37107         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37108         Defined to 1 if __x86_64__ isn't defined.
37109         (_STAT_VER_LINUX_OLD): New.
37110         (st_atime): Remove duplicate.
37111         (st_mtime): Likewise.
37112         (st_ctime): Likewise.
37114 2012-05-31  David S. Miller  <davem@davemloft.net>
37116         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37117         entries.
37119 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37121         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37122         gen-libm-test.pl.
37124         [BZ #14132]
37125         * elf/dl-reloc.c: Include <_itoa.h>.
37126         (_dl_reloc_bad_type): Remove use of INTUSE.
37127         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37128         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37129         * stdio-common/psiginfo.c (psiginfo): Likewise.
37130         * stdio-common/psignal.c (psignal): Likewise.
37131         * string/strsignal.c (strsignal): Likewise.
37132         * include/signal.h (_sys_siglist): Declare hidden proto.
37133         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37134         INTVARDEF with libc_hidden_data_def.
37135         * stdio-common/itoa-udigits.c: Likewise.
37136         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37137         (_itoa_lower_digits_internal): Remove declaration.
37138         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37139         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37140         (_sys_sigabbrev_internal): Remove aliases.
37141         (_sys_siglist): Define hidden alias.
37143 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37145         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37146         bits/sysctl.h.
37148 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37150         [BZ #14117]
37151         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37152         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37154         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37155         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37156         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37157         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37158         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37159         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37161         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37162         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37163         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37165         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37166         with __addr.
37167         (insw): Likewise.
37168         (insl): Likewise.
37169         (outsb): Likewise.
37170         (outsw): Likewise.
37171         (outsl): Likewise.
37173         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37174         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37175         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37177         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37178         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37179         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37180         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37181         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37182         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37184         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37185         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37187         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37188         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37190         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37191         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37192         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37194         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37195         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37196         to ...
37197         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37199         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37200         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37201         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37203         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37204         for x86-64.
37205         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37207 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37209         * math/math.h (M_El): Use two more decimal places.
37210         (M_LOG2El): Likewise.
37211         (M_LOG10El): Likewise.
37212         (M_LN2l): Likewise.
37213         (M_LN10l): Likewise.
37214         (M_PIl): Likewise.
37215         (M_PI_2l): Likewise.
37216         (M_PI_4l): Likewise.
37217         (M_1_PIl): Likewise.
37218         (M_2_PIl): Likewise.
37219         (M_2_SQRTPIl): Likewise.
37220         (M_SQRT2l): Likewise.
37221         (M_SQRT1_2l): Likewise.
37223 2012-05-31  David S. Miller  <davem@davemloft.net>
37225         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37226         values between float registers.
37227         * sysdeps/sparc/sparc64/memset.S: Likewise.
37228         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37230 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37232         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37233         -D_FORTIFY_SOURCE=1.
37234         (CPPFLAGS-tst-longjmp_chk.c): Define.
37235         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37236         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37237         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37238         CFLAGS-tst-wchar-h.c.
37240 2012-05-31  Marek Polacek  <polacek@redhat.com>
37242         [BZ #14132]
37243         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37244         __endmntent_internal): Remove declaration.
37245         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37246         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37247         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37249 2012-05-30  David S. Miller  <davem@davemloft.net>
37251         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37252         (___Q_simulate_exceptions): Use real FP ops rather than writing
37253         into the %fsr.
37254         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37255         Likewise.
37257 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37259         [BZ #14117]
37260         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37261         * sysdeps/x86/bits/xtitypes.h: This.
37263         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37264         * sysdeps/x86/bits/wordsize.h: This.
37266         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37267         * sysdeps/x86/bits/huge_vall.h: This.
37269         * sysdeps/i386/bits/select.h: Removed.
37270         * sysdeps/x86_64/bits/select.h: Renamed to ...
37271         * sysdeps/x86/bits/select.h: This.
37273         * sysdeps/i386/bits/setjmp.h: Removed.
37274         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37275         * sysdeps/x86/bits/setjmp.h: This.
37277         * sysdeps/i386/bits/mathdef.h: Removed.
37278         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37279         * sysdeps/x86/bits/mathdef.h: This.
37281 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37283         [BZ #14132]
37284         * include/sys/socket.h (__connect_internal)
37285         (__libc_sa_len_internal): Remove declaration.
37286         (__connect, __libc_sa_len): Declare hidden_proto.
37287         (SA_LEN): Remove use of INTUSE.
37288         * socket/connect.c: Add libc_hidden_def.
37289         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37290         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37291         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37292         alias.
37293         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37294         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37295         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37296         of adding _internal alias.
37298 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37300         [BZ #14117]
37301         * sysdeps/i386/bits/link.h: Removed.
37302         * sysdeps/i386/bits/linkmap.h: Likewise.
37303         * sysdeps/x86_64/bits/link.h: Renamed to ...
37304         * sysdeps/x86/bits/link.h: This.
37305         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37306         * sysdeps/x86/bits/linkmap.h: This.
37308         * sysdeps/i386/bits/endian.h: Removed.
37309         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37310         * sysdeps/x86/bits/endian.h: This.
37312         * sysdeps/i386/bits/byteswap.h: Removed.
37313         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37314         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37315         * sysdeps/x86/bits/byteswap.h: This.
37316         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37317         * sysdeps/x86/bits/byteswap-16.h: This.
37318         * sysdeps/i386/Implies: Add x86.
37319         * sysdeps/x86_64/Implies: Likewise.
37321 2012-05-30  David S. Miller  <davem@davemloft.net>
37323         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37324         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37325         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37326         (FP_TRAPPING_EXCEPTIONS): Define.
37327         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37328         (FP_TRAPPING_EXCEPTIONS): Define.
37329         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37330         subnormals only when inexact has been signalled or underflow
37331         exceptions are enabled.
37332         (_FP_PACK_CANONICAL): Likewise.
37334 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37336         [BZ #14183]
37337         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37338         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37340 2012-05-30  Richard Henderson  <rth@twiddle.net>
37342         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37343         with #ifndef NOT_IN_libc.
37345         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37346         marked to avoid plt entry.
37348 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37350         [BZ #14112]
37351         * Makeconfig (default-abi): New macro.
37352         (abi-includes): Likewise.
37353         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37354         $(abi-$(default-abi)-lib-soname) for soname if defined.
37355         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37356         abi-variants.
37357         * Makefile (installed-stubs): Likewise.
37358         * include/stubs-biarch.h: Removed.
37359         * scripts/lib-names.awk: Only handle one library at a time.
37360         * scripts/soversions.awk: Remove WORDSIZE support.
37361         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37362         entries.
37363         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37364         Removed.
37365         (syscall-list-default-condition): Likewise.
37366         (syscall-list-default-condition): Likewise.
37367         (syscall-list-includes): Likewise.
37368         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37369         syscall-list-* with abi-*.  Handle undefined abi-variants.
37370         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37371         * sysdeps/unix/sysv/linux/i386/Implies: New file.
37372         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37373         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37374         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37375         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37376         Removed.
37377         (syscall-list-32-options): Likewise.
37378         (syscall-list-32-condition): Likewise.
37379         (syscall-list-64-options): Likewise.
37380         (syscall-list-64-condition): Likewise.
37381         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37382         macro.
37383         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37384         Renamed to ...
37385         (abi-*): This.
37386         (abi-64-ld-soname): New macro.
37387         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37388         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37389         Renamed to ...
37390         (abi-*): This.
37391         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37392         * sysdeps/x86_64/x32/shlib-versions: Likewise.
37394 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
37396         * sysdeps/unix/sysv/linux/kernel-features.h
37397         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37398         * sysdeps/unix/sysv/linux/ftruncate64.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.
37404         * sysdeps/unix/sysv/linux/truncate64.c: Do not
37405         include <kernel-features.h>.
37406         [!__NR_ftruncate64]: Remove conditional code.
37407         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37408         [__NR_ftruncate64]: Make code unconditional.
37409         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37411         include <kernel-features.h>.
37412         [!__NR_ftruncate64]: Remove conditional code.
37413         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37414         [__NR_ftruncate64]: Make code unconditional.
37415         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37417         include <kernel-features.h>.
37418         [!__NR_ftruncate64]: Remove conditional code.
37419         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37420         [__NR_ftruncate64]: Make code unconditional.
37421         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37423         * configure.in (libc_cv_fpie): Weaken to a compile test using
37424         LIBC_TRY_CC_OPTION.
37425         * configure: Regenerated.
37427 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37433         Refreshed.
37434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37436         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37437         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37440         Refreshed.
37442 2012-05-27  David S. Miller  <davem@davemloft.net>
37444         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37445         (___Q_zero): New.
37446         (__Q_simulate_exceptions): Return void.  Change to simulate
37447         exceptions by writing into the %fsr.
37448         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37449         (__Qp_handle_exceptions): Likewise.
37450         (numbers): Delete.
37451         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37452         __Qp_handle_exceptions.
37453         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37454         __Qp_handle_exceptions.
37455         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37456         as unused and give dummy FP_RND_NEAREST initializer.
37457         (FP_INHIBIT_RESULTS): Define.
37458         (___Q_simulate_exceptions): Update declaration.
37459         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37460         formatting.
37461         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37462         as unused and give dummy FP_RND_NEAREST initializer.
37463         (__Qp_handle_exceptions): Update declaration.
37464         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37465         formatting.
37467 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
37469         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37470         the temporary FPU control word.
37471         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37472         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37473         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37474         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37475         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37476         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37477         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37478         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37479         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37480         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37481         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37483 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37485         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37486         fields.
37488 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
37490         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37491         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37492         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37493         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37494         Likewise.
37495         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37496         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37497         Likewise.
37499 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
37501         * po/h.po: Update from translation team.
37503 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
37505         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37507         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37508         handling of denormals.
37509         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37510         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37511         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37512         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37513         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37514         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37515         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37516         Likewise.
37518 2012-05-26  Marek Polacek  <polacek@redhat.com>
37520         [BZ #14152]
37521         * math/libm-test.inc (fma_test): Don't always expect underflow
37522         exception.
37524 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37526         [BZ #12416]
37527         * elf/tst-execstack.c: Include stackinfo.h.
37528         (do_test): Adjust test case to ensure that pthread_getattr_np
37529         behaviour remains the same after marking stack executable.
37531 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37533         * sysdeps/unix/sysv/linux/kernel-features.h
37534         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37535         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37536         kernel-features.h.
37537         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37538         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37539         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37540         kernel-features.h.
37541         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37542         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37544 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
37546         * configure.in: Define the default includes to being none.
37547         * configure: Regenerated.
37549 2012-05-25  Roland McGrath  <roland@hack.frob.com>
37551         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37552         * sysdeps/x86_64/setjmp.S: Likewise.
37553         * sysdeps/i386/bsd-setjmp.S: Likewise.
37554         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37555         * sysdeps/i386/setjmp.S: Likewise.
37556         * sysdeps/i386/__longjmp.S: Likewise.
37557         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37558         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37560         * include/stap-probe.h: New file.
37561         * configure.in: Handle --enable-systemtap.
37562         * configure: Regenerated.
37563         * config.h.in (USE_STAP_PROBE): New #undef.
37564         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37565         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37566         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37568 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37570         [BZ #13717]
37571         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37572         to 2.4.0 where earlier.
37573         * sysdeps/unix/sysv/linux/configure: Regenerated.
37574         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
37575         <kernel-features.h>.
37576         [__ASSUME_32BITUIDS]: Make code unconditional.
37577         [!__ASSUME_32BITUIDS]: Remove conditional code.
37578         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
37579         <kernel-features.h>.
37580         [__ASSUME_32BITUIDS]: Make code unconditional.
37581         [!__ASSUME_32BITUIDS]: Remove conditional code.
37582         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
37583         [__ASSUME_32BITUIDS]: Make code unconditional.
37584         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37585         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37586         <kernel-features.h>.
37587         [__ASSUME_32BITUIDS]: Make code unconditional.
37588         [!__ASSUME_32BITUIDS]: Remove conditional code.
37589         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37590         <kernel-features.h>.
37591         [__ASSUME_32BITUIDS]: Make code unconditional.
37592         [!__ASSUME_32BITUIDS]: Remove conditional code.
37593         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37594         <kernel-features.h>.
37595         [__ASSUME_32BITUIDS]: Make code unconditional.
37596         [!__ASSUME_32BITUIDS]: Remove conditional code.
37597         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37598         <kernel-features.h>.
37599         [__ASSUME_32BITUIDS]: Make code unconditional.
37600         [!__ASSUME_32BITUIDS]: Remove conditional code.
37601         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37602         <kernel-features.h>.
37603         [__ASSUME_32BITUIDS]: Make code unconditional.
37604         [!__ASSUME_32BITUIDS]: Remove conditional code.
37605         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37606         <kernel-features.h>.
37607         [__ASSUME_32BITUIDS]: Make code unconditional.
37608         [!__ASSUME_32BITUIDS]: Remove conditional code.
37609         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37610         <kernel-features.h>.
37611         [__ASSUME_32BITUIDS]: Make code unconditional.
37612         [!__ASSUME_32BITUIDS]: Remove conditional code.
37613         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37614         <kernel-features.h>.
37615         [__ASSUME_32BITUIDS]: Make code unconditional.
37616         [!__ASSUME_32BITUIDS]: Remove conditional code.
37617         * sysdeps/unix/sysv/linux/i386/msgctl.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/semctl.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/setegid.c: Do not include
37626         <kernel-features.h>.
37627         [__NR_setresgid] (__setresgid): Do not declare.
37628         [__ASSUME_32BITUIDS]: Make code unconditional.
37629         [!__ASSUME_32BITUIDS]: Remove conditional code.
37630         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37631         <kernel-features.h>.
37632         [__NR_setresuid] (__setresuid): Do not declare.
37633         [__ASSUME_32BITUIDS]: Make code unconditional.
37634         [!__ASSUME_32BITUIDS]: Remove conditional code.
37635         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37636         <kernel-features.h>.
37637         [__ASSUME_32BITUIDS]: Make code unconditional.
37638         [!__ASSUME_32BITUIDS]: Remove conditional code.
37639         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37640         <kernel-features.h>.
37641         [__ASSUME_32BITUIDS]: Make code unconditional.
37642         [!__ASSUME_32BITUIDS]: Remove conditional code.
37643         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37644         <kernel-features.h>.
37645         [__ASSUME_32BITUIDS]: Make code unconditional.
37646         [!__ASSUME_32BITUIDS]: Remove conditional code.
37647         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37648         <kernel-features.h>.
37649         [__ASSUME_32BITUIDS]: Make code unconditional.
37650         [!__ASSUME_32BITUIDS]: Remove conditional code.
37651         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37652         <kernel-features.h>.
37653         [__ASSUME_32BITUIDS]: Make code unconditional.
37654         [!__ASSUME_32BITUIDS]: Remove conditional code.
37655         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37656         <kernel-features.h>.
37657         [__ASSUME_32BITUIDS]: Make code unconditional.
37658         [!__ASSUME_32BITUIDS]: Remove conditional code.
37659         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37660         <kernel-features.h>.
37661         [__ASSUME_32BITUIDS]: Make code unconditional.
37662         [!__ASSUME_32BITUIDS]: Remove conditional code.
37663         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37664         <kernel-features.h>.
37665         [__ASSUME_32BITUIDS]: Make code unconditional.
37666         [!__ASSUME_32BITUIDS]: Remove conditional code.
37667         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37668         <kernel-features.h>.
37669         [__ASSUME_32BITUIDS]: Make code unconditional.
37670         [!__ASSUME_32BITUIDS]: Remove conditional code.
37671         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37672         <kernel-features.h>.
37673         [__ASSUME_32BITUIDS]: Make code unconditional.
37674         [!__ASSUME_32BITUIDS]: Remove conditional code.
37675         * sysdeps/unix/sysv/linux/kernel-features.h
37676         (__ASSUME_SETRESUID_SYSCALL): Remove.
37677         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37678         (__ASSUME_32BITUIDS): Likewise.
37679         (__ASSUME_LDT_WORKS): Likewise.
37680         (__ASSUME_O_DIRECTORY): Likewise.
37681         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37682         architecture but not kernel version.
37683         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37684         (__ASSUME_MMAP2_SYSCALL): Likewise.
37685         (__ASSUME_STAT64_SYSCALL): Likewise.
37686         (__ASSUME_IPC64): Likewise.
37687         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37688         <kernel-features.h>.
37689         [__ASSUME_32BITUIDS]: Make code unconditional.
37690         [!__ASSUME_32BITUIDS]: Remove conditional code.
37691         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37692         <kernel-features.h>.
37693         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37694         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37695         132096]: Remove conditional code.
37696         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37697         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37698         <kernel-features.h>.
37699         [__ASSUME_32BITUIDS]: Make code unconditional.
37700         [!__ASSUME_32BITUIDS]: Remove conditional code.
37701         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.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/setegid.c: Do not include
37706         <kernel-features.h>.
37707         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37708         unconditional.
37709         (__setresgid): Do not declare.
37710         [__ASSUME_32BITUIDS]: Make code unconditional.
37711         [!__ASSUME_32BITUIDS]: Remove conditional code.
37712         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37713         <kernel-features.h>.
37714         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37715         unconditional.
37716         (__setresuid): Do not declare.
37717         [__ASSUME_32BITUIDS]: Make code unconditional.
37718         [!__ASSUME_32BITUIDS]: Remove conditional code.
37719         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37720         <kernel-features.h>.
37721         [__ASSUME_32BITUIDS]: Make code unconditional.
37722         [!__ASSUME_32BITUIDS]: Remove conditional code.
37723         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37724         <kernel-features.h>.
37725         [__ASSUME_32BITUIDS]: Make code unconditional.
37726         [!__ASSUME_32BITUIDS]: Remove conditional code.
37728 2012-05-25  Richard Henderson  <rth@twiddle.net>
37730         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37731         dl_hwcap to ifunc resolver.
37732         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37733         elf_ifunc_invoke.
37734         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37735         dl_hwcap to ifunc resolver.
37736         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37738 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37740         [BZ #14153]
37741         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37742         for |x| <= 2**-26, not 2**-57.
37743         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37744         exception.
37746 2012-05-24  Jeff Law  <law@redhat.com>
37748         * stdio-common/Makefile (tests): Add bug25.
37749         * stdio-common/bug25.c: New test.
37751 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37753         [BZ #13576]
37754         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37755         multiple of MALLOC_ALIGNMENT in size.
37756         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37758 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37760         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37761         Require >= 256.
37762         (FILENAME_MAX): Use macro-int-constant.
37763         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37764         (_IOFBF): Use macro-int-constant.
37765         (_IOLBF): Likewise.
37766         (_IONBF): Likewise.
37767         (SEEK_CUR): Likewise.
37768         (SEEK_END): Likewise.
37769         (SEEK_SET): Likewise.
37770         (TMP_MAX): Likewise.
37771         (EOF): Use macro-int-constant.  Require < 0.
37772         (NULL): Use macro-constant.  Require == 0.
37773         (stdin): Require type to be FILE *.
37774         (stdout): Likewise.
37775         (stderr): Likewise.
37776         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37777         macro-int-constant.
37778         (EXIT_SUCCESS): Likewise.
37779         (NULL): Use macro-constant.  Require == 0.
37780         (RAND_MAX): Use macro-int-constant.
37781         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37782         [C99-based standards] (strtof): Require function.
37783         [C99-based standards] (strtold): Likewise.
37784         [C99-based standards] (strtoll): Likewise.
37785         [C99-based standards] (strtoull): Likewise.
37786         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37787         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37788         [ISO || ISO99 || ISO11] (math.h): Likewise.
37789         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37790         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37791         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37793 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37795         [BZ #14132]
37796         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37797         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37798         * intl/dgettext.c (DCGETTEXT): Likewise.
37799         * intl/gettext.c (DCGETTEXT): Likewise.
37800         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37801         * posix/regex_internal.h (gettext): Likewise.
37802         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37803         Remove declaration.
37804         * include/argz.h (__argz_count_internal)
37805         (__argz_stringify_internal): Remove declaration.
37806         (__argz_count, __argz_stringify): Declare hidden proto.
37807         * intl/dcgettext.c: Remove use of INTDEF.
37808         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37809         * string/argz-stringify.c: Likewise.
37810         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37811         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37812         Declare hidden proto.
37813         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37814         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37815         Declare hidden proto.
37816         * include/stdio.h (__asprintf_internal): Don't declare.
37817         (__asprintf): Don't define as macro.  Declare hidden proto.
37818         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37819         (__fsetlocking): Declare hidden proto.
37820         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37821         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37822         hidden proto.
37823         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37824         (_IO_setlinebuf): Remove use of INTUSE.
37825         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37826         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37827         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37828         Remove declaration.
37829         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37830         (_IO_do_flush): Remove use of INTUSE.
37831         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37832         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37833         (_IO_adjust_column, _IO_least_wmarker)
37834         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37835         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37836         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37837         (_IO_default_doallocate, _IO_wdefault_doallocate)
37838         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37839         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37840         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37841         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37842         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37843         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37844         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37845         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37846         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37847         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37848         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37849         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37850         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37851         proto.
37852         (_IO_flush_all_internal, _IO_adjust_column_internal)
37853         (_IO_default_uflow_internal, _IO_default_finish_internal)
37854         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37855         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37856         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37857         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37858         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37859         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37860         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37861         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37862         (_IO_file_close_internal, _IO_file_close_it_internal)
37863         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37864         (_IO_file_init_internal, _IO_file_attach_internal)
37865         (_IO_file_fopen_internal, _IO_file_read_internal)
37866         (_IO_file_sync_internal, _IO_file_seek_internal)
37867         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37868         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37869         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37870         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37871         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37872         (_IO_list_all_internal, _IO_link_in_internal)
37873         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37874         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37875         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37876         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37877         (_IO_do_write_internal, _IO_padn_internal)
37878         (_IO_getline_info_internal, _IO_getline_internal)
37879         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37880         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37881         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37882         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37883         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37884         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37885         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37886         with libc_hidden_ver, remove use of INTUSE.
37887         * libio/genops.c: Likewise.
37888         * libio/freopen.c: Likewise.
37889         * libio/freopen64.c: Likewise.
37890         * libio/iofclose.c: Likewise.
37891         * libio/iofdopen.c: Likewise.
37892         * libio/iofflush.c: Likewise.
37893         * libio/iofflush_u.c: Likewise.
37894         * libio/iofgets.c: Likewise.
37895         * libio/iofgets_u.c: Likewise.
37896         * libio/iofopen.c: Likewise.
37897         * libio/iofopncook.c: Likewise.
37898         * libio/iofread.c: Likewise.
37899         * libio/iofread_u.c: Likewise.
37900         * libio/ioftell.c: Likewise.
37901         * libio/iofwrite.c: Likewise.
37902         * libio/iogetline.c: Likewise.
37903         * libio/iogets.c: Likewise.
37904         * libio/iogetwline.c: Likewise.
37905         * libio/iopadn.c: Likewise.
37906         * libio/iopopen.c: Likewise.
37907         * libio/ioseekoff.c: Likewise.
37908         * libio/ioseekpos.c: Likewise.
37909         * libio/iosetbuffer.c: Likewise.
37910         * libio/iosetvbuf.c: Likewise.
37911         * libio/ioungetc.c: Likewise.
37912         * libio/ioungetwc.c: Likewise.
37913         * libio/iovdprintf.c: Likewise.
37914         * libio/iovsprintf.c: Likewise.
37915         * libio/iovsscanf.c: Likewise.
37916         * libio/memstream.c: Likewise.
37917         * libio/obprintf.c: Likewise.
37918         * libio/oldfileops.c: Likewise.
37919         * libio/oldiofclose.c: Likewise.
37920         * libio/oldiofdopen.c: Likewise.
37921         * libio/oldiofopen.c: Likewise.
37922         * libio/oldiopopen.c: Likewise.
37923         * libio/oldstdfiles.c: Likewise.
37924         * libio/putc.c: Likewise.
37925         * libio/setbuf.c: Likewise.
37926         * libio/setlinebuf.c: Likewise.
37927         * libio/stdfiles.c: Likewise.
37928         * libio/strops.c: Likewise.
37929         * libio/vasprintf.c: Likewise.
37930         * libio/vscanf.c: Likewise.
37931         * libio/vsnprintf.c: Likewise.
37932         * libio/vswprintf.c: Likewise.
37933         * libio/wfiledoalloc.c: Likewise.
37934         * libio/wfileops.c: Likewise.
37935         * libio/wgenops.c: Likewise.
37936         * libio/wmemstream.c: Likewise.
37937         * libio/wstrops.c: Likewise.
37938         * libio/__fpurge.c: Likewise.
37939         * libio/__fsetlocking.c: Likewise.
37940         * assert/assert.c: Likewise.
37941         * debug/fgets_chk.c: Likewise.
37942         * debug/fgets_u_chk.c: Likewise.
37943         * debug/fread_chk.c: Likewise.
37944         * debug/fread_u_chk.c: Likewise.
37945         * debug/gets_chk.c: Likewise.
37946         * debug/obprintf_chk.c: Likewise.
37947         * debug/vasprintf_chk.c: Likewise.
37948         * debug/vdprintf_chk.c: Likewise.
37949         * debug/vsnprintf_chk.c: Likewise.
37950         * debug/vsprintf_chk.c: Likewise.
37951         * malloc/mtrace.c: Likewise.
37952         * misc/error.c: Likewise.
37953         * misc/syslog.c: Likewise.
37954         * stdio-common/asprintf.c: Likewise.
37955         * stdio-common/fxprintf.c: Likewise.
37956         * stdio-common/getw.c: Likewise.
37957         * stdio-common/isoc99_fscanf.c: Likewise.
37958         * stdio-common/isoc99_scanf.c: Likewise.
37959         * stdio-common/isoc99_vfscanf.c: Likewise.
37960         * stdio-common/isoc99_vscanf.c: Likewise.
37961         * stdio-common/isoc99_vsscanf.c: Likewise.
37962         * stdio-common/printf-prs.c: Likewise.
37963         * stdio-common/printf_fp.c: Likewise.
37964         * stdio-common/printf_fphex.c: Likewise.
37965         * stdio-common/printf_size.c: Likewise.
37966         * stdio-common/putw.c: Likewise.
37967         * stdio-common/scanf.c: Likewise.
37968         * stdio-common/sprintf.c: Likewise.
37969         * stdio-common/tmpfile.c: Likewise.
37970         * stdio-common/vfprintf.c: Likewise.
37971         * stdio-common/vfscanf.c: Likewise.
37972         * stdlib/strfmon_l.c: Likewise.
37973         * sunrpc/openchild.c: Likewise.
37974         * sunrpc/xdr_stdio.c: Likewise.
37975         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37976         * sysdeps/mach/hurd/tmpfile.c: Likewise.
37978 2012-05-24  Roland McGrath  <roland@hack.frob.com>
37980         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
37982         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
37983         in the third column, to generate for the shared library an IFUNC
37984         that uses _dl_vdso_vsym.
37985         * Makerules (COMPILE.c, compile-stdin.c): New variables.
37986         * Makeconfig (object-suffixes-noshared): New variable.
37988         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
37989         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
37990         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
37991         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
37993         [BZ #14132]
37994         * include/sys/time.h (__gettimeofday): Remove macro.
37995         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
37996         * time/gettimeofday.c (__gettimeofday): Remove #undef.
37997         Remove INTDEF.
37998         (__gettimeofday): Add libc_hidden_def.
37999         (gettimeofday): Add libc_hidden_weak.
38000         * sysdeps/mach/gettimeofday.c: Likewise.
38001         * sysdeps/posix/gettimeofday.c: Likewise.
38002         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38003         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38004         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38005         (__gettimeofday_internal): Remove strong_alias.
38006         (__gettimeofday): Add libc_hidden_def.
38007         (gettimeofday): Add libc_hidden_weak.
38008         * sysdeps/unix/syscalls.list (gettimeofday):
38009         Remove __gettimeofday_internal alias.
38011 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38012             H.J. Lu  <hongjiu.lu@intel.com>
38014         [BZ #12495]
38015         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38016         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38017         (largebin_index_32_big): New.
38018         (largebin_index): Use it for 16-byte alignment.
38019         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38020         correction with front_misalign.
38022 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38025         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38026         Likewise.
38027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38028         Likewise.
38029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38030         Likewise.
38031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38032         Likewise.
38033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38034         Likewise.
38035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38036         Likewise.
38037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38038         Likewise.
38039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38040         Likewise.
38041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38042         Likewise.
38043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38044         Likewise.
38045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38046         Likewise.
38047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38048         Likewise.
38050         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38051         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38053 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38055         [BZ #10846]
38056         [BZ #14036]
38057         * math/libm-test.inc (exp_test): Add test from bug 14036.
38058         (pow_test): Add test from bug 10846.
38060         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38061         and other flags.
38062         (special_function): Do not include flags in test name.
38063         (parse_args): Likewise.
38064         * sysdeps/i386/fpu/libm-test-ulps: Update.
38065         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38066         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38067         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38070         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38071         exceptions.
38072         * math/libm-test.inc ("Philosophy"): Update comment about
38073         exception testing.
38074         (UNDERFLOW_EXCEPTION): New macro.
38075         (UNDERFLOW_EXCEPTION_OK): Likewise.
38076         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38077         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38078         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38079         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38080         (INVALID_EXCEPTION_OK): Update value.
38081         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38082         (OVERFLOW_EXCEPTION_OK): Likewise.
38083         (IGNORE_ZERO_INF_SIGN): Likewise.
38084         (test_exceptions): Handle underflow exceptions.
38085         (acos_test): Update for underflow exception expectations.
38086         (cexp_test): Likewise.
38087         (clog_test): Likewise.
38088         (clog10_test): Likewise.
38089         (csqrt_test): Likewise.
38090         (ctan_test): Likewise.
38091         (ctanh_test): Likewise.
38092         (exp_test): Likewise.
38093         (exp10_test): Likewise.
38094         (exp2_test): Likewise.
38095         (expm1_test): Likewise.
38096         (fma_test): Likewise.
38097         (j0_test): Likewise.
38098         (jn_test): Likewise.
38099         (nexttoward_test): Likewise.
38100         (pow_test): Likewise.
38101         (scalbn_test): Likewise.
38102         (scalbln_test): Likewise.
38103         (tan_test): Likewise.
38104         (y1_test): Likewise.
38105         * sysdeps/i386/fpu/libm-test-ulps: Update.
38106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38108 2012-05-23  David S. Miller  <davem@davemloft.net>
38110         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38111         (__libc_sigaction): Remove unused local variables.
38113 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38115         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38117 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38119         mktime: avoid signed integer overflow
38120         * time/mktime.c (__mktime_internal): Do not mishandle the case
38121         where diff == INT_MIN.
38123         mktime: simplify computation of average
38124         * time/mktime.c (ranged_convert): Use new time_t_avg function
38125         instead of rolling our own (probably-slower) code.
38127         mktime: do not assume signed right shift propagates sign bit
38128         * time/mktime.c (isdst_differ): New static function.
38129         (__mktime_internal): No need to normalize tm_isdst now.
38130         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38131         tm_isdst values.
38133         mktime: merge another wrapv change from gnulib
38134         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38135         from some compilers.
38137         mktime: remove incorrect attempt at unusual arithmetics
38138         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38139         The code didn't really work on such machines anyway.
38140         (TYPE_MINIMUM): Assume two's complement.
38141         (twos_complement_arithmetic): Verify that long_int and time_t
38142         are two's complement (or unsigned, in the latter case).
38144         mktime: check signed shifts on long_int and time_t, too
38145         * time/mktime.c (SHR): Check that shifts work as desired
38146         on the types long_int and time_t too, as SHR is used on
38147         such types.
38149         mktime: do not assume 'long' is wide enough
38150         * time/mktime.c (verify): Move decl up.
38151         (long_int): New type.
38152         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38153         to remove assumption in the code that 'long' is wide enough to
38154         store year values.  This assumption is not true on x32 and on
38155         some non-glibc platforms.
38157         mktime: merge wrapv change from gnulib
38158         * time/mktime.c (WRAPV): New macro.
38159         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38160         (guess_time_tm, __mktime_internal): Do not assume that signed
38161         integer overflow wraps around; modern compilers generate code
38162         where this assumption is no longer valid.
38164 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38166         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38167         Replace "jmp L(pseudo_end)" with "ret".
38168         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38169         Likewise.
38171 2012-05-23  Andreas Jaeger  <aj@suse.de>
38173         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38174         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38176 2012-05-23  Andreas Jaeger  <aj@suse.de>
38177             Maximilian Attems  <max@stro.at>
38179         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38180         New macros.
38182 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38184         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38185         code so that pseudo_end is just ret and the stack pointer is
38186         correct also for static library in error case.
38188 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38190         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38191         move to syscalls.list.
38192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38197         * manual/install.texi (Running make install): Do not mention Linux
38198         kernel version for which pt_chown is not needed.
38199         (Linux): Do not mention problems with nscd with 2.0 kernels.
38200         * INSTALL: Regenerated.
38202 2012-05-23  Andreas Jaeger  <aj@suse.de>
38204         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38205         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38206         macro.
38207         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38208         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38209         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38210         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38211         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38212         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38213         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38214         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38215         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38216         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38217         * sysdeps/unix/sysv/linux/bits/in.h
38218         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38220 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38222         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38223         (PREPARE_VERSION): Just use assert instead, it will be elided
38224         under [NDEBUG] anyway.
38226 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38228         * sysdeps/unix/sysv/linux/Makefile: Include
38229         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38230         (sysdep_routines): Remove sysctl.
38231         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38232         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38233         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38234         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38235         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38237 2012-05-22  Andreas Jaeger  <aj@suse.de>
38239         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38240         that pseudo_end is just ret and the stack pointer is correct also
38241         for static library in error case.
38243 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38245         [BZ #14122]
38246         * nss/nsswitch.c (defconfig_entries): New variable.
38247         (__nss_database_lookup): Don't leak defconfig entries.
38248         (nss_parse_service_list): Don't leak on error paths.
38249         (free_database_entries): New function.
38250         (free_defconfig): New function.
38251         (free_mem): Move common code to free_database_entries.
38253 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38255         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38256         Add arch_prctl.
38257         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38259         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38260         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38261         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38262         New macro.
38263         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38264         (INTERNAL_SYSCALL_TYPES): Likewise.
38265         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38266         (LOAD_REGS_TYPES_[1-6]): Likewise.
38267         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38268         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38270 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38272         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38273         copysignl for GLIBC_2_0.
38274         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38275         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38276         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38277         logbl for GLIBC_2_0.
38278         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38279         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38281 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38283         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38284         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38286         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38287         Use "neg %eax".
38289         * time/mktime.c: Update copyright years.
38291 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38293         mktime: merge comment-quoting-style change from gnulib
38294         * time/mktime.c: Quote 'like this' in comments.
38295         The GNU coding standards suggest that we no longer quote `like this',
38296         as "`" and "'" are typically rendered asymmetrically nowadays.
38297         The typical gnulib style is to quote 'like this' when quoting
38298         code, and "like this" when quoting English.
38300         * time/mktime.c (compile-command): Add "-I.".
38302         mktime: merge mktime-internal.h change from gnulib
38303         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38305         mktime: merge time_r change from gnulib
38306         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38308         mktime: merge DEBUG change from gnulib
38309         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38310         case system <time.h> has a #define.
38312         mktime: merge <sys/types.h> change from gnulib
38313         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38314         since <time.t> is now guaranteed to define time_t.
38316         mktime: merge HAVE_CONFIG_H change from gnulib
38317         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38319 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38321         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38322         Use "neg %eax".
38324         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38325         __rlim_t cast.
38326         (struct rusage): Use anonymous union to pad each field to
38327         __syscall_slong_t.
38329 2012-05-21  David S. Miller  <davem@davemloft.net>
38331         * Makefules (o-iterator): Remove .s cases.
38332         (compile-command.s): Delete.
38333         (COMPILE.s): Delete.
38334         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38336 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38338         * configure.in (libc_cv_predef_stack_protector): Only consider
38339         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38340         * configure: Regenerated.
38342 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38345         New macro.  Use R*LP on int and pointer.
38346         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38347         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38348         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38349         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38351         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38352         [__WORDSIZE_TIME64_COMPAT32] instead of
38353         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38354         (struct utmp): Likewise.
38355         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38356         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38357         Renamed to ...
38358         (__WORDSIZE_TIME64_COMPAT32): This.
38359         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38360         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38361         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38362         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38363         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38364         (__WORDSIZE_TIME64_COMPAT32): New macro.
38366 2012-05-21  Andreas Jaeger  <aj@suse.de>
38368         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38369         only if [SHARED]. Add prototype for __wcschr_ia32.
38371 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38373         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38374         of %rbp unmolested in the jmp_buf while mangling the low bits.
38375         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38376         unmolested high bits of %rbp while demangling the low bits.
38377         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38379 2012-05-21  Andreas Jaeger  <aj@suse.de>
38381         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38382         * sunrpc/svc_simple.c: Use it for registerrpc.
38383         * sunrpc/xcrypt.c: Use it for passwd2des.
38385         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38387 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38389         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38390         Don't define if [__SYSCALL_WORDSIZE != 32].
38391         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38392         New macro.
38394 2012-05-21  Bruno Haible  <bruno@clisp.org>
38395             Andreas Jaeger  <aj@suse.de>
38397         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38398         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38399         inptr and inend for must_buffer_ch.
38400         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38401         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38402         * stdio-common/Makefile (tests): Remove bug15.
38403         (bug15-ENV): Remove macro.
38404         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38405         anymore.
38407 2012-05-19  Andreas Jaeger  <aj@suse.de>
38408             Roland McGrath  <roland@hack.frob.com>
38410         * manual/contrib.texi: Completely rewritten. It contains now an
38411         alphabetical list of contributors and their contributions.
38413 2012-05-21  Richard Henderson  <rth@twiddle.net>
38415         * misc/getauxval.c (__getauxval): Use unsigned long int.
38416         * misc/sys/auxv.h: Include <sys/cdefs.h>.
38417         (getauxval): Use unsigned long int.
38419 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38421         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38423 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38425         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38426         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38427         __alignof__ (long double).
38429 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38433 2012-05-20  Richard Henderson  <rth@twiddle.net>
38435         * misc/getauxval.c: New file.
38436         * misc/sys/auxv.h: New file.
38437         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38438         (routines): Add getauxval.
38439         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38440         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38441         * elf/dl-sysdep.c (_dl_auxv): Remove.
38442         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38443         * elf/dl-support.c (_dl_auxv): New variable.
38444         (_dl_aux_init): Initialize it.
38445         * manual/startup.texi (Auxiliary Vector): New node.
38446         * sysdeps/generic/bits/hwcap.h: New file.
38447         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38448         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
38449         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38450         * sysdeps/sparc/sysdep.h: ... here.  Include it.
38451         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38452         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38454         Update.
38455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38456         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38458         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38459         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38460         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38461         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38464 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38466         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38468 2012-05-19  David S. Miller  <davem@davemloft.net>
38470         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38472 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38474         [BZ #14123]
38475         * math/s_ccosh.c: Include <float.h>
38476         (__ccosh): Avoid internal overflow calculating sinh and cosh
38477         values before multiplying by sin and cos values.
38478         * math/s_ccoshf.c: Likewise.
38479         * math/s_ccoshl.c: Likewise.
38480         * math/s_csin.c: Likewise.
38481         * math/s_csinf.c: Likewise.
38482         * math/s_csinl.c: Likewise.
38483         * math/s_csinh.c: Likewise.
38484         * math/s_csinhf.c: Likewise.
38485         * math/s_csinhl.c: Likewise.
38486         * math/libm-test.inc (ccos_test): Add more tests.
38487         (ccosh_test): Likewise.
38488         (csin_test): Likewise.
38489         (csinh_test): Likewise.
38490         * sysdeps/i386/fpu/libm-test-ulps: Update.
38491         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38493 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
38495         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38496         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38498         * sysdeps/x86_64/x32/_itoa.h: Add comment.
38500 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38502         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38503         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38504         * sysdeps/powerpc/soft-fp/Versions: Likewise.
38505         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38506         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38507         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38508         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38509         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38510         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38511         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38512         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38513         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38514         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38515         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38516         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38517         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38518         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38519         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38520         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38521         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38522         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38523         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38524         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38525         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38526         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38527         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38528         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38529         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38530         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38531         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38532         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38534 2012-05-18  Andreas Jaeger  <aj@suse.de>
38536         * csu/.gitignore: Delete.
38538 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38540         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38541         (timex): Use __syscall_slong_t.
38543 2012-05-18  Andreas Jaeger  <aj@suse.de>
38544             Carlos O'Donell  <carlos_odonell@mentor.com>
38546         * manual/install.texi (Configuring and compiling): Update
38547         description about files modified in the source directory.
38548         * INSTALL: Regenerated.
38550 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38552         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38553         value.  Use "or" to set return value to -1.
38554         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38555         negate return value.
38557 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38559         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38560         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38561         failure if the compiler has Graphite support disabled.
38562         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38563         Likewise.
38564         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38565         (CFLAGS-memmove.c): Likewise.
38566         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38567         Likewise.
38569 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38571         * sysdeps/x86_64/x32/_itoa.h: New file.
38573         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38574         getdents system call only if kernel and user dirents have the
38575         same d_ino and d_off.
38577         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38578         LLONG_MAX != LONG_MAX.
38579         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38580         (_fitoa_word): Likewise.
38582         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38583         years.
38584         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38585         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38586         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38588         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38589         include <bits/wordsize.h>.  Check __x86_64__ instead of
38590         __WORDSIZE.
38591         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38592         if __x86_64__ is defined.  Use anonymous union on fpstate.
38594         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38595         anonymous union.
38597 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
38599         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38600         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38601         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38602         Refer to _rtld_local_ro instead of _rtld_global_ro.
38603         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38604         Likewise.
38605         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38606         Likewise.
38607         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38608         Likewise.
38609         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38610         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38611         of _rtld_global, and rtld_progname instead of _dl_argv[0].
38613         * sysdeps/powerpc/powerpc32/dl-machine.c
38614         (__elf_machine_runtime_setup) [PROF]: Don't reference
38615         _dl_prof_resolve.
38617 2012-05-18  Andreas Jaeger  <aj@suse.de>
38619         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38620         function only available for GCCs before 3.4 since GCC 3.4
38621         introduced a builtin.
38622         (lrint): Likewise.
38623         (llrintf): Likewise.
38624         (llrint): Likewise.
38625         (fmaxf): Likewise.
38626         (fmax): Likewise.
38627         (fminf): Likewise.
38628         (fmin): Likewise.
38629         (rint): Likewise.
38630         (rintf): Likewise.
38631         (nearbyint): Likewise.
38632         (nearbyintf): Likewise.
38633         (ceil): Likewise.
38634         (ceilf): Likewise.
38635         (floor): Likewise.
38636         (floorf): Likewise.
38638 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38640         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38641         on both fields and cast pointer to __syscall_ulong_t.
38643         * bits/types.h (__fsword_t): New type.
38644         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38645         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38646         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38647         (__FSWORD_T_TYPE): Likewise.
38648         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38649         (__FSWORD_T_TYPE): Likewise.
38650         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38651         (__FSWORD_T_TYPE): Likewise.
38652         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38653         (__FSWORD_T_TYPE): Likewise.
38654         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38655         __SWORD_TYPE with __fsword_t.
38656         (statfs64): Likewise.
38658 2012-05-17  David S. Miller  <davem@davemloft.net>
38660         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38662 2012-05-17  Andreas Jaeger  <aj@suse.de>
38664         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38665         warning.
38667 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38669         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38671 2012-05-17  Andreas Jaeger  <aj@suse.de>
38673         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38674         when it is used.
38676 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38678         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38680 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38682         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38683         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38685 2012-05-17  Andreas Jaeger  <aj@suse.de>
38686             Carlos O'Donell  <carlos_odonell@mentor.com>
38688         [BZ #14059]
38689         * sysdeps/x86_64/multiarch/init-arch.h
38690         (bit_YMM_Usable): Rename to...
38691         (bit_AVX_Usable): ... this.
38692         (bit_FMA4_Usable): New macro.
38693         (bit_XMM_state): New macro.
38694         (bit_YMM_state): New macro.
38695         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38696         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38697         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38698         (CPUID_OSXSAVE): New macro.
38699         (CPUID_AVX): New macro.
38700         (CPUID_FMA4): New macro.
38701         (index_YMM_Usable): Rename to...
38702         (index_AVX_Usable): ... this.
38703         (HAS_AVX): Use HAS_ARCH_FEATURE.
38704         (HAS_FMA4): Likewise.
38705         (HAS_YMM_USABLE): Remove.
38706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38707         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38708         are present.
38709         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38710         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38711         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38712         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38713         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38715 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38717         * math/libm-test.c: Support platforms without multiple rounding modes.
38718         * math/bug-nextafter.c: Support platforms without FP exceptions.
38719         * math/bug-nexttoward.c: Likewise.
38720         * math/test-fenv.c: Likewise.
38721         * math/test-misc.c: Likewise.
38722         * stdlib/bug-getcontext.c: Likewise.
38724 2012-05-17  Andreas Jaeger  <aj@suse.de>
38726         * manual/examples/search.c (critter_cmp): Change signature to
38727         avoid warnings.
38728         * manual/string.texi (Collation Functions): Likewise.
38730 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38732         * bits/types.h: Fold copyright years.
38733         * bits/typesizes.h: Likewise.
38734         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38735         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38736         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38737         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38738         * time/time.h: Likewise.
38740 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38742         [BZ #208]
38743         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38744         in instead of returning them.  Return void.
38745         (__libc_mallinfo): Accumulate over all arenas.
38746         (__malloc_stats): Adjust for change in int_mallinfo interface.
38748 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38750         [BZ #10375]
38751         * configure.in (NM): Add AC_CHECK_TOOL for it.
38752         (libc_extra_cflags): New substituted variable.
38753         Check for -fstack-protector being used implicitly.
38754         * configure: Regenerated.
38755         * config.make.in (config-extra-cflags): New variable,
38756         gets @libc_extra_cflags@.
38757         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38759         [BZ #10375]
38760         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38761         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38762         * configure: Regenerated.
38763         * config.make.in (CPPUNDEFS): New substituted variable.
38764         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38765         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38766         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38768 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38770         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38771         (mq_attr): Use __syscall_slong_t.
38773 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38775         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38776         Check __x86_64__ instead of __WORDSIZE.
38777         (_STAT_VER_LINUX): Likewise.
38778         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38779         __syscall_ulong_t and __syscall_slong_t.
38780         (stat64): Likewise.
38782 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38784         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38786 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38788         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38790 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38792         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38793         __syscall_ulong_t.
38795         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38796         include <bits/wordsize.h>.  Check __x86_64__ instead of
38797         __WORDSIZE.
38798         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38799         defined.
38800         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38802         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38803         include <bits/wordsize.h>.  Check __x86_64__ instead of
38804         __WORDSIZE.
38805         (user_regs_struct): Use "__extension__ unsigned long long"
38806         instead of "unsigned long" if __x86_64__ is defined.
38807         (user): Likewise.  Pad after pointer field if __ILP32__ is
38808         defined.
38810 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38812         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38813         versions 5 to 9.
38814         * configure: Regenerated.
38815         * manual/install.texi (texinfo): Increase version requirement to
38816         4.5 or later.
38817         * INSTALL: Regenerated.
38819         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38821 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38823         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38825         * sysdeps/x86_64/x32/ffs.c: New file.
38827         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38828         __syscall_ulong_t.
38829         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38830         defined.  Use __syscall_ulong_t.
38831         (shminfo): Use __syscall_ulong_t.
38832         (shm_info): Likewise.
38834         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38835         __syscall_ulong_t.
38837         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38838         <bits/wordsize.h>.
38839         (msgqnum_t): Use __syscall_ulong_t.
38840         (msglen_t): Likewise.
38841         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38842         __syscall_ulong_t.
38844         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38845         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38847         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38849         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38850         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38852         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38853         __syscall_slong_t.
38855         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38856         include <bits/wordsize.h>.  Check __x86_64__ instead of
38857         __WORDSIZE.
38859         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38860         "unsigned long long int" if __x86_64__ is defined.
38861         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38863         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38864         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38865         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38867         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38868         <stdint.h>.
38869         (GET_PC): Cast to uintptr_t first.
38870         (GET_FRAME): Likewise.
38871         (GET_STACK): Likewise.
38873         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38874         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38875         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38876         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38877         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38878         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38879         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38880         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38881         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38882         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38883         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38884         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38885         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38886         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38887         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38888         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38889         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38890         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38891         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38892         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38893         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38894         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38895         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38896         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38897         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38898         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38899         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38900         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38901         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38903 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38905         * Makerules (+depfiles): Also collect depfiles from .oS in
38906         $(extra-objs).
38907         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38908         .oS, $(libnldbl-routines)).
38910         * Makerules (native-compile-mkdep-flags): Define.
38911         * sunrpc/Makefile (extra-objs): Add $(addprefix
38912         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38913         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38914         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38915         calling $(make-target-directory).
38917 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38919         * bits/types.h (__snseconds_t): Removed.
38920         * time/time.h (struct timespec): Replace __snseconds_t with
38921         __syscall_slong_t.
38922         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38923         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38924         Likewise.
38925         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38926         (__SNSECONDS_T_TYPE): Likewise.
38927         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38928         (__SNSECONDS_T_TYPE): Likewise.
38929         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38930         (__SNSECONDS_T_TYPE): Likewise.
38932 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38934         * sysdeps/mach/hurd/bits/typesizes.h
38935         (__SYSCALL_SLONG_TYPE): New macro.
38936         (__SYSCALL_ULONG_TYPE): Likewise.
38938 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38940         * bits/types.h (__syscall_slong_t): New type.
38941         (__syscall_ulong_t): Likewise.
38943         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38944         (__SYSCALL_ULONG_TYPE): Likewise.
38945         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38946         (__SYSCALL_SLONG_TYPE): Likewise.
38947         (__SYSCALL_ULONG_TYPE): Likewise.
38948         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38949         (__SYSCALL_SLONG_TYPE): Likewise.
38950         (__SYSCALL_ULONG_TYPE): Likewise.
38951         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38952         (__SYSCALL_SLONG_TYPE): Likewise.
38953         (__SYSCALL_ULONG_TYPE): Likewise.
38955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38957         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38958         Add sigaltstack-offsets.sym.
38959         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38960         <sigaltstack-offsets.h>.
38961         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38962         longjmp_msg pointer.
38963         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38964         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38965         signal stack.
38966         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38968 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38970         * elf/stackguard-macros.h: Remove file.
38971         * sysdeps/generic/stackguard-macros.h: New file.
38972         * sysdeps/i386/stackguard-macros.h: Likewise.
38973         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38974         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38975         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38976         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
38977         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
38978         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
38979         * sysdeps/x86_64/stackguard-macros.h: Likewise.
38980         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
38981         <elf/stackguard-macros.h>.
38983         [BZ #14109]
38984         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
38985         __aligned__ in attribute.
38986         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
38987         (gregset_t): Likewise.
38989 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38991         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
38992         * sysdeps/x86_64/64/Implies-after: Here.  New file.
38993         * sysdeps/x86_64/x32/Implies-after: New file.
38995 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38997         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
38998         and access return value for _dl_profile_fixup.  Use R10_LP to
38999         load frame size.
39001 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39003         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39007         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39008         * sysdeps/x86_64/x32/sysdep.h: New file.
39010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39012         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39013         * sysdeps/x86_64/setjmp.S: Likewise.
39015 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39017         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39018         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39019         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39020         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39021         remove unused global constant.
39023 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39025         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39026         include of <not-cancel.h>.
39028 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39030         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39032 2012-05-15  Jeff Law  <law@redhat.com>
39033             Andreas Jaeger  <aj@suse.de>
39035         [BZ #13594]
39036         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39037         out from...
39038         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39039         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39040         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39041         code changing __hst_map_handle.map.
39043 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39045         * configure.in (sysnames): Look for Implies-before and Implies-after
39046         files.
39047         * configure: Regenerated.
39049 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39051         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39052         8-byte data alignment with LP_SIZE alignment.
39054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39056         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39057         into R10_LP.
39059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39061         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39063 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39065         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39066         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39067         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39068         Likewise.
39069         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39073         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39074         (stackinfo_sub_sp): Likewise.
39076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39078         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39079         RAX_LP.
39081 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39083         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39084         into R*_LP.
39086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39088         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39089         sizes into R*_LP.
39091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39093         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39095 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39097         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39098         into R11_LP and load __x86_64_shared_cache_size_half into
39099         R8_LP.
39101 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39103         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39104         R8_LP.
39106 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39108         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39109         logb for POWER7.
39110         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39111         logbf for POWER7.
39112         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39113         logbl for POWER7.
39114         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39115         powerpc32/power7/fpu/s_logb.c via #include.
39116         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39117         powerpc32/power7/fpu/s_logbf.c via #include.
39118         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39119         powerpc32/power7/fpu/s_logbl.c via #include.
39121 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39123         * README.libm: Remove file.
39125 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39127         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39128         count for x32.  Use R*_LP and omit operand-size suffix.
39130 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39132         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39133         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39134         * sysdeps/x86_64/x32/shlib-versions: New file.
39136 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39138         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39139         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39140         Use _dl_fatal_printf instead.
39142 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39144         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39145         set if not set by the user.  Do not allow for being unset.
39146         * sysdeps/unix/sysv/linux/configure: Regenerated.
39148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39150         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39151         the `q' suffix from lea and replace .quad with ASM_ADDR.
39153 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39155         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39156         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39157         instead of $17.
39158         (PTR_DEMANGLE): Likewise.
39160 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39162         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39163         (LP_OP): Likewise.
39164         (ASM_ADDR): Likewise.
39165         (RAX_LP): Likewise.
39166         (RBP_LP): Likewise.
39167         (RBX_LP): Likewise.
39168         (RCX_LP): Likewise.
39169         (RDI_LP): Likewise.
39170         (RSI_LP): Likewise.
39171         (RSP_LP): Likewise.
39172         (R8_LP): Likewise.
39173         (R9_LP): Likewise.
39174         (R10_LP): Likewise.
39175         (R10_LP): Likewise.
39176         (R11_LP): Likewise.
39177         (R12_LP): Likewise.
39178         (R13_LP): Likewise.
39179         (R14_LP): Likewise.
39180         (R15_LP): Likewise.
39182 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39184         * sysdeps/x86_64/x32/dl-machine.h: New file.
39186 2012-05-14  Andreas Jaeger  <aj@suse.de>
39188         * manual/Makefile (subdir): Remove export of subdir.
39189         (all): Remove target.
39190         (.PHONY): Remove all from list.
39191         (mkinstalldirs): Remove.
39192         (.PHONY): Remove installdirs from list.
39193         ($(inst_infodir)/libc.info): Use make-target-directory.
39194         (installdirs): Remove.
39195         (subdir_%): Remove.
39196         (glibc-targets): Remove.
39197         (lib): Remove.
39198         (stubs): Remove.
39199         ($(objpfx)stubs ../po/manual.pot): Remove.
39200         ($(objpfx)stamp%): Remove.
39201         (make-target-directory): Remove.
39202         (subdir_install): Remove.
39203         (routines): Remove.
39204         (aux): Remove.
39205         (sources): Remove.
39206         (objects): Remove.
39207         (headers): Remove.
39209         [BZ #13750]
39210         * manual/.gitignore: Remove, it's not needed anymore.
39211         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39212         all files in it.
39213         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39214         directory.
39215         (texis): Renamed to $(objpfx)texis.
39216         (texis-path): New, contains path to generated files.
39217         (chapters.%): Use texis-path for complete path, add extra argument
39218         libc-texinfo.sh.
39219         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39220         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39221         (summary,texi, stamp-summary): Use complete path of
39222         files. Generate files in build dir.
39223         (dir-add.texi): Build in build dir.
39224         (libm-err.texi,stamp-libm-err): Likewise.
39225         (version.texi, stamp-version): Likewise.
39226         (.%c.texi): Likewise.
39227         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39228         (mostlyclean): Remove target.
39229         (realclean): Remove target.
39230         (generated): Add new variable with contents from mostlyclean and
39231         realclean, remove entries duplicated in common-mostlyclean, add
39232         stamp-libm-err and stamp-version.
39233         (generated-dirs): Add libc directory.
39234         ($(inst_infodir)/libc.info): Install files from build dir.
39236         * manual/install.texi (Configuring and compiling): Adjust since
39237         the info files are not part of the tar ball anymore.
39239 2012-05-14  Andreas Jaeger  <aj@suse.de>
39241         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39242         variable.
39244 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39246         [BZ #13717]
39247         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39248         to 2.2.0 where earlier.
39249         * sysdeps/unix/sysv/linux/configure: Regenerated.
39250         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39251         Remove conditional code.
39252         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39253         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39254         Remove conditional code.
39255         [!__NR_lchown]: Likewise.
39256         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39257         [__NR_lchown]: Likewise.
39258         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39259         comment referencing __ASSUME_LCHOWN_SYSCALL.
39260         * sysdeps/unix/sysv/linux/i386/sigaction.c
39261         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39262         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39263         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39264         Remove conditional code.
39265         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39266         (__protocol_available): Remove #if 0 code.
39267         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39268         conditional code.
39269         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39270         * sysdeps/unix/sysv/linux/kernel-features.h
39271         (__ASSUME_GETCWD_SYSCALL): Don't define.
39272         (__ASSUME_REALTIME_SIGNALS): Likewise.
39273         (__ASSUME_PREAD_SYSCALL): Likewise.
39274         (__ASSUME_PWRITE_SYSCALL): Likewise.
39275         (__ASSUME_POLL_SYSCALL): Likewise.
39276         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39277         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39278         non-SPARC.
39279         (__ASSUME_SIOCGIFNAME): Don't define.
39280         (__ASSUME_MSG_NOSIGNAL): Likewise.
39281         (__ASSUME_SENDFILE): Define unconditionally.
39282         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39283         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39284         conditional code.
39285         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39286         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39287         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39288         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39289         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39290         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39291         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39293         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39294         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39296         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39297         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39299         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39300         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39302         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39303         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39305         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39306         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39308         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39309         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39311         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39312         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39314         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39315         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39316         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39317         Remove conditional code.
39318         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39319         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39320         Remove conditional code.
39321         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39322         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39323         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39324         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39325         Remove conditional code.
39326         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39327         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39328         Remove conditional code.
39329         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39330         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39331         Remove conditional code.
39332         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39333         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39334         Remove conditional code.
39335         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39336         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39337         Remove conditional code.
39338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39339         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39340         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39341         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39342         * sysdeps/unix/sysv/linux/sigaction.c
39343         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39344         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39345         * sysdeps/unix/sysv/linux/sigpending.c
39346         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39347         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39348         * sysdeps/unix/sysv/linux/sigprocmask.c
39349         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39350         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39351         * sysdeps/unix/sysv/linux/sigsuspend.c
39352         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39353         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39354         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39355         (__libc_missing_rt_sigs): Remove.
39356         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39357         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39358         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39359         Remove conditional code.
39360         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39361         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39362         return 1.
39363         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39364         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39365         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39366         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39368 2012-05-14  Andreas Jaeger  <aj@suse.de>
39370         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39371         it's not used in glibc.
39372         (__coshm1): Likewise.
39373         (__acosh1p): Likewise.
39374         (__sgn): Likewise.
39376         * manual/string.texi (Copying and Concatenation): Add missing
39377         variable in concat example.
39378         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39380 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39382         [BZ #14103]
39383         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39384         __builtin_clzl with __builtin_clzll.
39386 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39388         [BZ #14104]
39389         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39390         libc_freeres_ptr.
39392 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39394         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39395         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39396         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39397         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39399 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
39401         * NEWS: Update ia64 info.
39403 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
39405         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39406         used as bcopy.
39408 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
39410         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39411         * sysdeps/unix/syscalls.list (dup3): Likewise.
39412         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39413         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39415 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39417         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39418         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39420 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39422         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39423         thread pointer.
39424         (TLS_IE): Use mov/add instead of movq/addq to load thread
39425         pointer.
39426         (TLS_GD_PREFIX): New.
39427         (TLS_GD): Use it.
39429 2012-05-11  David S. Miller  <davem@davemloft.net>
39431         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39432         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39433         (_FPU_SETCW): Likewise.
39435 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39437         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39438         is 32-byte aligned.
39440 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
39442         [BZ #11837]
39443         * iconvdata/gb18030.c: Update tables.
39444         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
39445         characters specially.
39446         (BODY for TO_LOOP): Add encoding of missing ranges.
39448 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
39450         [BZ #13673]
39451         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39452         * sysdeps/mach/hurd/dup3.c: Likewise.
39453         * sysdeps/mach/hurd/readlinkat.c: Likewise.
39454         * sysdeps/powerpc/memmove.c:: Likewise.
39456 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39458         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39459         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39461 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39463         * elf/elf.h (R_X86_64_RELATIVE64): New.
39464         (R_X86_64_NUM): Updated.
39465         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39466         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
39467         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39468         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39469         tst-quad1pie tst-quad2pie
39470         (modules-names): Add tst-quadmod1 tst-quadmod2.
39471         ($(objpfx)tst-quad1): New dependency.
39472         ($(objpfx)tst-quad2): Likewise.
39473         ($(objpfx)tst-quad1pie): Likewise.
39474         ($(objpfx)tst-quad2pie): Likewise.
39475         * sysdeps/x86_64/tst-quad1.c: New file.
39476         * sysdeps/x86_64/tst-quad1pie.c: New file.
39477         * sysdeps/x86_64/tst-quad2.c: Likewise.
39478         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39479         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39480         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39481         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39482         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39484 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39486         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39487         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39488         * streams/stropts.h (t_scalar_t): Define type.
39490         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39491         (_PATH_PRESERVE): Set to "/var/lib".
39492         (_PATH_RWHODIR): Set to "/var/spool/rwho".
39494         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39495         instead of int.
39497         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39498         if __dir_mkfile succeeded.
39500         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39501         checking for _hurd_dtablesize.  Unlock it right after having
39502         finished _hurd_dtable allocation.
39504 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39506         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39507         * sysdeps/mach/hurd/configure: Regenerated.
39508         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39509         special-casing to...
39510         * sysdeps/gnu/configure.in: ... this new file.
39511         * sysdeps/unix/sysv/linux/configure: Regenerated.
39512         * sysdeps/gnu/configure: New generated file.
39514         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39515         for Linux: use nsec instead of usec, as well as:
39516         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39517         members of type struct timespec.
39518         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39519         New macros.
39520         (struct stat64): Likewise.
39521         (_STATBUF_ST_NSEC): New macro.
39522         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39524         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39525         __strtoul_internal rather than strtoul.
39527 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39529         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39530         and reject them.
39532 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39534         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39535         which preserves existing values.
39536         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39538 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39540         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39541         TIMEOUT values.  Return EINVAL for NFDS values either negative or
39542         greater than FD_SETSIZE.
39544 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39546         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39547         allocated, call __vm_protect to finish enabling the existing space, and
39548         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39549         allocate the remainder.
39551 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39553         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39554         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
39556 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39558         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39559         sysdeps/mach/hurd/readlink.c.
39561         * posix/tst-sysconf.c (posix_options): Only use
39562         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39563         _POSIX_SYNCHRONIZED_IO when they are defined
39564         * sysdeps/mach/hurd/bits/posix_opt.h:
39565         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39566         (_XOPEN_REALTIME): Undefine macro.
39567         (_XOPEN_REALTIME_THREADS): Undefine macro.
39568         (_XOPEN_SHM): Undefine macro.
39569         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39570         macro to -1.
39571         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39572         macro to -1.
39573         (_POSIX_ASYNC_IO): Undefine macro.
39574         (_POSIX_PRIORITIZED_IO): Undefine macro.
39575         (_POSIX_SPIN_LOCKS): Define macro to -1.
39577         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39578         SA_NODEFER, SA_RESETHAND.
39579         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39580         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39581         F_DUPFD_CLOEXEC.
39583 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39585         * elf/Makefile (pldd-modules): Define unconditionally.
39587 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39589         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39591 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39593         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39594         Return ENOENT when name is empty.
39595         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39599         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39601         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39603 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39605         Fix mlock in all cases except non-readable pages.
39606         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39607         instead of VM_PROT_ALL as parameter to __vm_wire function.
39609         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39610         (__mkdir): When path is `/', just fail with EEXIST.
39611         * sysdeps/mach/hurd/mkdirat.c: Likewise.
39613 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39615         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39616         <sys/uio.h> (for writev).
39617         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39618         and <sys/param.h> (for MIN).
39620 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39622         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39623         REQUESTED_TIME.  Properly set the remaining time and return EINTR
39624         if interrupted.
39626 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39628         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39629         Depend on against $(link-rpcuserlibs).
39631 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39633         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39634         (__libc_stack_end): Do not use attribute_relro.
39635         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39636         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39637         to libthread-provided value.
39638         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39639         attribute_relro.
39641 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39643         [BZ #3748]
39644         * bits/libc-lock.h (__libc_once_get): New macro.
39645         * sysdeps/mach/bits/libc-lock.h: Likewise.
39646         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39647         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39648         instead of using implementation details.
39650         * libio/fileops.c: Unconditionally include <kernel-features.h>.
39651         * libio/freopen.c: Likewise.
39652         * libio/freopen64.c: Likewise.
39653         * misc/syslog.c: Likewise.
39654         * nscd/connections.c: Likewise.
39655         * nscd/netgroupcache.c: Likewise.
39656         * sysdeps/posix/getcwd.c: Likewise.
39658 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39660         * math/w_ilogbf.c: Add #include <limits.h>.
39662 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39664         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39665         path instead of returning without unlocking.
39667         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39668         immediate-write ioctls.
39669         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39671 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39673         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39674         __builtin_frame_address instead of making assumptions about the
39675         location of the return address relative to DATA.  Force early load of
39676         the return address.
39677         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39678         __builtin_frame_address.
39680         dup3 for GNU Hurd.
39681         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39682         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39683         implement dup3 and do some further code clean-ups.
39684         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39685         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39687 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39689         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39691         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39692         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39693         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39694         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39695         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39696         d->port.lock.
39698         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39699         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39700         when handler == SIG_ERR, not when handler != SIG_ERR.
39702 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39704         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39705         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39706         definitions.
39708         accept4 for GNU Hurd.
39709         * include/sys/socket.h (__libc_accept4): New prototype.
39710         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39711         to implement __libc_accept4.
39712         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39713         __libc_accept4.
39714         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39716         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39717         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39718         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39719         signal-defines.sym.
39721 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39723         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39727         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39728         assertion on O_CLOEXEC flag.
39729         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39730         * hurd/intern-fd.c: Likewise.
39731         * hurd/port2fd.c: Likewise.
39733 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39735         [BZ #3906]
39736         * bits/in.h (IPV6_PKTINFO): Define new macro.
39737         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39739 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39741         [BZ #13954]
39742         [BZ #13955]
39743         [BZ #13956]
39744         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39745         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39746         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39747         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39748         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39749         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39750         * math/libm-test.inc (logb_test) : Additional logb tests.
39752 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39753             Andreas Jaeger  <aj@suse.de>
39755         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39756         * configure: Regenerated.
39757         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39758         * config.make.in (link-obsolete-rpc): New substituted variable.
39759         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39760         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39761         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39762         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39763         so that libc.a contains the symbols.
39764         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39765         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39766         * sunrpc/auth_none.c: Likewise.
39767         * sunrpc/auth_unix.c: Likewise.
39768         * sunrpc/authdes_prot.c: Likewise.
39769         * sunrpc/authuxprot.c: Likewise.
39770         * sunrpc/clnt_gen.c: Likewise.
39771         * sunrpc/clnt_perr.c: Likewise.
39772         * sunrpc/clnt_raw.c: Likewise.
39773         * sunrpc/clnt_simp.c: Likewise.
39774         * sunrpc/clnt_tcp.c: Likewise.
39775         * sunrpc/clnt_udp.c: Likewise.
39776         * sunrpc/clnt_unix.c: Likewise.
39777         * sunrpc/des_crypt.c: Likewise.
39778         * sunrpc/des_soft.c: Likewise.
39779         * sunrpc/get_myaddr.c: Likewise.
39780         * sunrpc/key_call.c: Likewise.
39781         * sunrpc/key_prot.c: Likewise.
39782         * sunrpc/netname.c: Likewise.
39783         * sunrpc/pm_getmaps.c: Likewise.
39784         * sunrpc/pm_getport.c: Likewise.
39785         * sunrpc/pmap_clnt.c: Likewise.
39786         * sunrpc/pmap_prot.c: Likewise.
39787         * sunrpc/pmap_prot2.c: Likewise.
39788         * sunrpc/pmap_rmt.c: Likewise.
39789         * sunrpc/publickey.c: Likewise.
39790         * sunrpc/rpc_cmsg.c: Likewise.
39791         * sunrpc/rpc_common.c: Likewise.
39792         * sunrpc/rpc_dtable.c: Likewise.
39793         * sunrpc/rpc_prot.c: Likewise.
39794         * sunrpc/rpc_thread.c: Likewise.
39795         * sunrpc/rtime.c: Likewise.
39796         * sunrpc/svc.c: Likewise.
39797         * sunrpc/svc_auth.c: Likewise.
39798         * sunrpc/svc_raw.c: Likewise.
39799         * sunrpc/svc_run.c: Likewise.
39800         * sunrpc/svc_tcp.c: Likewise.
39801         * sunrpc/svc_udp.c: Likewise.
39802         * sunrpc/svc_unix.c: Likewise.
39803         * sunrpc/svcauth_des.c: Likewise.
39804         * sunrpc/xcrypt.c: Likewise.
39805         * sunrpc/xdr.c: Likewise.
39806         * sunrpc/xdr_array.c: Likewise.
39807         * sunrpc/xdr_float.c: Likewise.
39808         * sunrpc/xdr_intXX_t.c: Likewise.
39809         * sunrpc/xdr_mem.c: Likewise.
39810         * sunrpc/xdr_rec.c: Likewise.
39811         * sunrpc/xdr_ref.c: Likewise.
39812         * sunrpc/xdr_sizeof.c: Likewise.
39813         * sunrpc/xdr_stdio.c: Likewise.
39815 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39817         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39818         change.  Update copyright years.
39820 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39822         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39824 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39825             Joseph Myers  <joseph@codesourcery.com>
39826             Paul Pluzhnikov  <ppluzhnikov@google.com>
39828         [BZ #14012]
39829         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39830         requiring rpcgen.
39831         [cross-compiling] (extra-libs): Likewise.
39832         [cross-compiling] (extra-libs-others): Likewise.
39833         [cross-compiling] (librpcsvc-routines): Likewise.
39834         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39835         [cross-compiling] (omit-deps): Likewise.
39836         (sunrpc-CPPFLAGS): New variable.
39837         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39838         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39839         (cross-rpcgen-objs): New variable.
39840         (extra-objs): Append $(cross-rpcgen-objs).
39841         ($(cross-rpcgen-objs)): New rule.
39842         ($(objpfx)cross-rpcgen): Likewise.
39843         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39844         comment.
39845         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39846         ($(objpfx)x%.stmp): Likewise.
39847         * sunrpc/proto.h [IS_IN_build] (_): Define.
39848         [IS_IN_build] (_libc_intl_domainname): Likewise.
39850 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39852         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39853         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39854         and R_X86_64_TPOFF64.
39856 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39858         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39859         sysdeps/unix/sysv/syscalls.list.
39860         (stime): Likewise.
39861         (utime): Likewise.
39862         * sysdeps/unix/sysv/syscalls.list: Remove file.
39864 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39866         [BZ #3440]
39867         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39868         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39869         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39870         (__LC_IDENTIFICATION): Make these macros useful in #if
39871         expressions, as required by C99.
39873 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39875         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39876         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39877         after this.
39879 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39881         * stdlib/longlong.h: Updated from GCC.
39883 2012-05-09  Andreas Jaeger  <aj@suse.de>
39885         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39886         default is first entry.
39887         (run_mode): Set type.
39888         (main): Remove informal message about syslog.
39889         (options): Fix typo.
39891         [BZ #14053]
39892         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39893         to asm.
39894         (lrint): Likewise.
39895         (llrintf): Likewise.
39896         (llrint): Likewise.
39897         (rint): Likewise.
39898         (rintf): Likewise.
39899         (nearbyint): Likewise.
39900         (nearbyintf): Likewise.
39902 2012-05-09  Andreas Jaeger  <aj@suse.de>
39903             Pedro Alves  <palves@redhat.com>
39905         * nscd/nscd.c (run_mode): Use enum.
39906         (main): Cleanup coding style issue.
39908 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39909             Andreas Jaeger  <aj@suse.de>
39911         * nscd/nscd.c (go_background): Replaced with...
39912         (run_mode): ... this.
39913         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39914         (options): Add -F --foreground.
39915         (main): Implement it.
39916         (parse_opt): Parse it.
39918 2012-05-09  Andreas Jaeger  <aj@suse.de>
39920         [BZ #14083]
39921         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39922         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39923         -Wconversion warning.
39924         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39925         Likewise.
39927 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39929         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39930         == 0.
39931         (LC_ALL): Use macro-int-constant.
39932         (LC_COLLATE): Likewise.
39933         (LC_CTYPE): Likewise.
39934         (LC_MESSAGES): Likewise.
39935         (LC_MONETARY): Likewise.
39936         (LC_NUMERIC): Likewise.
39937         (LC_TIME): Likewise.
39938         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39939         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39940         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39941         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39942         Specify type.
39943         [C99-based standards] (float_t): Expect type.
39944         [C99-based standards] (double_t): Expect type.
39945         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39946         type.
39947         [C99-based standards] (HUGE_VALL): Likewise.
39948         [C99-based standards] (INFINITY): Likewise.
39949         [C99-based standards] (NAN): Likewise.
39950         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39951         [C99-based standards] (FP_NAN): Likewise.
39952         [C99-based standards] (FP_NORMAL): Likewise.
39953         [C99-based standards] (FP_SUBNORMAL): Likewise.
39954         [C99-based standards] (FP_ZERO): Likewise.
39955         [C99-based standards] (FP_FAST_FMA): Use
39956         optional-macro-int-constant.  Specify type.  Require == 1.
39957         [C99-based standards] (FP_FAST_FMAF): Likewise.
39958         [C99-based standards] (FP_FAST_FMAL): Likewise.
39959         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39960         [C99-based standards] (FP_ILOGBNAN): Likewise.
39961         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39962         Specify type.
39963         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39964         [C99-based standards] (math_errhandling): Specify type.
39965         [ISO99 || ISO11] (signgam): Do not allow.
39966         [non-C99-based standards] (copysignf): Do not allow.
39967         [non-C99-based standards] (exp2f): Likewise.
39968         [non-C99-based standards] (log2f): Likewise.
39969         [non-C99-based standards] (modff): Allow.
39970         [non-C99-based standards] (erff): Do not allow.
39971         [non-C99-based standards] (erfcf): Likewise.
39972         [non-C99-based standards] (gammaf): Likewise.
39973         [non-C99-based standards] (hypotf): Likewise.
39974         [non-C99-based standards] (j0f): Likewise.
39975         [non-C99-based standards] (j1f): Likewise.
39976         [non-C99-based standards] (jnf): Likewise.
39977         [non-C99-based standards] (lgammaf): Likewise.
39978         [non-C99-based standards] (tgammaf): Likewise.
39979         [non-C99-based standards] (y0f): Likewise.
39980         [non-C99-based standards] (y1f): Likewise.
39981         [non-C99-based standards] (ynf): Likewise.
39982         [non-C99-based standards] (isnanf): Likewise.
39983         [non-C99-based standards] (acoshf): Likewise.
39984         [non-C99-based standards] (asinhf): Likewise.
39985         [non-C99-based standards] (atanhf): Likewise.
39986         [non-C99-based standards] (cbrtf): Likewise.
39987         [non-C99-based standards] (expm1f): Likewise.
39988         [non-C99-based standards] (ilogbf): Likewise.
39989         [non-C99-based standards] (log1pf): Likewise.
39990         [non-C99-based standards] (logbf): Likewise.
39991         [non-C99-based standards] (nextafterf): Likewise.
39992         [non-C99-based standards] (remainderf): Likewise.
39993         [non-C99-based standards] (rintf): Likewise.
39994         [non-C99-based standards] (scalbf): Likewise.
39995         [non-C99-based standards] (copysignl): Likewise.
39996         [non-C99-based standards] (exp2l): Likewise.
39997         [non-C99-based standards] (log2l): Likewise.
39998         [non-C99-based standards] (modfl): Allow.
39999         [non-C99-based standards] (erfl): Do not allow.
40000         [non-C99-based standards] (erfcl): Likewise.
40001         [non-C99-based standards] (gammal): Likewise.
40002         [non-C99-based standards] (hypotl): Likewise.
40003         [non-C99-based standards] (j0l): Likewise.
40004         [non-C99-based standards] (j1l): Likewise.
40005         [non-C99-based standards] (jnl): Likewise.
40006         [non-C99-based standards] (lgammal): Likewise.
40007         [non-C99-based standards] (tgammal): Likewise.
40008         [non-C99-based standards] (y0l): Likewise.
40009         [non-C99-based standards] (y1l): Likewise.
40010         [non-C99-based standards] (ynl): Likewise.
40011         [non-C99-based standards] (isnanl): Likewise.
40012         [non-C99-based standards] (acoshl): Likewise.
40013         [non-C99-based standards] (asinhl): Likewise.
40014         [non-C99-based standards] (atanhl): Likewise.
40015         [non-C99-based standards] (cbrtl): Likewise.
40016         [non-C99-based standards] (expm1l): Likewise.
40017         [non-C99-based standards] (ilogbl): Likewise.
40018         [non-C99-based standards] (log1pl): Likewise.
40019         [non-C99-based standards] (logbl): Likewise.
40020         [non-C99-based standards] (nextafterl): Likewise.
40021         [non-C99-based standards] (remainderl): Likewise.
40022         [non-C99-based standards] (rintl): Likewise.
40023         [non-C99-based standards] (scalbl): Likewise.
40024         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40025         [non-C99-based standards] (FP_*): Do not allow.
40026         [C99-based standards] (FP_*): Change to
40027         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40028         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40029         allow.
40030         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40031         (SIG_ERR): Likewise.
40032         [X/Open-based standards] (SIG_HOLD): Likewise.
40033         (SIG_IGN): Likewise.
40034         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40035         positive value.
40036         (SIGFPE): Likewise.
40037         (SIGILL): Likewise.
40038         (SIGINT): Likewise.
40039         (SIGSEGV): Likewise.
40040         (SIGTER): Likewise.
40041         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40042         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40043         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40044         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40045         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40046         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40047         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40048         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40049         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40050         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40051         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40052         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40053         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40054         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40055         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40056         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40057         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40058         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40059         [X/Open-based standards] (SIGTRAP): Likewise.
40060         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40061         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40062         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40063         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40064         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40065         allow.
40067 2012-05-08  Ian Wienand  <ianw@vmware.com>
40069         [BZ #14080]
40070         * time/tzset.c (__tzset_parse_tz): Update default rules for
40071         daylight time changes in the Energy Policy Act of 2005.
40073 2012-05-09  Andreas Jaeger  <aj@suse.de>
40075         [BZ #13983]
40076         * elf/ldconfig.c (parse_conf): Change string to make clear that
40077         ldconfig only issued a warning if ld.so.conf does not exist.
40079 2012-05-08  David S. Miller  <davem@davemloft.net>
40081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40082         movxtod instead of popping the value on the stack.
40084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40086 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40088         * config.h.in: Add HAVE_ARM_PCS_VFP.
40090 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40092         [BZ #13979]
40093         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40094         checking but the checks are disabled for any reason.
40096 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40098         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40099         and ELF64_R_TYPE with ELFW(R_TYPE).
40101 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40103         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40104         (ulimit): Likewise.
40106         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40107         (settimeofday): Likewise.
40109 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40111         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40112         a struct th_u2 inside the union, and move tu_block/tu_code into
40113         a new th_u3 union of tu_block/tu_code inside of that.  Move
40114         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40115         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40116         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40117         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40118         (th_stuff): Change to th_u1.tu_stuff.
40119         (th_data): Define.
40120         (th_msg): Change to th_u1.th_u2.tu_data.
40122 2012-05-07  David S. Miller  <davem@davemloft.net>
40124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40126         [BZ #14074]
40127         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40128         (SETUP_PIC_REG): Use it.
40129         (SETUP_PIC_REG_LEAF): Use it.
40131 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40133         [BZ #13885]
40134         [BZ #13923]
40135         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40136         USE_AS_EXPM1L.
40137         (EXPL_FINITE): Likewise.
40138         (FLDLOG): Likewise.
40139         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40140         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40141         e_expl.S.
40142         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40143         USE_AS_EXPM1L.
40144         (EXPL_FINITE): Likewise.
40145         (FLDLOG): Likewise.
40146         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40147         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40148         e_expl.S.
40149         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40150         test of -max_value argument for long double.
40151         * sysdeps/i386/fpu/libm-test-ulps: Update.
40152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40154 2012-05-06  David S. Miller  <davem@davemloft.net>
40156         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40157         quad soft-float symbols whose references which are compiler
40158         generated.
40159         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40161 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40163         [BZ #13884]
40164         [BZ #13914]
40165         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40166         USE_AS_EXP10L.
40167         (EXPL_FINITE): Likewise.
40168         (FLDLOG): Likewise.
40169         (c0): Likewise.
40170         (c1): Likewise.
40171         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40172         Adjust comments for base varying.
40173         (__expl_finite): Change alias to EXPL_FINITE.
40174         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40175         e_expl.S.
40176         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40177         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40178         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40179         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40180         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40181         USE_AS_EXP10L.
40182         (EXPL_FINITE): Likewise.
40183         (FLDLOG): Likewise.
40184         (c0): Likewise.
40185         (c1): Likewise.
40186         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40187         Adjust comments for base varying.
40188         (__expl_finite): Change alias to EXPL_FINITE.
40189         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40190         tests for bugs.
40191         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40193         [BZ #14064]
40194         * math/libm-test.inc (check_float_internal): Correct ulp
40195         calculation for subnormal expected results.
40197 2012-05-06  Andreas Jaeger  <aj@suse.de>
40199         * Makeconfig (+math-flags): New, set to -frounding-math.
40200         (+cflags): Add +math-flags so that all of glibc gets compiled with
40201         it.
40203         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40205 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40207         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40208         Disable one test.
40210         [BZ #13787]
40211         [BZ #13922]
40212         [BZ #14036]
40213         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40214         (__ieee754_expl): Allow for and saturate large arguments.
40215         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40216         (u_threshold): Likewise.
40217         (__exp): Call __ieee754_exp before checking for overflow and
40218         underflow.
40219         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40220         (u_threshold): Likewise.
40221         (__expf): Call __ieee754_expf before checking for overflow and
40222         underflow.
40223         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40224         (u_threshold): Likewise.
40225         (__expl): Call __ieee754_expl before checking for overflow and
40226         underflow.
40227         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40228         (__ieee754_expl): Allow for and saturate large arguments.
40229         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40230         missing overflow exception on overflow.
40231         (expm1_test): Do not allow missing overflow exception on overflow.
40233         * sysdeps/i386/fpu/e_expl.c: Move to ...
40234         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40235         rather than using inline asm.
40236         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40237         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40238         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40240         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40241         (nice): Likewise.
40242         (poll): Likewise.
40243         (signal): Likewise.
40244         (time): Likewise.
40245         (times): Likewise.
40247 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40249         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40250         sysdeps/unix/common/syscalls.list.
40251         (fchmod): Likewise.
40252         (fchown): Likewise.
40253         (ftruncate): Likewise.
40254         (getrusage): Likewise.
40255         (gettimeofday): Likewise.
40256         (setpgid): Likewise.
40257         (setregid): Likewise.
40258         (setreuid): Likewise.
40259         (sigaction): Likewise.
40260         (truncate): Likewise.
40261         (vhangup): Likewise.
40262         * sysdeps/unix/common/syscalls.list: Remove file.
40263         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40264         * sysdeps/unix/sysv/linux/Implies: Likewise.
40266 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40268         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40269         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40270         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40271         Moved to ...
40272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40273         Here.
40274         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40275         to ...
40276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40277         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40278         to ...
40279         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40280         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40281         to ...
40282         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40283         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40284         to ...
40285         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40286         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40287         to ...
40288         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40289         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40290         to ...
40291         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40292         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40293         to ...
40294         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40295         Here.
40296         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40297         to ...
40298         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40299         Here.
40300         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40301         to ...
40302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40303         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40304         Moved to ...
40305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40306         Here.
40307         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40308         to ...
40309         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40311 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40313         * sysdeps/unix/common/bits/dirent.h: Remove file.
40314         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40316         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40317         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40318         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40319         * sysdeps/unix/bsd/isatty.c: Likewise.
40320         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40321         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40322         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40324 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40326         [BZ #13563]
40327         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40328         long double comparison inaccuracies.
40329         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40330         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40332 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40334         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40335         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40337 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40339         [BZ #14049]
40340         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40341         nonzero digits before rounding a hex value.
40342         * stdlib/tst-strtod.c (tests): Add another test.
40344 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40346         * sysdeps/s390/fpu/libm-test-ulps: Update.
40348 2012-05-03  Andreas Jaeger  <aj@suse.de>
40350         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40351         does not get optimized out.
40352         (malloc_opt_barrier): New.
40354 2012-05-03  Andreas Jaeger  <aj@suse.de>
40355             Roland McGrath  <roland@hack.frob.com>
40357         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40358         intermediate file deletion.
40359         (generated): Add .symlist files.
40361 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40363         [BZ #13775]
40364         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40365         Redirect under this condition.
40366         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40367         [__USE_GNU] (__dprintf_chk): Not under this condition.
40368         [__USE_GNU] (__vdprintf_chk): Likewise.
40369         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40370         under this condition.
40371         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40372         [__USE_XOPEN2K8] (dprintf): Define under this condition.
40373         [__USE_XOPEN2K8] (vdprintf): Likewise.
40374         [__USE_GNU] (__dprintf_chk): Not under this condition.
40375         [__USE_GNU] (__vdprintf_chk): Likewise.
40376         [__USE_GNU] (dprintf): Likewise.
40377         [__USE_GNU] (vdprintf): Likewise.
40379 2012-05-03  Roland McGrath  <roland@hack.frob.com>
40381         * elf/Makefile (common-generated): Set this instead of generated for
40382         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
40383         $(all-built-dso)-derived lists.
40385 2012-05-03  Andreas Jaeger  <aj@suse.de>
40387         * sysdeps/i386/fpu/libm-test-ulps: Update.
40389         * FAQ: Removed.
40390         * FAQ.in: Likewise.
40391         * scripts/gen-FAQ.pl: Likewise.
40392         * manual/install.texi (Installation): Point to online location of
40393         FAQ.
40394         * Makefile (files-for-dist): Remove FAQ.
40395         (FAQ): Remove.
40397 2012-05-02  Allan McRae  <allan@archlinux.org>
40399         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40400         (LDFLAGS-reldepmod5.so): Likewise.
40401         (LDFLAGS-reldep6mod1.so): Likewise.
40402         (LDFLAGS-reldep6mod4.so): Likewise.
40403         (LDFLAGS-reldep8mod3.so): Likewise.
40404         (LDFLAGS-unload4mod1.so): Likewise.
40405         (LDFLAGS-unload4mod2.so): Likewise.
40406         (LDFLAGS-tst-initorder): Likewise.
40407         (LDFLAGS-tst-initordera2.so): Likewise.
40408         (LDFLAGS-tst-initordera3.so): Likewise.
40409         (LDFLAGS-tst-initordera4.so): Likewise.
40410         (LDFLAGS-tst-initorderb2.so): Likewise.
40411         (LDFLAGS-noload): Likewise.
40412         (LDFLAGS-next): Likewise.
40413         (LDFLAGS-order2mod1.so): Likewise.
40414         (LDFLAGS-order2mod2.so): Likewise.
40415         (LDFLAGS-tst-initorder2): Likewise.
40416         (LDFLAGS-tst-initorder2a.so): Likewise.
40417         (LDFLAGS-tst-initorder2b.so): Likewise.
40418         (LDFLAGS-tst-initorder2c.so): Likewise.
40419         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40421 2012-05-02  David S. Miller  <davem@davemloft.net>
40423         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40425 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
40427         [BZ #14055]
40428         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40430 2012-05-02  Andreas Jaeger  <aj@suse.de>
40432         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40433         since we manipulate rounding mode.
40434         (CPPFLAGS-test-idouble.c): Likewise.
40435         (CPPFLAGS-test-ifloat.c): Likewise.
40436         (CFLAGS-test-ldouble.c): Likewise.
40437         (CFLAGS-test-double.c): Likewise.
40438         (CFLAGS-test-float.c): Likewise.
40439         (CFLAGS-test-misc.c): Likewise.
40440         (CFLAGS-test-test-fenv.c): Likewise.
40442 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40444         [BZ #2550]
40445         [BZ #2570]
40446         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40447         comparisons to determine direction to adjust input.
40449 2012-05-01  Roland McGrath  <roland@hack.frob.com>
40451         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40452         output to the target.
40454         * scripts/localplt.awk: New file.
40455         * elf/Makefile ($(objpfx)check-localplt): Target removed.
40456         (check-localplt-CFLAGS): Variable removed.
40457         ($(all-built-dso:=.jmprel)): New static pattern rule.
40458         (generated): Add those targets.
40459         (localplt-built-dso): New variable.
40460         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40462         * elf/check-localplt.c: File removed.
40464         * scripts/check-execstack.awk: New file.
40465         * elf/Makefile ($(objpfx)check-execstack): Target removed.
40466         (check-execstack-CFLAGS): Variable removed.
40467         ($(objpfx)check-execstack.h): Target removed.
40468         ($(objpfx)execstack-default): New target.
40469         (generated): Add that instead of check-execstack.h.
40470         ($(all-built-dso:=.phdr)): New static pattern rule.
40471         (generated): Add those targets.
40472         * elf/check-execstack.c: File removed.
40474         * scripts/check-textrel.awk: New file.
40475         * elf/Makefile ($(objpfx)check-textrel): Target removed.
40476         (check-textrel-CFLAGS): Variable removed.
40477         (all-built-dso): Use := to define.o
40478         ($(all-built-dso:=.dyn)): New static pattern rule.
40479         (generated): Add those targets.
40480         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40481         * config.make.in (READELF): New substituted variable.
40482         * elf/check-textrel.c: File removed.
40484 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40486         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40487         allow.
40488         * conform/data/ctype.h-data [C99-based standards] (isblank):
40489         Expect function.
40490         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40491         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40492         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40493         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40494         Specify type.  Require positive value.
40495         (EILSEQ): Likewise.
40496         (ERANGE): Likewise.
40497         [ISO || POSIX] (EILSEQ): Do not expect.
40498         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40499         Specify type.  Require positive value.
40500         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40501         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40502         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40503         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40504         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40505         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40506         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40507         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40508         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40509         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40510         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40511         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40512         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40513         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40514         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40515         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40516         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40517         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40518         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40519         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40520         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40521         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40522         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40523         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40524         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40525         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40526         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40527         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40528         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40529         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40530         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40531         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40532         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40533         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40534         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40535         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40536         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40537         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40538         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40539         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40540         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40541         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40542         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40543         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40544         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40545         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40546         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40547         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40548         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40549         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40550         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40551         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40552         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40553         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40554         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40555         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40556         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40557         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40558         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40559         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40560         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40561         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40562         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40563         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40564         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40565         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40566         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40567         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40568         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40569         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40570         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40571         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40572         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40573         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40574         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40575         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40576         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40577         Require >= 2.
40578         (FLT_ROUNDS): Expect as macro, not constant.
40579         (FLT_MANT_DIG): Use macro-int-constant.
40580         (DBL_MANT_DIG): Likewise.
40581         (LDBL_MANT_DIG): Likewise.
40582         (FLT_DIG): Likewise.
40583         (DBL_DIG): Likewise.
40584         (LDBL_DIG): Likewise.
40585         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
40586         (DBL_MIN_EXP): Likewise.
40587         (LDBL_MIN_EXP): Likewise.
40588         (FLT_MAX_EXP): Use macro-int-constant.
40589         (DBL_MAX_EXP): Likewise.
40590         (LDBL_MAX_EXP): Likewise.
40591         (FLT_MAX_10_EXP): Likewise.
40592         (DBL_MAX_10_EXP): Likewise.
40593         (LDBL_MAX_10_EXP): Likewise.
40594         (FLT_MAX): Use macro-constant.
40595         (DBL_MAX): Likewise.
40596         (LDBL_MAX): Likewise.
40597         (FLT_EPSILON): Use macro-constant.  Give upper bound.
40598         (DBL_EPSILON): Likewise.
40599         (LDBL_EPSILON): Likewise.
40600         (FLT_MIN): Likewise.
40601         (DBL_MIN): Likewise.
40602         (LDBL_MIN): Likewise.
40603         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40604         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40605         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40606         [ISO11] (FLT_HAS_SUBNORM): Likewise.
40607         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40608         [ISO11] (DBL_DECIMAL_DIG): Likewise.
40609         [ISO11] (FLT_DECIMAL_DIG): Likewise.
40610         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40611         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40612         [ISO11] (FLT_TRUE_MIN): Likewise.
40613         [ISO11] (LDBL_TRUE_MIN): Likewise.
40614         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40615         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40616         (SCHAR_MIN): Use macro-int-constant.  Specify type.
40617         (SCHAR_MAX): Likewise.
40618         (UCHAR_MAX): Likewise.
40619         (CHAR_MIN): Likewise.
40620         (CHAR_MAX): Likewise.
40621         (MB_LEN_MAX): Use macro-int-constant.
40622         (SHRT_MIN): Use macro-int-constant.  Specify type.
40623         (SHRT_MAX): Likewise.
40624         (USHRT_MAX): Likewise.
40625         (INT_MAX): Likewise.
40626         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
40627         bound negative.
40628         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40629         bound with "U".
40630         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40631         bound with "L".
40632         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
40633         bound negative.  Suffix upper bound with "L".
40634         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40635         bound with "UL".
40636         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40637         Specify type.
40638         [C99-based standards] (LLONG_MAX): Likewise.
40639         [C99-based standards] (ULLONG_MAX): Likewise.
40640         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
40641         == 0.
40642         [ISO11] (max_align_t): Require type.
40643         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40645         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40646         from $CFLAGS, without defining away __attribute__ calls.
40647         (checknamespace): Use $CFLAGS_namespace.
40649         * conform/conformtest.pl (@keywords): Only include C99 keywords
40650         for standards based on C99 or C11.
40652         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40653         Disable tests.
40654         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40655         UNIX98]: Likewise.
40657         * conform/conformtest.pl: Handle "macro-int-constant" and test for
40658         usability of symbols in #if.
40660         * conform/conformtest.pl: If macro or constant types start
40661         "promoted:", expect the symbol to be of the following type
40662         promoted by the integer promotions.
40664         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40665         in one place.  Also handle "macro-constant".
40667         * conform/conformtest.pl: Only accept expected macro values with
40668         "==".  Parse all "macro" lines in one place.
40669         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40671         * conform/conformtest.pl: Handle braced types on "constant" lines
40672         instead of handling "typed-constant".
40673         * conform/data/signal.h-data: Use "constant" instead of
40674         "typed-constant".
40676         * conform/conformtest.pl: Handle "optional-" at start of lines in
40677         one place rather than duplicating several cases.  Handle each
40678         format of "macro" line with initial "optional-".
40680         * conform/conformtest.pl: Only accept expected constant or
40681         optional-constant values with "==".  Parse all "constant" lines in
40682         one place.  Parse all "optional-constant" lines in one place.
40683         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40684         * conform/data/fmtmsg.h-data: Likewise.
40685         * conform/data/netinet/in.h-data: Likewise.
40686         * conform/data/tar.h-data: Likewise.
40687         * conform/data/limits.h-data: Use "==" form on "constant" and
40688         "optional-constant" lines.
40690         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40691         Use -std=c99 for XOPEN2K.
40692         (@knownproblems): Remove.
40693         (newtoken): Don't check %isknown.
40695         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40696         Do not expect macro.
40697         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40698         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40699         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40700         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40701         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40702         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40703         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40704         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40705         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40706         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40707         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40708         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40709         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40710         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40711         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40712         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40713         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40714         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40715         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40716         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40717         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40718         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40719         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40720         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40721         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40722         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40723         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40724         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40725         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40726         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40727         [XPG3] (acosh): Likewise.
40728         [XPG3] (asinh): Likewise.
40729         [XPG3] (atanh): Likewise.
40730         [XPG3] (cbrt): Likewise.
40731         [XPG3] (expm1): Likewise.
40732         [XPG3] (ilogb): Likewise.
40733         [XPG3] (log1p): Likewise.
40734         [XPG3] (logb): Likewise.
40735         [XPG3] (nextafter): Likewise.
40736         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40737         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40738         [XPG3] (remainder): Likewise.
40739         [XPG3] (rint): Likewise.
40740         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40741         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40742         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40743         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40744         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40745         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40746         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40747         [UNIX98 || XOPEN2K] (scalb): Expect.
40748         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40749         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40750         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40751         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40752         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40753         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40754         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40755         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40756         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40757         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40758         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40759         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40760         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40761         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40762         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40763         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40764         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40765         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40766         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40767         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40768         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40769         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40770         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40771         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40772         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40773         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40774         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40775         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40776         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40777         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40778         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40779         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40780         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40781         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40782         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40783         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40784         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40785         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40786         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40787         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40788         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40789         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40790         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40791         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40792         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40793         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40794         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40795         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40796         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40797         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40798         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40799         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40800         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40801         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40802         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40803         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40804         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40805         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40806         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40807         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40808         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40809         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40810         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40811         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40812         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40813         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40814         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40815         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40816         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40817         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40818         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40819         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40820         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40821         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40822         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40823         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40824         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40825         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40826         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40827         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40828         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40829         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40830         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40831         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40832         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40833         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40834         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40835         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40836         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40837         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40838         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40839         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40840         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40841         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40842         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40843         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40844         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40845         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40846         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40847         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40848         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40849         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40850         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40851         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40852         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40853         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40854         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40855         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40856         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40857         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40858         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40859         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40860         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40861         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40862         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40863         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40864         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40865         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40866         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40867         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40868         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40869         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40870         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40871         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40872         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40873         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40874         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40875         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40876         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40877         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40878         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40879         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40880         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40881         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40882         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40883         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40884         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40886         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40887         _XOPEN_SOURCE_EXTENDED for XPG4.
40889         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40891         * Makeconfig (localtime): Remove variable.
40892         (inst_localtime-file): Likewise.
40894 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40897         Update.
40898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40899         Update.
40900         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40901         Update.
40902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40903         Update.
40904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40905         Update.
40906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40907         Update.
40908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40909         Update.
40910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40911         Update.
40912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40913         Update.
40915 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40917         [BZ #2550]
40918         [BZ #2570]
40919         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40920         comparisons to determine direction to adjust input.
40921         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40922         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40923         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40924         Likewise.
40925         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40926         Likewise.
40927         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40928         Likewise.
40929         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40930         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40931         Likewise.
40932         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40933         Likewise.
40934         * math/libm-test.inc (nexttoward_test): Add more tests.
40936 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40938         [BZ #14040]
40939         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40940         in version GLIBC_2.1, not GLIBC_2.0.
40941         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40942         Likewise.
40944 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40946         [BZ #13942]
40947         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40948         (1 - x) * (1 + x).
40949         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40950         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40951         * math/libm-test.inc (acos_test): Add more tests.
40952         (asin_test): Likewise.
40953         * sysdeps/i386/fpu/libm-test-ulps: Update.
40954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40956         [BZ #14034]
40957         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40958         of square root.
40959         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40960         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40961         * math/libm-test.inc (acos_test_tonearest): New function.
40962         (acos_test_towardzero): Likewise.
40963         (acos_test_downward): Likewise.
40964         (acos_test_upward): Likewise.
40965         (asin_test_tonearest): Likewise.
40966         (asin_test_towardzero): Likewise.
40967         (asin_test_downward): Likewise.
40968         (asin_test_upward): Likewise.
40969         (main): Call the new functions.
40970         * sysdeps/i386/fpu/libm-test-ulps: Update.
40971         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40973         [BZ #13884]
40974         [BZ #13924]
40975         * math/e_exp10.c: Include <float.h>.
40976         (__ieee754_exp10): Handle underflow here rather than multiplying
40977         large negative argument by M_LN10.
40978         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
40979         of __ieee754_expf.
40980         * math/e_exp10l.c: Include <float.h>.
40981         (__ieee754_exp10l): Handle underflow here rather than multiplying
40982         large negative argument by M_LN10l.
40983         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
40984         spurious overflow exception on underflow.
40986 2012-04-29  Marek Polacek  <polacek@redhat.com>
40988         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
40989         (__fortify_function): New macro.
40990         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
40991         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
40992         __extern_always_inline.
40993         * libio/bits/stdio2.h: Likewise.
40994         * libio/bits/stdio.h: Likewise.
40995         * string/string.h: Likewise.
40996         * string/bits/string3.h: Likewise.
40997         * include/stdio.h: Likewise.
40998         * stdlib/bits/stdlib.h: Likewise.
40999         * stdlib/stdlib.h: Likewise.
41000         * rt/bits/mqueue2.h: Likewise.
41001         * rt/mqueue.h: Likewise.
41002         * posix/bits/unistd.h: Likewise.
41003         * posix/unistd.h: Likewise.
41004         * io/bits/poll2.h: Likewise.
41005         * io/bits/fcntl2.h: Likewise.
41006         * io/fcntl.h: Likewise.
41007         * io/sys/poll.h: Likewise.
41008         * misc/bits/syslog.h: Likewise.
41009         * misc/bits/syslog-ldbl.h: Likewise.
41010         * misc/sys/syslog.h: Likewise.
41011         * socket/bits/socket2.h: Likewise.
41012         * socket/sys/socket.h: Likewise.
41013         * debug/tst-chk1.c: Likewise.
41014         * wcsmbs/bits/wchar2.h: Likewise.
41015         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41016         * wcsmbs/wchar.h: Likewise.
41018 2012-04-29  Andreas Jaeger  <aj@suse.de>
41020         * Makerules (tests): Remove enable-check-abi protection.
41021         (check-abi-warn): Remove.
41022         (check-abi-%): Remove check-abi-warn usage.
41024         * configure.in: Remove check-abi configure option.
41025         * configure: Regenerated.
41026         * config.make.in (enable-check-abi): Remove.
41028 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41030         [BZ #14033]
41031         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41032         double functions to double *_finite functions.
41034         [BZ #13941]
41035         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41036         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41037         LDBL_MIN_EXP.
41038         * stdio-common/Makefile (tests): Add tst-sprintf3.
41039         * stdio-common/tst-sprintf3.c: New file.
41041         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41042         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41044 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41046         * conform/conformtest.pl: Remove duplicate typed-constant
41047         handling.
41049 2012-04-28  David S. Miller  <davem@davemloft.net>
41051         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41052         (check-abi-%): Remove AWK script prerequisite and explicit
41053         abilist directory.
41054         (check-abi): Rewrite to just diff the symlist with the abilist.
41055         (config-tls, config-abi-config): Delete, no longer used.
41056         (update-abi-%): Remove AWK script and explicit abilist directory.
41057         (update-abi): Rewrite to simply compare and conditionally copy the
41058         symlist and the sysdep abilist file.  Remove update-abi-config
41059         checks.
41060         * abilist/ld.abilist: Remove.
41061         * abilist/libBrokenLocale.abilist: Remove.
41062         * abilist/libanl.abilist: Remove.
41063         * abilist/libcrypt.abilist: Remove.
41064         * abilist/libdl.abilist: Remove.
41065         * abilist/librt.abilist: Remove.
41066         * abilist/libthread_db.abilist: Remove.
41067         * abilist/libutil.abilist: Remove.
41068         * scripts/extract-abilist.awk: Remove.
41069         * scripts/merge-abilist.awk: Remove.
41070         * sysdeps/generic/libcidn.abilist: New file.
41071         * sysdeps/generic/libnss_compat.abilist: New file.
41072         * sysdeps/generic/libnss_db.abilist: New file.
41073         * sysdeps/generic/libnss_dns.abilist: New file.
41074         * sysdeps/generic/libnss_files.abilist: New file.
41075         * sysdeps/generic/libnss_hesiod.abilist: New file.
41076         * sysdeps/generic/libnss_nis.abilist: New file.
41077         * sysdeps/generic/libnss_nisplus.abilist: New file.
41078         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41079         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41080         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41081         file.
41082         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41083         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41084         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41085         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41086         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41087         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41088         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41089         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41090         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41091         file.
41092         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41093         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41094         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41095         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41096         file.
41097         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41098         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41099         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41100         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41101         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41102         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41103         file.
41104         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41105         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41106         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41107         file.
41108         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41109         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41110         New file.
41111         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41112         New file.
41113         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41114         New file.
41115         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41116         New file.
41117         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41118         New file.
41119         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41120         New file.
41121         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41122         New file.
41123         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41124         New file.
41125         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41126         New file.
41127         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41128         New file.
41129         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41130         New file.
41131         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41132         New file.
41133         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41134         New file.
41135         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41136         file.
41137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41138         New file.
41139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41140         New file.
41141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41142         file.
41143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41144         New file.
41145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41146         New file.
41147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41148         file.
41149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41150         New file.
41151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41152         New file.
41153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41154         New file.
41155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41156         New file.
41157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41158         New file.
41159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41160         New file.
41161         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41163         file.
41164         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41165         New file.
41166         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41167         file.
41168         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41169         file.
41170         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41171         file.
41172         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41173         file.
41174         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41175         file.
41176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41177         New file.
41178         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41179         file.
41180         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41181         file.
41182         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41183         New file.
41184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41185         file.
41186         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41187         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41188         file.
41189         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41190         New file.
41191         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41192         file.
41193         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41194         file.
41195         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41196         file.
41197         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41198         file.
41199         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41200         file.
41201         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41202         New file.
41203         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41204         file.
41205         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41206         file.
41207         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41208         New file.
41209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41210         file.
41211         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41212         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41213         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41214         file.
41215         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41216         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41217         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41218         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41219         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41220         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41221         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41222         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41223         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41224         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41225         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41226         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41227         file.
41228         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41229         New file.
41230         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41231         file.
41232         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41233         file.
41234         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41235         file.
41236         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41237         file.
41238         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41239         file.
41240         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41241         New file.
41242         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41243         New file.
41244         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41245         file.
41246         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41247         New file.
41248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41249         file.
41250         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41251         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41252         file.
41253         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41254         New file.
41255         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41256         file.
41257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41258         file.
41259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41260         file.
41261         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41262         file.
41263         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41264         file.
41265         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41266         New file.
41267         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41268         New file.
41269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41270         file.
41271         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41272         New file.
41273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41274         file.
41276 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41278         * conform/conformtest.pl: Fix typo in handling typed-constant from
41279         allow-header.
41281 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41283         * README: Cut down references to pre-2.6 Linux kernels and
41284         Linuxthreads.  Update lists of configurations in libc and ports
41285         and sort alphabetically.  Say "or newer" with Linux kernel version
41286         requirements.
41288         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41290 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41292         [BZ #887]
41293         * math/libm-test.inc (logb_test_downward): New test to expose
41294         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41295         rounding mode.
41297 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41299         [BZ #14027]
41300         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41301         to be done.
41302         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41303         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41305 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41307         * sysdeps/unix/i386/brk.S: Remove file.
41308         * sysdeps/unix/i386/dl-brk.S: Likewise.
41309         * sysdeps/unix/i386/pipe.S: Likewise.
41310         * sysdeps/unix/i386/sigreturn.S: Likewise.
41311         * sysdeps/unix/i386/syscall.S: Likewise.
41312         * sysdeps/unix/i386/vfork.S: Likewise.
41313         * sysdeps/unix/i386/wait.S: Likewise.
41315         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41316         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41318         * configure.in (arm*-none*): Do not allow without
41319         --enable-hacker-mode.
41320         (netbsd*): Remove case setting base_os.
41321         (386bsd*): Likewise.
41322         (freebsd*): Likewise.
41323         (bsdi*): Likewise.
41324         (osf*): Likewise.
41325         (sunos*): Likewise.
41326         (ultrix*): Likewise.
41327         (newsos*): Likewise.
41328         (dynix*): Likewise.
41329         (*bsd*): Likewise.
41330         (sysv*): Likewise.
41331         (isc*): Likewise.
41332         (esix*): Likewise.
41333         (sco*): Likewise.
41334         (minix*): Likewise.
41335         (irix4*): Likewise.
41336         (irix6*): Likewise.
41337         (solaris[2-9]*): Likewise.
41338         (none): Likewise.
41339         * configure: Regenerated.
41341 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41343         [BZ #11521]
41344         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41345         overflow or cancellation in calculating denominator.
41346         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41347         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41348         down expression to avoid unexpected rounding in newer GCCs.
41349         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41351 2012-04-26  David S. Miller  <davem@davemloft.net>
41353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41354         long-double compat symbols.
41355         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41360         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41361         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41362         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41363         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41364         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41365         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41366         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41367         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41369 2012-04-25  David S. Miller  <davem@davemloft.net>
41371         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41372         HWCAP_* values only after the memory barriers have been defined.
41373         (atomic_full_barrier): Define.
41374         (atomic_read_barrier): Define.
41375         (atomic_write_barrier): Define.
41377 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41379         * shlib-versions: Add libgcc_s version information.
41380         * sysdeps/generic/libgcc_s.h: Remove.
41381         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41382         libgcc_s.h.
41383         * sysdeps/gnu/unwind-resume.c: Likewise.
41384         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41386 2012-04-25  David S. Miller  <davem@davemloft.net>
41388         * sysdeps/unix/sparc/brk.S: Delete.
41389         * sysdeps/unix/sparc/dl-brk.S: Delete.
41390         * sysdeps/unix/sparc/pipe.S: Delete.
41391         * sysdeps/unix/sparc/sysdep.S: Delete.
41392         * sysdeps/unix/sparc/sysdep.h: Delete.
41393         * sysdeps/unix/sparc/vfork.S: Delete.
41394         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41395         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41396         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41397         (ret_ERRVAL, r0, r1, MOVE): Define.
41398         (JUMPTARGET): Remove.
41399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41400         sysdeps/unix/sparc/sysdep.h
41401         (ENTRY, END): Remove.
41402         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41404 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
41406         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41407         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41408         -DIS_IN_build.
41410         * timezone/README: Update upstream location and email address for
41411         tzcode and tzdata.
41412         * timezone/zdump.c: Update from tzcode 2012b.
41413         * timezone/zic.c: Likewise.
41415         * configure.in (libc_cv_as_needed): Remove test.
41416         * configure: Regenerated.
41417         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41418         conditional definition.
41419         [$(have-as-needed) != yes] (no-as-needed): Likewise.
41420         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41421         * config.make.in (have-as-needed): Remove variable.
41423 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41424             Paul Pluzhnikov  <ppluzhnikov@google.com>
41426         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41427         strings correctly.
41429 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
41431         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41432         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41433         * sysdeps/sh/strlen.S: Likewise.
41435 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41437         * sysdeps/unix/fork.S: Remove file.
41438         * sysdeps/unix/i386/fork.S: Likewise.
41439         * sysdeps/unix/sparc/fork.S: Likewise.
41441         * sysdeps/unix/system.c: Remove file.
41442         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41444         * sysdeps/unix/getegid.S: Remove file.
41445         * sysdeps/unix/geteuid.S: Likewise.
41447 2012-04-24  Roland McGrath  <roland@hack.frob.com>
41449         * scripts/check-localplt.awk: New file.
41450         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41451         of diff.
41452         * scripts/data/localplt-generic.data: Add a comment.
41454         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41455         NODE when __dir_mkfile failed.
41456         * sysdeps/mach/hurd/symlinkat.c: Likewise.
41457         Reported by Ludovic Courtès <ludo@gnu.org>.
41459 2012-04-24  Andreas Jaeger  <aj@suse.de>
41461         * Makerules (common-clean): Also remove gen-as-const-headers
41462         files.
41464 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41466         * Makerules (native-compile): Do not change working directory for
41467         build.  Use $(OUTPUT_OPTION) in command.
41468         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41470 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41472         [BZ #13886]
41473         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41474         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41475         * math/libm-test.inc (floor_test): Add more tests.
41476         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41478 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41480         * sysdeps/unix/getdents.c: Remove file.
41481         * sysdeps/unix/sysv/getdents.c: Likewise.
41482         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41484         * sysdeps/unix/syscalls.list (madvise): Add syscall from
41485         sysdeps/unix/mman/syscalls.list.
41486         (mmap): Likewise.
41487         (mprotect): Likewise.
41488         (msync): Likewise.
41489         (munmap): Likewise.
41490         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41491         * sysdeps/unix/mman/syscalls.list: Remove.
41492         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41494         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41495         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41496         * configure: Regenerated.
41497         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41498         $(libgcc_s_suffix).
41499         * config.make.in (libgcc_s_suffix): Remove variable.
41501 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
41503         * sysdeps/unix/sysv/gethostname.c: Move to ...
41504         * sysdeps/posix/gethostname.c: ... here.
41506         * sysdeps/unix/execve.S: Remove file.
41508         * sysdeps/unix/_exit.S: Remove file.
41510 2012-04-23  Andreas Jaeger  <aj@suse.de>
41512         [BZ #13739]
41513         * manual/Makefile: Remove make dist support, there's no
41514         need for a stand-alone documentation tar ball.
41515         (TEXI2DVI): Define always, it's not in Makeconfig.
41516         (dist): Removed.
41517         (tar-it): Removed.
41518         (edition): Removed.
41519         (glibc-doc-$(edition).tar): Removed
41520         (%.Z): Removed.
41521         (%.gz): Removed.
41522         (%.uu): Removed.
41523         (ETAGS): Remove, it's in Makeconfig.
41524         (move-if-change): Remove, it's in Makeconfig.
41526 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
41528         [BZ #13970]
41529         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41530         (strtod, strtof, strtold, strtol, strtoul, strtoq)
41531         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41532         (strtod_l, strtof_l, strtold_l): Remove __wur.
41533         It is not necessarily an error to ignore strtol's return value.
41534         One can reliably look at the stored endptr to decide whether
41535         the number had valid syntax.
41537 2012-04-21  Andreas Jaeger  <aj@suse.de>
41539         [BZ #13739]
41540         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41542 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
41544         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41545         * sysdeps/unix/sysv/Versions: Remove file.
41547 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
41549         [BZ #13927]
41550         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41552 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
41554         [BZ #7064]
41555         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41556         version from __vm86.
41558 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
41560         * sysdeps/unix/common/lxstat.c: Remove file.
41561         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41563         * sysdeps/unix/sysv/Makefile: Remove file.
41565         * sysdeps/unix/sysv/direct.h: Remove file.
41567         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41568         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41569         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41570         * sysdeps/unix/sysv/bits/signum.h: Likewise.
41571         * sysdeps/unix/sysv/bits/stat.h: Likewise.
41572         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41573         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41575         * sysdeps/unix/sysv/setrlimit.c: Remove file.
41577         * sysdeps/unix/xmknod.c: Remove file.
41578         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41580         * sysdeps/unix/sysv/settimeofday.c: Remove file.
41582         * sysdeps/unix/sysv/i386/time.S: Remove file.
41584         * sysdeps/unix/fxstat.c: Remove file.
41585         * sysdeps/unix/xstat.c: Likewise.
41586         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41588         * sysdeps/unix/sysv/sigaction.c: Remove file.
41590         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41591         (sysdep_headers): Remove variable.
41592         [termio.h not in sysdep_headers] (generated): Likewise.
41593         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41594         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41595         * sysdeps/unix/sysv/tcdrain.c: Likewise.
41596         * sysdeps/unix/sysv/tcflow.c: Likewise.
41597         * sysdeps/unix/sysv/tcflush.c: Likewise.
41598         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41599         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41600         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41601         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41602         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41604         * sysdeps/unix/siglist.c: Remove file.
41606         * sysdeps/unix/getppid.S: Remove file.
41608         * sysdeps/unix/mkdir.c: Remove file.
41609         * sysdeps/unix/rmdir.c: Likewise.
41611 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
41613         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41614         ERR_MAX value.
41615         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41616         errlist-compat value.
41618 2012-04-18  David S. Miller  <davem@davemloft.net>
41620         * sysdeps/generic/memcopy.h (reg_char): Delete.
41621         * debug/strcat_chk.c: Use char, not reg_char.
41622         * debug/strcpy_chk.c: Likewise.
41623         * debug/strncat_chk.c: Likewise.
41624         * debug/strncpy_chk.c: Likewise.
41625         * string/memchr.c: Likewise.
41626         * string/memrchr.c: Likewise.
41627         * string/rawmemchr.c: Likewise.
41628         * string/strcat.c: Likewise.
41629         * string/strchr.c: Likewise.
41630         * string/strchrnul.c: Likewise.
41631         * string/strcmp.c: Likewise.
41632         * string/strcpy.c: Likewise.
41633         * string/strncat.c: Likewise.
41634         * string/strncmp.c: Likewise.
41635         * string/strncpy.c: Likewise.
41637 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41639         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41640         __builtin_memcopy is called when src and dest ranges are known to not
41641         overlap.
41643 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41645         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41646         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41647         fwd_align_merge macro call.
41648         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41649         bwd_align_merge macro call.
41650         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41652 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41654         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41655         bwd_align_merge macros.
41656         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41657         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41658         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41660 2012-04-18  David S. Miller  <davem@davemloft.net>
41662         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41664 2012-04-18  Andreas Jaeger  <aj@suse.de>
41666         [BZ# 6794]
41667         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41668         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41669         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41671         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41672         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41673         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41675         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41676         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41677         Adjust for changed ldbl-128 files.
41679         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41680         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41681         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41683 2012-04-17  David S. Miller  <davem@davemloft.net>
41685         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41687 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41689         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41690         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41691         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41692         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41693         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41694         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41696 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41698         [BZ #6794]
41699         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41700         * math/libm-test.inc: Add ilogb errno and exception tests.
41701         * math/w_ilogb.c: New file: ilogb wrapper.
41702         * math/w_ilogbf.c: New file: ilogbf wrapper.
41703         * math/w_ilogbl.c: New file: ilogbl wrapper.
41704         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41705         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41706         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41707         exception being thrown with 0.0 as argument.
41708         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41709         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41710         exception being thrown with 0.0 as argument.
41711         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41712         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41713         exception being thrown with 0.0 as argument.
41714         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41715         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41716         exception being thrown with 0.0 as argument.
41717         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41718         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41719         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41720         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41721         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41722         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41723         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41724         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41725         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41727 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41729         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41730         with altivec.
41732 2012-04-16  Marek Polacek  <polacek@redhat.com>
41734         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41736 2012-04-16  Marek Polacek  <polacek@redhat.com>
41738         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41739         operands of fdivp instruction.
41741 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41743         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41744         * elf/tst-auditmod3b.c: Likewise.
41745         * elf/tst-auditmod4b.c: Likewise.
41746         * elf/tst-auditmod5b.c: Likewise.
41747         * elf/tst-auditmod6b.c: Likewise.
41748         * elf/tst-auditmod6c.c: Likewise.
41749         * elf/tst-auditmod7b.c: Likewise.
41750         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41751         * sysdeps/x86_64/preconfigure.in: Likewise.
41752         * sysdeps/x86_64/preconfigure: Regenerated.
41754 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41756         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41757         __ILP32__.
41759 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41761         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41762         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41764 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41766         [BZ #13973]
41767         * locale/iso-639.def: Fix gl language name. Spotted by
41768         Yaron Shahrabani.
41770 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41772         [BZ #2074]
41773         * libio/libio.h (__io_write_fn): Update comment.
41775 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41777         [BZ #2074]
41778         * stdio.texi (Hook Functions): The user provided writer function
41779         is not allowed to return -1.
41781 2012-04-11  David S. Miller  <davem@davemloft.net>
41783         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41785 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41787         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41788         Add a leading slash to rtkaio.
41790 2012-04-11  Jim Meyering  <meyering@redhat.com>
41792         [BZ #11959]
41793         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41794         It is not necessarily an error to ignore fwrite's return
41795         value.  One can reliably use ferror to test for errors after
41796         the fact.
41798 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41800         * bits/types.h (__snseconds_t): New type.
41801         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41803         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41804         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41805         (__SNSECONDS_T_TYPE): Likewise.
41806         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41807         (__SNSECONDS_T_TYPE): Likewise.
41808         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41809         (__SNSECONDS_T_TYPE): Likewise.
41811 2012-04-10  Andreas Jaeger  <aj@suse.de>
41813         [BZ #2636]
41814         * manual/time.texi (Processor Time): Return type of times is
41815         elapsed real time since an arbitrary point in the past.
41816         (CPU Time): Move CLK_TCK from here...
41817         (Processor Time): ...to here.  Correct description.
41818         * manual/conf.texi (Constants for Sysconf): Correct description of
41819         _SC_CLK_TCK.
41821 2012-04-10  David S. Miller  <davem@davemloft.net>
41823         [BZ #13967]
41824         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41825         where the is a gap between DT_REL(A) and DT_JMPREL.
41827 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41829         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41830         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41831         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41833 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41835         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41836         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41837         (dl_main): Handle --inhibit-cache.
41838         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41839         _dl_inhibit_cache.
41840         * elf/dl-load.c (_dl_map_object): Use it.
41841         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41843 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41845         [BZ #13872]
41846         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41847         (__ieee754_powl): Saturate large exponents rather than testing for
41848         overflow of y*log2(x).
41849         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41850         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41851         exceptions.
41853         [BZ #11521]
41854         * math/s_ctan.c: Include <float.h>.
41855         (__ctan): Avoid internal overflow or cancellation in calculating
41856         denominator.
41857         * math/s_ctanf.c: Likewise.
41858         * math/s_ctanl.c: Likewise.
41859         * math/s_ctanh.c: Likewise.
41860         * math/s_ctanhf.c: Likewise.
41861         * math/s_ctanhl.c: Likewise.
41862         * math/libm-test.inc (ctan_test): Add more tests.
41863         (ctanh_test): Likewise.
41864         * sysdeps/i386/fpu/libm-test-ulps: Update.
41865         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41867 2012-04-09  Andreas Jaeger  <aj@suse.de>
41869         [BZ #6894]
41870         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41871         is an optional BSD extension.
41873         [BZ #10254]
41874         * manual/stdio.texi (Opening Streams): Document additional fopen
41875         parameters.
41877 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41879         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41880         %eax without telling the compiler.
41882 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41884         [BZ # 13963]
41885         * manual/install.texi: Use sourceware.org.
41887 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41889         [BZ #13873]
41890         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41891         (__ieee754_pow): Generate overflow and underflow using huge*huge
41892         and tiny*tiny rather than just returning constant infinity or zero
41893         for large exponents.
41894         * math/libm-test.inc (pow_test): Require overflow exceptions for
41895         applicable cases of large exponents.
41897         [BZ #706]
41898         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41899         (__ieee754_pow): Use iterative multiplication algorithm only for
41900         integer exponents with absolute value below 1024.  Check for odd
41901         integer exponents when using algorithm for real exponents.
41902         * math/libm-test.inc (pow_test): Add more tests.
41903         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41905 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41907         [BZ #13705]
41908         * math/libm-test.inc (exp_test): Do not allow overflow exception
41909         on underflow test.
41911 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41913         [BZ #13705]
41914         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41915         instead of __kernel_standard_f.
41917 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41919         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41920         * sysdeps/x86_64/memset_chk.S: Likewise.
41922 2012-04-08  Andreas Jaeger  <aj@suse.de>
41924         [BZ #10153]
41925         * manual/startup.texi (Environment Access): Describe return value
41926         for putenv and setenv.
41928         [BZ #6895]
41929         * manual/filesys.texi (Directory Entries): Add description for
41930         DT_LNK.
41932         [BZ #6890]
41933         * manual/filesys.texi (Directory Entries): Clarify that it's file
41934         system not operating system in the description of DT_UNKNOWN.
41936         [BZ #6578]
41937         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41939 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41941         [BZ #6649]
41942         * manual/llio.texi (Opening and Closing Files): Add cross
41943         reference to explain mode argument.
41945 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41947         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41948         * sysdeps/x86_64/memset_chk.S: Likewise.
41950 2012-04-07  David S. Miller  <davem@davemloft.net>
41952         * elf/elf.h (R_SPARC_WDISP10): Define.
41953         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41954         R_SPARC_SIZE32.
41955         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41956         R_SPARC_SIZE64 and R_SPARC_H34.
41958 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41960         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41961         conditions and remove no longer applicable assertion.
41963 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41965         * bits/byteswap.h: Include <features.h>.
41966         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41967         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41969 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41971         * bits/byteswap.h (__bswap_16): Removed.
41972         Include <bits/byteswap-16.h> to get __bswap_16.
41973         * sysdeps/i386/bits/byteswap.h: Likewise.
41974         * sysdeps/s390/bits/byteswap.h: Likewise.
41975         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41976         * bits/byteswap-16.h: New file.
41977         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41978         * sysdeps/s390/bits/byteswap-16.h: Likewise.
41979         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
41980         * string/Makefile (headers): Add bits/byteswap-16.h.
41982 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
41984         [BZ #13895]
41985         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
41986         extra indirection.
41987         * nss/Makefile (tests-static, tests): Add tst-nss-static.
41988         * nss/tst-nss-static.c: New.
41990 2012-04-06  Robert Millan  <rmh@gnu.org>
41992         [BZ #6486]
41993         * manual/llio.texi (File Position Primitive): lseek
41994         refers to WHENCE when it really means OFFSET.
41996 2012-04-06  Andreas Jaeger  <aj@suse.de>
41998         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
41999         strncmp declarations.
42001         * abilist/libc.abilist: Add __poll and __ppoll.
42003 2012-04-05  David S. Miller  <davem@davemloft.net>
42005         * scripts/check-local-headers.sh: Accept a host triplet in the
42006         path matched by the exclude regexp.
42008         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42009         definition.
42010         * sysdeps/powerpc/powerpc32/dl-machine.h
42011         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42012         * sysdeps/s390/s390-32/dl-machine.h
42013         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42014         * sysdeps/sparc/sparc32/dl-machine.h
42015         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42016         * sysdeps/sparc/sparc64/dl-machine.h
42017         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42019         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42020         lazy binding.
42021         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42022         undefined symbol errors.
42024         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42025         DT_NEEDED entries.
42027 2012-04-05  Michael Matz  <matz@suse.de>
42029         [BZ #13592]
42030         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42032 2012-04-05  Andreas Jaeger  <aj@suse.de>
42034         [BZ #13908]
42035         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42036         comment.
42038 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42040         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42041         which ROUND is no valid rounding mode.
42043 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42045         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42046         read again.
42047         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42049 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42051         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42052         an exception using FPU order intentionally.
42054 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42056         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42057         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42058         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42059         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42061 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42063         [BZ #12340]
42064         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42065         EINVAL when BUFLEN is too smal.
42067 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42069         [BZ #13553]
42070         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42071         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42073 2012-04-03  Andreas Jaeger  <aj@suse.de>
42075         [BZ #13938]
42076         * manual/setjmp.texi (System V contexts): Fix sentence.
42078         [BZ #13926]
42079         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42080         New macro for this case.
42081         [!__GNUC__] (__bswap_64): New inline function for this case.
42082         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42083         * bits/byteswap.h: Likewise.
42084         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42085         ull, guard with __GLIBC_HAVE_LONG_LONG.
42087         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42088         __GLIBC_HAVE_LONG_LONG.
42090         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42091         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42093 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42095         [BZ #13691]
42096         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42097         inptr and inend, rather than using last_ch.
42099 2012-04-02  David S. Miller  <davem@davemloft.net>
42101         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42102         * stdio-common/printf-parse.h (read_int): Change return type to
42103         'int', return -1 on INT_MAX overflow.
42104         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42105         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42106         overflows INT_MAX.  Check for overflow of in-format-string precision
42107         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42108         SIZE_MAX not INT_MAX for integer overflow test.
42109         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42110         skip the construct in the format string but do not record anything.
42111         * stdio-common/bug22.c: Adjust to test both width/prevision
42112         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42113         explicitly for proper errno values.
42115 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42117         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42118         CHAR_MAX.
42119         * string/test-strcmp.c [! WIDE]: Likewise.
42120         * time/tst-mktime2.c: Likewise for INT_MAX.
42121         * string/test-string.h: #include <sys/param.h> for MIN.
42123         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42124         * sysdeps/i386/init-first.c (init): Likewise.
42125         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42126         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42127         * sysdeps/sh/init-first.c (init): Likewise.
42129 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42131         * po/ru.po: Update from translation team.
42132         * po/vi.po: Likewise.
42134 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42136         * resolv/nss_dns/dns-host.c: Merge copyright years.
42138 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42140         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42141         Optimize memcpy with prefetch if
42142         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42143         src, dst pointers have unequal 16 byte alignments.
42145 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42147         [BZ #13928]
42148         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42149         from a CNAME entry and return the minimum ttl for the query.
42150         (gaih_getanswer_slice): Likewise.
42152 2012-03-30  Jeff Law  <law@redhat.com>
42154         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42155         due to long keys.
42156         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42157         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42159         * resolv/nss_dns/dns-host.c: Update copyright year.
42161 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42163         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42164         requests to save a system call.  Fix check that all bytes are sent.
42166         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42167         comments for sendmmsg.
42169 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42171         [BZ #13691]
42172         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42173         with only 1 character between 0x0041 and 0x01b0.
42174         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42175         * wcsmbs/tst-mbsnrtowcs.c: New file.
42177 2012-03-29  David S. Miller  <davem@davemloft.net>
42179         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42180         small copies by hand.
42182 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42184         [BZ #13761]
42185         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42186         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42187         group memberships.
42189 2012-03-28  David S. Miller  <davem@davemloft.net>
42191         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42192         that branches into memcpy.
42193         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42194         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42195         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42196         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42197         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42198         bits.
42199         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42200         implementation too.
42201         * sysdeps/sparc/mempcpy.S: New file.
42203         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42204         the IFUNC routine in the libc case.
42205         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42207         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42208         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42209         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42210         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42211         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42212         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42213         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42214         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42216         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42217         loop to 256 bytes instead of 64 bytes and fix test signedness.
42219         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42220         * sysdeps/sparc/sparc32/Makefile: rather than here...
42221         * sysdeps/sparc/sparc64/Makefile: and here.
42223 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42225         * malloc/mallocbug.c: Avoid warnings about unused variables.
42227 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42229         [BZ #13760]
42230         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42231         in the right place. Discard and retry query if response is
42232         larger than input buffer size.
42234 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42236         [BZ #369]
42237         [BZ #2678]
42238         [BZ #3866]
42239         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42240         x for large integer exponent.
42241         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42242         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42243         sign of result as needed afterwards.
42244         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42245         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42246         result for underflowing pow the same as for overflow.
42247         (__kernel_standard_l): Handle powl overflow and underflow here
42248         rather than calling __kernel_standard.
42249         * math/libm-test.inc (pow_test): Add more tests.
42251         [BZ #3868]
42252         [BZ #13879]
42253         [BZ #13910]
42254         [BZ #13911]
42255         [BZ #13912]
42256         [BZ #13913]
42257         [BZ #13915]
42258         [BZ #13916]
42259         [BZ #13917]
42260         [BZ #13918]
42261         [BZ #13919]
42262         [BZ #13920]
42263         [BZ #13921]
42264         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42265         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42266         (__kernel_standard_l): New function.
42267         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42268         __kernel_standard.
42269         * math/w_acosl.c (__acosl): Likewise.
42270         * math/w_asinl.c (__asinl): Likewise.
42271         * math/w_atan2l.c (__atan2l): Likewise.
42272         * math/w_atanhl.c (__atanhl): Likewise.
42273         * math/w_coshl.c (__coshl): Likewise.
42274         * math/w_exp10l.c (__exp10l): Likewise.
42275         * math/w_exp2l.c (__exp2l): Likewise.
42276         * math/w_fmodl.c (__fmodl): Likewise.
42277         * math/w_hypotl.c (__hypotl): Likewise.
42278         * math/w_j0l.c (__j0l, __y0l): Likewise.
42279         * math/w_j1l.c (__j1l, __y1l): Likewise.
42280         * math/w_jnl.c (__jnl, __ynl): Likewise.
42281         * math/w_lgammal.c (__lgammal): Likewise.
42282         * math/w_log10l.c (__log10l): Likewise.
42283         * math/w_log2l.c (__log2l): Likewise.
42284         * math/w_logl.c (__logl): Likewise.
42285         * math/w_powl.c (__powl): Likewise.
42286         * math/w_remainderl.c (__remainderl): Likewise.
42287         * math/w_scalbl.c (sysv_scalbl): Likewise.
42288         * math/w_sinhl.c (__sinhl): Likewise.
42289         * math/w_sqrtl.c (__sqrtl): Likewise.
42290         * math/w_tgammal.c (__tgammal): Likewise.
42291         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42292         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42293         * math/libm-test.inc (acos_test): Add more tests.
42294         (acosh_test): Likewise.
42295         (asin_test): Likewise.
42296         (atanh_test): Likewise.
42297         (exp_test): Likewise.
42298         (exp10_test): Likewise.
42299         (exp2_test): Likewise.
42300         (expm1_test): Likewise.
42301         (lgamma_test): Likewise.
42302         (log_test): Likewise.
42303         (log10_test): Likewise.
42304         (log1p_test): Likewise.
42305         (log2_test): Likewise.
42306         (pow_test): Do not allow some spurious overflow exceptions.
42307         (sqrt_test): Add more tests.
42308         (tgamma_test): Likewise.
42309         (y0_test): Likewise.
42310         (y1_test): Likewise.
42311         (yn_test): Likewise.
42313 2012-03-27  Anton Blanchard  <anton@samba.org>
42315         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42316         MAP_HUGETLB.
42317         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42318         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42319         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42321 2012-03-27  David S. Miller  <davem@davemloft.net>
42323         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42325         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42326         have-as-vis3 check.
42328 2012-03-27  Andreas Jaeger  <aj@suse.de>
42330         * sysdeps/x86_64/elf/configure.in: Moved to ...
42331         * sysdeps/x86_64/configure.in: ... here.
42332         * sysdeps/x86_64/elf/start.S: Moved to ...
42333         * sysdeps/x86_64/start.S: ... here.
42334         * sysdeps/x86_64/elf/configure: Delete.
42336         * sysdeps/x86_64/configure.in: Merge contents from
42337         sysdeps/i386/configure.in (without i686 check).
42339         * sysdeps/i386/elf/Versions: Merge into ...
42340         * sysdeps/i386/Versions: ... this.
42341         * sysdeps/i386/elf/Versions: Delete file.
42342         * sysdeps/i386/elf/start.S: Moved to ...
42343         * sysdeps/i386/start.S: ...here.
42344         * sysdeps/i386/elf/configure.in: Merge into...
42345         * sysdeps/i386/configure.in: ...here.
42346         * sysdeps/i386/elf/configure.in: Delete file.
42347         * sysdeps/i386/elf/configure: Delete file.
42349         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42350         * debug/backtracesyms.c: ... here.
42351         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42352         * debug/backtracesymsfd.c: ... here.
42353         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42354         * sysdeps/generic/ifunc-sel.h: ... here.
42356         * sysdeps/unix/i386/start.c: Delete file.
42357         * sysdeps/unix/sparc/start.c: Delete file.
42358         * sysdeps/unix/start.c: Delete file.
42360         * sysdeps/sh/elf/configure.in: Moved to ...
42361         * sysdeps/sh/configure.in: ... here.
42362         * sysdeps/sh/elf/start.S: Moved to ...
42363         * sysdeps/sh/start.S: ... here.
42364         * sysdeps/sh/elf/configure: Delete file.
42366         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42367         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42368         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42369         * sysdeps/powerpc/powerpc64/entry.h: ... here.
42370         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42371         * sysdeps/powerpc/powerpc64/start.S: here.
42372         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42373         * sysdeps/powerpc/powerpc64/Makefile: ... this.
42374         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42375         * sysdeps/powerpc/powerpc64/configure.in: ... this.
42376         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42378         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42379         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42380         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42381         * sysdeps/powerpc/powerpc32/start.S: ... here.
42382         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42383         * sysdeps/powerpc/powerpc32/configure.in: ... this.
42384         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42386         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42387         * sysdeps/powerpc/ifunc-sel.h: ... here.
42388         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42389         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42391         * sysdeps/sparc/elf/configure.in: Moved to ...
42392         * sysdeps/sparc/configure.in: ... here.
42393         * sysdeps/sparc/elf/configure: Delete file.
42394         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42395         * sysdeps/sparc/sparc32/start.S: ... here.
42396         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42397         * sysdeps/sparc/sparc64/start.S: ... here.
42398         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42399         * sysdeps/sparc/sparc32/Makefile: ... this.
42400         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42401         * sysdeps/sparc/sparc64/Makefile: ... this.
42403         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42404         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42405         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42406         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42407         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42408         * sysdeps/s390/s390-32/setjmp.S: ... here.
42409         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42410         * sysdeps/s390/s390-32/configure.in: ... here.
42411         * sysdeps/s390/s390-32/elf/configure: Delete file.
42412         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42413         * sysdeps/s390/s390-32/start.S: ... here.
42415         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42416         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42417         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42418         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42419         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42420         * sysdeps/s390/s390-64/setjmp.S: ... here.
42421         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42422         * sysdeps/s390/s390-64/configure.in: ... here
42423         * sysdeps/s390/s390-64/elf/configure: Delete file.
42424         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42425         * sysdeps/s390/s390-64/start.S: ... here.
42426         * sysdeps/s390/s390-64/elf/configure: Delete.
42428         * configure.in: Remove support for elf directories in sysdeps.
42430         * configure: Regenerated.
42431         * sysdeps/i386/configure: Regenerated.
42432         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42433         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42434         * sysdeps/s390/s390-32/configure: Regenerated.
42435         * sysdeps/s390/s390-64/configure: Regenerated.
42436         * sysdeps/sh/configure: Regenerated.
42437         * sysdeps/sparc/configure: Regenerated.
42438         * sysdeps/x86_64/configure: Regenerated.
42440 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
42442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42445         denormal result into account.
42447 2012-03-25  Roland McGrath  <roland@hack.frob.com>
42449         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42450         Reported by Allan McRae <allan@archlinux.org>.
42452 2012-03-23  Jeff Law  <law@redhat.com>
42454         * nss/getnssent.c (__nss_getent): Fix typo.
42456 2012-03-23  David S. Miller  <davem@davemloft.net>
42458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42460 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
42462         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42463         to pad to uint64_t for each field.
42464         (dl_tls_index): Replace unsigned long with uint64_t.
42466 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
42467         Paul Pluzhnikov  <ppluzhnikov@google.com>
42469         [BZ #6528]
42470         * grp/Makefile (otherlibs): Don't set it.
42471         * inet/Makefile (otherlibs): Likewise.
42472         * login/Makefile (otherlibs): Likewise.
42473         * nscd/Makefile (otherlibs): Likewise.
42474         * posix/Makefile (otherlibs): Likewise.
42475         * pwd/Makefile (otherlibs): Likewise.
42476         * rt/Makefile (otherlibs): Likewise.
42477         * sunrpc/Makefile (otherlibs): Likewise.
42478         * nss/Makefile (otherlibs): Likewise.
42479         Add libnss_files to routines and static-only-routines.
42480         ($(objpfx)getent): Remove rule.
42481         * resolv/Makefile: Add libnss_dns and libresolv to routines and
42482         static-only-routines.
42484 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42486         [BZ #13892]
42487         * math/s_cexp.c: Include <float.h>.
42488         (__cexp): Handle exp result overflowing not necessarily
42489         overflowing both real and imaginary parts of result.
42490         * math/s_cexpf.c: Likewise.
42491         * math/s_cexpl.c: Likewise.
42492         * math/libm-test.inc (cexp_test): Add more tests.
42493         * sysdeps/i386/fpu/libm-test-ulps: Update.
42494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42496 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42498         * include/link.h (ELFW): New macro.
42499         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42500         Replace ELF64_R_TYPE with ELFW(R_TYPE).
42502 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42504         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42505         with uint64_t.
42507 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42509         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42510         declaration.
42511         (struct La_x32_retval): Likewise.
42513 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42515         * sysdeps/x86_64/preconfigure.in: New file.
42516         * sysdeps/x86_64/preconfigure: New generated file.
42518 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42520         [BZ #13824]
42521         * math/e_exp2l.c: Include <float.h>.
42522         (__ieee754_exp2l): Handle overflow and underflow cases
42523         separately.  Only pass fractional part of argument to
42524         __ieee754_expl.
42525         * math/libm-test.inc (exp2_test): Add more tests.
42527         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42528         negating x to take absolute value.
42529         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42530         Likewise.
42531         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42532         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42533         Likewise.
42534         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42535         computing low part if x was negated.
42536         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42538 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42540         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42541         la_x32_gnu_pltexit.
42542         (pltexit): Cast int_retval to ptrdiff_t.
42543         * elf/tst-auditmod3b.c: Likewise.
42544         * elf/tst-auditmod4b.c: Likewise.
42545         * elf/tst-auditmod5b.c: Likewise.
42546         * elf/tst-auditmod6b.c: Likewise.
42547         * elf/tst-auditmod6c.c: Likewise.
42548         * elf/tst-auditmod7b.c: Likewise.
42550         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42551         and x32_gnu_pltexit.
42553         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42554         __ELF_NATIVE_CLASS.
42555         (La_x32_regs): New macro.
42556         (La_x32_retval): Likewise.
42557         (la_x32_gnu_pltenter): New function prototype.
42558         (la_x32_gnu_pltexit): Likewise.
42560 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
42562         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42563         exponent.
42565         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42567         * configure.in (libc_cv_cc_nofma): Check for option to disable
42568         generation of FMA instructions.
42569         * configure: Regenerate.
42570         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42571         * sysdeps/ieee754/dbl-64/Makefile: New file.
42572         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42573         Remove brandred-fma4.
42574         (CFLAGS-brandred-fma4.c): Remove.
42575         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42576         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42577         define.
42578         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42579         define.
42581 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42583         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42584         LLONG_MAX != LONG_MAX.
42585         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42586         (_fitoa_word): Likewise.
42587         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42588         LLONG_MAX != LONG_MAX.
42589         * stdio-common/_itowa.h: Include <_itoa.h>.
42590         (_itowa_word): Use _ITOA_WORD_TYPE on value.
42591         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
42592         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
42593         only if not defined.
42594         (_ITOA_WORD_TYPE): Likewise.
42595         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42596         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42598 2012-03-21  David S. Miller  <davem@davemloft.net>
42600         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42602 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42604         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42605         of x86_64 when setting libc_cv_slibdir, libdir and
42606         libc_cv_localedir.
42607         * sysdeps/unix/sysv/linux/configure: Regenerated.
42609 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42611         * manual/lang.texi (Old Varargs): Remove section.
42612         (How Variadic): Update menu.
42613         (va_start): Do not mention varargs.h.
42615 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42616             Joseph Myers  <joseph@codesourcery.com>
42618         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42619         link test.
42620         * configure: Regenerated.
42622 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42624         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42625         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42626         conformtest.pl
42628 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42630         * NOTES: Remove.
42631         * Makefile (files-for-dist): Remove NOTES.
42632         (NOTES): Remove rule.
42633         * README: Don't refer to NOTES.
42634         * manual/creature.texi: Don't include macros.texi.
42635         * manual/intro.texi (creature.texi): Remove comment referring to
42636         NOTES.
42638         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42639         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42640         * configure: Regenerated.
42641         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42642         LIBC_TRY_CC_OPTION.
42643         (libc_cv_as_i686): Likewise.
42644         (libc_cv_cc_avx): Likewise.
42645         (libc_cv_cc_sse2avx): Likewise.
42646         (libc_cv_cc_fma4): Likewise.
42647         (libc_cv_cc_novzeroupper): Likewise.
42648         * sysdeps/i386/configure: Regenerated.
42650         [BZ #13883]
42651         * sysdeps/i386/fpu/s_cexp.S: Remove.
42652         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42653         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42654         * math/libm-test.inc (cexp_test): Add more tests.
42655         * sysdeps/i386/fpu/libm-test-ulps: Update.
42656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42658 2012-03-21  Allan McRae  <allan@archlinux.org>
42660         * timezone/Makefile: Do not install iso3166.tab and zone.tab
42662 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42664         [BZ #13871]
42665         * math/w_exp2.c: Do not include <float.h>.
42666         (o_threshold, u_threshold): Remove.
42667         (__exp2): Calculate result before checking finiteness and calling
42668         __kernel_standard.
42669         * math/w_exp2f.c: Likewise.
42670         * math/w_exp2l.c: Likewise.
42671         * math/libm-test.inc (exp2_test): Require overflow exception for
42672         1e6 input.
42674         [BZ #3866]
42675         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42676         range of signed 64-bit integers before using fistpll.  Remove
42677         checks for whether integers fit in mantissa bits.
42678         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42679         the range of signed 32-bit integers before using fistpl.  Remove
42680         checks for whether integers fit in mantissa bits.
42681         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42682         (__ieee754_powl): Test for y outside the range of signed 64-bit
42683         integers before using fistpll.  Reduce 64-bit values to 63-bit
42684         ones as needed.
42685         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42686         divide-by-zero is raised for zero to large negative powers.
42687         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42688         (__ieee754_powl): Test for y outside the range of signed 64-bit
42689         integers before using fistpll.  Reduce 64-bit values to 63-bit
42690         ones as needed.
42691         * math/libm-test.inc (pow_test): Add more tests.
42693 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42695         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42696         <stdio-common/_itoa.h>.
42697         * debug/segfault.c: Likewise.
42698         * elf/dl-cache.c: Likewise.
42699         * elf/dl-minimal.c: Likewise.
42700         * elf/dl-misc.c: Likewise.
42701         * elf/dl-sysdep.c: Likewise.
42702         * elf/dl-version.c: Likewise.
42703         * elf/rtld.c: Likewise.
42704         * hurd/hurdsock.c: Likewise.
42705         * hurd/lookup-retry.c: Likewise.
42706         * malloc/malloc.c: Likewise.
42707         * malloc/mtrace.c: Likewise.
42708         * nscd/nscd_getgr_r.c: Likewise.
42709         * nscd/nscd_getpw_r.c: Likewise.
42710         * nscd/nscd_getserv_r.c: Likewise.
42711         * posix/getopt_init.c: Likewise.
42712         * posix/wordexp.c: Likewise.
42713         * stdio-common/_itoa.c: Likewise.
42714         * stdio-common/printf_fphex.c: Likewise.
42715         * stdio-common/vfprintf.c: Likewise.
42716         * string/_strerror.c: Likewise.
42717         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42718         * sysdeps/i386/i686/hp-timing.h: Likewise.
42719         * sysdeps/mach/_strerror.c: Likewise.
42720         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42721         * sysdeps/mach/hurd/sethostid.c: Likewise.
42722         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42723         * sysdeps/mach/xpg-strerror.c: Likewise.
42724         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42725         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42726         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42727         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42728         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42729         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42730         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42731         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42732         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42733         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42734         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42735         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42736         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42737         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42738         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42739         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42740         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42741         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42742         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42743         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42744         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42746         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42748         * stdio-common/_itoa.h: Moved to ...
42749         * sysdeps/generic/_itoa.h: Here.
42751         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42753         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42754         instead of "_itoa.h" and "_itowa.h".
42755         * stdio-common/vfprintf.: Likewise.
42757 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42759         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42760         <bits/wordsize.h>.
42761         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42762         (__signbit): Likwise.
42763         (llrintf): Likwise.
42764         (llrint): Likwise.
42766 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42768         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42769         __WORDSIZE != 64.
42771 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42773         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42774         OVERFLOW_EXCEPTION_OK.
42775         * math/libm-test.inc ("Philosophy"): Update comment about
42776         exception testing.
42777         (OVERFLOW_EXCEPTION): Define.
42778         (OVERFLOW_EXCEPTION_OK): Likewise.
42779         (INVALID_EXCEPTION_OK): Renumber.
42780         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42781         (IGNORE_ZERO_INF_SIGN): Likewise.
42782         (test_exceptions): Handle FE_OVERFLOW.
42783         (exp10_test): Expect overflow exceptions.
42784         (exp2_test): Likewise.
42785         (expm1_test): Likewise.
42786         (nextafter_test): Likewise.
42787         (pow_test): Likewise.
42788         (scalbn_test): Likewise.
42789         (scalbln_test): Likewise.
42791 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42793         * sysdeps/x86_64/bits/atomic.h
42794         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42795         64bit integer.
42796         (atomic_exchange_acq): Likewise.
42797         (__arch_exchange_and_add_body): Likewise.
42798         (__arch_add_body): Likewise.
42799         (atomic_add_negative): Likewise.
42800         (atomic_add_zero): Likewise.
42802 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42804         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42805         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42807 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42809         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42810         Check __x86_64__ instead of __WORDSIZE.
42812 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42814         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42816 2012-03-19  David S. Miller  <davem@davemloft.net>
42818         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42820         * sysdeps/sparc/fpu/fenv_private.h: New file.
42821         * sysdeps/sparc/fpu/math_private.h: Use it.
42822         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42823         Remove.
42824         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42825         (libc_feholdexcept_setroundl): Remove.
42826         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42827         Remove.
42828         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42829         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42831 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42833         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42834         int64_t instead of long int.
42835         (INSERT_WORDS64): Likwise.
42837 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42839         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42840         _Unwind_GetCFA return to _Unwind_Ptr first.
42842 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42844         [BZ #13629]
42845         * math/s_clog.c: Include <float.h>.
42846         (__clog): Scale large or subnormal inputs.
42847         * math/s_clogf.c: Likewise.
42848         * math/s_clogl.c: Likewise.
42849         * math/s_clog10.c: Include <float.h>.
42850         (M_LOG10_2): Define.
42851         (__clog10): Scale large or subnormal inputs.
42852         * math/s_clog10f.c: Likewise.
42853         * math/s_clog10l.c: Likewise.
42854         * math/libm-test.inc (clog_test): Add more tests.
42855         (clog10_test): Likewise.
42856         * sysdeps/i386/fpu/libm-test-ulps: Update.
42857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42859         [BZ #11451]
42860         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42861         x and y.
42862         * math/libm-test.inc (atan2_test): Add another test.
42864         * Makerules (common-objdir-compile): Remove.
42865         * sysdeps/unix/Makefile (config-generated): Do not add
42866         $(unix-generated) to variable.
42867         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42868         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42869         Remove rule.
42870         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42871         Likewise.
42872         [generic bits/local_lim.h] (before-compile): Do not append to
42873         variable.
42874         [generic bits/local_lim.h] (common-generated): Likewise.
42875         [generic sys/param.h] (before-compile): Do not append to variable.
42876         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42877         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42878         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42879         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42880         include.
42881         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42882         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42883         [generic sys/param.h] ($(addprefix
42884         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42885         [generic sys/param.h] (common-generated): Do not append to
42886         variable.
42887         [generic sys/param.h] (sysdep_headers): Likewise.
42888         [generic bits/errno.h] (before-compile): Do not append to
42889         variable.
42890         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42891         rule.
42892         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42893         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42894         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42895         [generic bits/errno.h] (common-generated): Do not append to
42896         variable.
42897         [generic bits/ioctls.h] (before-compile): Do not append to
42898         variable.
42899         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42900         rule.
42901         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42902         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42903         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42904         rule.
42905         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42906         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42907         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42908         [generic bits/ioctls.h] (common-generated): Do not append to
42909         variable.
42910         [generic sys/syscall.h] (syscall.h): Remove variable.
42911         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42912         rule.
42913         [generic sys/syscall.h] (before-compile): Do not append to
42914         variable.
42915         [generic sys/syscall.h] (common-generated): Likewise.
42916         * sysdeps/unix/errnos-tmpl.c: Remove file.
42917         * sysdeps/unix/errnos.awk: Likewise.
42918         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42919         * sysdeps/unix/ioctls.awk: Likewise.
42920         * sysdeps/unix/mk-local_lim.c: Likewise.
42921         * sysdeps/unix/snarf-ioctls: Likewise.
42923 2012-03-19  Richard Henderson  <rth@twiddle.net>
42925         * sysdeps/i386/fpu/fenv_private.h: New file.
42926         * sysdeps/i386/fpu/math_private.h: Use it.
42927         (math_opt_barrier, math_force_eval): Remove.
42928         (libc_feholdexcept_setround_53bit): Remove.
42929         (libc_feupdateenv_53bit): Remove.
42930         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42931         (math_opt_barrier, math_force_eval): Remove.
42932         (libc_feholdexcept): Remove.
42933         (libc_feholdexcept_setround): Remove.
42934         (libc_fetestexcept, libc_fesetenv): Remove.
42935         (libc_feupdateenv_test): Remove.
42936         (libc_feupdateenv, libc_feholdsetround): Remove.
42937         (libc_feresetround): Remove.
42939         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42940         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42942         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42943         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42944         (libc_feupdateenv_testl): New.
42945         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42946         (libc_feupdateenv_testf): New.
42947         (libc_feupdateenv): Use libc_feupdateenv_test.
42948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42949         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42951         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42952         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42953         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42954         (libc_feresetround_noex): New.
42955         (libc_feresetround_noexf): New.
42956         (libc_feresetround_noexl): New.
42957         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42958         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42959         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42960         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42961         SET_RESTORE_ROUND.
42962         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42963         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42964         (__cos): Likewise.
42965         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42966         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42967         SET_RESTORE_ROUND_NOEX.
42968         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42969         SET_RESTORE_ROUND_NOEXF.
42970         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42971         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42972         (libc_feholdsetroundf): New.
42973         (libc_feresetround, libc_feresetroundf): New.
42975         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42976         (libc_feholdexcept_setround_53bit): Convert from macro to function.
42977         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
42979         * sysdeps/generic/math_private.h: Include <fenv.h>.
42980         (default_libc_feholdexcept): New.
42981         (default_libc_feholdexcept_setround): New.
42982         (default_libc_fesetenv, default_libc_feupdateenv): New.
42983         (libc_feholdexcept): Only define if undefined.
42984         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
42985         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
42986         (libc_feholdexcept_setroundl): Likewise.
42987         (libc_feholdexcept_setround_53bit): Likewise.
42988         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
42989         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
42990         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
42991         (libc_feupdateenv_53bit): Likewise.
42992         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
42993         (libc_feholdexcept): Convert from macro to inline function.
42994         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
42995         (libc_fesetenv, libc_feupdateenv): Likewise.
42997         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
42998         not previously defined.
42999         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43000         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43001         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43002         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43003         * sysdeps/ieee754/flt-32/math_private.h: New file.
43004         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43005         math_private.h below SET_FLOAT_WORD.
43006         (__isnan, __isinf_ns, __finite): Remove.
43007         (__isnanf, __isinf_nsf, __finitef): Remove.
43009 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43011         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43013 2012-03-17  David S. Miller  <davem@davemloft.net>
43015         [BZ #6471]
43016         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43017         for 2.16.
43019 2012-03-16  David S. Miller  <davem@davemloft.net>
43021         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43022         warnings.
43024         [BZ #6471]
43025         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43026         properly.
43027         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43028         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43029         sysdep_routines when subdir is sysvipc.
43030         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43031         __getshmlba helper.
43033         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43035 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43037         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43038         [__LP64__].
43040 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43042         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43043         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43044         (__lround): Renamed to ...
43045         (__llround): This.  Replace long int with long long int.
43046         Define lround functions as aliases of llround functions.
43047         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43049 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43051         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43052         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43053         adresses to uintptr_t.  Replace "long int" and "unsigned long
43054         int" with "greg_t" on va_arg.
43056 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43058         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43059         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43061         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43062         Move e_machine check before EI_CLASS check.  Handle x32
43063         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43064         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43065         SKIP_EM_IA_64 and include
43066         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43068         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43069         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43070         (add_system_dir): New macro.
43072         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43073         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43075 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43077         [BZ #2551]
43078         [BZ #2552]
43079         [BZ #2553]
43080         [BZ #2554]
43081         [BZ #2562]
43082         [BZ #2563]
43083         [BZ #2565]
43084         [BZ #2566]
43085         [BZ #2576]
43086         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43087         (y0): Likewise.
43088         * math/w_j0f.c (j0f): Likewise.
43089         (y0f): Likewise.
43090         * math/w_j0l.c (__j0l): Likewise.
43091         (__y0l): Likewise.
43092         * math/w_j1.c (j1): Likewise.
43093         (y1): Likewise.
43094         * math/w_j1f.c (j1f): Likewise.
43095         (y1f): Likewise.
43096         * math/w_j1l.c (__j1l): Likewise.
43097         (__y1l): Likewise.
43098         * math/w_jn.c (jn): Likewise.
43099         (yn): Likewise.
43100         * math/w_jnf.c (jnf): Likewise.
43101         (ynf): Likewise.
43102         * math/w_jnl.c (__jnl): Likewise.
43103         (__ynl): Likewise.
43104         * math/libm-test.inc (j0_test): Add more tests.
43105         (j1_test): Likewise.
43106         (jn_test): Likewise.  Add trailing semicolon to existing test.
43107         (y0_test): Likewise.
43108         (y1_test): Likewise.
43109         * sysdeps/i386/fpu/libm-test-ulps: Update.
43110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43112         [BZ #13851]
43113         [BZ #13854]
43114         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43115         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43116         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43117         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43118         (__tanl): Set errno for infinite argument.
43119         * sysdeps/i386/fpu/mptan.c: Remove.
43120         * sysdeps/i386/fpu/s_tan.S: Likewise.
43121         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43122         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43123         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43124         * math/libm-test.inc (tan_test): Add more tests and enable more
43125         tests for double and long double.
43126         * sysdeps/i386/fpu/libm-test-ulps: Update.
43127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43129 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43131         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43132         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43134 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43136         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43137         * configure.in: Use it for both main tree and add-ons.
43138         * configure: Regenerated.
43140 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43142         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43144 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43146         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43147         in comment.
43149         [BZ #13851]
43150         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43151         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43152         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43153         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43154         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43155         infinite argument.
43156         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43157         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43158         != 0 for prec == 2.
43159         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43160         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43161         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43162         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43163         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43164         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43165         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43166         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43167         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43168         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43169         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43170         * math/libm-test.inc (cos_test): Add more tests and enable more
43171         tests for long double.
43172         (sin_test): Likewise.
43173         (sincos_test): Likewise.
43174         * sysdeps/i386/fpu/libm-test-ulps: Update.
43175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43177 2012-03-16  David S. Miller  <davem@davemloft.net>
43179         * sysdeps/sparc/fpu/math_private.h: New file.
43181 2012-03-15  David S. Miller  <davem@davemloft.net>
43183         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43184         file.
43185         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43187         file.
43188         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43191         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43192         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43193         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43194         sysdep routines.
43195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43197         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43198         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43200         * sysdeps/sparc/sparc-ifunc.h: New file.
43201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43202         sparc-ifunc.h
43203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43205         Likewise.
43206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43207         Likewise.
43208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43212         Likewise.
43213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43215         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43217         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43218         Likewise.
43219         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43220         Likewise.
43221         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43225         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43226         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43227         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43228         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43229         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43231         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43232         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43233         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43234         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43235         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43236         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43237         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43238         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43239         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43240         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43241         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43242         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43243         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43244         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43246 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43248         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43249         scaling.
43250         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43252 2012-03-15  Andreas Jaeger  <aj@suse.de>
43254         [BZ #13852]
43255         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43256         ieee754/flt-32 implementation for sin, cos and sincos.
43257         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43258         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43259         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43260         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43261         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43262         ieee754/flt-32 implementation for tan.
43264         * math/libm-test.inc (cos_test): Enable some large input tests for
43265         float as well
43266         (sin_test): Likewise.
43267         (sincos_test): Likewise.
43268         (tan_test): Add tests for large input.
43270         * sysdeps/i386/fpu/libm-test-ulps: Update.
43272 2012-03-15  Andreas Jaeger  <aj@suse.de>
43274         [BZ #13658]
43275         * math/libm-test.inc (cos_test): Add more test cases.
43276         (sin_test): Likewise.
43277         (sincos_test): Likewise.
43279 2012-03-15  Andreas Jaeger  <aj@suse.de>
43281         [BZ #13837]
43282         * math/libm-test.inc (cos_test): Add a test case for large input
43283         value.
43284         (sin_test): Likewise.
43285         (sincos_test): Likewise.
43287 2012-03-15  Andreas Jaeger  <aj@suse.de>
43288             Joseph Myers  <joseph@codesourcery.com>
43290         [BZ #13658]
43291         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43292         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43293         * sysdeps/i386/fpu/branred.c: Likewise.
43294         * sysdeps/i386/fpu/dosincos.c: Likewise.
43295         * sysdeps/i386/fpu/mpa.c: Likewise.
43296         * sysdeps/i386/fpu/s_cos.S: Likewise.
43297         * sysdeps/i386/fpu/s_sin.S: Likewise.
43298         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43299         * sysdeps/i386/fpu/sincos32.c: Likewise.
43301         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43302         Define.
43303         (libc_feupdateenv_53bit): Define.
43304         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43305         Define.
43306         (libc_feupdateenv_53bit): Define.
43308         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43309         53 bit (without extend i386 double precision).
43311         * math/libm-test.inc (sincos_test): Add tests for large input.
43312         (sin): Likewise.
43313         (cos): Likewise.
43315         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43317 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43319         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43321 2012-03-15  David S. Miller  <davem@davemloft.net>
43323         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43324         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43325         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43326         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43327         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43331         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43332         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43333         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43334         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43335         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43336         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43337         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43339         file.
43340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43342         file.
43343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43345         file.
43346         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43348         file.
43349         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43350         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43351         fmin/fmax sysdep routines.
43352         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43354 2012-03-14  David S. Miller  <davem@davemloft.net>
43356         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43357         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43358         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43359         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43360         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43361         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43362         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43363         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43364         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43365         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43366         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43367         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43368         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43369         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43370         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43371         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43372         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43373         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43374         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43375         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43376         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43377         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43378         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43379         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43380         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43381         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43382         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43383         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43384         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43385         routines.
43386         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43387         file.
43388         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43390         file.
43391         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43393         file.
43394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43395         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43396         file.
43397         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43399         file.
43400         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43402         file.
43403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43404         file.
43405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43406         file.
43407         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43408         file.
43409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43410         New file.
43411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43412         file.
43413         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43414         file.
43415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43416         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43417         file.
43418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43419         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43420         file.
43421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43422         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43423         file.
43424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43426         VIS3 routines.
43428         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43429         New file.
43431         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43433         * sysdeps/sparc/configure.in: New file.
43434         * sysdeps/sparc/configure: Generate.
43435         * configure.in (libc_cv_sparc_as_vis3): Substitute.
43436         * configure: Regenerate.
43437         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43438         * config.make.in (have-as-vis3): New.
43439         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43440         available use -Av9d instead of -Av9a.
43441         * sysdeps/sparc/sparc64/Makefile: Likewise.
43442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43443         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43444         New file.
43445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43446         file.
43447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43448         New file.
43449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43450         file.
43451         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43452         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43453         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43454         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43455         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43457         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43458         fzeros/fnegs to load 0x80000000 into a float register instead of
43459         using the stack.
43460         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43462 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43465         bits/syscall.h.
43466         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43467         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43468         ($(inst_includedir)/bits/syscall.h): Remove rule.
43469         ($(objpfx)bits/syscall.d): Include instead of
43470         $(objpfx)syscall-list.d.
43471         (generated): Change syscall-list.h and syscall-list.d to
43472         bits/syscall.h and bits/syscall.d.
43474 2012-03-14  Roland McGrath  <roland@hack.frob.com>
43476         [BZ #13846]
43477         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43479 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43481         [BZ #13841]
43482         * math/s_csqrt.c: Include <float.h>.
43483         (__csqrt): Scale large or subnormal inputs.
43484         * math/s_csqrtf.c: Likewise.
43485         * math/s_csqrtl.c: Likewise.
43486         * math/libm-test.inc (csqrt_test): Add more tests.
43487         * sysdeps/i386/fpu/libm-test-ulps: Update.
43488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43490         [BZ #13840]
43491         * math/libm-test.inc (hypot_test): Add more tests.
43493 2012-03-13  David S. Miller  <davem@davemloft.net>
43495         [BZ #13840]
43496         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43497         double-precision for the calculation instead of scaling.
43499 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
43501         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43502         manipulate bits before adding and subtracting TWO52[sx].
43503         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43504         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43505         Likewise.
43506         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43508 2012-03-13  David S. Miller  <davem@davemloft.net>
43510         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43511         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43512         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43513         rtld-global-offsets.h
43514         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43516         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43517         large parameters.
43519         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43521         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43522         'err' in the ifdef scope in which it is actually used.
43524         * nss/nss_db/db-init.c: Include string.h
43526 2012-03-12  David S. Miller  <davem@davemloft.net>
43528         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43529         masking out of the most significant byte of random value used.
43530         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43531         Fix coding style in previous change.
43533         * sysdeps/unix/sysv/linux/kernel-features.h
43534         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43535         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43536         expression.
43537         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43538         later.
43540 2012-03-11  David S. Miller  <davem@davemloft.net>
43542         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43543         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43544         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43545         for 'resultvar' otherwise things get truncated on 64-bit.
43547         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43548         Fix masking out of the most significant byte of random value used.
43550         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43552 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
43554         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43556 2012-03-09  David S. Miller  <davem@davemloft.net>
43558         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43559         variables with appropriate CPP guards.
43560         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43561         from the frame pointer, not the stack pointer.  Correct layout
43562         comments.  Fix test on resulting framesize and the management of
43563         the outregs buffer for pltexit.  Preserve floating point return
43564         values across _dl_call_pltexit call.
43565         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43566         framesize and the management of the outregs buffer for pltexit.
43567         Preserve floating point return values across _dl_call_pltexit
43568         call.
43569         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43570         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43571         (la_sparc64_gnu_pltexit): New functions.
43572         (print_exit): Fix format string for return register value.
43574 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
43576         * sunrpc/Makefile (others): Add rpcgen.
43577         ($(objpfx)rpcgen): Remove special build rule and dependency on
43578         libc.
43579         * sunrpc/rpcgen.c: New file.
43581 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
43583         [BZ #13673]
43584         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43585         * stdio-common/bug-vfprintf-nargs.c: Likewise.
43586         * sysdeps/i386/crti.S: Likewise.
43587         * sysdeps/i386/crtn.S: Likewise.
43588         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43589         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43590         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43591         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43592         * sysdeps/sh/crti.S: Likewise.
43593         * sysdeps/sh/crtn.S: Likewise.
43594         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43596         [BZ #13673]
43597         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43598         with URL.
43599         * locale/programs/locfile-kw.gperf: Likewise.
43600         * locale/programs/charmap-kw.h: Regenerated.
43601         * locale/programs/locfile-kw.h: Likewise.
43603         [BZ #13673]
43604         * intl/plural.y: Replace FSF snail mail address with URL.
43605         * intl/plural.c: Regenerated.
43607 2012-03-09  Richard Henderson  <rth@twiddle.net>
43609         * include/math_private.h: Remove file.
43610         * math/math_private.h: Move file ...
43611         * sysdeps/generic/math_private.h: ... here.
43613         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43614         * sysdeps/powerpc/fpu/math_private.h: Likewise.
43615         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43617         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43618         and <math_private.h>.
43619         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43620         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43621         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43622         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43623         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43624         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43625         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43626         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43627         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43628         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43629         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43630         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43631         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43632         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43633         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43634         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43635         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43636         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43637         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43638         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43639         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43640         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43641         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43642         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43643         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43644         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43645         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43646         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43648         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43649         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43650         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43651         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43654         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43655         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43656         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43657         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43658         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43659         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43660         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43661         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43662         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43663         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43664         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43665         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43666         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43667         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43668         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43669         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43670         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43671         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43672         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43673         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43674         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43675         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43676         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43677         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43678         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43679         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43680         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43681         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43682         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43683         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43684         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43685         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43686         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43687         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43688         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43689         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43690         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43691         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43692         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43693         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43694         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43695         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43696         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43697         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43698         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43699         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43700         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43701         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43702         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43703         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43704         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43705         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43706         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43707         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43708         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43709         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43710         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43711         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43712         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43713         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43714         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43715         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43716         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43717         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43718         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43719         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43720         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43721         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43722         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43723         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43724         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43725         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43726         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43727         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43728         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43729         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43730         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43731         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43732         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43733         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43734         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43735         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43736         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43737         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43738         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43739         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43740         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43741         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43742         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43743         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43744         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43745         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43746         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43747         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43748         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43749         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43750         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43751         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43752         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43753         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43754         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43755         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43756         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43757         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43758         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43759         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43760         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43761         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43762         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43763         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43764         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43765         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43766         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43767         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43768         * sysdeps/ieee754/k_standard.c: Likewise.
43769         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43770         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43771         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43772         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43773         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43774         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43775         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43776         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43777         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43778         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43779         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43780         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43781         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43782         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43783         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43784         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43785         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43786         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43787         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43788         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43789         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43790         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43791         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43792         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43793         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43794         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43795         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43796         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43797         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43798         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43799         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43800         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43801         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43802         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43803         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43804         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43805         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43806         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43807         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43808         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43809         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43810         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43811         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43812         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43813         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43814         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43815         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43816         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43817         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43818         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43819         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43820         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43821         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43822         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43823         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43824         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43825         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43826         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43827         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43828         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43829         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43830         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43831         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43833         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43836         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43838         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43839         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43842         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43843         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43845         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43846         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43847         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43851         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43854         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43855         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43856         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43857         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43858         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43859         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43860         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43861         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43862         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43863         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43864         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43865         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43866         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43867         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43868         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43869         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43870         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43871         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43872         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43873         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43874         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43875         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43876         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43877         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43878         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43879         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43880         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43881         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43882         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43883         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43884         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43885         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43886         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43887         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43888         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43889         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43890         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43891         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43892         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43893         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43895         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43896         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43897         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43899         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43900         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43901         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43903         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43904         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43905         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43906         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43907         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43908         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43909         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43910         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43911         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43912         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43913         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43914         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43915         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43916         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43917         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43918         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43919         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43920         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43921         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43922         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43923         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43924         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43925         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43926         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43927         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43928         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43929         * sysdeps/ieee754/s_lib_version.c: Likewise.
43930         * sysdeps/ieee754/s_matherr.c: Likewise.
43931         * sysdeps/ieee754/s_signgam.c: Likewise.
43932         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43933         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43934         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43935         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43936         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43937         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43938         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43939         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43940         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43941         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43942         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43943         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43944         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43945         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43946         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43947         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43948         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43949         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43950         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43951         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43952         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43954 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43956         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43957         * sunrpc/rpc_main.c: Likewise.
43958         * sunrpc/rpc_svcout.c: Likewise.
43960 2012-03-09  David S. Miller  <davem@davemloft.net>
43962         * include/math_private.h: New file.
43964 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43966         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43967         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43968         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43969         from <bits/socket_type.h>.
43970         (enum __socket_type): Don't define here.
43971         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43972         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43973         bits/socket_type.h.
43975         [BZ #13566]
43976         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
43977         checking __USE_GNU.
43979         * Makerules ($(inst_includedir)/%.h): New rule.
43980         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
43981         (install-others): Remove variable setting.
43982         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
43984 2012-03-08  Richard Henderson  <rth@twiddle.net>
43986         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
43987         from macro to inline function; merge with the
43988         !__LIBC_INTERNAL_MATH_INLINES version.
43989         (__ieee754_sqrtf): Likewise.
43991         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
43992         to inline function.
43993         (__rintf, __floor, __floorf): Likewise.
43995         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
43996         macro to inline function.
43997         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
43999         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44000         not <math/math_private.h>.
44002 2012-03-08  David S. Miller  <davem@davemloft.net>
44004         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44005         copyright year.
44006         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44008 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44010         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44011         normalization.
44012         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44013         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44015 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44017         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44018         be defined individually, they must be defined as a block.  Define
44019         S for printing a string instead of hidint the different by using a
44020         macro for adding the 'l'.
44021         * stdio-common/tst-fphex-wide.c: Adjust.
44023 2012-03-07  Marek Polacek  <polacek@redhat.com>
44025         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44027 2012-03-08  Marek Polacek  <polacek@redhat.com>
44029         [BZ #13806]
44030         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44031         * stdio-common/tst-fphex.c: Define a few macros to make the
44032         test reusable.  Use them.
44033         * stdio-common/tst-fphex-wide.c: New file.
44035 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44037         [BZ #6911]
44038         * manual/macros.texi (gnusystems): New macro.
44039         (nongnusystems): Likewise.
44040         (gnulinuxhurdsystems): Likewise.
44041         (gnuhurdsystems): Likewise..
44042         (gnulinuxsystems): Likewise.
44043         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44044         variants of the GNU system, not "GNU system".
44045         * manual/conf.texi: Likewise.
44046         * manual/errno.texi: Likewise.  Update example of errno macro
44047         expansion.
44048         * manual/filesys.texi: Likewise.
44049         (getumask): Document as specific to GNU/Hurd.
44050         * manual/install.texi: Likewise.  Reword some references to
44051         GNU/Linux.
44052         * manual/intro.texi: Likewise.
44053         * manual/io.texi: Likewise.
44054         (File Name Portability): Detail which constraints are inapplicable
44055         to all GNU systems and which are only inapplicable to GNU/Hurd.
44056         * manual/job.texi: Likewise.
44057         * manual/llio.texi: Likewise.
44058         (O_NOCTTY): Document as present on GNU/Linux.
44059         * manual/maint.texi: Likewise.
44060         * manual/memory.texi: Likewise.
44061         * manual/pattern.texi: Likewise.
44062         * manual/pipe.texi: Likewise.
44063         * manual/process.texi: Likewise.
44064         * manual/resource.texi: Likewise.
44065         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44066         child on GNU/Hurd.
44067         * manual/setjmp.texi: Likewise.
44068         * manual/signal.texi: Likewise.
44069         * manual/startup.texi: Likewise.
44070         * manual/stdio.texi: Likewise.
44071         * manual/terminal.texi: Likewise.
44072         (ONLCR): Document as POSIX.
44073         (OXTABS): Document availability on GNU/Linux as XTABS.
44074         (ONOEOT): Document availability separately from other bits.
44075         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44076         * manual/time.texi: Likewise.
44077         * manual/users.texi: Likewise.
44078         * INSTALL: Regenerated.
44079         * sysdeps/gnu/errlist.c: Regenerated.
44081         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44082         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44083         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44084         puts.
44085         * configure: Regenerated.
44087 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44089         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44090         default includes instead of AC_HEADER_CHECK.
44091         * sysdeps/i386/configure: Regenerated.
44093         [BZ #10716]
44094         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44095         * math/s_cacoshf.c (__cacoshf): Likewise.
44096         * math/s_cacoshl.c (__cacoshl): Likewise.
44097         * math/s_casinh.c (__casinh): Set signs of result from argument.
44098         * math/s_casinhf.c (__casinhf): Likewise.
44099         * math/s_casinhl.c (__casinhl): Likewise.
44100         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44101         (casinh_test): Add more tests.
44102         * sysdeps/i386/fpu/libm-test-ulps: Update.
44103         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44105 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44107         * po/zh_TW.po: Update from translation team.
44109         * login/Makefile (distribute): Remove variable.
44110         * catgets/Makefile: Likewise.
44111         * mach/Makefile: Likewise.
44112         * malloc/Makefile: Likewise.
44113         * misc/Makefile: Likewise.
44114         * iconv/Makefile: Likewise.
44115         * nscd/Makefile: Likewise.
44116         * hurd/Makefile: Likewise.
44117         * manual/Makefile: Likewise.
44118         * locale/Makefile: Likewise.
44119         * intl/Makefile: Likewise.
44120         * conform/Makefile: Likewise.
44121         * nss/Makefile: Likewise.
44122         * time/Makefile: Likewise.
44123         * soft-fp/Makefile: Likewise.
44124         * dirent/Makefile: Likewise.
44125         * gmon/Makefile: Likewise.
44126         * po/Makefile: Likewise.
44127         * rt/Makefile: Likewise.
44128         * socket/Makefile: Likewise.
44129         * math/Makefile: Likewise.
44130         * signal/Makefile: Likewise.
44131         * debug/Makefile: Likewise.
44132         * elf/Makefile: Likewise.
44133         * timezone/Makefile: Likewise.
44134         * stdlib/Makefile: Likewise.
44135         * iconvdata/Makefile: Likewise.
44136         * sunrpc/Makefile: Likewise.
44137         * io/Makefile: Likewise.
44138         * argp/Makefile: Likewise.
44139         * inet/Makefile: Likewise.
44140         * hesiod/Makefile: Likewise.
44141         * grp/Makefile: Likewise.
44142         * csu/Makefile: Likewise.
44143         * wctype/Makefile: Likewise.
44144         * crypt/Makefile: Likewise.
44145         * libio/Makefile: Likewise.
44146         * string/Makefile: Likewise.
44147         * nis/Makefile: Likewise.
44148         * resolv/Makefile: Likewise.
44149         * stdio-common/Makefile: Likewise.
44150         * wcsmbs/Makefile: Likewise.
44151         * dlfcn/Makefile: Likewise.
44152         * posix/Makefile: Likewise.
44154         [BZ #6959]
44155         * timezone/Makefile: Don't install timezone files, just the programs
44156         and scripts.
44158 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44160         * nss/databases.def: Add missing gshadow entry.
44162         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44164 2012-03-06  Marek Polacek  <polacek@redhat.com>
44166         [BZ #13726]
44167         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44168         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44169         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44170         * stdio-common/tst-long-dbl-fphex.c: New file.
44172 2012-03-06  David S. Miller  <davem@davemloft.net>
44174         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44175         (set_obp_int): New function.
44176         (get_obp_int): New function.
44177         (__get_clockfreq_via_dev_openprom): Likewise.
44178         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44179         Avoid unused variable warnings on 'val' and use builtin_expect.
44180         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44181         __builtin_expect.
44182         (INLINE_CLONE_SYSCALL): Likewise.
44184 2012-03-05  David S. Miller  <davem@davemloft.net>
44186         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44188 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44190         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44192         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44193         only for |x| >= 40.
44194         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44196 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44198         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44199         Replace gettimeofday with __vdso_gettimeofday.
44201         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44202         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44203         __vdso_clock_gettime and __vdso_getcpu.
44205         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44206         time with __vdso_time.
44208 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44210         * manual/lang.texi (size_t): Note types to which size_t may be
44211         equivalent with the GNU C Library, but do not describe when
44212         differences between them are significant.
44214 2012-03-05  Andreas Jaeger  <aj@suse.de>
44216         * sysdeps/i386/fpu/libm-test-ulps: Update.
44218 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44220         [BZ #3976]
44221         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44222         (__ieee754_pow): Save and restore rounding mode and use
44223         round-to-nearest for main computations.
44224         * math/libm-test.inc (pow_test_tonearest): New function.
44225         (pow_test_towardzero): Likewise.
44226         (pow_test_downward): Likewise.
44227         (pow_test_upward): Likewise.
44228         (main): Call the new functions.
44229         * sysdeps/i386/fpu/libm-test-ulps: Update.
44230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44232         [BZ #3976]
44233         * math/libm-test.inc (cosh_test_tonearest): New function.
44234         (cosh_test_towardzero): Likewise.
44235         (cosh_test_downward): Likewise.
44236         (cosh_test_upward): Likewise.
44237         (sinh_test_tonearest): Likewise.
44238         (sinh_test_towardzero): Likewise.
44239         (sinh_test_downward): Likewise.
44240         (sinh_test_upward): Likewise.
44241         (main): Call the new functions.
44242         * sysdeps/i386/fpu/libm-test-ulps: Update.
44243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44245 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44247         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44248         default stack guard is set in last bytes.
44249         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44251 2012-03-05  Kees Cook  <keescook@chromium.org>
44253         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44255         [BZ #13656]
44256         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44257         possibly allocate from heap instead of stack.
44258         * stdio-common/bug-vfprintf-nargs.c: New file.
44259         * stdio-common/Makefile (tests): Add nargs overflow test.
44261 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44265 2012-03-03  Marek Polacek  <polacek@redhat.com>
44267         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44268         * math/math_private.h: Likewise.
44269         * stdlib/tst-strtod.c: Likewise.
44270         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44271         * sysdeps/x86_64/bits/atomic.h: Likewise.
44273 2012-03-02  David S. Miller  <davem@davemloft.net>
44275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44277         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44278         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44279         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44280         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44281         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44282         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44284 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44286         [BZ #13792]
44287         * manual/examples/README: New file, says the example source files
44288         can be used under GPL>=2.
44289         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44290         line containing just "*/".
44291         * manual/examples/add.c: Add copyright header (GPL>=2).
44292         * manual/examples/argp-ex1.c: Likewise.
44293         * manual/examples/argp-ex2.c: Likewise.
44294         * manual/examples/argp-ex3.c: Likewise.
44295         * manual/examples/argp-ex4.c: Likewise.
44296         * manual/examples/atexit.c: Likewise.
44297         * manual/examples/db.c: Likewise.
44298         * manual/examples/dir.c: Likewise.
44299         * manual/examples/dir2.c: Likewise.
44300         * manual/examples/execinfo.c: Likewise.
44301         * manual/examples/filecli.c: Likewise.
44302         * manual/examples/filesrv.c: Likewise.
44303         * manual/examples/fmtmsgexpl.c: Likewise.
44304         * manual/examples/genpass.c: Likewise.
44305         * manual/examples/inetcli.c: Likewise.
44306         * manual/examples/inetsrv.c: Likewise.
44307         * manual/examples/isockad.c: Likewise.
44308         * manual/examples/longopt.c: Likewise.
44309         * manual/examples/memopen.c: Likewise.
44310         * manual/examples/memstrm.c: Likewise.
44311         * manual/examples/mkfsock.c: Likewise.
44312         * manual/examples/mkisock.c: Likewise.
44313         * manual/examples/mygetpass.c: Likewise.
44314         * manual/examples/pipe.c: Likewise.
44315         * manual/examples/popen.c: Likewise.
44316         * manual/examples/rprintf.c: Likewise.
44317         * manual/examples/search.c: Likewise.
44318         * manual/examples/select.c: Likewise.
44319         * manual/examples/setjmp.c: Likewise.
44320         * manual/examples/sigh1.c: Likewise.
44321         * manual/examples/sigusr.c: Likewise.
44322         * manual/examples/stpcpy.c: Likewise.
44323         * manual/examples/strdupa.c: Likewise.
44324         * manual/examples/strftim.c: Likewise.
44325         * manual/examples/strncat.c: Likewise.
44326         * manual/examples/subopt.c: Likewise.
44327         * manual/examples/swapcontext.c: Likewise.
44328         * manual/examples/termios.c: Likewise.
44329         * manual/examples/testopt.c: Likewise.
44330         * manual/examples/testpass.c: Likewise.
44331         * manual/examples/timeval_subtract.c: Likewise.
44333         [BZ #13792]
44334         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44335         function to ...
44336         * manual/timeval_subtract.c.texi: ... here, new file.
44338 2012-03-02  David S. Miller  <davem@davemloft.net>
44340         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44342 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44344         [BZ #3976]
44345         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44346         (__sin): Save and restore rounding mode and use round-to-nearest
44347         for all computations.
44348         (__cos): Save and restore rounding mode and use round-to-nearest
44349         for all computations.
44350         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44351         <fenv.h>.
44352         (tan): Save and restore rounding mode and use round-to-nearest for
44353         all computations.
44354         * math/libm-test.inc (cos_test_tonearest): New function.
44355         (cos_test_towardzero): Likewise.
44356         (cos_test_downward): Likewise.
44357         (cos_test_upward): Likewise.
44358         (sin_test_tonearest): Likewise.
44359         (sin_test_towardzero): Likewise.
44360         (sin_test_downward): Likewise.
44361         (sin_test_upward): Likewise.
44362         (tan_test_tonearest): Likewise.
44363         (tan_test_towardzero): Likewise.
44364         (tan_test_downward): Likewise.
44365         (tan_test_upward): Likewise.
44366         (main): Call the new functions.
44367         * sysdeps/i386/fpu/libm-test-ulps: Update.
44368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44370         [BZ #10135]
44371         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44372         small n, then large n, before computing and testing k+n.
44373         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44374         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44375         Likewise.
44376         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44377         Likewise.
44378         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44379         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44380         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44381         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44382         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44383         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44384         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44385         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44386         * math/libm-test.inc (scalbn_test): Add more tests.
44387         (scalbln_test): Likewise.
44389         * manual/filesys.texi (mode_t): Describe constraints on size and
44390         signedness, not exact equivalence to a particular type.
44391         (ino_t): Likewise.
44392         (ino64_t): Likewise.
44393         (dev_t): Likewise.
44394         (nlink_t): Likewise.
44395         (blkcnt_t): Likewise.
44396         (blkcnt64_t): Likewise.
44397         * manual/llio.texi (off_t): Likewise.
44399         [BZ #3976]
44400         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44401         (__ieee754_exp): Save and restore rounding mode and use
44402         round-to-nearest for all computations.
44403         * math/libm-test.inc (exp_test_tonearest): New function.
44404         (exp_test_towardzero): Likewise.
44405         (exp_test_downward): Likewise.
44406         (exp_test_upward): Likewise.
44407         (main): Call the new functions.
44408         * sysdeps/i386/fpu/libm-test-ulps: Update.
44409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44411 2012-03-01  Chris Demetriou  <cgd@google.com>
44413         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44414         have predictable order.
44416 2012-03-01  David S. Miller  <davem@davemloft.net>
44418         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44420         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44421         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44422         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44423         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44425         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44426         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44427         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44429         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44430         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44431         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44432         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44433         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44435         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44437         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44438         * sysdeps/sparc/fpu/libm-test-ulps: to here.
44439         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44441         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44442         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44443         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44444         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44445         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44446         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44447         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44448         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44449         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44450         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44451         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44452         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44453         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44454         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44455         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44457         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44458         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44459         * sysdeps/sparc/elf/configure: Regenerated.
44461 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
44463         * configure.in (AS, LD): Require binutils 2.20 or later.
44464         * configure: Regenerated.
44465         * manual/install.texi (Tools for Compilation): Give binutils 2.20
44466         as required minimum version.
44467         * INSTALL: Regenerated.
44469         [BZ #2541]
44470         [BZ #4108]
44471         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44472         before squaring exponent.
44473         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44474         bottom long double and 27 bits of top long double before squaring
44475         exponent.
44476         * math/libm-test.inc (erfc_test): Add more tests.
44477         * sysdeps/i386/fpu/libm-test-ulps: Update.
44478         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44479         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44481 2012-03-01  Kai Tietz  <ktietz@redhat.com>
44483         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44484         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44485         containing bit-fields.
44486         * soft-fp/extended.h (_FP_UNION_E): Likewise.
44487         * soft-fp/single.h (_FP_UNION_S): Likewise.
44488         * soft-fp/double.h (_FP_UNION_D): Likewise.
44490 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44492         [BZ #13786]
44493         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44494         not include ../strcmp.S.
44495         [USE_AS_STRNCASECMP_L]: Likewise.
44496         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44497         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44498         * sysdeps/i386/i686/multiarch/strncase_l-c.c
44499         (__strncasecmp_l_ia32): Define as alias to
44500         __strncasecmp_l_nonascii.
44502         [BZ #5794]
44503         * math/libm-test.inc (expm1_test): Add test for bug 5794.
44504         * sysdeps/i386/fpu/libm-test-ulps: Update.
44505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44507         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44510 2012-02-29  Jeff Law  <law@redhat.com>
44512         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44513         out of bounds read.
44515 2012-02-29  Marek Polacek  <polacek@redhat.com>
44517         [BZ #13706]
44518         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44519         * elf/Makefile: Add rules to run tst-unused-dep.out.
44521 2012-02-28  David S. Miller  <davem@davemloft.net>
44523         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44524         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44525         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44526         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44527         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44528         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44530 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44532         * math/libm-test.inc (llround_test): Move one test from
44533         lround_test.  Use TEST_f_L in moved test.
44534         (lround_test): Move misplaced test to llround_test.  Add testcase
44535         from bug 2561.
44537 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
44539         * sysdeps/x86_64/fpu/e_expf.S: New file.
44540         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44542 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
44544         [BZ #13637]
44545         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44546         of remain_len that may cause incomplete multi-byte character and
44547         false match.
44548         * posix/bug-regex33.c: New file.
44549         * posix/Makefile (tests): Add bug-regex33.
44551 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
44553         * manual/macros.texi: New file.
44554         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44555         * manual/libc.texinfo: Include macros.texi.
44556         * manual/creatute.texi: Likewise.
44557         * manual/install.texi: Likewise.
44558         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44559         @glibcadj{} in references to the GNU C Library.
44560         * manual/charset.texi: Likewise.
44561         * manual/conf.texi: Likewise.
44562         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
44563         when not using those macros.
44564         * manual/creature.texi: Likewise.
44565         * manual/crypt.texi: Likewise.
44566         * manual/errno.texi: Likewise.
44567         * manual/filesys.texi: Likewise.
44568         * manual/header.texi: Likewise.
44569         * manual/install.texi: Likewise.
44570         * manual/intro.texi: Likewise.
44571         * manual/io.texi: Likewise.
44572         * manual/job.texi: Likewise.
44573         * manual/lang.texi: Likewise.
44574         * manual/libc.texiinfo: Likewise.
44575         * manual/llio.texi: Likewise.
44576         * manual/locale.texi: Likewise.
44577         * manual/maint.texi: Likewise.
44578         * manual/math.texi: Likewise.
44579         * manual/memory.texi: Likewise.
44580         * manual/message.texi: Likewise.
44581         * manual/nss.texi: Likewise.
44582         * manual/pattern.texi: Likewise.
44583         * manual/process.texi: Likewise.
44584         * manual/resource.texi: Likewise.
44585         * manual/search.texi: Likewise.
44586         * manual/setjmp.texi: Likewise.
44587         * manual/signal.texi: Likewise.
44588         * manual/socket.texi: Likewise.
44589         * manual/startup.texi: Likewise.
44590         * manual/stdio.texi: Likewise.
44591         * manual/string.texi: Likewise.
44592         * manual/sysinfo.texi: Likewise.
44593         * manual/syslog.texi: Likewise.
44594         * manual/terminal.texi: Likewise.
44595         * manual/time.texi: Likewise.
44596         * manual/users.texi: Likewise.
44597         * INSTALL: Regenerated.
44598         * NOTES: Regenerated.
44599         * sysdeps/gnu/errlist.c: Regenerated.
44601 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
44603         * include/dirent.h: Include <dirstream.h> before
44604         <dirent/dirent.h>.
44606 2012-02-28  David S. Miller  <davem@davemloft.net>
44608         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44609         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44610         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44611         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44613 2012-02-27  David S. Miller  <davem@davemloft.net>
44615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44617         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44618         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44620         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44621         frame pointer instead of stack pointer relative arg slot.
44622         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44623         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44624         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44626 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
44628         [BZ #3992]
44629         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44631 2012-02-27  David S. Miller  <davem@davemloft.net>
44633         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44634         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44635         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44636         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44637         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44638         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44639         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44640         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44642 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44644         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44645         later.  Allow versions 5-9.
44646         * configure: Regenerated.
44647         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44648         required minimum version and 4.6 as recommended version.  Do not
44649         mention bugs in GCC 2.7 and 2.8.
44650         * INSTALL: Regenerated.
44652 2012-02-27  David S. Miller  <davem@davemloft.net>
44654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44658         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44659         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44660         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44661         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44663         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44664         manipulate bits before adding and subtracting TWO112[sx].
44665         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44667 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44669         [BZ #13775]
44670         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44671         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44672         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44673         being in POSIX, because they are in 1003.1-2008.
44675         * rt/tst-aio.c: Include <fcntl.h>.
44676         * rt/tst-aio7.c: Likewise.
44677         * rt/tst-aio64.c: Likewise.
44679         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44681 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44683         * manual/install.texi (--with-headers): Describe headers as
44684         interface headers, not private headers.
44685         (Specific advice for GNU/Linux systems): Describe use of headers
44686         from "make headers_install", not private headers from older
44687         kernels.
44688         * INSTALL: Regenerated.
44689         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44690         Change to 2.6.19.
44691         * sysdeps/unix/sysv/linux/configure: Regenerated.
44693         * manual/llio.texi (fclean): Remove documentation.
44695         * manual/Makefile (libc-texi-generated): New variable.  Include
44696         version.texi.
44697         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44698         $(libc-texi-generated), not duplicated list of files.
44699         (version.texi, stamp-version): New rules.
44700         (realclean): Remove $(libc-texi-generated), not individual files
44701         from that list.  Do not remove dir-add.texinfo.
44702         * manual/libc.texinfo: Comment out uses of edition numbers and
44703         references to printed manual.  Remove last-updated dates.
44704         (EDITION): Comment out.
44705         (ISBN): Likewise.
44706         (VERSION, UPDATED): Remove.
44707         (version.texi): Include.
44709 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44711         * sysdeps/posix/spawni.c: Include <signal.h>.
44712         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44713         * sysdeps/pthread/aio_fsync.c: Likewise.
44715 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44717         * conform/Makefile (tests): Run only when not cross-compiling and
44718         when fast-check is not defined.
44720         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44721         * conform/data/limits.h-data: Fixes for POSIX2008.
44722         * conform/run-conformtest.sh: Run all tests.
44723         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44724         headers.
44725         * include/bits/dlfcn.h: Likewise.
44726         * include/langinfo.h: Likewise.
44727         * include/monetary.h: Likewise.
44728         * include/sys/poll.h: Likewise.
44730         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44731         for __USE_GNU.
44732         * posix/spawn.h: Define __need_sigset_t.
44733         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44734         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44735         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44736         to get sigevent_t only.
44737         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44738         only for __USE_GNU.
44739         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44740         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44741         process_vm_writev only for __USE_GNU.
44742         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44744         * conform/Makefile: For now ignore errors from run-conformtest.
44745         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44746         POSIX to avoid namespace pollution.  Don't prepend headers.
44747         * conform/data/aio.h-data: Fixes for POSIX testing.
44748         * conform/data/fcntl.h-data: Likewise.
44749         * conform/data/glob.h-data: Likewise.
44750         * conform/data/grp.h-data: Likewise.
44751         * conform/data/pthread.h-data: Likewise.
44752         * conform/data/pwd.h-data: Likewise.
44753         * conform/data/signal.h-data: Likewise.
44754         * conform/data/spawn.h-data: Likewise.
44755         * conform/data/stdio.h-data: Likewise.
44756         * conform/data/stdlib.h-data: Likewise.
44757         * conform/data/stropts.h-data: Likewise.
44758         * conform/data/sys/mman.h-data: Likewise.
44759         * conform/data/sys/stat.h-data: Likewise.
44760         * conform/data/sys/types.h-data: Likewise.
44761         * conform/data/sys/wait.h-data: Likewise.
44762         * conform/data/time.h-data: Likewise.
44763         * conform/data/unistd.h-data: Likewise.
44764         * conform/data/utime.h-data: Likewise.
44766         * io/sys/stat.h: fchmod was always in POSIX.
44767         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44768         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44769         * rt/aio.h: Define __need_timespec before including <time.h>.
44770         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44771         struct.  Add forward declaration of pthread_attr_t and use it in
44772         sigevent.
44773         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44774         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44775         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44776         always remove CLK_TCK definition.
44778 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44780         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44782 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44784         * conform/run-conformtest.sh: New file.
44785         * conform/Makefile: Run run-conformtest for tests.
44786         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44787         support.
44789         * conform/data/uchar.h-data: New file.
44790         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44791         * conform/data/arpa/inet.h-data: Likewise.
44792         * conform/data/assert.h-data: Likewise.
44793         * conform/data/complex.h-data: Likewise.
44794         * conform/data/cpio.h-data: Likewise.
44795         * conform/data/ctype.h-data: Likewise.
44796         * conform/data/dirent.h-data: Likewise.
44797         * conform/data/dlfcn.h-data: Likewise.
44798         * conform/data/errno.h-data: Likewise.
44799         * conform/data/fcntl.h-data: Likewise.
44800         * conform/data/float.h-data: Likewise.
44801         * conform/data/fmtmsg.h-data: Likewise.
44802         * conform/data/fnmatch.h-data: Likewise.
44803         * conform/data/ftw.h-data: Likewise.
44804         * conform/data/glob.h-data: Likewise.
44805         * conform/data/grp.h-data: Likewise.
44806         * conform/data/iconv.h-data: Likewise.
44807         * conform/data/inttypes.h-data: Likewise.
44808         * conform/data/langinfo.h-data: Likewise.
44809         * conform/data/libgen.h-data: Likewise.
44810         * conform/data/limits.h-data: Likewise.
44811         * conform/data/locale.h-data: Likewise.
44812         * conform/data/math.h-data: Likewise.
44813         * conform/data/monetary.h-data: Likewise.
44814         * conform/data/mqueue.h-data: Likewise.
44815         * conform/data/ndbm.h-data: Likewise.
44816         * conform/data/net/if.h-data: Likewise.
44817         * conform/data/netdb.h-data: Likewise.
44818         * conform/data/netinet/in.h-data: Likewise.
44819         * conform/data/nl_types.h-data: Likewise.
44820         * conform/data/poll.h-data: Likewise.
44821         * conform/data/pthread.h-data: Likewise.
44822         * conform/data/pwd.h-data: Likewise.
44823         * conform/data/regex.h-data: Likewise.
44824         * conform/data/sched.h-data: Likewise.
44825         * conform/data/search.h-data: Likewise.
44826         * conform/data/semaphore.h-data: Likewise.
44827         * conform/data/setjmp.h-data: Likewise.
44828         * conform/data/signal.h-data: Likewise.
44829         * conform/data/spawn.h-data: Likewise.
44830         * conform/data/stdarg.h-data: Likewise.
44831         * conform/data/stdio.h-data: Likewise.
44832         * conform/data/stdlib.h-data: Likewise.
44833         * conform/data/string.h-data: Likewise.
44834         * conform/data/strings.h-data: Likewise.
44835         * conform/data/stropts.h-data: Likewise.
44836         * conform/data/sys/ipc.h-data: Likewise.
44837         * conform/data/sys/mman.h-data: Likewise.
44838         * conform/data/sys/msg.h-data: Likewise.
44839         * conform/data/sys/resource.h-data: Likewise.
44840         * conform/data/sys/select.h-data: Likewise.
44841         * conform/data/sys/sem.h-data: Likewise.
44842         * conform/data/sys/shm.h-data: Likewise.
44843         * conform/data/sys/socket.h-data: Likewise.
44844         * conform/data/sys/stat.h-data: Likewise.
44845         * conform/data/sys/statvfs.h-data: Likewise.
44846         * conform/data/sys/time.h-data: Likewise.
44847         * conform/data/sys/timeb.h-data: Likewise.
44848         * conform/data/sys/times.h-data: Likewise.
44849         * conform/data/sys/types.h-data: Likewise.
44850         * conform/data/sys/uio.h-data: Likewise.
44851         * conform/data/sys/un.h-data: Likewise.
44852         * conform/data/sys/utsname.h-data: Likewise.
44853         * conform/data/sys/wait.h-data: Likewise.
44854         * conform/data/syslog.h-data: Likewise.
44855         * conform/data/tar.h-data: Likewise.
44856         * conform/data/termios.h-data: Likewise.
44857         * conform/data/utime.h-data: Likewise.
44858         * conform/data/utmpx.h-data: Likewise.
44859         * conform/data/varargs.h-data: Likewise.
44860         * conform/data/wchar.h-data: Likewise.
44861         * conform/data/wctype.h-data: Likewise.
44862         * conform/data/wordexp.h-data: Likewise.
44864         * include/stropts.h: New file.
44865         * include/uchar.h: New file.
44866         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44867         * include/assert.h: Likewise.
44868         * include/ctype.h: Likewise.
44869         * include/dirent.h: Likewise.
44870         * include/dlfcn.h: Likewise.
44871         * include/fcntl.h: Likewise.
44872         * include/fnmatch.h: Likewise.
44873         * include/glob.h: Likewise.
44874         * include/grp.h: Likewise.
44875         * include/libio.h: Likewise.
44876         * include/locale.h: Likewise.
44877         * include/math.h: Likewise.
44878         * include/net/if.h: Likewise.
44879         * include/netdb.h: Likewise.
44880         * include/netinet/in.h: Likewise.
44881         * include/pthread.h: Likewise.
44882         * include/pwd.h: Likewise.
44883         * include/regex.h: Likewise.
44884         * include/sched.h: Likewise.
44885         * include/search.h: Likewise.
44886         * include/setjmp.h: Likewise.
44887         * include/signal.h: Likewise.
44888         * include/stdio.h: Likewise.
44889         * include/stdlib.h: Likewise.
44890         * include/string.h: Likewise.
44891         * include/sys/cdefs.h: Likewise.
44892         * include/sys/mman.h: Likewise.
44893         * include/sys/msg.h: Likewise.
44894         * include/sys/resource.h: Likewise.
44895         * include/sys/select.h: Likewise.
44896         * include/sys/socket.h: Likewise.
44897         * include/sys/stat.h: Likewise.
44898         * include/sys/statvfs.h: Likewise.
44899         * include/sys/time.h: Likewise.
44900         * include/sys/times.h: Likewise.
44901         * include/sys/uio.h: Likewise.
44902         * include/sys/utsname.h: Likewise.
44903         * include/sys/wait.h: Likewise.
44904         * include/termios.h: Likewise.
44905         * include/time.h: Likewise.
44906         * include/ulimit.h: Likewise.
44907         * include/unistd.h: Likewise.
44908         * include/utime.h: Likewise.
44909         * include/wchar.h: Likewise.
44910         * include/wctype.h: Likewise.
44911         * include/wordexp.h: Likewise.
44913         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44915         * time/time.h: TIME_UTC must be a macro.
44916         Make timespec_get available for ISO C11 only as well.
44918 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44920         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44921         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44923 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44925         * configure.in: Use -o not -a in test for unsupported multi-arch.
44927 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44929         * manual/texinfo.tex: Update to version 2012-01-19.16.
44931 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44933         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44935 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44937         [BZ #13738]
44938         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44939         * manual/fdl-1.3.texi: New file.
44940         * manual/fdl-1.1.texi: File removed.
44942         [BZ #13738]
44943         * manual/libc.texinfo (FDL_VERSION): New @set.
44944         Use it for mention of FDL in cover text.
44945         (Documentation License): Use it in @include file name.
44947 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44948             Roland McGrath  <roland@hack.frob.com>
44950         [BZ #5461]
44951         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44952         (not LONG_LONG_MAX and LONG_LONG_MIN.
44953         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44954         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44955         name.
44956         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44958 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44960         [BZ #2547]
44961         [BZ #11365]
44962         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44963         manipulate bits before adding and subtracting TWO23[sx].
44964         * math/libm-test.inc (nearbyint_test): Add more tests.
44966 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44968         [BZ #2548]
44969         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44970         bits before adding and subtracting TWO23[sx].
44971         * math/libm-test.inc (rint_test): Add more tests.
44972         (rint_test_tonearest): Likewise.
44973         (rint_test_towardzero): Likewise.
44974         (rint_test_downward): Likewise.
44975         (rint_test_upward: Likewise.
44977 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44979         [BZ #10110]
44980         * include/stdc-predef.h: New file.  Extracted from features.h.
44981         * include/features.h: Include stdc-predef.h.
44982         * Makefile (headers): Add stdc-predef.h.
44983         * CONFORMANCE (Compiler limitations): Update.
44985 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44987         * manual/libc.texinfo (VERSION, UPDATED): Revert.
44989 2012-02-21  David S. Miller  <davem@davemloft.net>
44991         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
44992         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
44994 2012-02-20  David S. Miller  <davem@davemloft.net>
44996         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
44997         using a normal save/restore sequence, rather than allocating a
44998         dummy stack frame just to store a frame pointer and restore.
44999         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45001 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45003         * manual/install.texi: Fix stray word in line-wrapped comment.
45005 2012-02-20  David S. Miller  <davem@davemloft.net>
45007         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45008         both binutils and gcc support GOTDATA.
45010         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45011         "rd %pc" in the PIC register setup sequences.
45013         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45014         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45015         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45016         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45017         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45019         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45020         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45021         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45022         (SYSCALL_ERROR_HANDLER): Likewise.
45023         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45024         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45025         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45026         (SYSCALL_ERROR_HANDLER): Likewise.
45028         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45029         (HAVE_GCC_GOTDATA): New.
45030         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45031         relocation support in both binutils and gcc.
45032         * sysdeps/sparc/elf/configure: Regenerate.
45034         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45035         * sysdeps/sparc/sparc32/elf/configure: Delete.
45036         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45037         * sysdeps/sparc/sparc64/elf/configure: Delete.
45038         * sysdeps/sparc/elf/configure.in: New file.
45039         * sysdeps/sparc/elf/configure: Generate.
45041         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45042         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45043         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45044         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45045         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45047 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45049         * manual/install.texi: Do not mention specific glibc version
45050         numbers.
45051         * manual/libc.texinfo (VERSION, UPDATED): Update.
45052         (@copying): Use @copyright{} and range of years.
45054 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45056         [BZ #13695]
45057         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45058         [crti.S not in sysdirs] (generated): Do not append.
45059         [crti.S not in sysdirs] (omit-deps): Likewise.
45060         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45061         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45062         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45063         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45064         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45065         Likewise.
45066         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45067         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45068         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45069         * csu/defs.awk: Remove file.
45070         * sysdeps/generic/initfini.c: Likewise.
45071         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45072         variable.
45073         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45074         Likewise.
45076 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45078         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45079         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45080         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45081         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45082         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45083         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45084         <bits/epoll.h>.
45085         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45086         (__EPOLL_PACKED): Define to empty if not defined by
45087         <bits/epoll.h>.
45088         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45089         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45090         bits/epoll.h.
45092 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45094         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45095         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45096         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45097         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45098         <bits/timerfd.h>.
45099         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45101         bits/timerfd.h.
45103 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45105         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45106         in C locale.
45107         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45108         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45109         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45112 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45114         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45115         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45117 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45119         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45120         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45121         defined.
45122         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45123         Likewise.
45124         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45125         entry for 2.16.
45127 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45129         * math/w_acos.c: Use non-signaling floating-point comparisons.
45130         * math/w_acosf.c: Likewise.
45131         * math/w_acosh.c: Likewise.
45132         * math/w_acoshf.c: Likewise.
45133         * math/w_acoshl.c: Likewise.
45134         * math/w_acosl.c: Likewise.
45135         * math/w_asin.c: Likewise.
45136         * math/w_asinf.c: Likewise.
45137         * math/w_asinl.c: Likewise.
45138         * math/w_atanh.c: Likewise.
45139         * math/w_atanhf.c: Likewise.
45140         * math/w_atanhl.c: Likewise.
45141         * math/w_exp2.c: Likewise.
45142         * math/w_exp2f.c: Likewise.
45143         * math/w_exp2l.c: Likewise.
45144         * math/w_j0.c: Likewise.
45145         * math/w_j0f.c: Likewise.
45146         * math/w_j0l.c: Likewise.
45147         * math/w_j1.c: Likewise.
45148         * math/w_j1f.c: Likewise.
45149         * math/w_j1l.c: Likewise.
45150         * math/w_jn.c: Likewise.
45151         * math/w_jnf.c: Likewise.
45152         * math/w_log.c: Likewise.
45153         * math/w_log10.c: Likewise.
45154         * math/w_log10f.c: Likewise.
45155         * math/w_log10l.c: Likewise.
45156         * math/w_log2.c: Likewise.
45157         * math/w_log2f.c: Likewise.
45158         * math/w_log2l.c: Likewise.
45159         * math/w_logf.c: Likewise.
45160         * math/w_logl.c: Likewise.
45161         * math/w_sqrt.c: Likewise.
45162         * math/w_sqrtf.c: Likewise.
45163         * math/w_sqrtl.c: Likewise.
45164         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45165         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45166         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45167         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45168         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45170 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45172         [BZ #9739]
45173         * manual/string.texi (strnlen): Use correct parameter name in
45174         equivalent expression.
45176 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45178         [BZ #11174]
45179         * manual/users.texi (seteuid): Consistently use neweuid for
45180         argument name.
45182 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45184         [BZ #13704]
45185         * manual/nss.texi (Services in the NSS configuration): Correct
45186         list of services in example configuration file.
45188 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45190         [BZ #11322]
45191         * manual/arith.texi: Remove statements about negative zero
45192         behaving identically to zero.
45194 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45196         [BZ #5993]
45197         * manual/install.texi: Do not document upgrading from libc5.
45199 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45201         [BZ #4596]
45202         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45204 2012-02-18  David S. Miller  <davem@davemloft.net>
45206         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45207         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45208         %o7 across the call.
45209         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45210         instead.
45211         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45212         SETUP_PIC_REG_LEAF.
45213         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45214         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45215         * sysdeps/sparc/crtn.S: Likewise.
45217 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45219         * aout/Makefile: Remove.
45221 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45223         [BZ #13058]
45224         * manual/examples/argp-ex1.c (main): Format definition in GNU
45225         style.
45226         * manual/examples/argp-ex2.c (main): Likewise.
45227         * manual/examples/argp-ex3.c (main): Likewise.
45228         * manual/examples/argp-ex4.c (main): Likewise.
45229         * manual/examples/longopt.c (main): Use new-style prototype
45230         definition.
45231         * manual/examples/strncat.c (main): Specify return type and use
45232         (void) for arguments.
45233         * manual/examples/subopt.c (main): Use char **argv argument.
45235 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45237         [BZ #5077]
45238         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45239         rounding modes.
45241 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45243         [BZ #6907]
45244         * manual/string.texi (strchr): Change when strchrnul is
45245         recommended.
45247 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45249         [BZ #174]
45250         * manual/locale.texi (setlocale): Document LOCPATH.
45252 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45254         [BZ #10210]
45255         * manual/process.texi (execle): Move @dots{} before last argument.
45257 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45259         [BZ #12047]
45260         * manual/charset.texi (Generic Charset Conversion): Fix typo
45261         (LC_TYPE -> LC_CTYPE).
45263 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45265         [BZ #5805]
45266         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45267         (scalbnf): Likewise.
45268         (scalbnl): Likewise.
45269         (scalbln): Likewise.
45270         (scalblnf): Likewise.
45271         (scalblnl): Likewise.
45272         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45273         (vwarnx): Likewise.
45274         (verr): Likewise.
45275         (verrx): Likewise.
45276         * manual/filesys.texi (telldir): Use braces around return type.
45277         * manual/llio.texi (mmap): Add space after comma.
45278         (mmap64): Likewise.
45279         * manual/math.texi (jn): Use @var{} on parameter names.
45280         (jnf): Likewise.
45281         (jnl): Likewise.
45282         (yn): Likewise.
45283         (ynf): Likewise.
45284         (ynl): Likewise.
45285         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45286         line.
45287         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45288         "...".
45289         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45290         (sched_get_priority_max): Likewise.
45291         * manual/signal.texi (sigvec): Add space after comma.
45292         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45293         names.
45294         (if_indextoname): Likewise.
45295         (if_freenameindex): Likewise.
45296         (sendto): Use ',' instead of '.' in prototype.
45297         * manual/startup.texi (syscall): Use @dots{} instead of literal
45298         "...".
45299         * manual/stdio.texi (__fpending): Separate initial words of
45300         paragraph from @deftypefun line.
45301         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45302         "...".
45303         (vsyslog): Use @var{} on parameter names.
45304         * manual/terminal.texi (stty): Use @var{} on parameter names.
45305         * manual/users.texi (getutmp): Use @var{} on parameter names.
45306         (getutmpx): Likewise.
45308 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45310         [BZ #6884]
45311         * manual/stdio.texi (fopen): Fix typos in description of
45312         ",ccs=STRING".
45314 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45316         [BZ #4026]
45317         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45318         get clock_id definition.
45320 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45322         [BZ #4822]
45323         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45324         (madvise): Cast every argument to void on its own.
45326 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45328         [BZ #9902]
45329         * manual/startup.texi (Exit Status): Fix typo.
45331 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45333         [BZ #10140]
45334         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45335         * manual/examples/argp-ex2.c: Likewise.
45336         * manual/examples/argp-ex3.c: Likewise.
45338 2012-02-16  Richard Henderson  <rth@redhat.com>
45340         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45341         * sysdeps/s390/s390-32/initfini.c: Remove.
45342         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45343         * sysdeps/s390/s390-64/initfini.c: Remove.
45345 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45347         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45348         compiler output for sysdeps/generic/initfini.c.
45349         * sysdeps/sh/elf/initfini.c: Remove file.
45351 2012-02-16  David S. Miller  <davem@davemloft.net>
45353         [BZ #11494]
45354         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45356         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45357         * sysdeps/sparc/crti.S: New file.
45358         * sysdeps/sparc/crtn.S: New file.
45359         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45360         * sysdeps/sparc/sparc64/Makefile: Likewise.
45362 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45364         [BZ #3335]
45365         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45367 2012-02-15  Roland McGrath  <roland@hack.frob.com>
45369         [BZ #4822]
45370         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45372         * mach/devstream.c (cookie_io_functions_t): Macro removed.
45373         (write, read, close): Likewise.
45374         Patch by Aurelien Jarno <aurelien@aurel32.net>.
45376 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
45378         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45379         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45380         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45381         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45382         <bits/signalfd.h>.
45383         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45384         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45385         bits/signalfd.h.
45387 2012-02-14  Marek Polacek  <polacek@redhat.com>
45389         * sysdeps/x86_64/crti.S: New file.
45390         * sysdeps/x86_64/crtn.S: New file.
45391         * sysdeps/x86_64/elf/initfini.c: Remove file.
45393 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45395         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45396         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45397         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45398         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45399         <bits/inotify.h>.
45400         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45402         bits/inotify.h.
45404 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45406         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45407         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45408         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45409         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45410         <bits/eventfd.h>.
45411         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45412         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45413         bits/eventfd.h.
45415 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
45417         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45418         __feraiseexcept instead of feraiseexcept.
45420         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45421         nanosleep invocations.
45422         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45423         strings, and add error checking for a nanosleep invocations.
45425 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
45427         Replace FSF snail mail address with URLs, as per GNU coding standards.
45428         Most of the snail mail addresses were wrong anyway, and omitting
45429         them makes the source code easier to maintain.  Almost all of the
45430         changes are to license notices and to locale LC_IDENTIFICATION
45431         addresses, except for this one:
45432         * manual/libc.texinfo: In "Published by", give the FSF's URL,
45433         not its snail mail address.
45435 2012-02-09  Richard Henderson  <rth@twiddle.net>
45437         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45438         of kernel-features.h.
45440         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45442 2012-02-08  Marek Polacek  <polacek@redhat.com>
45444         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45445         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45446         * sysdeps/gnu/_G_config.h: Likewise.
45447         * sysdeps/generic/_G_config.h: Likewise.
45449 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
45451         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45452         tests.
45453         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45455         * sysdeps/powerpc/powerpc32/crti.S: New file.
45456         * sysdeps/powerpc/powerpc32/crtn.S: New file.
45457         * sysdeps/powerpc/powerpc64/crti.S: New file.
45458         * sysdeps/powerpc/powerpc64/crtn.S: New file.
45460         * Makeconfig (have-initfini): Don't set.
45461         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45462         * configure.in (nopic_initfini): Don't substitute.
45463         * config.h.in (HAVE_INITFINI): Don't #undef.
45464         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45465         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45467 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
45469         Support crti.S and crtn.S provided directly by architectures.
45470         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45471         [crti.S in sysdirs] (omit-deps): Likewise.
45472         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45473         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45474         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45475         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45476         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45477         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45478         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45479         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45480         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45481         compiler output for sysdeps/generic/initfini.c.
45482         * sysdeps/i386/elf/Makefile: Remove file.
45483         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45485 2012-02-07  Marek Polacek  <polacek@redhat.com>
45487         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45488         * sysdeps/gnu/_G_config.h: Likewise.
45489         * sysdeps/mach/hurd/_G_config.h: Likewise.
45491 2012-02-07  Marek Polacek  <polacek@redhat.com>
45493         * math/Makefile (tests): Add tst-CMPLX2.
45494         * math/tst-CMPLX2.c: New file.
45496 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
45498         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45500         * math/libm-test.inc (jn_test): Add missing L suffix.
45502 2012-02-06  Marek Polacek  <polacek@redhat.com>
45504         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45505         * sysdeps/i386/fpu/e_powf.S: Likewise.
45506         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45507         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45508         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45509         * sysdeps/i386/fpu/e_pow.S: Likewise.
45510         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45511         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45512         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45513         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45514         * sysdeps/i386/fpu/e_log2.S: Likewise.
45515         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45516         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45517         * sysdeps/i386/fpu/e_powl.S: Likewise.
45518         * sysdeps/i386/fpu/s_log1p.S: Likewise.
45519         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45520         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45521         * sysdeps/i386/fpu/e_logl.S: Likewise.
45522         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45523         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45524         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45525         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45526         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45527         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45528         * sysdeps/i386/fpu/e_log.S: Likewise.
45529         * sysdeps/i386/fpu/s_cexp.S: Likewise.
45530         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45531         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45532         * sysdeps/i386/fpu/e_logf.S: Likewise.
45533         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45534         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45535         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45536         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45537         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45538         * sysdeps/i386/fpu/e_log10.S: Likewise.
45539         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45540         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45541         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45542         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45543         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45544         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45545         * sysdeps/i386/asm-syntax.h: Likewise.
45546         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45547         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45548         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45549         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45550         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45551         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45552         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45553         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45554         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45555         * sysdeps/powerpc/sysdep.h: Likewise.
45556         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45557         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45559 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45561         [BZ #411]
45562         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45564 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45566         * sysdeps/i386/sysdep.h: Include <features.h>.
45567         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45568         version.
45570 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
45572         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45573         Define.
45574         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45575         LOAD_PIC_REG_STR.
45577 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45579         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45580         (SETUP_PIC_REG): Use GET_PC_THUNK.
45581         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45582         macro.
45584 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45586         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45587         for non-PIC compilation.
45588         (SETUP_PIC_REG): Add .p2align directive.
45589         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45590         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45591         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45592         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45593         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45594         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45595         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45596         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45597         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45598         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45599         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45600         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45601         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45602         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45603         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45604         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45605         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45606         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45607         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45608         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45609         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45610         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45611         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45612         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45613         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45614         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45615         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45616         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45617         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45618         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45619         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45620         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45621         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45622         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45623         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45624         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45625         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45626         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45627         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45628         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45629         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45631 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45633         * math/tst-CMPLX.c: Include <stdio.h>.
45635 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
45637         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45638         float.
45639         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45640         * sysdeps/sparc/bits/mathdef.h: Likewise.
45642 2012-01-31  Marek Polacek  <polacek@redhat.com>
45644         * libio/libio.h: Don't define _PARAMS.
45645         * locale/programs/config.h: Don't define PARAMS.
45646         * stdlib/strtol_l.c: Likewise.
45647         (__strtol_l): Remove PARAMS from the prototype.
45649 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
45651         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
45652         names.  Just use the correct names.  Remove unnecessary wrapper
45653         functions.
45654         * malloc/arena.c: Likewise.
45655         * malloc/hooks.c: Likewise.
45657         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45658         ARENA_TEST says not to.  Simplify test for creation of a new arena.
45659         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45661 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
45663         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45664         into tail calls.
45665         (update_get_addr): New function.
45666         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45667         GET_ADDR_MODULE parameter.
45669 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45671         * crypt/cert.c: Remove __STDC__ conditionals.
45672         * crypt/crypt-entry.c: Likewise.
45673         * crypt/crypt_util.c: Likewise.
45674         * libio/filedoalloc.c: Likewise.
45675         * libio/fileops.c: Likewise.
45676         * libio/genops.c: Likewise.
45677         * libio/iofclose.c: Likewise.
45678         * libio/iofdopen.c: Likewise.
45679         * libio/iofopen.c: Likewise.
45680         * libio/iofopen64.c: Likewise.
45681         * libio/iogetdelim.c: Likewise.
45682         * libio/iopopen.c: Likewise.
45683         * libio/obprintf.c: Likewise.
45684         * libio/oldfileops.c: Likewise.
45685         * libio/oldiofclose.c: Likewise.
45686         * libio/oldiofdopen.c: Likewise.
45687         * libio/oldiofopen.c: Likewise.
45688         * libio/oldiopopen.c: Likewise.
45689         * libio/wfiledoalloc.c: Likewise.
45690         * libio/wgenops.c: Likewise.
45691         * locale/programs/xmalloc.c: Likewise.
45692         * misc/syslog.c: Likewise.
45693         * stdio-common/xbug.c: Likewise.
45694         * string/memchr.c: Likewise.
45695         * string/memcmp.c: Likewise.
45696         * string/memrchr.c: Likewise.
45697         * string/rawmemchr.c: Likewise.
45698         * sysdeps/posix/getcwd.c: Likewise.
45699         * time/strftime_l.c: Likewise.
45701 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45703         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45704         * config.make.in (config-cflags-sse2avx): Define.
45705         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45706         Fix typo.
45708 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45710         * scripts/config.guess: Update from upstream config git repository.
45711         * scripts/config.sub: Likewise.
45713 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45715         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45716         (EM_NUM): Update.
45717         (R_TILEPRO_*, R_TILEGX_*): New macros.
45719         * scripts/firstversions.awk: Fix bug in version range handling.
45721         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45723         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45725         * include/sys/epoll.h: New file.
45726         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45727         libc_hidden_def.
45729 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45731         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45732         Avoid unnecessary __WORDSIZE == 64 test.
45733         (fmaxf): Use VEX format if possible.
45734         (fmax): Likewise.
45735         (fminf): Likewise.
45736         (fmin): Likewise.
45738         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45739         * math/math_private.h: Remove libc_fegetround* and
45740         libc_fesetround*.
45741         * sysdeps/i386/configure.in: Check for -msse2avx.
45742         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45743         also if SSE2AVX is defined.
45744         Remove libc_fegetround* and libc_fesetround*.
45745         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45746         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45747         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45748         of HAS_YMM_USABLE.
45749         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45750         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45751         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45752         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45753         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45755         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45757 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45759         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45760         size is not set.
45761         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45763 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45765         [BZ #13618]
45766         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45767         relocation.
45768         * Makeconfig (libm): Define.
45769         * elf/Makefile: Add rules to build and run tst-relsort1.
45770         * elf/tst-relsort1.c: New file.
45771         * elf/tst-relsort1mod1.c: New file.
45772         * elf/tst-relsort1mod2.c: New file.
45774 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45776         * math/s_ldexp.c: Remove __STDC__ conditionals.
45777         * math/s_ldexpf.c: Likewise.
45778         * math/s_ldexpl.c: Likewise.
45779         * math/s_nextafter.c: Likewise.
45780         * math/s_nexttowardf.c: Likewise.
45781         * math/s_significand.c: Likewise.
45782         * math/s_significandf.c: Likewise.
45783         * math/s_significandl.c: Likewise.
45784         * math/w_jnl.c: Likewise.
45785         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45786         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45787         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45788         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45789         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45790         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45791         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45792         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45793         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45794         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45795         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45796         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45797         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45798         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45799         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45800         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45801         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45802         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45803         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45804         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45805         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45806         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45807         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45808         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45809         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45810         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45811         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45812         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45813         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45814         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45815         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45816         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45817         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45818         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45819         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45820         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45821         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45822         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45823         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45824         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45825         * sysdeps/ieee754/k_standard.c: Likewise.
45826         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45827         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45828         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45829         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45830         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45831         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45832         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45833         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45834         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45835         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45836         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45837         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45838         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45839         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45840         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45841         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45842         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45843         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45844         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45845         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45846         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45847         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45848         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45849         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45850         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45851         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45852         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45853         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45854         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45855         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45856         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45857         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45858         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45859         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45860         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45861         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45862         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45863         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45864         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45865         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45866         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45867         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45868         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45869         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45870         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45871         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45872         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45873         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45874         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45875         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45876         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45877         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45878         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45879         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45880         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45881         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45882         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45883         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45884         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45885         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45886         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45887         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45888         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45889         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45890         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45891         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45892         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45893         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45894         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45895         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45896         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45897         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45898         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45899         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45900         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45901         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45902         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45903         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45904         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45905         * sysdeps/ieee754/s_matherr.c: Likewise.
45906         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45907         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45909         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45911 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45913         * crypt/md5.h: Remove __STDC__ conditionals.
45914         * libio/libioP.h: Likewise.
45915         * locale/programs/config.h: Likewise.
45916         * sysdeps/generic/sysdep.h: Likewise.
45917         * sysdeps/i386/asm-syntax.h: Likewise.
45918         * sysdeps/s390/asm-syntax.h: Likewise.
45919         * sysdeps/unix/sysdep.h: Likewise.
45920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45923 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45925         * libio/libio.h: Remove __STDC__ conditionals.
45926         * malloc/obstack.h: Likewise.
45927         * math/complex.h: Likewise.
45928         * math/math.h: Likewise.
45929         * sysdeps/generic/_G_config.h: Likewise.
45930         * sysdeps/gnu/_G_config.h: Likewise.
45931         * sysdeps/mach/hurd/_G_config.h: Likewise.
45932         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45933         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45934         * sysdeps/sparc/bits/mathdef.h: Likewise.
45936 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45938         [BZ #13583]
45939         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45940         Clean up HAS_* macros.
45941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45942         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45943         possible.
45944         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45945         HAS_AVX.
45946         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45947         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45948         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45949         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45950         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45952 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45954         * elf/tst-unique3.cc (gets): Remove declaration.
45955         * elf/tst-unique3lib.cc (gets): Likewise.
45956         * elf/tst-unique3lib2.cc (gets): Likewise.
45957         * elf/tst-unique4.cc (gets): Likewise.
45959 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45961         * include/stdio.h: Add C++ protection.  Add gets declarations and
45962         definitions.
45963         * debug/tst-chk1.c: Don't declare gets here.
45964         * stdio-common/tst-gets.c: Likewise.
45966 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45968         * posix/glob: Remove directory.
45970 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45972         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45974 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45976         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
45977         of the non-standard EPFNOSUPPORT.
45979 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45981         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
45982         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
45983         ANYWHERE set to 1 only on KERN_NO_SPACE error.
45985 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
45987         * wcsmbs/uchar.h: Test __STDC_VERSION__.
45989 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
45991         * nscd/aicache.c (addhstaiX): Do not cache negative results of
45992         transient errors.
45993         * nscd/grpcache.c (cache_addgr): Likewise.
45994         * nscd/hstcache.c (cache_addhst): Likewise.
45995         * nscd/initgrcache.c (addinitgroupsX): Likewise.
45996         * nscd/pwdcache.c (cache_addpw): Likewise.
45997         * nscd/servicescache.c (cache_addserv): Likewise.
45999 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46001         * malloc/malloc.c: Various cleanups.
46002         * malloc/hooks.c: Likewise.
46004         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46005         * stdlib/bug-fmtmsg1.c: New file.
46007         * stdlib/fmtmsg.c (init): Add missing unlock.
46008         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46010 2012-01-12  Marek Polacek  <polacek@redhat.com>
46012         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46013         and _GNU_SOURCE.
46015 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46017         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46018         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46019         macro to ensure uniqueness of label name.
46020         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46021         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46023 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46025         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46027         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46028         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46029         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46030         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46032 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46034         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46036         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46037         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46038         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46040         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46042         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46043         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46044         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46045         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46047         * math/bits/math-finite.h: Add ldexp support.
46049 2012-01-10  Marek Polacek  <polacek@redhat.com>
46051         * locale/programs/localedef.h (show_archive_content): Add noreturn
46052         attribute.
46054 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46056         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46058 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46060         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46062         * io/Makefile (headers): Add bits/poll2.h.
46064 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46067         typo #include statement.
46069 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46071         * include/sys/cdefs.h: Define __attribute_alloc_size.
46072         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46073         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46074         * elf/pldd.c: Likewise.
46075         * iconv/iconv_charmap.c: Likewise.
46076         * iconv/iconvconfig.c: Likewise.
46077         * iconv/strtab.c: Likewise.
46078         * locale/programs/locale.c: Likewise.
46079         * locale/programs/localedef.h: Likewise.
46080         * locale/programs/simple-hash.c: Likewise.
46081         * nscd/nscd.h: Likewise.
46082         * nss/makedb.c: Likewise.
46083         * sysdeps/generic/ldconfig.h: Likewise.
46084         * locale/programs/localedef.c: Remove xmalloc prototype.
46085         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46087 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46089         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46090         appropriate.
46092 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46094         * math/Makefile (tests): Add tst-CMPLX.
46095         * math/tst-CMPLX.c: New file.
46097         * math/complex.h (CMPLXL): Fix typo.
46099         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46100         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46101         GLIBC_2.16.
46102         * debug/tst-chk1.c: Add poll and ppoll tests.
46103         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46104         * include/sys/poll.h: Add hidden proto for ppoll.
46105         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46106         * sysdeps/mach/hurd/ppoll.c: Likewise.
46107         * io/ppoll.c: Likewise.
46108         * debug/poll_chk.c: New file.
46109         * debug/ppoll_chk.c: New file.
46110         * include/bits/poll2.h: New file.
46111         * io/bits/poll2.h: New file.
46113         [BZ #1350]
46114         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46116         * configure.in: static is always set to yes.  Remove.
46117         * config.make.in: Don't set build-static.
46118         * Makeconfig: Remove use of build-static.
46119         * dlfcn/Makefile: Likewise.
46120         * elf/Makefile: Likewise.
46121         * math/Makefile: Likewise.
46122         * misc/Makefile: Likewise.
46123         * nptl/Makefile: Likewise.
46124         * sysdeps/mach/hurd/Makefile: Likewise.
46126         * configure.in: PWD_P is not used anymore.
46127         * config.make.in: Remove PWD_P entry.
46129         * configure.in: Remove last remnants of RANLIB.
46130         No need to check for signed size_t anymore.
46131         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46132         and IA-64.
46133         Remove __builtin_expect test because we require at least gcc 3.4.
46134         * aclocal.m4: Likewise.
46136         * wcsmbs/mbrtoc16.c: Implement using towc function.
46137         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46138         * wcsmbs/wcsmbsload.c: Likewise.
46139         * iconv/gconv_simple.c: Likewise.
46140         * iconv/gconv_int.h: Likewise.
46141         * iconv/gconv_builtin.h: Likewise.
46142         * iconv/iconv_prog.c: Remove CHAR16 handling.
46144         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46146         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46148         * configure.in: Remove --with-elf and --enable-bounded options.
46149         Dont set base_machine for ia64.  More non-ELF conditions removed.
46150         Remove testing and setting of leading underscore information.
46151         * config.make.in (build-bounded): Set to no.
46152         * config.h.in: Remove NO_UNDERSCORES entry.
46153         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46154         them.
46155         * csu/start.c: Remove !NO_UNDERSCORE code.
46156         * locale/localeinfo.h: Likewise.
46157         * sysdeps/generic/machine-gmon.h: Likewise.
46158         * sysdeps/generic/sysdep.h: Likewise.
46159         * sysdeps/i386/sysdep.h: Likewise.
46160         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46161         * sysdeps/mach/sysdep.h: Likewise.
46162         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46163         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46164         * sysdeps/sh/sysdep.h: Likewise.
46165         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46166         * sysdeps/unix/i386/sysdep.S: Likewise.
46167         * sysdeps/unix/sparc/start.c: Likewise.
46168         * sysdeps/unix/sparc/sysdep.S: Likewise.
46169         * sysdeps/unix/sparc/sysdep.h: Likewise.
46170         * sysdeps/unix/start.c: Likewise.
46171         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46172         * sysdeps/x86_64/sysdep.h: Likewise.
46174 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46176         [BZ #13553]
46177         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46178         for non-gcc.
46179         * argp/argp-fmtstream.h: Use const instead __const.
46180         * argp/argp.h: Likewise.
46181         * assert/assert.h: Likewise.
46182         * bits/fenv.h: Likewise.
46183         * bits/sched.h: Likewise.
46184         * bits/sigset.h: Likewise.
46185         * bits/sigthread.h: Likewise.
46186         * catgets/nl_types.h: Likewise.
46187         * conform/data/pthread.h-data: Likewise.
46188         * crypt/crypt-private.h: Likewise.
46189         * crypt/crypt.h: Likewise.
46190         * crypt/crypt_util.c: Likewise.
46191         * ctype/ctype.h: Likewise.
46192         * debug/execinfo.h: Likewise.
46193         * debug/mbsnrtowcs_chk.c: Likewise.
46194         * debug/mbsrtowcs_chk.c: Likewise.
46195         * debug/wcsnrtombs_chk.c: Likewise.
46196         * debug/wcsrtombs_chk.c: Likewise.
46197         * debug/wcstombs_chk.c: Likewise.
46198         * dirent/dirent.h: Likewise.
46199         * dlfcn/dlfcn.h: Likewise.
46200         * elf/neededtest4.c: Likewise.
46201         * grp/grp.h: Likewise.
46202         * gshadow/gshadow.h: Likewise.
46203         * iconv/gconv.h: Likewise.
46204         * iconv/gconv_int.h: Likewise.
46205         * iconv/gconv_simple.c: Likewise.
46206         * iconv/iconv.h: Likewise.
46207         * iconv/loop.c: Likewise.
46208         * iconv/skeleton.c: Likewise.
46209         * include/aio.h: Likewise.
46210         * include/aliases.h: Likewise.
46211         * include/argz.h: Likewise.
46212         * include/arpa/inet.h: Likewise.
46213         * include/assert.h: Likewise.
46214         * include/dirent.h: Likewise.
46215         * include/dlfcn.h: Likewise.
46216         * include/execinfo.h: Likewise.
46217         * include/fcntl.h: Likewise.
46218         * include/fenv.h: Likewise.
46219         * include/glob.h: Likewise.
46220         * include/grp.h: Likewise.
46221         * include/libintl.h: Likewise.
46222         * include/mntent.h: Likewise.
46223         * include/netdb.h: Likewise.
46224         * include/pwd.h: Likewise.
46225         * include/rpc/netdb.h: Likewise.
46226         * include/sched.h: Likewise.
46227         * include/search.h: Likewise.
46228         * include/shadow.h: Likewise.
46229         * include/signal.h: Likewise.
46230         * include/stdio.h: Likewise.
46231         * include/stdlib.h: Likewise.
46232         * include/string.h: Likewise.
46233         * include/sys/socket.h: Likewise.
46234         * include/sys/stat.h: Likewise.
46235         * include/sys/statfs.h: Likewise.
46236         * include/sys/statvfs.h: Likewise.
46237         * include/sys/syslog.h: Likewise.
46238         * include/sys/time.h: Likewise.
46239         * include/sys/uio.h: Likewise.
46240         * include/time.h: Likewise.
46241         * include/unistd.h: Likewise.
46242         * include/utmp.h: Likewise.
46243         * include/wchar.h: Likewise.
46244         * include/wctype.h: Likewise.
46245         * inet/aliases.h: Likewise.
46246         * inet/arpa/inet.h: Likewise.
46247         * inet/netinet/ether.h: Likewise.
46248         * inet/netinet/in.h: Likewise.
46249         * intl/libintl.h: Likewise.
46250         * io/bits/fcntl2.h: Likewise.
46251         * io/fcntl.h: Likewise.
46252         * io/ftw.h: Likewise.
46253         * io/sys/poll.h: Likewise.
46254         * io/sys/stat.h: Likewise.
46255         * io/sys/statfs.h: Likewise.
46256         * io/sys/statvfs.h: Likewise.
46257         * io/utime.h: Likewise.
46258         * libio/bits/stdio.h: Likewise.
46259         * libio/bits/stdio2.h: Likewise.
46260         * libio/libio.h: Likewise.
46261         * libio/libioP.h: Likewise.
46262         * libio/stdio.h: Likewise.
46263         * locale/lc-ctype.c: Likewise.
46264         * locale/locale.h: Likewise.
46265         * login/utmp.h: Likewise.
46266         * malloc/arena.c: Likewise.
46267         * malloc/malloc.c: Likewise.
46268         * malloc/malloc.h: Likewise.
46269         * malloc/mcheck.c: Likewise.
46270         * malloc/mtrace.c: Likewise.
46271         * math/bits/mathcalls.h: Likewise.
46272         * math/fenv.h: Likewise.
46273         * math/math_private.h: Likewise.
46274         * misc/bits/error.h: Likewise.
46275         * misc/bits/syslog.h: Likewise.
46276         * misc/err.h: Likewise.
46277         * misc/error.h: Likewise.
46278         * misc/fstab.h: Likewise.
46279         * misc/mntent.h: Likewise.
46280         * misc/regexp.h: Likewise.
46281         * misc/search.h: Likewise.
46282         * misc/sgtty.h: Likewise.
46283         * misc/sys/mman.h: Likewise.
46284         * misc/sys/syslog.h: Likewise.
46285         * misc/sys/uio.h: Likewise.
46286         * misc/sys/xattr.h: Likewise.
46287         * misc/ttyent.h: Likewise.
46288         * nis/rpcsvc/ypclnt.h: Likewise.
46289         * nss/nss.h: Likewise.
46290         * posix/bits/unistd.h: Likewise.
46291         * posix/fnmatch.h: Likewise.
46292         * posix/glob.h: Likewise.
46293         * posix/sched.h: Likewise.
46294         * posix/spawn.h: Likewise.
46295         * posix/sys/wait.h: Likewise.
46296         * posix/unistd.h: Likewise.
46297         * posix/wordexp.h: Likewise.
46298         * pwd/pwd.h: Likewise.
46299         * resolv/netdb.h: Likewise.
46300         * resource/sys/resource.h: Likewise.
46301         * rt/aio.h: Likewise.
46302         * rt/bits/mqueue2.h: Likewise.
46303         * rt/mqueue.h: Likewise.
46304         * shadow/shadow.h: Likewise.
46305         * signal/signal.h: Likewise.
46306         * socket/send.c: Likewise.
46307         * socket/sendto.c: Likewise.
46308         * socket/sys/socket.h: Likewise.
46309         * stdio-common/printf.h: Likewise.
46310         * stdlib/bits/stdlib.h: Likewise.
46311         * stdlib/fmtmsg.h: Likewise.
46312         * stdlib/monetary.h: Likewise.
46313         * stdlib/stdlib.h: Likewise.
46314         * stdlib/ucontext.h: Likewise.
46315         * streams/stropts.h: Likewise.
46316         * string/argz.h: Likewise.
46317         * string/bits/string2.h: Likewise.
46318         * string/string.h: Likewise.
46319         * string/strings.h: Likewise.
46320         * sunrpc/rpc/auth.h: Likewise.
46321         * sunrpc/rpc/auth_des.h: Likewise.
46322         * sunrpc/rpc/clnt.h: Likewise.
46323         * sunrpc/rpc/netdb.h: Likewise.
46324         * sunrpc/rpc/pmap_clnt.h: Likewise.
46325         * sunrpc/rpc/xdr.h: Likewise.
46326         * sysdeps/generic/inttypes.h: Likewise.
46327         * sysdeps/generic/net/if.h: Likewise.
46328         * sysdeps/generic/sys/swap.h: Likewise.
46329         * sysdeps/gnu/net/if.h: Likewise.
46330         * sysdeps/gnu/utmpx.h: Likewise.
46331         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46332         * sysdeps/i386/i486/bits/string.h: Likewise.
46333         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46334         * sysdeps/s390/bits/string.h: Likewise.
46335         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46336         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46337         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46338         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46339         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46340         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46341         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46342         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46343         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46344         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46345         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46346         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46347         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46348         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46349         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46350         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46351         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46352         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46353         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46354         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46355         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46356         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46357         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46358         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46359         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46360         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46361         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46362         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46363         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46364         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46365         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46366         * sysvipc/sys/ipc.h: Likewise.
46367         * sysvipc/sys/msg.h: Likewise.
46368         * sysvipc/sys/sem.h: Likewise.
46369         * sysvipc/sys/shm.h: Likewise.
46370         * termios/termios.h: Likewise.
46371         * time/sys/time.h: Likewise.
46372         * time/time.h: Likewise.
46373         * wcsmbs/bits/wchar2.h: Likewise.
46374         * wcsmbs/uchar.h: Likewise.
46375         * wcsmbs/wchar.h: Likewise.
46376         * wctype/wctype.h: Likewise.
46378         [BZ #13551]
46379         * Makeconfig: Remove all but ELF support including AIX support.
46380         * Makerules: Likewise.
46381         * config.h.in: Likewise.
46382         * config.make.in: Likewise.
46383         * configure: Likewise.
46384         * configure.in: Likewise.
46385         * csu/Makefile: Likewise.
46386         * csu/version.c: Likewise.
46387         * debug/Makefile: Likewise.
46388         * dlfcn/Makefile: Likewise.
46389         * elf/Makefile: Likewise.
46390         * extra-lib.mk: Likewise.
46391         * iconv/Makefile: Likewise.
46392         * include/libc-symbols.h: Likewise.
46393         * include/shlib-compat.h: Likewise.
46394         * resolv/Makefile: Likewise.
46395         * resolv/res_libc.c: Likewise.
46396         * rt/Makefile: Likewise.
46397         * sysdeps/i386/asm-syntax.h: Likewise.
46398         * sysdeps/i386/sysdep.h: Likewise.
46399         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46400         * sysdeps/mach/sysdep.h: Likewise.
46401         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46402         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46403         * sysdeps/s390/asm-syntax.h: Likewise.
46404         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46405         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46406         * sysdeps/sh/sysdep.h: Likewise.
46407         * sysdeps/unix/sparc/sysdep.h: Likewise.
46408         * sysdeps/wordsize-32/divdi3.c: Likewise.
46409         * sysdeps/x86_64/sysdep.h: Likewise.
46411         * argp/Versions: Remove _argp_unlock_xxx.
46413         [BZ #13559]
46414         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
46415         * abilist/libBrokenLocale.abilist: Likewise.
46416         * abilist/libanl.abilist: Likewise.
46417         * abilist/libc.abilist: Likewise.
46418         * abilist/libcrypt.abilist: Likewise.
46419         * abilist/libdl.abilist: Likewise.
46420         * abilist/libm.abilist: Likewise.
46421         * abilist/libnsl.abilist: Likewise.
46422         * abilist/libpthread.abilist: Likewise.
46423         * abilist/libresolv.abilist: Likewise.
46424         * abilist/librt.abilist: Likewise.
46425         * abilist/libthread_db.abilist: Likewise.
46426         * abilist/libutil.abilist: Likewise.
46427         * abilist/libnss_db.abilist: New file.
46429         * scripts/abilist.awk: Add support for indirect functions.
46431         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46433         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46435         * shlib-versions: Remove entries for ports architectures.
46437         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
46438         files in ports.
46439         * elf/stackguard-macros.h: Remove support for IA-64.
46440         * elf/tst-auditmod1.c: Likewise.
46441         * sysdeps/generic/ldsodefs.h: Likewise.
46443         * sysdeps/unix/sysv/linux/configure.in: Ports should define
46444         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46445         configure files.
46447         [BZ #13552]
46448         * configure.in: Remove --enable-omitfp support.
46449         * FAQ.in: Adjust.
46450         * config.make.in: Likewise.
46451         * Makeconfig: Likewise.
46452         * manual/install.texi: Likewise.
46454         In case anyone cares, the IA-64 architecture could move to ports.
46455         * sysdeps/ia64/*: Removed.
46456         * sysdeps/unix/sysv/linux/ia64/*: Removed.
46457         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46459         [BZ #13555]
46460         * configure.in: Remove entries for unsupported architectures.
46462         [BZ #13533]
46463         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46464         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
46465         routines.
46466         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46467         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46468         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
46469         fall back to using wcrtomb.
46470         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46471         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
46472         renaming.
46473         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46474         * wcsmbs/tst-c16c32-1.c: New file.
46476         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46477         local variable.
46479         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46481         * elf/tst-unique3.cc: Add explicit declaration of gets.
46482         * elf/tst-unique3lib.cc: Likewise.
46483         * elf/tst-unique3lib2.cc: Likewise.
46484         * elf/tst-unique4.cc: Likewise.
46486         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46488 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
46490         [BZ #13566]
46491         * assert/assert.h (static_assert): Don't define for C++.
46492         * libio/stdio.h (gets): Do declare for C++ <= C++11.
46493         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46495 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
46497         * iconv/loop.c (single loop): Fix assertion in storing of
46498         remaining bytes.
46500         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46502 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
46504         * posix/getconf.c: Update copyright year.
46505         * nss/getent.c: Likewise.
46506         * nss/makedb.c: Likewise.
46507         * iconv/iconvconfig.c: Likewise.
46508         * iconv/iconv_prog.c: Likewise.
46509         * elf/ldconfig.c: Likewise.
46510         * elf/pldd.c: Likewise.
46511         * elf/sotruss.ksh: Likewise.
46512         * catgets/gencat.c: Likewise.
46513         * csu/version.c: Likewise.
46514         * elf/ldd.bash.in: Likewise.
46515         * elf/sprof.c (print_version): Likewise.
46516         * locale/programs/locale.c: Likewise.
46517         * locale/programs/localedef.c: Likewise.
46518         * login/programs/pt_chown.c: Likewise.
46519         * nscd/nscd.c (print_version): Likewise.
46520         * debug/xtrace.sh: Likewise.
46521         * malloc/memusage.sh: Likewise.
46522         * malloc/mtrace.pl: Likewise.
46523         * debug/catchsegv.sh: Likewise.
46525 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
46527         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46528         pure attribute.
46530 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
46532         [BZ #13533]
46533         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46534         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46535         transformations.
46536         * iconv/gconv_int.h: Likewise.
46537         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46538         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46539         from libc for GLIBC_2.16.
46540         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46541         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46542         * wcsmbs/uchar.h: Really define mbstate_t.
46543         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46544         * wcsmbs/c16rtomb.c: New file.
46545         * wcsmbs/mbrtoc16.c: New file.
46546         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46547         for C/POSIX locale.
46548         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46549         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46551         * wcsmbs/wchar.h: Add missing __restrict.
46553 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46555         [BZ #13532]
46556         * time/Makefile (routines): Add timespec_get.
46557         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46558         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
46559         timespec for ISO C11.
46560         * time/timespec_get.c: New file.
46561         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46562         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46564         [BZ #13531]
46565         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46566         * stdlib/stdlib.h: Declare aligned_alloc.
46567         * Versions.def: Add GLIBC_2.16 for libc.
46568         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46570         [BZ 13527]
46571         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46572         ISO C11.
46574         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46575         code.
46577         [BZ #13528]
46578         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46580         [BZ #13529]
46581         * assert/assert.h (static_assert): Define.
46583         * version.h: Update for 2.16 development version.
46585         [BZ #13526]
46586         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46587         _ISOC11_SOURCE.
46589         * version.h (RELEASE): Bump for 2.15 release.
46590         * include/features.h (__GLIBC_MINOR__): Bump to 15.
46592         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46593         Patch by Marek Polacek <mpolacek@redhat.com>.
46595         * bits/byteswap.h: Protect long long constants with __extension__.
46596         * sysdeps/i386/bits/byteswap.h: Likewise.
46597         * sysdeps/ia64/bits/byteswap.h: Likewise.
46598         * sysdeps/s390/bits/byteswap.h: Likewise.
46599         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46601 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46603         [BZ #13540]
46604         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46605         destination buffer.
46606         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46608 2011-12-23  Marek Polacek  <polacek@redhat.com>
46610         * elf/dl-addr.c (determine_info): Add inline keyword.
46611         * elf/tst-auditmod4b.c (check_avx): Likewise.
46612         * elf/tst-auditmod6b.c (check_avx): Likewise.
46613         * elf/tst-auditmod6c.c (check_avx): Likewise.
46614         * elf/tst-auditmod7b.c (check_avx): Likewise.
46616 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46618         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46619         !__SSE_MATH__.
46621 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46623         [BZ #13540]
46624         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46625         processing for last bytes.
46627 2011-08-06  Bruno Haible  <bruno@clisp.org>
46629         [BZ #13061]
46630         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46631         U+0385, not to U+1FEE.
46633         [BZ #13062]
46634         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46635         entry for U+00A5 U+0301.
46637 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46639         [BZ #13166]
46640         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46641         buffer for the output is too small.
46643         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46644         optimization.
46646         [BZ #13185]
46647         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46648         SSE flags if possible.
46650 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46652         [BZ #13540]
46653         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46654         processing for last bytes.
46656 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
46658         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46659         (syscall-list-default-options, syscall-list-default-condition)
46660         (syscall-list-includes): Define.
46661         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46662         list of ABIs and options and #if conditions for each ABI.  Do not
46663         handle common syscalls between ABIs specially.
46664         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46665         Remove.
46666         (syscall-list-variants, syscall-list-32bit-options)
46667         (syscall-list-32bit-condition, syscall-list-64bit-options)
46668         (syscall-list-64bit-condition): Define.
46669         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46670         (syscall-list-variants, syscall-list-32bit-options)
46671         (syscall-list-32bit-condition, syscall-list-64bit-options)
46672         (syscall-list-64bit-condition): Define.
46673         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46674         Remove.
46675         (syscall-list-variants, syscall-list-32bit-options)
46676         (syscall-list-32bit-condition, syscall-list-64bit-options)
46677         (syscall-list-64bit-condition): Define.
46678         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46679         Remove.
46680         (syscall-list-variants, syscall-list-32bit-options)
46681         (syscall-list-32bit-condition, syscall-list-64bit-options)
46682         (syscall-list-64bit-condition): Define.
46684 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46686         * locale/iso-639.def: Add brx entry.
46688         [BZ #13328]
46689         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46690         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46692         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46693         __feraiseexcept_renamed.
46695 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46697         [BZ #13538]
46698         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46699         EPOLLET with unsigned values.
46700         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46701         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46703         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46704         to large cancellation.
46705         * math/s_cacoshf.c: Likewise.
46706         * math/s_cacoshl.c: Likewise.
46708 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46710         [BZ #13305]
46711         [BZ #12786]
46712         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46713         * math/s_cacoshf.c: Likewise.
46714         * math/s_cacoshl.c: Likewise.
46716 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46718         [BZ #13439]
46719         * iconv/gconv.h: Define __GCONV_SWAP.
46720         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46721         * iconvdata/utf-16.c: Likewise.
46722         * iconvdata/utf-32.c: Likewise.
46724 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46726         [BZ #13524]
46727         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46728         numerator after shifting it by one limb.
46730 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46732         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46733         under [__USE_EXTERN_INLINES].
46735 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46737         [BZ #13446]
46738         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46740 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46742         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46743         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46744         optimized code.
46745         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46746         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46747         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46748         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46749         for strncasecmp/strncasecmp_l compilation.
46750         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46751         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46753 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46755         [BZ #13484]
46756         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46757         of __asm__.
46759 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46761         [BZ #13506]
46762         * time/tzfile.c (__tzfile_read): Check values from file header.
46764 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46766         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46767         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46768         * powerpc/powerpc32/dl-start.S: Likewise.
46769         * powerpc/powerpc32/elf/start.S: Likewise.
46770         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46771         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46772         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46773         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46774         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46775         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46776         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46777         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46778         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46779         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46780         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46781         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46782         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46783         * powerpc/powerpc32/memset.S: Likewise.
46784         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46785         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46786         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46787         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46788         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46789         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46790         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46791         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46792         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46793         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46794         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46795         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46796         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46798 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46800         * math/libm-test.inc: Added more nearbyint tests.
46801         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46802         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46803         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46804         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46806 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46808         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46809         FD_CLOEXEC.
46811 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46813         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46814         Add wcscpy-ssse3 wcscpy-c.
46815         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46816         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46817         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46818         * sysdeps/x86_64/wcschr.S: New file.
46819         * sysdeps/x86_64/wcsrchr.S: New file.
46820         * string/test-strcmp.c: Remove checking of wcscmp function for
46821         wrong alignments.
46822         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46823         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46824         wcsrchr-sse2 wcsrchr-c.
46825         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46826         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46827         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46828         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46829         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46830         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46831         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46832         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46833         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46834         * wcsmbc/wcschr.c (WCSCHR): New macro.
46836 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46838         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46839         * wcsmbs/test-wcsrchr.c: New file.
46840         * string/test-strrchr.c: Add wcsrchr support.
46841         (WIDE): New macro.
46842         * wcsmbs/test-wcscpy.c: New file.
46843         * string/test-strcpy.c: Add wcscpy support.
46844         (WIDE): New macro.
46846 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46848         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46849         the inner loop.
46851 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46853         [BZ #13472]
46854         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46856 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46858         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46859         Minor optimizations.
46861         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46862         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46863         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46865 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46867         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46868         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46869         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46870         for gcc to avoid warnings.
46871         * inet/Makefile (tests): Add tst-checks.
46872         * inet/tst-checks.c: New file.
46874         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46875         warning.
46877         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46878         __wmemcmp_sse2.
46880         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46881         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46883         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46885 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46887         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46888         problem.
46890         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46892 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46894         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46895         conditional on GCC version.
46896         (__arch_compare_and_exchange_val_8_acq)
46897         (__arch_compare_and_exchange_val_16_acq)
46898         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46899         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46900         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46902 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46904         * sysdeps/sh/backtrace.c: New file.
46906 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46908         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46909         parenthesis.
46911 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46913         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46914         falling back to utime.
46916 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46918         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46919         expectations for float.
46921 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46923         * locale/weight.h (findidx): Add parameter len.
46924         * locale/weightwc.h (findidx): Likewise.
46925         * posix/fnmatch_loop.c (FCT): Adjust caller.
46926         * posix/regcomp.c (build_equiv_class): Likewise.
46927         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46928         * posix/regexec.c (check_node_accept_bytes): Likewise.
46929         * string/strcoll_l.c (STRCOLL): Likewise.
46930         * string/strxfrm_l.c (STRXFRM): Likewise.
46932 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46934         * Makefile.in: Remove CVSOPT handling.
46935         * configure.in: Remove use of AC_REVISION.
46936         * iconvdata/Makefile (distribute): No need to filter out CVS.
46937         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46938         handling.
46940 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46942         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46943         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46944         [USE_AS_STRNCASECMP_L]: Likewise.
46945         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46946         NO_TLS_DIRECT_SEG_REFS.
46947         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46948         Fix argument offsets for non-PIC.
46949         [USE_AS_STRNCASECMP_L]: Likewise.
46950         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46951         NO_TLS_DIRECT_SEG_REFS.
46953 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46955         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46956         O_CLOEXEC.
46957         * locale/loadlocale.c (_nl_load_locale): Likewise.
46959 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46961         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46962         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46963         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46964         (SYSCALL_GETTIME): Set errno on error.
46966         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46967         count references to noai6ai_cached.
46969 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46971         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46973         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46974         FD_CLOEXEC for /proc/self/maps.
46976         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
46977         FD_CLOEXEC for /proc/meminfo.
46979         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
46980         gai.conf.
46982         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
46983         FD_CLOEXEC for given file.
46985         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
46987         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
46988         FD_CLOEXEC for /etc/hosts.
46989         (_gethtent): Likewise.
46991         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
46993         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
46994         cancellation and set FD_CLOEXEC for /etc/netgroup.
46996         * nss/nss_files/files-key.c (search): Don't allow cancellation when
46997         reading /etc/publickey.
46999         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47000         allow cancellation when reading /etc/group.
47002         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47003         cancellation.
47004         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47006         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47007         when using data file.
47009         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47011         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47012         (write_nis_obj): Use "c" and "e" in fopen.
47014         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47016         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47018         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47020         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47022         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47023         locale.alias.
47025         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47027         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47029         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47031         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47032         file parsing and set FD_CLOEXEC.
47034 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47036         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47038 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47040         * malloc/arena.c (arena_get2): Don't call reused_arena when
47041         _int_new_arena failed.
47043 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47045         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47046         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47047         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47048         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47049         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47050         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47051         to compile strcasecmp and strncasecmp.
47052         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47053         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47055         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47057 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47059         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47060         locale-defines.sym to gen-as-const-headers.
47061         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47062         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47063         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47064         to compile strcasecmp and strncasecmp.
47065         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47066         strcasecmp_l and strncasecmp_l.
47067         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47068         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47069         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47070         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47071         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47072         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47073         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47074         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47075         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47076         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47077         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47079 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47081         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47082         result of SYSDEP_GETTIME_CPU to retval.
47083         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47084         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47086         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47087         variable.
47089         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47090         mantissa words.
47091         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47093         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47094         from unused variable.
47096         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47097         DWARF definitions.
47098         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47099         for assembling.
47101         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47102         over namespaces.
47104         * sunrpc/rpc_prot.c (rejected): Fix case value.
47106         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47107         unsigned long long int to avoid warnings in shift.
47109         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47110         of use of trans.
47111         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47112         variable tmp.
47114         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47115         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47116         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47118         * nis/nis_table.c (nis_list): Use variable of correct type for
47119         result of __follow_path call.
47121 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47123         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47124         of math functions ceil, trunc, floor, round, and sqrt, when
47125         avaliable on the platform.
47126         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47127         name clash.
47128         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47129         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47130         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47132 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47134         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47135         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47137 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47139         * include/unistd.h: Fix __readlink return type.
47140         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47142 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47144         * stdlib/ucontext.h: Undo last change for makecontext.
47146 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47148         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47150         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47151         * setjmp/setjmp.h: Mark functions as non-leaf.
47152         * setjmp/bits/setjmp2.h: Likewise.
47153         * stdlib/ucontext.h: Likewise.
47155 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47157         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47158         (reused_arena): Don't check arena limit.
47159         (arena_get2): Atomically check arena limit.
47161 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47163         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47164         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47166         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47167         instructions.
47169 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47171         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47172         handler when locking.
47174         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47175         Fix size of allocated buffer.
47177 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47179         [BZ #10103]
47180         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47181         declarations for long double functions.
47182         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47184         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47186 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47188         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47189         installed.
47191         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47192         is disabled.
47194 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47196         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47198 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47200         * include/alloca.h (stackinfo_alloca_round): Define.
47201         (extend_alloca): Use it.
47202         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47203         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47204         here.
47206         * scripts/check-local-headers.sh: Ignore libaudit.h.
47208         * nscd/Makefile (extra-objs): Make recursively expanded.
47210 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47212         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47213         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47215         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47216         * posix/tst-rfc3484-2.c: Likewise.
47217         * posix/tst-rfc3484-3.c: Likewise.
47219         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47220         process_vm_writev.
47221         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47222         process_vm_writev.
47223         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47224         process_vm_writev from libc using GLIBC_2.15 version.
47226         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47228 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47230         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47231         stack usage.
47233 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47235         [BZ #13367]
47236         * nss/getent.c (initgroups_keys): Show error message in case no group
47237         names are given.
47239         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47240         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47241         __bump_nl_timestamp.
47242         * nscd/connections (nscd_init): When host database is served open
47243         netlink socket and request notification about configuration changes.
47244         (main_loop_poll): Track netlink file descriptor and bump timestamp
47245         in case data becomes available.
47246         (main_loop_epoll): Likewise.
47247         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47248         (database_pers_head): Add extra_data fileds.
47249         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47250         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47251         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47252         Adjust caller.
47253         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47254         in6ai data, call __free_in6ai.
47255         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47256         Add -DHAVE_NETLINK.
47257         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47258         interface information.  Reuse previous data if netlink timestamp
47259         is not changed.
47260         (__bump_nl_timestamp): New function.
47261         (__free_in6ai): New function.
47263 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47265         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47266         close_not_cancel_no_status here.
47267         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47269 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47271         [BZ #13276]
47272         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47273         return value.
47275         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47276         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47277         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47279 2011-07-03  Andreas Jaeger  <aj@suse.de>
47281         [BZ #10709]
47282         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47283         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47284         * math/libm-test.inc (sin_test): Add test case.
47286 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47288         [BZ #13337]
47289         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47290         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47292         * elf/chroot_canon.c (chroot_canon): Cleanups.
47294         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47296         [BZ #13335]
47297         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47298         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47300         * string/test-strchr.c: Make usable for strchrnul testing.
47301         * string/test-strchrnul.c: New file.
47302         * string/Makefile (strop-tests): Add strchrnul.
47304         * po/it.po: Update from translation team.
47305         * po/es.po: Likewise.
47307 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47309         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47310         the three constants needed as parameters.  Drop the others.
47311         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47312         __m128i_strloadu_tolower.
47313         Create and initialize variable zero and use it in all the places
47314         where _mm_setzero_si128 was used.
47316         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47317         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47318         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47319         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47320         anymore.
47321         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47322         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47323         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47324         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47325         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47326         __mpranred, __mptan.
47327         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47328         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47329         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47330         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47331         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47332         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47333         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47334         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47335         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47337 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47339         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47340         redefine if SHARED.
47341         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47343         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47344         wide char related routines to wcsmbs subdir.
47346 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47348         [BZ #13344]
47349         * misc/sys/cdefs.h (__THROWNL): Define.
47350         * posix/unistd.h: Use __THREADNL instead of __THREAD
47351         for memory synchronization functions.
47353 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47355         [BZ #13349]
47356         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47357         doesn't exist.
47358         * manual/stdio.texi (Obstack Streams): Node removed.
47360 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47362         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47363         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47364         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47366         * math/math_private.h (math_force_eval): Allow non-addressable
47367         arguments.
47368         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47370 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47372         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47373         file is not needed.
47375         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47376         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47377         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47378         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47379         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47380         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47381         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47382         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47383         Add AVX variants.
47384         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47385         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47386         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47387         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47388         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47389         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47390         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47391         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47392         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47393         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47394         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47395         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47396         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47397         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47398         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47399         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47400         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47401         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47402         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47404         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47405         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
47407         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47408         place.  Use VEX encoding when compiling for AVX.
47410 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47412         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47413         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47415         * string/test-strchr.c (do_test): Don't generate NUL bytes.
47417 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47419         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47420         useless if() expression.
47421         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47422         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47423         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47424         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47425         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47426         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47427         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47428         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47429         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47430         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47431         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47432         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47433         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47434         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47435         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47436         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47437         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47438         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47439         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47441         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47443 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47445         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47446         condition.
47447         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47449 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47451         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47452         .text section.  Avoid duplicate constants.
47453         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47454         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47455         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47456         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47457         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47458         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47459         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47460         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47461         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47462         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47463         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47464         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47465         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47466         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47467         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47468         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47469         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47470         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47471         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47472         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47473         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47474         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47475         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47476         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47477         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47478         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47479         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47480         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47481         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47482         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47483         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47484         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47485         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47486         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47487         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47488         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47489         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47490         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47491         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47492         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47493         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47494         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47495         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47496         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47497         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47499 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
47501         * sysdeps/x86_64/dla.h: Move to ...
47502         * sysdeps/x86_64/fpu/dla.h: ...here.
47503         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47504         situations.  Use __builtin_fma only for gcc 4.6 and up.
47506         * config.make.in: Add have-mfma4 entry.
47507         * configure.in: Substitute libc_cv_cc_fma4.
47508         * math/Makefile (dbl-only-routines): Add sincostab.
47509         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47510         Use __sincostab not sincos.
47511         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47512         name is a macro.
47513         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47514         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47515         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47516         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
47517         using __copysign.
47518         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
47519         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
47520         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47521         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47522         and __inv.
47523         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47524         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47525         __copysign.
47526         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
47527         define aliases when function name is a macro.
47528         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47529         sysdeps/ieee754/dbl-64/sincos.tbl.
47530         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47531         fma4-enabled routines.
47532         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47533         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47534         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47535         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47536         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47537         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47538         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47539         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47540         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47541         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47542         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47543         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47544         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47545         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47546         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47547         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47548         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47549         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47550         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47551         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47552         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47553         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47554         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47555         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47556         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47557         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47558         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47559         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47560         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47561         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47563         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47564         rename.
47565         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47566         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47567         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47568         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47569         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47570         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47571         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47572         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47574 2011-10-24  Andreas Schwab  <schwab@redhat.com>
47576         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47578 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47580         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47582         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47583         prediction.
47584         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47586         * string/strnlen.c: Don't define STRNLEN, reverse logic.
47587         Remove unused variable magic_bits.
47588         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47590         * string/strnlen.c: Define and use STRNLEN macro.
47591         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47592         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47593         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47594         * wcsmbs/wcslen.c: Define and use WCSLEN.
47595         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47596         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47597         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47598         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47599         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47600         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47601         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47603 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47605         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47606         strnlen-sse2-no-bsf.
47607         Rename strlen-no-bsf to strlen-sse2-no-bsf.
47608         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47609         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47610         Add strnlen support.
47611         (USE_AS_STRNLEN): New macro.
47612         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47613         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47614         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47615         * sysdeps/x86_64/wcslen.S: New file.
47617 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
47619         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47620         XMM-moves are used for copying on small sizes.
47622 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47624         * wcsmbs/Makefile (strop-tests): Add wcschr.
47625         * wcsmbs/test-wcschr.c: New file.
47626         * string/test-strchr.c: Update.
47627         Add wcschr support.
47628         (WIDE): New macro.
47630 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47632         * wcsmbs/Makefile (strop-tests): Add wcslen.
47633         * wcsmbs/test-wcslen.c: New file.
47634         * string/test-strlen.c: Update.
47635         Add wcslen support.
47636         (WIDE): New macro.
47638 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47640         * po/it.po: Update from translation team.
47642 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47644         * sysdeps/x86_64/wcscmp.S: Update.
47645         Fix wrong comparison semantics.
47646         wcscmp shall use signed comparison not unsigned.
47647         Don't use substraction to avoid overflow bug.
47648         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47649         * wcsmbc/wcscmp.c: Likewise.
47650         * string/test-strcmp.c: Likewise.
47651         Add new tests to check cases with negative values.
47653 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47655         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47656         * sysdeps/x86_64/dla.h: ...here.  New file.
47657         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47658         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47659         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47660         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47661         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47662         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47663         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47664         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47665         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47667 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
47669         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47670         __ynl_finite aliases.
47672 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47674         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47676         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47677         define DLA_FMA.
47678         [DLA_FMA] (EMULV): Use DLA_FMA.
47679         [DLA_FMA] (MUL12): Use EMULV.
47680         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47681         that are not needed.
47682         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47683         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47685         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47686         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47687         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47688         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47690 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47692         * math/s_nan.c: Undef __nan.
47693         * math/s_nanf.c: Undef __nanf.
47694         * math/s_nanl.c: Undef __nanl.
47695         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47696         "math_private.h".
47698 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47700         * math/s_catan.c: Add branch predictions.
47701         * math/s_catanf.c: Likewise.
47702         * math/s_catanh.c: Likewise.
47703         * math/s_catanhf.c: Likewise.
47704         * math/s_catanhl.c: Likewise.
47705         * math/s_catanl.c: Likewise.
47706         * math/s_cexp.c: Likewise.
47707         * math/s_cexpf.c: Likewise.
47708         * math/s_cexpl.c: Likewise.
47709         * math/s_clog.c: Likewise.
47710         * math/s_clog10.c: Likewise.
47711         * math/s_clog10f.c: Likewise.
47712         * math/s_clog10l.c: Likewise.
47713         * math/s_clogf.c: Likewise.
47714         * math/s_clogl.c: Likewise.
47715         * math/s_csqrt.c: Likewise.
47716         * math/s_csqrtf.c: Likewise.
47717         * math/s_csqrtl.c: Likewise.
47718         * math/s_ctanf.c: Likewise.
47719         * math/s_ctanh.c: Likewise.
47720         * math/s_ctanhf.c: Likewise.
47721         * math/s_ctanhl.c: Likewise.
47722         * math/s_ctanl.c: Likewise.
47724         * math/math_private.h: Define __nan, __nanf, __nanl.
47725         * math/s_cacosh.c: Include <math_private.h>.
47726         * math/s_cacoshl.c: Likewise.
47727         * math/s_casinh.c: Likewise.
47728         * math/s_casinhf.c: Likewise.
47729         * math/s_casinhl.c: Likewise.
47730         * math/s_ccos.c: Rely entire on ccosh.
47731         * math/s_ccosf.c: Rely entire on ccoshf.
47732         * math/s_ccosl.c: Rely entirely on ccoshl.
47733         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47734         Remove tests for FE_INVALID.
47735         * math/s_ccoshf.c: Likewise.
47736         * math/s_ccoshl.c: Likewise.
47737         * math/s_csin.c: Likewise.
47738         * math/s_csinf.c: Likewise.
47739         * math/s_csinh.c Likewise.
47740         * math/s_csinhf.c: Likewise.
47741         * math/s_csinhl.c: Likewise.
47742         * math/s_csinl.c: Likewise.
47743         * math/s_ctan.c: Likewise.
47744         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47745         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47746         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47748 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47750         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47751         compilation problems.
47753         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47754         __builtin_expect.
47756 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47758         * sysdeps/i386/configure.in: Test for -mfma4 option.
47759         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47760         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47761         COMMON_CPUID_INDEX_80000001.
47762         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47763         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47764         use it if FMA3 is not supported.
47765         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47767         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47768         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47770 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47772         [BZ #12892]
47773         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47774         it would create a cycle with a link time dependency.
47776 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47778         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47779         instruction.
47780         * string/Makefile (strop-tests): Add rawmemchr.
47781         * string/test-rawmemchr.c: New file.
47783         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47784         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47785         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47786         when compiling str{,n}casecmp and when AVX is available.  Hook up
47787         new optimized code in initializers.
47789 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47791         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47792         __feraiseexcept instead of feraiseexcept.
47794 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47796         * math/math_private.h: Define defaults for libc_fetestexcept and
47797         libc_feupdateenv.
47798         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47799         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47800         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47801         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47802         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47803         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47804         libc_fetestexcept and libc_feupdateenv.
47806         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47807         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47808         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47809         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47810         libc_feholdexcept_setround.
47812         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47813         Add s_nearbyint-c and s_nearbyintf-c.
47814         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47815         nearbyintf inlines.
47816         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47817         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47818         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47819         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47821         * math/math_private.h: Define defaults for libc_fegetround,
47822         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47823         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47824         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47825         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47826         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47827         standard functions.
47828         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47829         Remove comments and hacks for old compiler versions.
47830         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47831         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47832         libc_feholdexceptl.
47834 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47836         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47837         (__feraiseexcept_renamed): Add __NTH.
47838         (feraiseexcept): Add __NTH.  Rename local variables to fix
47839         namespace violations.
47841 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47843         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47845         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47847         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47848         recently added interfaces.
47849         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47851         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47852         about macro parameter expansion.
47854         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47855         __NO_MATH_INLINES is defined.  Cleanups.
47857         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47858         and __floorf is target has SSE4.1.
47859         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47860         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47861         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47862         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47864         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47865         name.
47866         (floorf): Likewise.
47868         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47870 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47872         * misc/sys/cdefs.h: Fix last change.
47874         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47875         database lookup.
47877 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47879         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47881         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47882         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47883         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47884         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47885         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47886         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47887         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47888         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47889         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47890         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47891         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47892         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47893         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47894         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47895         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47896         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47897         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47898         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47899         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47900         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47901         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47902         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47904         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47905         ceil, ceilf, floor, floorf.
47907         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47908         Perform IRELATIVE relocations last.
47910         * elf/do-rel.h: Add another parameter nrelative, replacing the
47911         local variable with the same name.  Change name of the function
47912         to end in Rel or Rela (uppercase).
47913         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47914         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47915         elf_dynamic_do_##reloc function.
47917 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47919         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47920         is sufficient, at least on modern CPUs.
47922         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47924         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47925         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47927         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47928         __expl_finite.
47929         * math/bits/math-finite.h: Add entries for exp.
47930         * math/e_expl.c: Add __*_finite alias.
47931         * sysdeps/i386/fpu/e_exp.S: Likewise.
47932         * sysdeps/i386/fpu/e_expf.S: Likewise.
47933         * sysdeps/i386/fpu/e_expl.c: Likewise.
47934         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47935         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47936         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47937         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47938         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47939         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47940         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47942         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47943         is sufficient, at least on modern CPUs.
47945         * ctype/ctype-info.c (__ctype_init): Define.
47946         * include/ctype.h (__ctype_init): Declare.
47947         (__ctype_b_loc): The variable is always initialized.
47948         (__ctype_toupper_loc): Likewise.
47949         (__ctype_tolower_loc): Likewise.
47950         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47951         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47953 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47955         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47957         * configure.in: Also look in $cxxmachine/include for C++ system
47958         headers.
47960 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47962         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47963         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47964         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47965         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47966         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47967         (USE_AS_WMEMCMP): New macro.
47968         Fixing indents.
47969         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47970         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47971         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47972         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47973         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47974         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47975         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47976         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
47977         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
47978         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
47979         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
47980         (USE_AS_WMEMCMP): New macro.
47981         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
47982         * sysdeps/string/test-memcmp.c: Update.
47983         Fix simple_wmemcmp.
47984         Add new tests.
47985         * wcsmbs/wmemcmp.c: Update.
47986         (WMEMCMP): New macro.
47987         Fix overflow bug.
47989 2011-10-12  Andreas Jaeger  <aj@suse.de>
47991         [BZ #13268]
47992         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
47994 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47996         * libio/iofwide.c (do_length): Avoid warning.
47998         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48000 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48002         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48004         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48005         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48006         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48007         * sysdeps/i386/i686/fpu/e_log.S: New file.
48008         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48009         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48011         * ctype/ctype.h: Add support for inlined isXXX functions when
48012         compiling C++ code.
48014 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48016         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48018         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48020 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48022         [BZ #13291]
48023         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48025 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48027         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48028         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48029         feraiseexcept.
48031         * sysdeps/x86_64/memrchr.S: Check for zero size.
48033         * string/stratcliff.c: Add memrchr tests.
48035 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48037         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48038         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48039         rawmemchr-sse2 rawmemchr-sse2-bsf.
48040         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48041         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48042         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48043         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48044         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48045         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48046         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48047         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48048         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48049         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48050         * string/memrchr.c (MEMRCHR): New macro.
48052 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48054         Add integration with gcc's -ffinite-math-only and optimize wrapper
48055         functions in libm.
48056         * Versions.def: Define GLIBC_2.15 version for libm.
48057         * math/Makefile (headers): Add bits/math-finite.h.
48058         * math/bits/math-finite.h: New file.
48059         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48060         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48061         * math/e_acoshl.c: Add __*_finite alias.
48062         * math/e_acosl.c: Likewise.
48063         * math/e_asinl.c: Likewise.
48064         * math/e_atan2l.c: Likewise.
48065         * math/e_atanhl.c: Likewise.
48066         * math/e_coshl.c: Likewise.
48067         * math/e_exp10.c: Likewise.
48068         * math/e_exp10f.c: Likewise.
48069         * math/e_exp10l.c: Likewise.
48070         * math/e_exp2l.c: Likewise.
48071         * math/e_fmodl.c: Likewise.
48072         * math/e_gammal_r.c: Likewise.
48073         * math/e_hypotl.c: Likewise.
48074         * math/e_j0l.c: Likewise.
48075         * math/e_j1l.c: Likewise.
48076         * math/e_jnl.c: Likewise.
48077         * math/e_lgammal_r.c: Likewise.
48078         * math/e_log10l.c: Likewise.
48079         * math/e_log2l.c: Likewise.
48080         * math/e_logl.c: Likewise.
48081         * math/e_powl.c: Likewise.
48082         * math/e_sinhl.c: Likewise.
48083         * math/e_sqrtl.c: Likewise.
48084         * math/e_scalb.c: Completely rewritten and optimized.
48085         * math/e_scalbf.c: Likewise.
48086         * math/e_scalbl.c: Likewise.
48087         * math/w_acos.c: Likewise.
48088         * math/w_acosf.c: Likewise.
48089         * math/w_acosl.c: Likewise.
48090         * math/w_acosh.c: Likewise.
48091         * math/w_acoshf.c: Likewise.
48092         * math/w_acoshl.c: Likewise.
48093         * math/w_asin.c: Likewise.
48094         * math/w_asinf.c: Likewise.
48095         * math/w_asinl.c: Likewise.
48096         * math/w_atan2.c: Likewise.
48097         * math/w_atan2f.c: Likewise.
48098         * math/w_atan2l.c: Likewise.
48099         * math/w_atanh.c: Likewise.
48100         * math/w_atanhf.c: Likewise.
48101         * math/w_atanhl.c: Likewise.
48102         * math/w_exp10.c: Likewise.
48103         * math/w_exp10f.c: Likewise.
48104         * math/w_exp10l.c: Likewise.
48105         * math/w_fmod.c: Likewise.
48106         * math/w_fmodf.c: Likewise.
48107         * math/w_fmodl.c: Likewise.
48108         * math/w_j0.c: Likewise.
48109         * math/w_j0f.c: Likewise.
48110         * math/w_j0l.c: Likewise.
48111         * math/w_j1.c: Likewise.
48112         * math/w_j1f.c: Likewise.
48113         * math/w_j1l.c: Likewise.
48114         * math/w_jn.c: Likewise.
48115         * math/w_jnf.c: Likewise.
48116         * math/w_log.c: Likewise.
48117         * math/w_logf.c: Likewise.
48118         * math/w_logl.c: Likewise.
48119         * math/w_log10.c: Likewise.
48120         * math/w_log10f.c: Likewise.
48121         * math/w_log10l.c: Likewise.
48122         * math/w_log2.c: Likewise.
48123         * math/w_log2f.c: Likewise.
48124         * math/w_log2l.c: Likewise.
48125         * math/w_pow.c: Likewise.
48126         * math/w_powf.c: Likewise.
48127         * math/w_powl.c: Likewise.
48128         * math/w_remainder.c: Likewise.
48129         * math/w_remainderf.c: Likewise.
48130         * math/w_remainderl.c: Likewise.
48131         * math/w_scalb.c: Likewise.
48132         * math/w_scalbf.c: Likewise.
48133         * math/w_scalbl.c: Likewise.
48134         * math/w_sqrt.c: Likewise.
48135         * math/w_sqrtf.c: Likewise.
48136         * math/w_sqrtl.c: Likewise.
48137         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48138         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48139         used.
48140         * math/math_private.h: Declare __kernel_standard_f.
48141         * math/w_cosh.c: Remove cruft and optimize a bit.
48142         * math/w_coshf.c: Likewise.
48143         * math/w_coshl.c: Likewise.
48144         * math/w_exp2.c: Likewise.
48145         * math/w_exp2f.c: Likewise.
48146         * math/w_exp2l.c: Likewise.
48147         * math/w_hypot.c: Likewise.
48148         * math/w_hypotf.c: Likewise.
48149         * math/w_hypotl.c: Likewise.
48150         * math/w_lgamma.c: Likewise.
48151         * math/w_lgamma_r.c: Likewise.
48152         * math/w_lgammaf.c: Likewise.
48153         * math/w_lgammaf_r.c: Likewise.
48154         * math/w_lgammal.c: Likewise.
48155         * math/w_lgammal_r.c: Likewise.
48156         * math/w_sinh.c: Likewise.
48157         * math/w_sinhf.c: Likewise.
48158         * math/w_sinhl.c: Likewise.
48159         * math/w_tgamma.c: Likewise.
48160         * math/w_tgammaf.c: Likewise.
48161         * math/w_tgammal.c: Likewise.
48162         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48163         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48164         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48165         Minor optimizations.  Pretty printing.  Remove cruft.
48166         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48167         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48168         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48169         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48170         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48171         * sysdeps/i386/fpu/e_asin.S: Likewise.
48172         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48173         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48174         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48175         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48176         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48177         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48178         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48179         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48180         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48181         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48182         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48183         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48184         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48185         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48186         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48187         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48188         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48189         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48190         * sysdeps/i386/fpu/e_log.S: Likewise.
48191         * sysdeps/i386/fpu/e_log10.S: Likewise.
48192         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48193         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48194         * sysdeps/i386/fpu/e_log2.S: Likewise.
48195         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48196         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48197         * sysdeps/i386/fpu/e_logf.S: Likewise.
48198         * sysdeps/i386/fpu/e_logl.S: Likewise.
48199         * sysdeps/i386/fpu/e_pow.S: Likewise.
48200         * sysdeps/i386/fpu/e_powf.S: Likewise.
48201         * sysdeps/i386/fpu/e_powl.S: Likewise.
48202         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48203         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48204         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48205         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48206         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48207         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48208         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48209         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48210         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48211         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48212         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48213         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48214         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48215         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48216         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48217         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48218         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48219         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48220         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48221         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48222         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48223         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48224         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48225         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48227         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48228         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48229         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48230         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48231         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48232         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48233         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48234         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48235         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48236         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48237         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48238         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48239         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48240         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48241         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48242         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48243         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48244         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48245         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48246         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48247         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48248         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48249         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48250         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48251         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48252         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48253         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48254         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48255         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48256         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48257         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48258         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48259         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48260         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48261         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48262         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48263         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48264         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48265         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48266         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48267         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48268         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48269         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48270         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48271         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48272         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48273         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48274         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48275         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48276         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48277         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48278         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48279         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48280         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48281         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48282         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48283         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48284         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48285         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48286         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48287         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48288         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48289         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48290         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48291         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48292         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48293         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48294         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48295         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48296         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48297         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48298         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48299         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48300         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48301         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48302         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48303         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48304         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48305         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48306         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48307         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48308         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48309         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48310         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48311         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48312         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48313         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48314         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48315         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48316         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48317         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48318         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48319         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48320         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48321         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48322         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48323         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48324         (__isnanf): Likewise.
48325         (__isinf_ns): Likewise.
48326         (__isinf_nsf): Likewise.
48327         (__finite): Likewise.
48328         (__finitef): Likewise.
48329         (__ieee754_sqrt): Define as macro.
48330         (__ieee754_sqrtf): Define as macro.
48331         (__ieee754_sqrtl): Define as macro.
48332         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48333         inlined copy.
48334         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48335         __FINITE_MATH_ONLY__ consistent.
48336         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48338 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48340         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48341         of rawmemchr.
48343         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48345 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48347         * po/ja.po: Update from translation team.
48349 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48351         * locale/programs/locarchive.c (prepare_address_space): New function.
48352         (create_archive, enlarge_archive, open_archive): Use it.
48354         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48355         inside [SHARED], where it is used.
48357         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48359         * nss/getent.c (netgroup_keys): Remove unused variable.
48360         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48362 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48364         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48365         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48366         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48367         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48368         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48369         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48370         * math/Makefile (libm-calls): Add s_isinf_ns.
48371         * math/divtc3.c: Use __isinf_nsl instead of isinf.
48372         * math/multc3.c: Likewise.
48373         * math/s_casin.c: Likewise.
48374         * math/s_casinf.c: Likewise.
48375         * math/s_casinl.c: Likewise.
48376         * math/s_ccos.c: Likewise.
48377         * math/s_ccosf.c: Likewise.
48378         * math/s_ccosl.c: Likewise.
48379         * math/s_ctan.c: Likewise.
48380         * math/s_ctanf.c: Likewise.
48381         * math/s_ctanh.c: Likewise.
48382         * math/s_ctanhf.c: Likewise.
48383         * math/s_ctanhl.c: Likewise.
48384         * math/s_ctanl.c: Likewise.
48385         * math/w_fmod.c: Likewise.
48386         * math/w_fmodf.c: Likewise.
48387         * math/w_fmodl.c: Likewise.
48388         * math/w_remainder.c: Likewise.
48389         * math/w_remainderf.c: Likewise.
48390         * math/w_remainderl.c: Likewise.
48391         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48392         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48393         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48394         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48395         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48396         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48397         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48398         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48400         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48401         of the number.
48402         * stdio-common/printf_fphex.c: Likewise.
48403         * stdio-common/printf_size.c: Likewise.
48405         * math/e_exp10.c: Include math_private.h using <...> not "...".
48406         * math/e_exp10f.c: Likewise.
48407         * math/e_exp10l.c: Likewise.
48408         * math/e_exp2l.c: Likewise.
48409         * math/e_j0l.c: Likewise.
48410         * math/e_j1l.c: Likewise.
48411         * math/e_jnl.c: Likewise.
48412         * math/e_lgammal_r.c: Likewise.
48413         * math/e_rem_pio2l.c: Likewise.
48414         * math/e_scalb.c: Likewise.
48415         * math/e_scalbf.c: Likewise.
48416         * math/e_scalbl.c: Likewise.
48417         * math/k_cosl.c: Likewise.
48418         * math/k_sinl.c: Likewise.
48419         * math/k_tanl.c: Likewise.
48420         * math/s_cacoshf.c: Likewise.
48421         * math/s_catan.c: Likewise.
48422         * math/s_catanf.c: Likewise.
48423         * math/s_catanh.c: Likewise.
48424         * math/s_catanhf.c: Likewise.
48425         * math/s_catanhl.c: Likewise.
48426         * math/s_catanl.c: Likewise.
48427         * math/s_ccosh.c: Likewise.
48428         * math/s_ccoshf.c: Likewise.
48429         * math/s_ccoshl.c: Likewise.
48430         * math/s_cexp.c: Likewise.
48431         * math/s_cexpf.c: Likewise.
48432         * math/s_cexpl.c: Likewise.
48433         * math/s_clog.c: Likewise.
48434         * math/s_clog10.c: Likewise.
48435         * math/s_clog10f.c: Likewise.
48436         * math/s_clog10l.c: Likewise.
48437         * math/s_clogf.c: Likewise.
48438         * math/s_clogl.c: Likewise.
48439         * math/s_csin.c: Likewise.
48440         * math/s_csinf.c: Likewise.
48441         * math/s_csinh.c: Likewise.
48442         * math/s_csinhf.c: Likewise.
48443         * math/s_csinhl.c: Likewise.
48444         * math/s_csinl.c: Likewise.
48445         * math/s_csqrt.c: Likewise.
48446         * math/s_csqrtf.c: Likewise.
48447         * math/s_csqrtl.c: Likewise.
48448         * math/s_ctan.c: Likewise.
48449         * math/s_ctanf.c: Likewise.
48450         * math/s_ctanh.c: Likewise.
48451         * math/s_ctanhf.c: Likewise.
48452         * math/s_ctanhl.c: Likewise.
48453         * math/s_ctanl.c: Likewise.
48454         * math/s_ldexp.c: Likewise.
48455         * math/s_ldexpf.c: Likewise.
48456         * math/s_ldexpl.c: Likewise.
48457         * math/s_significand.c: Likewise.
48458         * math/s_significandf.c: Likewise.
48459         * math/s_significandl.c: Likewise.
48460         * math/w_acos.c: Likewise.
48461         * math/w_acosf.c: Likewise.
48462         * math/w_acosh.c: Likewise.
48463         * math/w_acoshf.c: Likewise.
48464         * math/w_acoshl.c: Likewise.
48465         * math/w_acosl.c: Likewise.
48466         * math/w_asin.c: Likewise.
48467         * math/w_asinf.c: Likewise.
48468         * math/w_asinl.c: Likewise.
48469         * math/w_atan2.c: Likewise.
48470         * math/w_atan2f.c: Likewise.
48471         * math/w_atan2l.c: Likewise.
48472         * math/w_atanh.c: Likewise.
48473         * math/w_atanhf.c: Likewise.
48474         * math/w_atanhl.c: Likewise.
48475         * math/w_cosh.c: Likewise.
48476         * math/w_coshf.c: Likewise.
48477         * math/w_coshl.c: Likewise.
48478         * math/w_dremf.c: Likewise.
48479         * math/w_exp10.c: Likewise.
48480         * math/w_exp10f.c: Likewise.
48481         * math/w_exp10l.c: Likewise.
48482         * math/w_exp2.c: Likewise.
48483         * math/w_exp2f.c: Likewise.
48484         * math/w_fmod.c: Likewise.
48485         * math/w_fmodf.c: Likewise.
48486         * math/w_fmodl.c: Likewise.
48487         * math/w_hypot.c: Likewise.
48488         * math/w_hypotf.c: Likewise.
48489         * math/w_hypotl.c: Likewise.
48490         * math/w_j0.c: Likewise.
48491         * math/w_j0f.c: Likewise.
48492         * math/w_j0l.c: Likewise.
48493         * math/w_j1.c: Likewise.
48494         * math/w_j1f.c: Likewise.
48495         * math/w_j1l.c: Likewise.
48496         * math/w_jn.c: Likewise.
48497         * math/w_jnf.c: Likewise.
48498         * math/w_jnl.c: Likewise.
48499         * math/w_lgamma.c: Likewise.
48500         * math/w_lgamma_r.c: Likewise.
48501         * math/w_lgammaf.c: Likewise.
48502         * math/w_lgammaf_r.c: Likewise.
48503         * math/w_lgammal.c: Likewise.
48504         * math/w_lgammal_r.c: Likewise.
48505         * math/w_log.c: Likewise.
48506         * math/w_log10.c: Likewise.
48507         * math/w_log10f.c: Likewise.
48508         * math/w_log10l.c: Likewise.
48509         * math/w_log2.c: Likewise.
48510         * math/w_log2f.c: Likewise.
48511         * math/w_log2l.c: Likewise.
48512         * math/w_logf.c: Likewise.
48513         * math/w_logl.c: Likewise.
48514         * math/w_pow.c: Likewise.
48515         * math/w_powf.c: Likewise.
48516         * math/w_powl.c: Likewise.
48517         * math/w_remainder.c: Likewise.
48518         * math/w_remainderf.c: Likewise.
48519         * math/w_remainderl.c: Likewise.
48520         * math/w_scalb.c: Likewise.
48521         * math/w_scalbf.c: Likewise.
48522         * math/w_scalbl.c: Likewise.
48523         * math/w_sinh.c: Likewise.
48524         * math/w_sinhf.c: Likewise.
48525         * math/w_sinhl.c: Likewise.
48526         * math/w_sqrt.c: Likewise.
48527         * math/w_sqrtf.c: Likewise.
48528         * math/w_sqrtl.c: Likewise.
48529         * math/w_tgamma.c: Likewise.
48530         * math/w_tgammaf.c: Likewise.
48531         * math/w_tgammal.c: Likewise.
48533         * po/ja.po: Update from translation team.
48535 2011-09-29  Andreas Jaeger  <aj@suse.de>
48537         [BZ #13179]
48538         * sunrpc/netname.c (netname2host): Fix logic.
48540         [BZ #6779]
48541         [BZ #6783]
48542         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48543         correctly.
48544         * math/w_remainder.c (__remainder): Likewise.
48545         * math/w_remainderf.c (__remainderf): Likewise.
48546         * math/libm-test.inc (remainder_test): Add test cases.
48548 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48550         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
48551         sdiv_qrnnd.
48553 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48555         * string/test-memcmp.c: Avoid unncessary #defines.
48556         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48558 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48560         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48561         Use new sse2 version for core i3 - i7 as it's faster
48562         than sse42 version.
48563         (bit_Prefer_PMINUB_for_stringop): New.
48564         * sysdeps/x86_64/rawmemchr.S: Update.
48565         Replace with faster SSE2 version.
48566         * sysdeps/x86_64/memrchr.S: New file.
48567         * sysdeps/x86_64/memchr.S: Update.
48568         Replace with faster SSE2 version.
48570 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
48572         * elf/dl-load.c (lose): Add cast to avoid warning.
48574 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48576         * po/ca.po: Update from translation team.
48578         * inet/getnetgrent_r.c: Hook up nscd.
48579         * nscd/Makefile (routines): Add nscd_netgroup.
48580         (nscd-modules): Add netgroupcache.
48581         (CFLAGS-netgroupcache.c): Define.
48582         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48583         (cache_search): Add const to second parameter.
48584         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48585         INNETGR.
48586         (dbs): Add netgrdb entry.
48587         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48588         (verify_persistent_db): Handle netgrdb.
48589         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48590         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48591         GETFDNETGR.
48592         (netgroup_response_header): Define.
48593         (innetgroup_response_header): Define.
48594         (datahead): Add netgroup_response_header and innetgroup_response_header
48595         elements.
48596         * nscd/nscd.conf: Add entries for netgroup cache.
48597         * nscd/nscd.h (dbtype): Add netgrdb.
48598         (_PATH_NSCD_NETGROUP_DB): Define.
48599         (netgroup_iov_disabled): Declare.
48600         (xmalloc, xcalloc, xrealloc): Move declarations here.
48601         (cache_search): Adjust prototype.
48602         Add netgroup-related prototypes.
48603         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48604         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48605         (__nscd_innetgr): Declare.
48606         * nscd/selinux.c (perms): Use access_vector_t as element type and
48607         add netgroup-related initializers.
48608         * nscd/netgroupcache.c: New file.
48609         * nscd/nscd_netgroup.c: New file.
48610         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48611         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48612         For four parameters use innetgr.
48613         * nss/nss_files/files-init.c: Add definition and callback for netgr.
48614         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48615         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48616         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48618         * nscd/connections.c (register_traced_file): Don't register file
48619         for disabled databases.
48621 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
48623         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48625         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48626         from tree and freeing node.
48628 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
48630         * nss/nsswitch.c (__nss_database_lookup): Handle
48631         nss_parse_service_list out of memory case.
48633 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
48635         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48636         out of memory case.
48638 2011-10-04  Andreas Schwab  <schwab@redhat.com>
48640         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48641         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48642         pass it down.
48643         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48644         elf_machine_rela, elf_machine_lazy_rel.
48645         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48646         (ELF_DYNAMIC_DO_REL): Likewise.
48647         (ELF_DYNAMIC_DO_RELA): Likewise.
48648         (ELF_DYNAMIC_RELOCATE): Likewise.
48649         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48650         to ELF_DYNAMIC_DO_REL.
48651         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48652         (dl_main): In trace mode always set __RTLD_NOIFUNC.
48653         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48654         elf_machine_rela.
48655         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48656         skip_ifunc, don't call ifunc function if non-zero.
48657         (elf_machine_rela): Likewise.
48658         (elf_machine_lazy_rel): Likewise.
48659         (elf_machine_lazy_rela): Likewise.
48660         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48661         (elf_machine_lazy_rel): Likewise.
48662         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48663         Likewise.
48664         (elf_machine_lazy_rel): Likewise.
48665         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48666         Likewise.
48667         (elf_machine_lazy_rel): Likewise.
48668         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48669         (elf_machine_lazy_rel): Likewise.
48670         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48671         (elf_machine_lazy_rel): Likewise.
48672         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48673         (elf_machine_lazy_rel): Likewise.
48674         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48675         (elf_machine_lazy_rel): Likewise.
48676         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48677         (elf_machine_lazy_rel): Likewise.
48678         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48679         (elf_machine_lazy_rel): Likewise.
48681 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48683         * nss/nss_files/files-init.c (_nss_files_init): Use static
48684         initialization for all the *_traced_file variables.
48686 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48688         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48690 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48692         [BZ #13226]
48693         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48695 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48697         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48698         Reread the line before reparsing it.
48700 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48702         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48704 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48705             Maxim Kuvyrkov  <maxim@codesourcery.com>
48706             Joseph Myers  <joseph@codesourcery.com>
48708         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48709         if needed for __stack_chk_guard.
48711 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48713         * sysdeps/posix/spawni.c (script_execute): Always define it.
48714         It will be optimized away if unused.
48715         (maybe_script_execute): New function.
48716         (__spawni): Call it.
48718         * Makerules: Don't include tls.make.
48719         (config-tls): Always set to thread.
48720         * tls.make.c: File removed.
48722 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48724         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48725         * config.make.in (CPPFLAGS-config): New substituted variable.
48727 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48729         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48731         [BZ #13192]
48732         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48733         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48735 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48737         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48738         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48739         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48740         (CALL_FAIL): Likewise.
48741         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48742         (CALL_FAIL): Macro removed.
48743         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48745 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48747         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48748         for __FINITE_MATH_ONLY__ == 1.
48750 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48752         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48753         __ieee754_sqrt instead of sqrt.
48754         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48755         __ieee754_sqrtf instead of sqrtf.
48756         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48757         __floorf instead of floorf.
48758         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48759         __floorf, __truncf instead of floorf, truncf.
48761 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48763         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48765         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48766         __extern_always_inline.
48767         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48768         32-bit.
48770 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48772         * elf/rtld.c (dl_main): Also relocate in dependency order when
48773         doing symbol dependency testing.
48775 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48777         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48778         Always define `refsym'.
48780 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48782         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48783         (__FD_ELT): Renamed from __FDELT.
48784         * misc/bits/select2.h (__FD_ELT): Likewise.
48785         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48786         __FD_MASK instead of __FDELT, __FDMASK.
48787         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48788         Likewise.
48789         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48790         Likewise.
48792         * elf/Makefile (gen-ldd): Fix pattern.
48794         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48795         (init_tls): Likewise.
48797 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48799         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48801 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48803         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48804         `struct cmsghdr *' instead of `void *'.
48805         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48806         Likewise.
48808 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48810         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48811         if non-absolute.
48812         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48813         ldd_rewrite_script.
48815 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48817         * configure.in: Remove --with-tls option.
48818         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48819         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48820         out in case it is missing.
48821         * sysdeps/ia64/elf/configure.in: Likewise.
48822         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48823         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48824         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48825         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48826         * sysdeps/sh/elf/configure.in: Likewise.
48827         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48828         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48829         * sysdeps/x86_64/elf/configure.in: Likewise.
48830         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48831         * sysdeps/mach/hurd/tls.h: Likewise.
48833         [BZ #13067]
48834         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48836         [BZ #13090]
48837         * configure.in: Fix use of AC_INIT.
48839         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48841 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48843         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48844         __set_errno.
48845         * malloc/hooks.c: Likewise.
48847         [BZ #11929]
48848         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48849         variables statically.
48850         (narenas): Initialize.
48851         (list_lock): Initialize.
48852         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48853         initializtion of main_arena and list_lock.  Small cleanups.
48854         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48855         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48856         Add initializers to main_arena and mp_.
48857         (malloc_state): Remove pagesize member.  Change all users to use
48858         GLRO(dl_pagesize).
48860         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48861         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48862         is always initialized.
48864         * malloc/malloc.c: Removed unused configurations and dead code.
48865         * malloc/arena.c: Likewise.
48866         * malloc/hooks.c: Likewise.
48867         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48869         * include/tls.h: Removed.  USE___THREAD must always be defined.
48870         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48871         * elf/dl-libc.c: Likewise.
48872         * elf/dl-tsd.c: Likewise.
48873         * include/errno.h: Likewise.
48874         * include/netdb.h: Likewise.
48875         * include/resolv.h: Likewise.
48876         * inet/herrno-loc.c: Likewise.
48877         * inet/herrno.c: Likewise.
48878         * malloc/arena.c: Likewise.
48879         * malloc/hooks.c: Likewise.
48880         * malloc/malloc.c: Likewise.
48881         * resolv/res-state.c: Likewise.
48882         * resolv/res_libc.c: Likewise.
48883         * sysdeps/i386/dl-machine.h: Likewise.
48884         * sysdeps/ia64/dl-machine.h: Likewise.
48885         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48886         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48887         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48888         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48889         * sysdeps/sh/dl-machine.h: Likewise.
48890         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48891         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48892         * sysdeps/unix/i386/sysdep.S: Likewise.
48893         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48894         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48895         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48896         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48898         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48899         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48900         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48901         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48902         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48903         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48904         * sysdeps/x86_64/dl-machine.h: Likewise.
48905         * tls.make.c: Likewise.
48907         * configure.in: Remove --with-__thread option.  Make tests for
48908         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48909         tls_model attribute fail if no support is available.  Remove
48910         USE_IN_LIBIO.
48911         * Makeconfig: Adjust for dropped configure option.  All features are
48912         now mandatory.
48913         * Makerules: Likewise.
48914         * Versions.def: Likewise.
48915         * argp/argp-fmtstream.c: Likewise.
48916         * argp/argp-fmtstream.h: Likewise.
48917         * argp/argp-help.c: Likewise.
48918         * assert/assert.c: Likewise.
48919         * config.h.in: Likewise.
48920         * config.make.in: Likewise.
48921         * configure: Likewise.
48922         * configure.in: Likewise.
48923         * csu/Versions: Likewise.
48924         * csu/init.c: Likewise.
48925         * elf/tst-audit2.c: Likewise.
48926         * elf/tst-tls10.c: Likewise.
48927         * elf/tst-tls10.h: Likewise.
48928         * elf/tst-tls11.c: Likewise.
48929         * elf/tst-tls12.c: Likewise.
48930         * elf/tst-tls14.c: Likewise.
48931         * elf/tst-tlsmod11.c: Likewise.
48932         * elf/tst-tlsmod12.c: Likewise.
48933         * elf/tst-tlsmod13.c: Likewise.
48934         * elf/tst-tlsmod13a.c: Likewise.
48935         * elf/tst-tlsmod14a.c: Likewise.
48936         * elf/tst-tlsmod15b.c: Likewise.
48937         * elf/tst-tlsmod16a.c: Likewise.
48938         * elf/tst-tlsmod16b.c: Likewise.
48939         * elf/tst-tlsmod7.c: Likewise.
48940         * elf/tst-tlsmod8.c: Likewise.
48941         * elf/tst-tlsmod9.c: Likewise.
48942         * gmon/gmon.c: Likewise.
48943         * grp/fgetgrent_r.c: Likewise.
48944         * grp/putgrent.c: Likewise.
48945         * hurd/fopenport.c: Likewise.
48946         * include/libc-symbols.h: Likewise.
48947         * include/tls.h: Likewise.
48948         * intl/gettextP.h: Likewise.
48949         * intl/loadinfo.h: Likewise.
48950         * locale/global-locale.c: Likewise.
48951         * locale/localeinfo.h: Likewise.
48952         * mach/devstream.c: Likewise.
48953         * malloc/arena.c: Likewise.
48954         * malloc/set-freeres.c: Likewise.
48955         * misc/err.c: Likewise.
48956         * misc/getttyent.c: Likewise.
48957         * misc/mntent_r.c: Likewise.
48958         * posix/getopt.c: Likewise.
48959         * posix/wordexp.c: Likewise.
48960         * pwd/fgetpwent_r.c: Likewise.
48961         * resolv/Versions: Likewise.
48962         * resolv/res_hconf.c: Likewise.
48963         * shadow/fgetspent_r.c: Likewise.
48964         * shadow/putspent.c: Likewise.
48965         * stdio-common/printf_fphex.c: Likewise.
48966         * stdio-common/tmpfile.c: Likewise.
48967         * stdlib/abort.c: Likewise.
48968         * stdlib/fmtmsg.c: Likewise.
48969         * sunrpc/auth_unix.c: Likewise.
48970         * sunrpc/clnt_perr.c: Likewise.
48971         * sunrpc/clnt_tcp.c: Likewise.
48972         * sunrpc/clnt_udp.c: Likewise.
48973         * sunrpc/clnt_unix.c: Likewise.
48974         * sunrpc/openchild.c: Likewise.
48975         * sunrpc/svc_simple.c: Likewise.
48976         * sunrpc/svc_tcp.c: Likewise.
48977         * sunrpc/svc_udp.c: Likewise.
48978         * sunrpc/svc_unix.c: Likewise.
48979         * sunrpc/xdr.c: Likewise.
48980         * sunrpc/xdr_array.c: Likewise.
48981         * sunrpc/xdr_rec.c: Likewise.
48982         * sunrpc/xdr_ref.c: Likewise.
48983         * sunrpc/xdr_stdio.c: Likewise.
48985 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
48987         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48989 2011-07-03  Andreas Jaeger  <aj@suse.de>
48991         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
48992         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
48993         regenerate with gen-libm-tests.pl.
48995 2010-05-12  Petr Baudis  <pasky@suse.cz>
48997         [BZ #11589]
48998         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
48999         around j0() zero points by switching to j1().
49000         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49001         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49002         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49003         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49005 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49007         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49008         instead of 0.
49009         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49010         instead of 0.
49011         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49012         Patch in part by Pavel Roskin <proski@gnu.org>.
49014         [BZ #13138]
49015         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49016         realloc.
49017         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49018         Free memory block if necessary.
49020         [BZ #12847]
49021         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49022         be NULL.  Don't lock in this case.
49024 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49026         * elf/elf.h (ELFOSABI_GNU): New macro.
49027         (ELFOSABI_LINUX): Define to that.
49029 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49031         * string/strncat.c (strncat): Undef the symbol in case it has been
49032         defined in bits/string.h.
49034 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49036         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49038         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49039         link map.
49041 2011-08-17  Andreas Jaeger  <aj@suse.de>
49043         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49045 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49046             Ian Lance Taylor  <iant@google.com>
49048         * math/libm-test.inc (lround_test): New testcase.
49049         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49051 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49053         * Makefile: Remove support for automatic cvs check-ins.
49054         * Makerules: Likewise.
49055         * config.make.in: Likewise.
49056         * configure.in: Likewise.
49057         * intl/Makefile: Likewise.
49058         * locale/Makefile: Likewise.
49059         * po/Makefile: Likewise.
49060         * posix/Makefile: Likewise.
49061         * sysdeps/gnu/Makefile: Likewise.
49062         * sysdeps/mach/hurd/Makefile: Likewise.
49063         * sysdeps/sparc/sparc32/Makefile: Likewise.
49065         [BZ #13118]
49066         * posix/Makefile (bug-regex32-ENV): Define.
49067         Patch by John Stanley <jpsinthemix@verizon.net>.
49069         * misc/Makefile (headers): Add bits/select2.h.
49070         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49071         * misc/bits/select2.h: New file.
49072         * include/bits/select2.h: New file.
49073         * debug/Makefile (routines): Add fdelt_chk.
49074         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49075         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49076         FD_ISSET.
49077         * debug/fdelt_chk.c: New file.
49079         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49080         * wcsmbs/test-wmemcmp.c: Likewise.
49081         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49082         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49084 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49086         * string/Makefile (strop-tests): Add memcmp.
49087         * string/test-wmemcmp.c: New file.
49088         * string/test-memcmp.c: Add wmemcmp support.
49090 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49092         [BZ #13153]
49093         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49094         2011-07-19 change.
49096         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49097         garbage value in a __mach_port_mod_refs call in the cases of the
49098         task-self and thread-self ports.
49100 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49102         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49104 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49106         * elf/dl-load.c (lose): Check for non-null L.
49108 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49110         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49112         * elf/dl-libc.c (dlerror_run): Pass back error code from
49113         dl_catch_error.
49115         [BZ #13123]
49116         * elf/dl-load.c (lose): Free l_origin if it is valid.
49118         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49119         names.
49120         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49121         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49122         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49123         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49124         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49125         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49127 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49129         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49130         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49131         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49132         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49133         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49134         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49135         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49136         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49137         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49138         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49140 2011-08-15  Alan Modra  <amodra@gmail.com>
49142         [BZ #13092]
49143         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49144         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49145         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49146         ppc_mcount to static-only-routines.
49147         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49148         __mcount_internal.
49149         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49150         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49152 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49154         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49155         for finite and infinity parameters.
49157 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49159         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49160         and add nop instructions for throughput optimization.
49161         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49163 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49165         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49166         aligned copy for power7 with vector-scalar instructions.
49167         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49169 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49171         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49172         AVX check.
49174 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49176         [BZ #13144]
49177         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49178         last change.
49180 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49182         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49183         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49184         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49185         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49186         clock_gettime.
49188 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49190         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49191         Forgot to demangle the pointer.
49193         * sysdeps/i386/sysdep.h: Define atom_text_section.
49194         * sysdeps/x86_64/sysdep.h: Likewise.
49195         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49196         section with atom_text_section.
49197         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49198         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49199         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49200         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49201         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49203         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49204         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49205         already be defined.  Change to take two parameters and don't assign
49206         result to variable.  Adjust all users.
49207         Define INTERNAL_GETTIME if not already defined.
49208         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49209         call.
49210         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49211         HAVE_CLOCK_GETTIME_VSYSCALL.
49212         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49214         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49215         gettimeofday vsyscall, just use time.
49217 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49219         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49220         <errno.h>.
49222 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49224         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49225         syscall on x86-64.
49226         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49227         syscall.
49228         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49229         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49230         syscall if possible.
49232 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49234         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49235         e_ident.  Don't pass to find_mapsXX.
49236         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49238 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49240         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49241         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49242         * sysdeps/x86_64/multiarch/strchr.S: Update.
49243         Check bit_slow_BSF bit.
49244         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49245         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49246         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49248 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49250         [BZ #13134]
49251         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49252         before glibc 2.15.
49253         (tryshell): Define.
49254         (__spawni): Change last parameter to be flag.  Test
49255         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49256         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49257         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49258         * posix/spawni.c: Likewise.
49259         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49260         * posix/spawnp.c: Likewise.  Change normal version to use
49261         SPAWN_XFLAGS_USE_PATH.
49262         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49263         SPAWN_XFLAGS_TRY_SHELL.
49265         [BZ #13150]
49266         * posix/glob.h: Remove gcc 1.x support.
49268         [BZ #13068]
49269         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49271 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49273         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49274         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49275         strrchr-sse2-bsf
49276         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49277         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49278         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49279         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49280         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49281         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49283 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49285         * sysdeps/x86_64/wcscmp.S: New file.
49287         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49288         wcscmp-c wcscmp-sse2
49289         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49290         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49291         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49292         * wcsmbs/wcscmp.c: Allow renaming.
49294 2011-09-05  David S. Miller  <davem@davemloft.net>
49296         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49297         stack slot, rather than the struct return pointer slot.
49298         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49299         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49301         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49303 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49305         * po/ja.po: Update from translation team.
49307         [BZ #13144]
49308         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49309         kernel in 64-bit binaries.
49311 2011-09-01  David S. Miller  <davem@davemloft.net>
49313         * elf/elf.h (HWCAP_SPARC_*): Move to..
49314         * sysdeps/sparc/sysdep.h: this new file and add new values.
49315         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49316         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49317         _DL_HWCAP_COUNT to 24.
49318         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49319         entries.
49320         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49321         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49322         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49323         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49324         instead of magic constants.
49325         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49327 2011-08-31  David S. Miller  <davem@davemloft.net>
49329         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49330         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49331         Reimplement to do errno handling inline.
49332         (SYSCALL_ERROR_HANDLER): New macro.
49333         (__SYSCALL_STRING): Do not do errno handling in asm.
49334         (__CLONE_SYSCALL_STRING): Delete.
49335         (__INTERNAL_SYSCALL_STRING): Delete.
49336         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49337         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49338         (PSEUDO): Reimplement to do errno handling inline.
49339         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49340         (SYSCALL_ERROR_HANDLER): New macro.
49341         (__SYSCALL_STRING): Do not do errno handling in asm.
49342         (__CLONE_SYSCALL_STRING): Delete.
49343         (__INTERNAL_SYSCALL_STRING): Delete.
49344         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49345         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49346         i386.
49347         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49348         (inline_syscall*): Add 'err' argument.
49349         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49350         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49351         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49352         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49354         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49355         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49357 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49359         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49361 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49363         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49364         directive.
49366 2011-08-24  David S. Miller  <davem@davemloft.net>
49368         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49370 2011-08-24  Andreas Schwab  <schwab@redhat.com>
49372         * elf/Makefile: Add rules to build and run unload8 test.
49373         * elf/unload8.c: New file.
49374         * elf/unload8mod1.c: New file.
49375         * elf/unload8mod1x.c: New file.
49376         * elf/unload8mod2.c: New file.
49377         * elf/unload8mod3.c: New file.
49379         * elf/dl-close.c (_dl_close_worker): Reset private search list if
49380         it wasn't used.
49382 2011-08-23  David S. Miller  <davem@davemloft.net>
49384         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49385         subtract stack bias.
49386         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49387         %sp not %fp in calculations.
49388         (_JMPBUF_UNWINDS_ADJ): Likewise.
49390         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49391         (aio_suspend): Call it to force an exception region around the
49392         AIO_MISC_WAIT() invocation.
49394 2011-08-23  Andreas Schwab  <schwab@redhat.com>
49396         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49397         backslash.
49399 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
49401         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49402         protection macro.
49403         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49404         and <dl-machine.h>.
49405         (Elf64_FuncDesc): Remove.
49407 2011-08-22  David S. Miller  <davem@davemloft.net>
49409         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49410         sigaltstack check, add missing cfi directives.
49411         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49412         missing cfi directives, and sigaltstack handling.
49414 2011-08-16  Andreas Schwab  <schwab@redhat.com>
49416         [BZ #11724]
49417         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49418         object is seen twice.
49419         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49421         * elf/Makefile (distribute): Add tst-initorder2.c.
49422         (tests): Add tst-initorder2.
49423         (modules-names): Add tst-initorder2a tst-initorder2b
49424         tst-initorder2c tst-initorder2d.  Add rules to build them.
49425         ($(objpfx)tst-initorder2.out): New rule.
49426         * elf/tst-initorder2.c: New file.
49427         * elf/tst-initorder2.exp: New file.
49429 2011-08-22  Andreas Schwab  <schwab@redhat.com>
49431         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49433         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49434         dependencies back to end of function.
49436         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49437         $(elfobjdir)/ld.so.
49439 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
49441         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49442         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49443         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49444         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49445         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49446         of __vdso_gettimeofday.
49447         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49448         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
49449         attribute_hidden.
49450         (_libc_vdso_platform_setup): Remove initialization of
49451         __vdso_gettimeofday and __vdso_time.
49453 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49455         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49456         and fgetc_unlocked.
49457         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49458         getc_unlocked.
49460         * elf/dl-open.c (add_to_global): Report additions to the global scope
49461         for LD_DEBUG=scopes.
49462         (dl_open_worker): Also print scope of newly loaded dependencies.
49463         (_dl_show_scope): Indicate if there is no scope.
49465         [BZ #13114]
49466         * stdio-common/Makefile (tests): Add bug24.
49467         * stdio-common/bug24.c: New file.
49469 2011-08-19  Andreas Jaeger  <aj@suse.de>
49471         [BZ #13114]
49472         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49473         non-existant file when using close-on-exec mode.
49475 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49477         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49478         the very first instruction.
49480         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49481         the CFI state in the end.
49482         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49483         inclusion of dl-trampoline.h.
49484         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49486 2011-08-19  Andreas Schwab  <schwab@redhat.com>
49488         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49489         expectations for long double.
49491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49492         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49494 2011-08-14  David S. Miller  <davem@davemloft.net>
49496         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49497         artificual limit depends upon the system page size.
49499 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49501         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49502         * resolv/Makefile: Define CFLAGS-libresolv.
49504 2011-08-17  Andreas Schwab  <schwab@redhat.com>
49506         * nss/makedb.c (compute_tables): Make variables used in nested
49507         function static.
49509 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49511         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49512         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49513         if buffer was too small.
49515         * elf/pldd.c (main): Attach to all threads in the process.
49516         Rewrite /proc handling to use *at functions.
49518 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
49520         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49521         specifies first scope to show.
49522         (dl_open_worker): Update callers.  Move printing scope of new
49523         object to before the relocation.
49524         * elf/rtld.c (dl_main): Update _dl_show_scope call.
49525         * sysdeps/generic/ldsodefs.h: Update declaration.
49527         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49528         string for the scope number.
49530 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
49532         * nscd/servicescache.c (cache_addserv): Make sure written is always
49533         initialized.
49535 2011-08-14  Roland McGrath  <roland@hack.frob.com>
49537         * sysdeps/i386/i486/bits/atomic.h
49538         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49539         statement expression, so as to suppress "set but not used" warning.
49540         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49542         * string/strncat.c (STRNCAT): Use prototype definition.
49544         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49545         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49546         -Iprograms here.
49547         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49548         (localedef-modules): Add localedef.
49549         (locale-modules): Add locale.
49551         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49552         * elf/rtld.c (dl_main): Invert order of assignment in last change,
49553         to avoid a warning.
49555 2011-08-14  David S. Miller  <davem@davemloft.net>
49557         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49558         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49560 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
49562         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49563         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49564         * elf/rtld.c (dl_main): Set l_name of vDSO.
49565         Call _dl_show_scope when DL_DEBUG_SCOPES.
49566         (process_dl_debug): Recognize scopes flag and also set it for all.
49567         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49568         Declare _dl_show_scope.
49570         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49571         (do_dlopen): Pass caller_dlopen to dl_open.
49572         (__libc_dlopen_mode): Initialize caller_dlopen.
49574         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49575         of libc.  Make tolower call locale-independent.  Optimize a bit by
49576         using isdigit instead of isalnum.
49577         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49579 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
49581         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49582         was a dependency or dynamically loaded.
49584 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
49586         * intl/l10nflist.c: Allow architecture-specific pop function.
49587         * sysdeps/x86_64/l10nflist.c: New file.
49589         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49590         classification.
49592 2011-08-10  Andreas Schwab  <schwab@redhat.com>
49594         * include/dirent.h: Add libc_hidden_proto for scandirat and
49595         scandirat64.  Don't declare __scandirat64.
49596         * dirent/scandirat.c: Add libc_hidden_def.
49597         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49598         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49600 2011-08-10  David S. Miller  <davem@davemloft.net>
49602         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49603         enum.
49604         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49605         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49606         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49608 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
49610         * Versions.def [libc]: Add GLIBC_2.15.
49611         * dirent/Makefile (routines): Add scandirat and scandirat64.
49612         * dirent/Versions [libc]: Export scandirat and scandirat64 for
49613         GLIBC_2.15.
49614         * dirent/dirent.h: Declare scandirat and scandirat64.
49615         * dirent/scandirat.c: New file.
49616         * dirent/scandirat64.c: New file.
49617         * sysdeps/wordsize-64/scandirat.c: New file.
49618         * sysdeps/wordsize-64/scandirat64.c: New file.
49619         * dirent/opendir.c: Define opendirat.
49620         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
49621         using scandirat.
49622         * dirent/scandir64.c: Adjust for scandir.c change.
49623         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
49624         __scandirat64, and __scandir_cancel_handler.
49625         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
49626         additional parameter and use openat instead of open (outside of ld.so).
49627         Add new __opendir as wrapper around __opendirat.
49628         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49629         here without requiring old scandirat implementation.
49631 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
49633         * dirent/scandir.c (cancel_handler): Renamed to
49634         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
49635         defined.  Adjust users.
49636         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49637         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49639 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
49641         * string/test-string.h (IMPL): Use __STRING to expand name and then
49642         stringify it.
49644         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
49645         of cleanups.
49647 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49649         * string/Makefile: Update.
49650         (strop-tests): Append strncat.
49651         * string/test-wcscmp.c: New file.
49652         New comprehensive test for wcscmp.
49653         * string/test-strcmp.c: Update.
49654         (WIDE): New define.
49656 2011-07-22  Andreas Schwab  <schwab@redhat.com>
49658         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49659         line.
49661 2011-07-26  Andreas Schwab  <schwab@redhat.com>
49663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49664         encoding to ACE if AI_IDN.
49666 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49668         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49669         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49671 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49673         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49674         Fix overflow bug in strncat.
49675         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49677         * string/test-strncat.c: Update.
49678         Add new tests for checking overflow bugs.
49680 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49682         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49683         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49684         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49685         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49686         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49687         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49688         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49689         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49690         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49692         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49693         (USE_AS_STRCAT): Define.
49694         Add strcat and strncat support.
49695         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49697 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49699         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49700         __n bigger than INT_MAX+1.
49701         (__strncmp_g): Likewise.
49703 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49705         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49706         * libio/stido.h: Likewise.
49708         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49709         (AF_NFC): Define.
49710         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49711         (AF_NFC): Define.
49713         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49714         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49715         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49716         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49717         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49719         [BZ #13021]
49720         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49721         installed.
49723         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49724         typo.
49725         (_dl_x86_64_save_sse): Likewise.
49727 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49729         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49730         OSXSAVE.
49731         (_dl_x86_64_save_sse): Likewise.
49733         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49735         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49737 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49739         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49740         change.
49741         (_dl_x86_64_save_sse): Use correct AVX check.
49743 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49745         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49746         bug in strncpy/strncat.
49747         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49749 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49751         * string/tester.c (test_strcat): Add tests for different alignments
49752         of source and destination.
49753         (test_strncat): Likewise.
49755 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49757         [BZ #12852]
49758         * posix/glob.c (glob): Check passed in values before using them in
49759         expressions to avoid some overflows.
49760         (glob_in_dir): Likewise.
49762         [BZ #13007]
49763         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49764         check for AVX enablement so that we don't crash with old kernels and
49765         new hardware.
49766         * elf/tst-audit4.c: Add same checks here.
49767         * elf/tst-audit6.c: Likewise.
49769         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49771 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49773         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49775 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49777         * po/cs.po: Update from translation team.
49778         * po/bg.po: Likewise.
49780 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49782         * misc/sys/cdefs.h: Add support for const attribute.
49783         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49784         to gnu_dev_{major,minor,makedev} functions.
49786 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49788         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49790 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49792         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49793         strlen results.
49795 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49797         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49798         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49799         register in order to avoid conflicts with the soft frame pointer
49800         being held in r11 when necessary.
49801         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49802         (INTERNAL_VSYSCALL_NCS): Likewise.
49804 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49806         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49807         * elf/dl-fini.c (_dl_fini): Adjust caller.
49808         * elf/dl-close.c (_dl_close_worker): Likewise.
49809         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49811 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49813         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49814         "aux_cache->nlibs < 0".
49816         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49817         in the reload-count case.
49819 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49821         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49822         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49823         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49824         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49825         * sysdeps/x86_64/multiarch/strcat.S: New file.
49826         * sysdeps/x86_64/multiarch/strncat.S: New file.
49827         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49828         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49829         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49830         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49831         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49832         (USE_AS_STRCAT): Define.
49833         Add strcat and strncat support.
49834         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49835         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49836         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49837         * string/strncat.c: Update.
49838         (USE_AS_STRNCAT): Define.
49839         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49840         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49841         and i7.
49842         * sysdeps/x86_64/multiarch/init-arch.h
49843         (bit_Prefer_PMINUB_for_stringop): New.
49844         (index_Prefer_PMINUB_for_stringop): Likewise.
49845         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49846         bit_Prefer_PMINUB_for_stringop.
49848 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49850         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49851         buffer64.
49852         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49853         of casting of buffer.
49854         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49855         buffer32 and buffer64.
49856         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49857         writes instead of casting of buffer.
49858         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49859         buffer32.
49860         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49861         casting of buffer.
49863 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49865         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49867 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49869         * nscd/nscd.c (termination_handler): Don't do anything for a database
49870         if it has not yet been initialized.
49872 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49874         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49876 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49878         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49880 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49882         * po/nl.po: Update from translation team.
49883         * po/sv.po: Likewise.
49885 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49887         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49888         now disallowed by GCC.
49890         * configure.in (use-default-link): Default to yes if a test -shared
49891         link meets our qualifications.
49892         * configure: Regenerated.
49894         * config.make.in (output-format): New variable.
49895         * configure.in: Check for ld --print-output-format support.
49896         * configure: Regenerated.
49897         * Makerules ($(common-objpfx)format.lds)
49898         [$(output-format) != unknown]: Just use $(output-format),
49899         instead of the linker-script munging.
49901 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49903         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49904         of $(common-objpfx)shlib.lds.
49905         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49907         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49908         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49910         * configure.in (-z relro check): Adjust test code to add a large
49911         writable data section after it.
49912         * configure: Regenerated.
49914 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49916         * configure.in (-z relro check): Fix test code to make the variable
49917         truly const.
49918         * configure: Regenerated.
49920 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49922         * nscd/nscd.h (struct traced_file): Define.
49923         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49924         elements.  Add traced_files.
49925         (inotify_fd): Declare.
49926         (register_traced_file): Declare.
49927         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49928         (inotify_fd): Export.
49929         (resolv_conf_descr): Remove.
49930         (nscd_init): Move inotify descriptor creation to main.
49931         Don't register files for notification here.
49932         (register_traced_file): New function.
49933         (invalidate_cache): Don't use reset_res to determine whether to call
49934         res_init, go through the list of registered files.
49935         (main_loop_poll): The inotify descriptors are now stored in the
49936         structures for the traced files.
49937         (main_loop_epoll): Likewise
49938         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49939         to __nss_disable_nscd.
49940         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49941         for a database anymore.  Check the records for all the registered
49942         files instead.
49943         * nss/Makefile (libnss_files-routines): Add files-init.
49944         (libnss_db-routines): Add db-init.
49945         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49946         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49947         * nss/nss_db/db-init.c: New file.
49948         * nss/nss_files/files-init.c: New file.
49949         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49950         __nss_lookup_function.
49951         (__nss_lookup_function): Call nss_load_library.
49952         (nss_load_all_libraries): New function.
49953         (__nss_disable_nscd): Take parameter with callback function for files
49954         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49955         used for the cached services.
49956         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49957         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49958         options for features to all the files in nscd.
49960         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49962 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49964         * csu/elf-init.c (__libc_csu_init): Comment typo.
49966 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49968         * po/pl.po: Update from translation team.
49969         * po/ja.po: Likewise.
49970         * po/ru.po: Likewise.
49971         * po/ko.po: Likewise.
49972         * po/fr.po: Likewise.
49974 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49976         * configure.in (.ctors/.dtors header and trailer check):
49977         Use an empirical test on a built program.
49978         * configure: Regenerated.
49980         * configure.in (-z relro check): Use an empirical test on a built DSO.
49981         Detect, but do not require, on ia64.
49982         * configure: Regenerated.
49984         * configure.in (READELF): Find it with AC_CHECK_TOOL.
49985         Update tests that use readelf to use $READELF instead.
49986         * configure: Regenerated.
49988 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
49990         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
49991         if the result is not used.
49993 2011-07-05  Andreas Jaeger  <aj@suse.de>
49995         [BZ#9696]
49996         * stdlib/tst-strtod.c: Add testcase.
49998 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50000         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50001         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50002         The latter has a higher limit.  Take additional parameter to pass to
50003         the new function.
50004         (__pathconf): Pass file to __statfs_link_max.
50005         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50006         __statfs_link_max.
50007         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50008         __statfs_link_max.
50010         [BZ #12868]
50011         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50012         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50013         Handle Lustre.
50014         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50015         (__statfs_filesize_max): Likewise.
50016         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50018 2011-07-05  Andreas Jaeger  <aj@suse.de>
50020         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50022 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50024         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50025         `status' variable.
50026         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50027         Likewise.
50029 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50031         * Makefile (strop-tests): Add strncat.
50032         * string/test-strncat.c: New file.
50034 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50036         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50038 2011-06-21  Andreas Jaeger  <aj@suse.de>
50040         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50041         Copy rule from iconvdata/Makefile.
50043 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50045         [BZ #12922]
50046         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50047         but no long options are defined, just return 'W'.
50049 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50051         [BZ #9696]
50052         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50054 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50056         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50057         netgroups to read.
50058         (innetgr): Likewise.
50060 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50062         * config.make.in (install_root): Default to $(DESTDIR).
50064 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50066         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50068 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50070         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50072         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50073         containing directory rather than embedding absolute directory names.
50075         * scripts/check-local-headers.sh: Rewritten using awk.
50076         Match by word, not by line.  Print error messages for matches.
50077         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50079         * Makerules [shlib-lds-flags empty]:
50080         ($(common-objpfx)libc_pic.opts): New target.
50081         ($(common-objpfx)libc_pic.os.clean): New target.
50082         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50084         * config.make.in (OBJCOPY): New variable.
50085         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50086         * configure: Regenerated.
50088         * config.make.in (use-default-link): New variable.
50089         * configure.in (use_default_link): Grok --with-default-link to set it.
50090         * configure: Regenerated.
50091         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50092         (shlib-lds, shlib-lds-flags): Define to empty.
50094         * Makerules (shlib-lds): New variable.
50095         (shlib-lds-flags): New variable.
50096         (build-shlib, build-moduile, build-module-asneeded): Use it.
50097         ($(common-objpfx)libc.so): Use $(shlib-lds).
50098         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50099         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50101         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50102         DT_FLAGS/DT_FLAGS_1 with zero flags.
50104         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50105         linker script munging.
50107 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50109         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50110         as 128-bit value.
50111         * crypt/sha512.c (sha512_process_block): Perform total addition using
50112         128-bit if possible.
50113         (__sha512_finish_ctx): Likewise.
50114         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50115         as 64-bit value.
50116         * crypt/sha256.c (SWAP64): Define.
50117         (sha256_process_block): Perform total addition using 64-bit if
50118         possible.
50119         (__sha256_finish_ctx): Likewise.
50121 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50123         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50124         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50125         * nscd/hstcache.c (cache_addhst): Likewise.
50126         * nscd/grpcache.c (cache_addgr): Likewise.
50127         * nscd/aicache.c (addhstaiX): Likewise
50128         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50130 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50132         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50133         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50134         * nscd/hstcache.c (cache_addhst): Likewise.
50135         * nscd/grpcache.c (cache_addgr): Likewise.
50136         * nscd/aicache.c (addhstaiX): Likewise
50138 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50140         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50141         domain only when needed.
50143 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50145         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50146         is always restored.
50148 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50150         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50151         are re-adding the entry.
50152         * nscd/servicescache.c (cache_addserv): Likewise.
50154 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50156         * sysdeps/generic/dl-irel.h: fix protection against multiple
50157         inclusions.
50158         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50160 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50162         [BZ #12935]
50163         * malloc/memusage.sh: Fix quoting in message.
50164         * debug/xtrace.sh: Likewise.
50166         * configure.in: Remove support for --experimental-malloc option, make
50167         it the default.
50168         * config.make.in: Likewise.
50169         * malloc/Makefile: Likewise.
50171 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50173         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50174         two-byte characters.
50176 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50178         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50179         AC_CACHE_CHECK invocation.
50180         * configure: Regenerated.
50182         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50184 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50186         [BZ #12350]
50187         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50188         bit from old_res_options.
50190         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50192         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50193         value type for setfct.
50195 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50197         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50198         __gettimeofday instead of gettimeofday.
50200 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50202         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50204 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50206         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50208         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50209         info.
50211 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50213         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50214         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50215         strcpy-sse2-unaligned strncpy-sse2-unaligned
50216         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50217         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50218         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50219         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50220         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50221         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50222         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50223         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50224         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50225         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50226         (STRCPY): Support SSE2 and SSSE3 versions.
50228 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50230         [BZ #12874]
50231         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50232         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50233         kernels which artificially limit size of requests.
50235 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50237         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50238         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50239         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50240         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50241         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50242         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50243         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50244         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50245         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50246         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50247         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50248         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50249         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50250         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50251         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50252         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50253         Enable unaligned load optimization for Intel Core i3, i5 and i7
50254         processors.
50255         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50256         Define.
50257         (index_Fast_Unaligned_Load): Define.
50258         (HAS_FAST_UNALIGNED_LOAD): Define.
50260 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50262         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50264 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50266         [BZ #12907]
50267         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50268         until it is clear that the information is realy needed.
50269         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50271 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50273         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50275 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50277         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50278         /sys/devices/system/cpu/online if it is usable.
50280         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50281         reading the information from the /proc filesystem to once a second.
50283 2011-06-21  Andreas Jaeger  <aj@suse.de>
50285         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50286         NULL after inclusion of kernel headers.
50288 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50290         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50291         calls to internal_setent.
50293         [BZ #12885]
50294         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50295         addresses using gethostbyname4_r ignore IPv4 addresses.
50297         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50298         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50300         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50302 2011-06-20  David S. Miller  <davem@davemloft.net>
50304         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50305         inclusions.
50306         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50308         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50309         (elf_irel): Use it.
50310         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50311         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50312         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50313         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50314         * sysdeps/x86_64/dl-irel.h: Likewise.
50316         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50317         * elf/dl-sym.c: Likewise.
50319 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50321         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50322         need to dereference resplen2.
50324 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50326         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50328 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50330         * Makeconfig: Define vardbdir and inst_vardbdir.
50331         * nss/Makefile: Add rules to install db-Makefile.
50333         * nss/nss_db/db-XXX.c: Cleanup.
50335         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50336         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50337         GLIBC_PRIVATE.
50338         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50339         * nss/makedb.c: Implement -g option to specify that value strings
50340         are generated and should not be added to table iterated over for
50341         get*ent calls.
50342         * nss/nss_db/db-initgroups.c: New file.
50344         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50345         interface.
50347         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50348         (internal_getgrouplist): Adjust to name change.
50349         Update use_initgroups_entry if this is not the first call.
50350         * nss/databases.def: Add initgroups entry.
50352         * nss/makedb.c (compute_tables): Check result of multiple hash table
50353         sizes to minimize maximum chain length.
50355 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50357         * Versions.def: Add entry for libnss_db.
50358         * shlib-versions: Likewise.
50359         * nss/Makefile: Add rules to build libnss_db.
50360         * nss/Versions: Add libnss_db information.  Organize libnss_files
50361         entries better.
50362         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50363         makedb progra.  Some minor improvements to generate smaller files.
50364         * nss/nss_db/nss_db.h: Move NSS database header data structures to
50365         here from...
50366         * nss/makedb.c: ...here.
50367         Improve database format to be smaller and require less memory at
50368         runtime.
50369         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
50370         db anymore.
50371         * nss/nss_db/db-netgrp.c: Likewise.
50372         * nss/nss_db/db-open.c: Likewise.
50373         * nss/nss_files/flies-XXX.x: Adjust comments.
50374         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50375         * nss/nss_files/files-grp.c: Likewise.
50376         * nss/nss_files/files-hosts.c: Likewise.
50377         * nss/nss_files/files-network.c: Likewise.
50378         * nss/nss_files/files-proto.c: Likewise.
50379         * nss/nss_files/files-pwd.c: Likewise.
50380         * nss/nss_files/files-rpc.c: Likewise.
50381         * nss/nss_files/files-service.c: Likewise.
50382         * nss/nss_files/files-sgrp.c: Likewise.
50383         * nss/nss_files/files-spwd.c: Likewise.
50384         * nss/nss_db/db-alias.c: Removed.
50385         * nss/nss_db/dummy-db.h: Removed.
50387 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
50389         * nss/makedb.c: Rewritten to not use database library.
50390         * nss/Makefile: Update to build new makedb program.
50392 2011-06-14  Andreas Jaeger  <aj@suse.de>
50394         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50395         memset declaration.
50397 2011-06-10  Andreas Schwab  <schwab@redhat.com>
50399         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50400         tmpbuf.
50402 2011-06-10  Roland McGrath  <roland@hack.frob.com>
50404         * Makerules (shlib.lds): Fail if the linker script comes out empty.
50405         * elf/Makefile ($(objpfx)ld.so): Likewise.
50407         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50408         Don't list ld.so twice in dependencies.
50410         * posix/bug-regex31.c: Include <stdlib.h>.
50412         * nscd/hstcache.c (cache_addhst): Remove unused variable.
50414         * nis/nss_compat/compat-spwd.c
50415         (getspent_next_nss_netgr): Remove unused variable.
50416         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50418         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50419         nonmembers" output to use the right array.
50421         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50423         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50425         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50426         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50427         * catgets/gencat.c (read_input_file): Likewise.
50428         * locale/programs/locarchive.c (enlarge_archive): Likewise.
50430         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50431         variable definition inside #if's controlling its use.
50433         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50435         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50437         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50439         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50440         unreachable code.
50442         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50444         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50445         * configure: Regenerated.
50447         * Makerules: Revert last change.
50448         * elf/Makefile: Likewise.
50450 2011-06-09  Roland McGrath  <roland@hack.frob.com>
50452         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50453         * elf/Makefile ($(objpfx)librtld.os): Likewise.
50454         (reloc-link): Likewise.
50456 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
50458         * elf/Makefile: Add rules to build pldd.
50459         * elf/pldd.c: New file.
50460         * elf/pldd-xx.c: New file.
50462 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
50464         * version.h: Update for 2.15 development version.
50466 2011-06-07  David S. Miller  <davem@davemloft.net>
50468         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50469         ifuncs.
50470         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50471         elf_machine_lazy_rel): Likewise.
50472         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50473         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50474         elf_machine_lazy_rel): Likewise.
50475         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50476         dl_hwcap via passed in argument.
50477         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50478         Likewise.
50480 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50482         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
50484 2011-06-06  Roland McGrath  <roland@hack.frob.com>
50486         [BZ #12849]
50487         * manual/fdl-1.1.texi: New file, verbatim from:
50488         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50489         * manual/lgpl-2.1.texi: New file, verbatim from:
50490         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50491         * manual/Makefile (licenses): New variable, list those new file names.
50492         (texis): Use it.
50493         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50495         * manual/fdl.texi: File removed.
50496         * manual/lesser.texi: File removed.
50497         * manual/libc.texinfo (Copying, Documentation License):
50498         Use new @include file names, put @appendix directive before @include.
50500 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
50502         [BZ #12841]
50503         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50504         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50505         (mq_open): Add __NTH.
50507 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
50509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50510         Assume Intel Core i3/i5/i7 processor if AVX is available.
50512 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50514         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50515         typo.
50517 2011-05-31  Andreas Schwab  <schwab@redhat.com>
50519         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50520         memory.  Use alloca_account.  Fix memory leak when retrying.
50522 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50524         * version.h (RELEASE): Bump for 2.14 release.
50525         * include/features.h (__GLIBC_MINOR__): Bump to 14.
50527         * config.make.in (RANLIB): Remove entry.
50529 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
50531         * po/Makefile (po-sed-cmd): Add ksh to extensions.
50532         (libc.pot): Work around missing support for .ksh extension in xgettext.
50534         [BZ #12684]
50535         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50536         if both request failed.
50537         (send_dg): In case of server errors clear resplen or *resplen2.
50539         [BZ #12454]
50540         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50541         when there are multiple maps.
50542         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50543         (_dl_fini): Remove test here.
50545         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50547 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
50549         [BZ #12350]
50550         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50551         bit from old_res_options.
50552         (gaih_inet): Likewise.
50554         [BZ #11099]
50555         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50556         as signed.
50558         * resolv/res_init.c (res_setoptions): Make the code more compact.
50560         [BZ #11558]
50561         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50562         set RES_USEVC.
50564         [BZ #11634]
50565         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50567         * malloc/malloc.h: Mark malloc hook variables as deprecated.
50569         [BZ #11781]
50570         * malloc/malloc.h: Declare malloc hook variables as volatile.
50572         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50573         in last patch.
50575         [BZ #11799]
50576         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50577         raise in the comment.
50578         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50579         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50580         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50582 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
50584         [BZ #12811]
50585         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50586         grow the buffers more if it already has to be sufficient.
50587         (build_wcs_upper_buffer): Likewise.
50588         * posix/regexec.c (check_matching): Likewise.
50589         (clean_state_log_if_needed): Likewise.
50590         (extend_buffers): Don't enlarge buffers beyond size of the input
50591         buffer.
50592         Patches mostly by Emil Wojak <emil@wojak.eu>.
50593         * posix/bug-regex32.c: New file.
50594         * posix/Makefile (tests): Add bug-regex32.
50596         * locale/findlocale.c (_nl_find_locale): Return right away if
50597         _nl_explode_name failed.
50598         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50600         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50602         * debug/xtrace.sh: Unify messages.
50603         * malloc/memusage.sh: Likewise.
50605         [BZ #12813]
50606         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50607         time symbol from vDSO.  Substitute with vsyscall if not available.
50608         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50609         __vdso_time.
50611         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50612         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50613         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50614         Add sendmmsg and internal_sendmmsg.
50615         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50616         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50617         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50619         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50620         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50621         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50623 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
50625         [BZ #12813]
50626         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50627         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
50628         available.
50629         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50630         __vdso_getcpu.
50632         [BZ #12814]
50633         * iconvdata/Makefile (tests): Add bug-iconv9.
50634         * iconvdata/bug-iconv9.c: New file.
50636 2011-05-27  Andreas Schwab  <schwab@redhat.com>
50638         [BZ #12814]
50639         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50641 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
50643         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50644         (struct user_regs_struct): Change intcs field back to cs.
50646 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
50648         * po/ja.po: Update from translation team.
50650 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
50652         [BZ #12795]
50653         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50654         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50656 2011-05-20  Andreas Schwab  <schwab@redhat.com>
50658         * stdlib/longlong.h: Update from GCC.
50660 2011-05-23  Andreas Schwab  <schwab@redhat.com>
50662         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50663         parameter name.
50664         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50665         Add parameter name.
50666         (__sysconf): Pass it down.
50668 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50670         [BZ #12671]
50671         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50672         some situations.
50673         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50674         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50675         add in in __libc_use_alloca calls.  Adjust callers.
50676         (glob): Use malloc in some situations.
50678         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50679         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50680         pltexit.
50682 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50684         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50685         and CLOCK_BOOTTIME_ALARM.
50687         [BZ #12782]
50688         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50689         is returned.
50691         * string/_strerror.c (__strerror_r): Print negative errors as signed
50692         numbers.
50694         [BZ #12777]
50695         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50696         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50697         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50699         * configure.in: Fix typo in redirection and correct removal of test
50700         files in two cases.
50702         [BZ #12788]
50703         * locale/setlocale.c (new_composite_name): Fix test to check for
50704         identical name of all categories.
50706         [BZ #12792]
50707         * libio/filedoalloc.c (local_isatty): New function.
50708         (_IO_file_doallocate): Use local_isatty.
50709         * stdio-common/perror.c (perror): In case a new stream is used
50710         forward the stream error.
50711         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50712         error flag.
50714 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50716         [BZ #11869]
50717         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50718         alloca.
50719         * include/alloca.h (extend_alloca_account): Define.
50721         [BZ #11857]
50722         * posix/regex.h: Fix comments with documentation of user-accessible
50723         fields after compilation and describe correct free'ing of pattern
50724         after re_compile_pattern.
50725         Patch by Reuben Thomas <rrt@sc3d.org>.
50727 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50729         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50730         and -mno-altivec to prevent the compiler from using Altivec and/or
50731         VSX instructions when the corresponding registers are not available.
50733 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50735         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50737 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50739         * libio/freopen.c (freopen): Use __dup2, not dup2.
50740         * libio/freopen64.c (freopen64): Likewise.
50742 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50744         [BZ #12775]
50745         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50746         * math/Makefile (tests): Add test-powl.
50747         (CFLAGS-test-powl.c): Define.
50748         * math/test-powl.c: New file.
50750 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50752         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50754 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50756         [BZ #11837]
50757         * iconvdata/gb18030.c: Update to GB18020-2005.
50759 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50761         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50762         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50763         Patch by Aharon Robbins <arnold@skeeve.com>.
50765         [BZ #11892]
50766         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50767         on the stack.
50769         [BZ #11895]
50770         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50771         through underflows.
50773         [BZ #12766]
50774         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50775         point to strings before performing equality test for error_one_per_line
50776         mode.
50778         [BZ #11697]
50779         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50781         [BZ #11820]
50782         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50783         (struct user_fpregs_struct): Avoid __uint*_t types.
50785         [BZ #6420]
50786         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50787         symbol info.  Use it instead of calling _dl_addr locally.
50788         (lock_and_info): New function.
50789         (tr_freehook): Call lock_and_info and pass symbol info as additional
50790         parameter to tr_where.
50791         (tr_mallochook): Likewise.
50792         (tr_reallochook): Likewise.
50793         (tr_memalignhook): Likewise.
50795         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50796         used and couldn't be at all thread-safe.
50798 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50800         * libio/freopen.c (freopen): Don't close old file descriptor
50801         before the new one is opened.  Instead dup the new file descriptor
50802         to the old one after the new stream is created.
50803         * libio/freopen64.c (freopen64): Likewise.
50804         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50805         * libio/fileops.c (_IO_new_file_close_it): Handle new
50806         _IO_FLAGS2_NOCLOSE flag.
50807         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50808         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50809         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50810         _IO_FLAGS2_NOCLOSE flag.
50811         * include/unistd.h: Add hidden_proto for dup3.
50812         Define __have_dup3.
50813         * io/dup3.c: Define hidden symbol.
50814         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50816         [BZ #7101]
50817         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50818         when an incomplete long option is used.
50819         * posix/tst-getopt_long1.c: New file.
50820         * posix/Makefile (tests): Add tst-getopt_long1.
50822         [BZ #10138]
50823         * scripts/config.guess: Update from autoconf-2.68.
50824         * scripts/config.sub: Likewise.
50826         [BZ #10157]
50827         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50828         tests into ...
50829         (has_cpuclock): ...this.  New function.
50830         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50831         macro here based on has_cpuclock code.
50833         [BZ #10149]
50834         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50835         First byte (not low byte) is now always NUL.
50836         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50838         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50839         Use non-cancelable interfaces.
50841         [BZ #9809]
50842         * locale/iso-639.def: Add entry for Sorani.
50844         [BZ #11901]
50845         * include/stdlib.h: Move include protection to the right place.
50846         Define abort_msg_s.  Declare __abort_msg with it.
50847         * stdlib/abort.c (__abort_msg): Adjust type.
50848         * assert/assert.c (__assert_fail_base): New function.  Majority
50849         of code from __assert_fail.  Allocate memory for __abort_msg with
50850         mmap.
50851         (__assert_fail): Now call __assert_fail_base.
50852         * assert/assert-perr.c: Remove bulk of implementation.  Use
50853         __assert_fail_base.
50854         * include/assert.hL Declare __assert_fail_base.
50855         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50856         mmap.
50857         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50859 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50861         [BZ #11952]
50862         [BZ #12453]
50863         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50864         until all modules are registered in the DTV.
50865         * elf/Makefile: Add rules to build and run tst-tls19.
50866         * elf/tst-tls19.c: New file.
50867         * elf/tst-tls19mod1.c: New file.
50868         * elf/tst-tls19mod2.c: New file.
50869         * elf/tst-tls19mod3.c: New file.
50870         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50872         [BZ #12083]
50873         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50874         correctly.
50876         [BZ #12601]
50877         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50878         two-byte sequence errors.
50879         * iconvdata/Makefile (tests): Add bug-iconv8.
50880         * iconvdata/bug-iconv8.c: New file.
50882         [BZ #12626]
50883         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50884         buf2 definition.
50886         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50888         [BZ #12432]
50889         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50890         (dummy_getcfa): New function.
50891         (init): Get _Unwind_GetCFA address, use dummy if not found.
50892         (backtrace_helper): In recursion check, also check whether CFA changes.
50893         (__backtrace): Completely initialize arg.
50895         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50896         storing incomplete byte sequence in state object.  Avoid testing for
50897         guaranteed too small input if we know there is enough data available.
50899 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50901         * Makeconfig (+link-pie): Indent.
50902         * Rules (binaries-pie): Define if $(have-fpie) and
50903         $(build-shared).
50904         (binaries-shared): Also filter out $(binaries-pie).
50905         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50906         * nscd/Makefile (others-pie): Add nscd.
50907         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50908         ($(objpfx)nscd): Remove command override.
50909         * login/Makefile (others-pie): Add pt_chown.
50910         ($(objpfx)pt_chown): Remove command override.
50911         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50912         remove command overrides.
50914 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50916         * libio/tst_putwc.c: Fix error messages.
50918         [BZ #12724]
50919         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50920         currently writing and seek to current position when not.
50921         * libio/Makefile (tests): Add bug-fclose1.
50922         * libio/bug-fclose1.c: New file.
50924 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50926         [BZ #12511]
50927         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50928         don't set DF_1_NODELETE here.
50929         (do_lookup_x): When entering new entry test for copy relocation
50930         and if necessary set DF_1_NODELETE flag.
50931         * elf/tst-unique4.cc: New file.
50932         * elf/tst-unique4.h: New file.
50933         * elf/tst-unique4lib.cc: New file.
50934         * elf/Makefile: Add rules to build and run tst-unique4.
50935         Patch by Piotr Bury <pbury@goahead.com>.
50937 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50939         [BZ #12052]
50940         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50942         [BZ #12625]
50943         * misc/mntent_r.c (addmntent): Flush the stream after the output
50945         [BZ #12393]
50946         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50947         (is_trusted_path_normalize): Skip initial colon.  Append slash
50948         to empty buffer.  Duplicate is_trusted_path code but allow
50949         constructed patch to be prefix.
50950         (is_dst): Allow $ORIGIN followed by /.
50951         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50952         Correct testing of result of is_trusted_path_normalize
50953         (decompose_rpath): Fix warning.
50955 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50957         [BZ #11257]
50958         * grp/initgroups.c (internal_getgrouplist): When we found the service
50959         list through the initgroups entry in nsswitch.conf do not always
50960         continue on a successful lookup.  Don't always use the
50961         __nss_group_database value if it is set.
50962         * nss/nsswitch.conf (initgroups): Change action for successful db
50963         lookup to continue for compatibility.
50965 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50967         [BZ #11532]
50968         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50969         and CP774 modules.
50970         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50971         and CP774 modules.
50972         * iconvdata/tst-tables.sh: Likewise.
50973         * iconvdata/cp770.c: New file.
50974         * iconvdata/cp771.c: New file.
50975         * iconvdata/cp772.c: New file.
50976         * iconvdata/cp773.c: New file.
50977         * iconvdata/cp774.c: New file.
50978         * iconvdata/testdata/CP770: New file.
50979         * iconvdata/testdata/CP770..UTF8: New file.
50980         * iconvdata/testdata/CP771: New file.
50981         * iconvdata/testdata/CP771..UTF8: New file.
50982         * iconvdata/testdata/CP772: New file.
50983         * iconvdata/testdata/CP772..UTF8: New file.
50984         * iconvdata/testdata/CP773: New file.
50985         * iconvdata/testdata/CP773..UTF8: New file.
50986         * iconvdata/testdata/CP774: New file.
50987         * iconvdata/testdata/CP774..UTF8: New file.
50989         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
50990         END CHARMAP line.
50991         * iconvdata/gen-8bit-gap.sh: Likewise.
50992         * iconvdata/gen-8bit.sh: Likewise.
50994         * locale/iso-639.def: Add ary entry.
50996         [BZ #11258]
50997         * locale/C-translit.h.in: Add U20A1 transliteration.
50999         [BZ #12178]
51000         * locale/iso-639.def: Add wae entry.
51001         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51003         [BZ #12545]
51004         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51005         for n.
51007         [BZ #12711]
51008         * locale/C-translit.h.in: Add entry for U20B9.
51009         Patch by pravin.d.s@gmail.com.
51011 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51013         [BZ #12713]
51014         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51015         ENAMETOOLONG use generic getcwd.
51016         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51017         in rtld.  Use *stat64.
51018         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51019         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51020         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51021         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51022         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51023         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51024         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51025         __fstatat64 macros.
51026         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51027         * dirent/rewinddir.c: Add libc_hidden_def.
51028         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51029         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51031         * include/dirent.h (__alloc_dir): Add flags parameter.
51032         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51033         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51034         __alloc_dir.
51035         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51036         from fdopendir if O_CLOEXEC is already set.
51038 2011-03-15  Alan Modra  <amodra@gmail.com>
51040         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51041         l_tls_firstbyte_offset non-zero.  Save padding offset in
51042         l_tls_firstbyte_offset for later use.
51043         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51044         freeing static tls block.
51046 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51048         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51049         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51050         being defined by the kernel headers.
51052 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51054         [BZ #12734]
51055         * resolv/resolv.h: Define RES_NOTLDQUERY.
51056         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51057         no-tld-query and set RES_NOTLDQUERY.
51058         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51059         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51060         modern BIND to search name as TLD unless forbidden.
51062 2011-05-07  Petr Baudis  <pasky@suse.cz>
51063             Ulrich Drepper  <drepper@gmail.com>
51065         [BZ #12393]
51066         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51067         (is_trusted_path): ...to here.
51068         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51069         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51070         using is_trusted_path_normalize() in setuid scripts.
51072 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51074         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51075         __BEGIN/__END_DECLS.
51077 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51079         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51080         NSS_STATUS_NOTFOUND if no record was found.
51082 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51084         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51085         (headers-not-in-tirpc): Remove rpc/netdb.h
51086         * resolv/netdb.h: Revert last change.
51088 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51090         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51091         circular dependency between libgcc.a and libc.a.
51093 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51095         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51096         * nis/Makefile: Don't install rpcsvc/*.
51097         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51098         instead of <rpc/types.h>.
51099         (MAXHOSTNAMELEN): Define.
51101 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51103         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51105 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51107         [BZ #12714]
51108         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51109         gethostbyname4_r when IPv6 results are possible.
51111 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51113         [BZ #12723]
51114         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51115         _PC_PIPE_BUF handling.
51117 2011-04-30  Bruno Haible  <bruno@clisp.org>
51119         [BZ #12717]
51120         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51121         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51122         to 'int'.
51123         * inet/getnameinfo.c (getnameinfo): Likewise.
51125 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51127         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51128         to groups setting in database lookup.
51129         * nss/nsswitch.conf: Add initgroups entry.
51131 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51133         [BZ #12685]
51134         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51135         mode string.
51136         Patch by Eric Blake <eblake@redhat.com>.
51138 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51140         * sunrpc/Makefile (need-export-routines): Add svc_run.
51141         (routines): Remove svc_run.
51142         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51143         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51144         * sunrpc/svc_run.c (svc_run): Likewise.
51145         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51147 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51149         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51150         problem in reallocation in last patch.
51152 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51154         * sunrpc/Makefile: Move inclusion of Rules.
51156 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51158         * nss/nss_files/files-initgroups.c: New file.
51159         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51160         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51161         _nss_files_initgroups_dyn.
51163 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51165         * elf/elf.h (R_ARM_IRELATIVE): Define.
51167 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51169         * po/ru.po: Update from translation team.
51171 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51173         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51174         dependencies.
51176 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51178         [BZ #12653]
51179         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51180         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51181         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51182         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51183         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51185 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51187         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51188         differing bytes.
51189         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51190         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51191         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51193 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51195         [BZ #12420]
51196         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51197         storing it.
51198         * stdlib/bug-getcontext.c: New file.
51199         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51201 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51203         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51204         instructions into .machine "z9-109".
51205         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51206         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51208 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51210         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51211         between environment variables and auxiliary vector.
51213 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51215         * Makefile: Add rules to build linkobj/libc.so.
51216         * include/libc-symbols.h: Define libc_hidden_nolink.
51217         * include/rpc/auth.h: Mark functions which are to be hidden.
51218         * include/rpc/auth_des.h: Likewise.
51219         * include/rpc/auth_unix.h: Likewise.
51220         * include/rpc/clnt.h: Likewise.
51221         * include/rpc/des_crypt.h: Likewise.
51222         * include/rpc/key_prot.h: Likewise.
51223         * include/rpc/pmap_clnt.h: Likewise.
51224         * include/rpc/pmap_prot.h: Likewise.
51225         * include/rpc/pmap_rmt.h: Likewise.
51226         * include/rpc/rpc_msg.h: Likewise.
51227         * include/rpc/svc.h: Likewise.
51228         * include/rpc/svc_auth.h: Likewise.
51229         * include/rpc/xdr.h: Likewise.
51230         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51231         * nss/Makefile: Likewise.
51232         * sunrpc/Makefile: Don't install headers.  Build library with normal
51233         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51234         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51235         for the compat linking library.  Remove use of INTDEF/INTUSE.
51236         * sunrpc/auth_none.c: Likewise.
51237         * sunrpc/auth_unix.c: Likewise.
51238         * sunrpc/authdes_prot.c: Likewise.
51239         * sunrpc/authuxprot.c: Likewise.
51240         * sunrpc/clnt_gen.c: Likewise.
51241         * sunrpc/clnt_perr.c: Likewise.
51242         * sunrpc/clnt_raw.c: Likewise.
51243         * sunrpc/clnt_simp.c: Likewise.
51244         * sunrpc/clnt_tcp.c: Likewise.
51245         * sunrpc/clnt_udp.c: Likewise.
51246         * sunrpc/clnt_unix.c: Likewise.
51247         * sunrpc/des_crypt.c: Likewise.
51248         * sunrpc/des_soft.c: Likewise.
51249         * sunrpc/get_myaddr.c: Likewise.
51250         * sunrpc/key_call.c: Likewise.
51251         * sunrpc/key_prot.c: Likewise.
51252         * sunrpc/netname.c: Likewise.
51253         * sunrpc/pm_getmaps.c: Likewise.
51254         * sunrpc/pm_getport.c: Likewise.
51255         * sunrpc/pmap_clnt.c: Likewise.
51256         * sunrpc/pmap_prot.c: Likewise.
51257         * sunrpc/pmap_prot2.c: Likewise.
51258         * sunrpc/pmap_rmt.c: Likewise.
51259         * sunrpc/publickey.c: Likewise.
51260         * sunrpc/rpc_cmsg.c: Likewise.
51261         * sunrpc/rpc_common.c: Likewise.
51262         * sunrpc/rpc_dtable.c: Likewise.
51263         * sunrpc/rpc_prot.c: Likewise.
51264         * sunrpc/rpc_thread.c: Likewise.
51265         * sunrpc/rtime.c: Likewise.
51266         * sunrpc/svc.c: Likewise.
51267         * sunrpc/svc_auth.c: Likewise.
51268         * sunrpc/svc_authux.c: Likewise.
51269         * sunrpc/svc_raw.c: Likewise.
51270         * sunrpc/svc_run.c: Likewise.
51271         * sunrpc/svc_simple.c: Likewise.
51272         * sunrpc/svc_tcp.c: Likewise.
51273         * sunrpc/svc_udp.c: Likewise.
51274         * sunrpc/svc_unix.c: Likewise.
51275         * sunrpc/svcauth_des.c: Likewise.
51276         * sunrpc/xcrypt.c: Likewise.
51277         * sunrpc/xdr.c: Likewise.
51278         * sunrpc/xdr_array.c: Likewise.
51279         * sunrpc/xdr_float.c: Likewise.
51280         * sunrpc/xdr_intXX_t.c: Likewise.
51281         * sunrpc/xdr_mem.c: Likewise.
51282         * sunrpc/xdr_rec.c: Likewise.
51283         * sunrpc/xdr_ref.c: Likewise.
51284         * sunrpc/xdr_sizeof.c: Likewise.
51285         * sunrpc/xdr_stdio.c: Likewise.
51287 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51289         [BZ #12650]
51290         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51291         * sysdeps/ia64/dl-tls.h: Likewise.
51292         * sysdeps/powerpc/dl-tls.h: Likewise.
51293         * sysdeps/s390/dl-tls.h: Likewise.
51294         * sysdeps/sh/dl-tls.h: Likewise.
51295         * sysdeps/sparc/dl-tls.h: Likewise.
51296         * sysdeps/x86_64/dl-tls.h: Likewise.
51297         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51299 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51301         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51302         rpath element also skip the following colon.
51303         (expand_dynamic_string_token): Add is_path parameter and pass
51304         down to DL_DST_REQUIRED and _dl_dst_substitute.
51305         (decompose_rpath): Call expand_dynamic_string_token with
51306         non-zero is_path.  Ignore empty rpaths.
51307         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51308         with zero is_path.
51310 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51313         Make cancelable.
51315 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51317         [BZ #12655]
51318         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51319         Patch by Filipe David Manana <fdmanana@apache.org>.
51321 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51323         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51324         Maintain aligned stack.
51325         (CHECK_RSP): Remove unused macro.
51327 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51329         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51330         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51332 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51334         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51336         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51338 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51340         [BZ #12518]
51341         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51342         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51343         * sysdeps/x86_64/memmove.c: New file.
51344         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51345         (memcpy): Renamed to ...
51346         (__new_memcpy): This.
51347         (memcpy): Provide GLIBC_2_14 memcpy.
51348         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51349         (memcpy): Provide GLIBC_2_2_5 memcpy.
51351 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51353         [BZ #12631]
51354         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51356 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51358         * misc/syncfs.c: New file.
51359         * misc/Makefile (routines): Add syncfs.
51360         * posix/unistd.h: Declare syncfs.
51361         * sysdeps/unix/syscalls.list: Add syncfs.
51363 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51365         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51366         open_by_handle_at.
51367         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51368         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51369         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51370         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51371         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51372         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51373         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51375 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51378         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51379         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51380         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51381         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51382         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51383         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51385         * io/Makefile: Compile fallocate.c, fallocate64.c, and
51386         sync_file_range.c with -fexceptions.
51387         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51388         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51389         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51390         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51391         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51392         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51393         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51394         sync_file_range as cancellation point
51395         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
51396         now a wrapper around __call_sync_file_range with cancellation handling.
51397         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51398         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
51399         function name to __call_sync_file_range.
51400         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51401         Add call_sync_file_range.
51403 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51406         bits/timex.h.
51408 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51410         * iconv/iconv.h: Fix typo in comment.
51411         * io/fcntl.h: Likewise.
51412         * libio/stdio.h: Likewise.
51413         * posix/spawn.h: Likewise.
51414         * posix/unistd.h: Likewise.
51415         * stdlib/stdlib.h: Likewise.
51416         * time/time.h: Likewise.
51417         * wcsmbs/wchar.h: Likewise.
51419         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51420         open_by_handle): Add.
51421         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51422         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
51423         Augment a few comments.
51424         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51425         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51426         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51427         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51428         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51429         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51430         open_by_handle.
51432         * io/fcntl.h (AT_EMPTY_PATH): Define.
51434 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
51436         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51437         * sysdeps/unix/sysv/linux/bits/time.h: New file.
51438         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51439         to...
51440         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
51441         * Versions.def: Add GLIBC_2.14.
51442         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51443         Export.
51445 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
51447         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51448         round counter.
51449         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51451 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51453         [BZ #12597]
51454         * string/test-strncmp.c (do_page_test): New function.
51455         (check2): Likewise.
51456         (test_main): Call check2.
51457         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51459 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
51461         [BZ #12587]
51462         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51463         Handle cache information in CPU leaf 4.
51464         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51466 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
51468         [BZ #12583]
51469         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51470         character representation.
51471         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51473 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
51475         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51476         END(__isnan) to END(__isnanf) to match function entry point/label
51477         EALIGN(__isnanf,...).
51479 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
51481         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51483 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
51485         [BZ #12510]
51486         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51487         copy from the symbol referenced in the relocation to initialize the
51488         used variable.
51489         Patch by Piotr Bury <pbury@goahead.com>.
51490         * elf/Makefile: Add rules to build and tst-unique3.
51491         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51492         * elf/tst-unique3.cc: New file.
51493         * elf/tst-unique3.h: New file.
51494         * elf/tst-unique3lib.cc: New file.
51495         * elf/tst-unique3lib2.cc: New file.
51497         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51499 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
51501         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51502         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
51503         to _start.
51505 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
51507         * elf/dl-load.c (_dl_map_object): If we are looking for the first
51508         to-be-loaded object along a path to loader is ld.so.
51510 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51511             Ulrich Drepper  <drepper@gmail.com>
51513         * sysdeps/x86_64/memset.S: After aligning destination, code
51514         branches to different locations depending on the value of
51515         misalignment, when multiarch is enabled. Fix this.
51517 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51519         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51520         Set _x86_64_preferred_memory_instruction for AMD processsors.
51521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51522         Set bit_Prefer_SSE_for_memop for AMD processors.
51524 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
51526         * libio/fmemopen.c (fmemopen): Optimize a bit.
51528 2011-03-03  Andreas Schwab  <schwab@redhat.com>
51530         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51532 2011-03-03  Roland McGrath  <roland@redhat.com>
51534         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51536 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
51538         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51539         __bzero_ultra1 instead of __memset_ultra1.
51541 2011-02-23  Andreas Schwab  <schwab@redhat.com>
51542             Ulrich Drepper  <drepper@gmail.com>
51544         [BZ #12509]
51545         * include/link.h (struct link_map): Add l_orig_initfini.
51546         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51547         returning unsuccessfully.
51548         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51549         close of a file loaded at startup, restore the original l_initfini
51550         list.
51551         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51552         list, store the pointer.
51553         * elf/Makefile ($(objpfx)noload-mem): New rule.
51554         (noload-ENV): Define.
51555         (tests): Add $(objpfx)noload-mem.
51556         * elf/noload.c: Include <memcheck.h>.
51557         (main): Call mtrace.  Close all opened handles.
51559 2011-02-17  Andreas Schwab  <schwab@redhat.com>
51561         [BZ #12454]
51562         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51563         dependencies are missing.
51565 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51567         Fix __if_freereq crash: Unlike the generic version which uses free,
51568         Hurd needs munmap.
51569         * sysdeps/mach/hurd/ifreq.h: New file.
51571 2011-01-27  Petr Baudis  <pasky@suse.cz>
51572             Ulrich Drepper  <drepper@gmail.com>
51574         [BZ 12445]#
51575         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51576         to extend_alloca().
51577         * stdio-common/bug23.c: New file.
51578         * stdio-common/Makefile (tests): Add bug23.
51580 2010-09-28  Andreas Schwab  <schwab@redhat.com>
51581             Ulrich Drepper  <drepper@gmail.com>
51583         [BZ #12489]
51584         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51585         before performing relro protection.  At old place add assertion
51586         to make sure nothing changed.
51588 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
51589             Glauber de Oliveira Costa  <glommer@gmail.com>
51591         * elf/elf.h: Add new ARM TLS relocs.
51593 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
51595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51596         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51597         cast from r3.
51598         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
51599         'tests' variable.
51600         * sysdeps/wordsize-64/tst-writev.c: New file.
51602 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
51604         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51605         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51606         insns in _dl_start to prevent a TOC reference before relocs are
51607         resolved.
51609 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
51611         [BZ #12469]
51612         * Makeconfig: Remove RANLIB definition.
51613         * Makerules: Don't use RANLIB.
51614         * aclocal.m4: Remove ranlib test.
51615         * configure.in: No need to check for ranlib.
51616         * elf/rtld-Rules: Don't use RANLIB.
51618 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51620         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51621         protection macro.
51622         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51623         inclusion protection macro.
51625         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51626         SIGRTMIN and SIGRTMAX and print information in that case only when
51627         SIGRTMIN is defined.
51629 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
51631         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51632         arginfo fn returning -1.
51634         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51635         and thousands string is zero terminated.
51637 2011-02-03  Andreas Schwab  <schwab@redhat.com>
51639         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51640         sysdeps/unix/sysv/linux/bits/socket.h.
51642 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51644         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51645         (__CPU_COUNT): Remove old macros.
51646         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51647         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51648         (__CPU_ALLOC, __CPU_FREE): Add macros.
51649         (__sched_cpualloc, __sched_cpufree): Add declarations.
51651 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
51653         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51654         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51655         * nscd/aicache.c (addhstaiX): Return timeout of added value.
51656         (readdhstai): Return value of addhstaiX call.
51657         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51658         (addgrbyX): Return value returned by cache_addgr.
51659         (readdgrbyname): Return value returned by addgrbyX.
51660         (readdgrbygid): Likewise.
51661         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51662         (addpwbyX): Return value returned by cache_addpw.
51663         (readdpwbyname): Return value returned by addhstbyX.
51664         (readdpwbyuid): Likewise.
51665         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51666         (addservbyX): Return value returned by cache_addserv.
51667         (readdservbyname): Return value returned by addservbyX:
51668         (readdservbyport): Likewise.
51669         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51670         (addhstbyX): Return value returned by cache_addhst.
51671         (readdhstbyname): Return value returned by addhstbyX.
51672         (readdhstbyaddr): Likewise.
51673         (readdhstbynamev6): Likewise.
51674         (readdhstbyaddrv6): Likewise.
51675         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51676         (readdinitgroups): Return value returned by addinitgroupsX.
51677         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51678         (prune_cache): Keep track of timeout value of re-added entries.
51679         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51680         * nscd/nscd.h: Adjust prototypes of readd* functions.
51682 2011-02-04  Roland McGrath  <roland@redhat.com>
51684         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51685         (nis_stats): Likewise.
51686         * nis/nis_modify.c (nis_modify): Likewise.
51687         * nis/nis_remove.c (nis_remove): Likewise.
51688         * nis/nis_add.c (nis_add): Likewise.
51690         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51692         * posix/fnmatch_loop.c: Add some consts.
51694         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51696 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51698         [BZ #12460]
51699         * config.make.in (config-cflags-novzeroupper): Define.
51700         * configure.in: Substitute libc_cv_cc_novzeroupper.
51701         * elf/Makefile (AVX-CFLAGS): Define.
51702         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51703         (CFLAGS-tst-auditmod4a.c): Likewise.
51704         (CFLAGS-tst-auditmod4b.c): Likewise.
51705         (CFLAGS-tst-auditmod6b.c): Likewise.
51706         (CFLAGS-tst-auditmod6c.c): Likewise.
51707         (CFLAGS-tst-auditmod7b.c): Likewise.
51708         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51710 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51712         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51713         function to the callback.
51714         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51716 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51718         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51719         of errno.
51721 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51723         [BZ #11724]
51724         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51725         of constructors.
51726         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51727         of destructors.
51728         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51730         [BZ #11724]
51731         * elf/Makefile: Add rules to build and run new test.
51732         * elf/tst-initorder.c: New file.
51733         * elf/tst-initorder.exp: New file.
51734         * elf/tst-initordera1.c: New file.
51735         * elf/tst-initordera2.c: New file.
51736         * elf/tst-initordera3.c: New file.
51737         * elf/tst-initordera4.c: New file.
51738         * elf/tst-initorderb1.c: New file.
51739         * elf/tst-initorderb2.c: New file.
51740         * elf/tst-order-a1.c: New file.
51741         * elf/tst-order-a2.c: New file.
51742         * elf/tst-order-a3.c: New file.
51743         * elf/tst-order-a4.c: New file.
51744         * elf/tst-order-b1.c: New file.
51745         * elf/tst-order-b2.c: New file.
51746         * elf/tst-order-main.c: New file.
51747         New test case by George Gensure <werkt0@gmail.com>.
51749 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51752         decoding ACE if AI_CANONIDN.
51754 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51756         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51758 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51760         * version.h (RELEASE): Bump for 2.13 release.
51761         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51763         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51765         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51766         MADV_NOHUGEPAGE.
51767         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51768         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51769         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51770         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51771         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51772         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51774         * posix/getconf.c: Update copyright year.
51775         * catgets/gencat.c: Likewise.
51776         * csu/version.c: Likewise.
51777         * debug/catchsegv.sh: Likewise.
51778         * debug/xtrace.sh: Likewise.
51779         * elf/ldconfig.c: Likewise.
51780         * elf/ldd.bash.in: Likewise.
51781         * elf/sprof.c (print_version): Likewise.
51782         * iconv/iconv_prog.c: Likewise.
51783         * iconv/iconvconfig.c: Likewise.
51784         * locale/programs/locale.c: Likewise.
51785         * locale/programs/localedef.c: Likewise.
51786         * malloc/memusage.sh: Likewise.
51787         * malloc/mtrace.pl: Likewise.
51788         * nscd/nscd.c (print_version): Likewise.
51789         * nss/getent.c: Likewise.
51791         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51792         PF_CAIF, and PF_ALG.
51793         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51795 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51797         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51798         (modules-names): Use them.
51799         (ifunc-test-modules, ifunc-pie-tests): Define.
51800         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51801         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51802         (test-extras): Likewise.
51803         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51804         $(compile-command.c).
51805         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51806         (all-built-dso): Define.
51807         (check-textrel.out, check-execstack.out): Depend on it.
51809         * configure.in: Don't override --enable-multi-arch.
51811 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51813         [BZ #6812]
51814         * nscd/hstcache.c (tryagain): Define.
51815         (cache_addhst): Return tryagain not notfound for temporary errors.
51816         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51817         failed.
51819 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51821         [BZ #10563]
51822         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51823         to make the syscall.
51824         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51826         [BZ #12378]
51827         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51828         and fall back to matching as normal character if the string ends before
51829         the matching ']' is found.  This is what POSIX requires.
51830         * posix/testfnm.c: Adjust test result.
51831         * posix/globtest.sh: Adjust test result.  Add new test.
51832         * posix/tst-fnmatch.input: Likewise.
51833         * posix/tst-fnmatch2.c: Add new test.
51835 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51837         * elf/Makefile (check-execstack): Revert last change.  Depend on
51838         check-execstack.h.
51839         (check-execstack.h): New target.
51840         (generated): Add check-execstack.h.
51841         * elf/check-execstack.c: Include "check-execstack.h".
51842         (main): Revert last change.
51843         (handle_file): Return zero if GNU_STACK is absent and
51844         DEFAULT_STACK_PERMS doesn't include PF_X.
51846 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51848         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51849         in child fails because the descriptor is already closed.
51850         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51851         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51852         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51854         [BZ #12397]
51855         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51856         syscall.
51858         [BZ #10484]
51859         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51860         temporary buffer used to handle multi lookups locally.
51861         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51863 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51865         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51866         loader is ld.so.
51868 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51870         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51871         alignment for SSE2.
51873 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51875         [BZ #12394]
51876         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51877         characters.  When rounding increased number of integer digits recompute
51878         number of groups.
51879         * stdio-common/tst-grouping.c: New file.
51880         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51882 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51884         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51885         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51887         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51888         void.
51889         * bits/select.h: Likewise.
51891 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51893         * po/ja.po: Update from translation team.
51895 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51897         [BZ #11155]
51898         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51899         implementation just like for lxstat, fxstatat, et al.
51901 2010-12-27  Jim Meyering  <meyering@redhat.com>
51903         [BZ #12348]
51904         * posix/regexec.c (build_trtable): Return failure indication upon
51905         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51907 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51909         [BZ #12201]
51910         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51911         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51912         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51913         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51915         [BZ #12207]
51916         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51918         [BZ #12204]
51919         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51920         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51922 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51924         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51925         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51926         script has SORT_BY_INIT_PRIORITY.
51927         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51928         NO_CTORS_DTORS_SECTIONS is defined.
51929         * elf/soinit.c: Likewise.
51930         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51931         NO_CTORS_DTORS_SECTIONS is defined.
51932         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51933         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51934         * sysdeps/sh/init-first.c: Likewise.
51935         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51937 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51939         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51940         always use the slow path.
51942 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51944         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51945         similar rule which adds the sysdep directories to the header search in
51946         order to pick up the correct platform stackinfo.h.
51947         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51948         perform test if it is, otherwise return successfully without testing.
51949         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51950         DEFAULT_STACK_PERMS define in stackinfo.h.
51951         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51952         defined in stackinfo.h.
51953         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51954         DEFAULT_STACK_PERMS defined in stackinfo.h.
51955         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51956         * sysdeps/ia64/stackinfo.h: Likewise.
51957         * sysdeps/s390/stackinfo.h: Likewise.
51958         * sysdeps/sh/stackinfo.h: Likewise.
51959         * sysdeps/sparc/stackinfo.h: Likewise.
51960         * sysdeps/x86_64/stackinfo.h: Likewise.
51961         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51962         PF_X for powerpc64.  Retain PF_X for powerpc32.
51964 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51966         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51967         accurately.
51968         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51969         GETDENTS_64BIT_ALIGNED.
51971 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51973         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51975 2010-12-10  Andreas Schwab  <schwab@redhat.com>
51977         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
51978         _GNU_SOURCE.
51980         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
51981         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
51982         Remove __restrict.
51983         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
51984         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
51986 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
51988         [BZ #11655]
51989         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
51990         are initialized.
51992 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
51994         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
51996 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
51998         * po/it.po: Update from translation team.
52000 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52002         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52003         unused codes.
52005 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52007         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52009 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52011         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52012         specially.
52013         (gaih_getanswer_slice): Likewise.
52015 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52017         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52019 2010-05-31  Petr Baudis  <pasky@suse.cz>
52021         [BZ #11149]
52022         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52023         silently even in the chroot mode.
52025 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52027         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52028         last patch a bit.  Pretty printing
52030 2010-05-31  Petr Baudis <pasky@suse.cz>
52032         [BZ #10085]
52033         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52034         initialization of skip_initgroups_dyn.
52036 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52038         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52039         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52041 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52043         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52045 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52047         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52048         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52049         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52050         ($(objpfx)tst-fnmatch-mem): New rule.
52051         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52052         * posix/tst-fnmatch.c (main): Call mtrace.
52054 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52056         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52057         Support Intel processor model 6 and model 0x2c.
52059 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52061         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52062           signed comparison.
52064 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52066         [BZ #12205]
52067         * string/test-strncasecmp.c (check_result): New function.
52068         (do_one_test): Use it.
52069         (check1): New function.
52070         (test_main): Use it.
52071         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52072         Support strcasecmp and strncasecmp.
52074 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52076         [BZ #12194]
52077         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52078         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52080 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52082         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52083         IFUNC support.
52084         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52085         memset-x86-64.
52086         * sysdeps/x86_64/multiarch/bzero.S: New file.
52087         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52088         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52089         * sysdeps/x86_64/multiarch/memset.S: New file.
52090         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52092         Set bit_Prefer_SSE_for_memop for Intel processors.
52093         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52094         Define.
52095         (index_Prefer_SSE_for_memop): Define.
52096         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52098 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52100         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52101         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52103 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52105         [BZ #12191]
52106         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52107         (__x86_64_raw_data_cache_size_half): Likewise.
52108         (__x86_64_raw_shared_cache_size): Likewise.
52109         (__x86_64_raw_shared_cache_size_half): Likewise.
52111         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52112         (__x86_64_raw_data_cache_size_half): Likewise.
52113         (__x86_64_raw_shared_cache_size): Likewise.
52114         (__x86_64_raw_shared_cache_size_half): Likewise.
52115         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52116         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52117         and __x86_64_raw_shared_cache_size_half.  Round
52118         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52119         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52120         to multiple of 256 bytes.
52122 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52124         [BZ #12167]
52125         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52126         of inacessible symlinks.  Verify result of symlink before returning it.
52127         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52128         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52130 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52132         * math/math.h (isinf): Fix typo in comment.
52134 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52136         * po/da.po: Update from translation team.
52138 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52140         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52141         is added to the list.
52143 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52144             Ulrich Drepper  <drepper@gmail.com>
52146         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52147         the global list here.  Move code to...
52148         (_dl_add_to_namespace_list): ...here.  New function.
52149         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52150         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52151         * elf/dl-load.c (lose): Don't remove the element from the list.
52152         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52153         (_dl_map_object): Likewise.
52155 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52157         [BZ #12159]
52158         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52159         into all bytes of SSE register.
52160         Patch by Richard Li <richardpku@gmail.com>.
52162 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52164         [BZ #12140]
52165         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52166         perturbing.
52168 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52170         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52171         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52172         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52173         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52175         submachine.
52176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52178 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52180         * include/dlfcn.h (__RTLD_SECURE): Define.
52181         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52182         mode & __RTLD_SECURE instead.
52183         (open_path): Rename preloaded parameter to secure.
52184         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52185         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52186         * elf/dl-deps.c (openaux): Likewise.
52187         * elf/rtld.c (struct map_args): Remove is_preloaded.
52188         (map_doit): Don't use it.
52189         (dl_main): Likewise.
52190         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52191         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52193 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52195         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52196         (sysd-rules-targets): Remove duplicates.
52197         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52198         rtld-%.$o dependency.
52200 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52202         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52203         _dl_map_object do it.
52205 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52207         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52208         fast fma builtins, define the macros in the C99 standard.
52209         (FP_FAST_FMAF): Likewise.
52210         (FP_FAST_FMAL): Likewise.
52211         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52213         * bits/mathdef.h: Update copyright year.
52214         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52216 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52218         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52219         builtins, define the macros in the C99 standard.
52220         (FP_FAST_FMAF): Likewise.
52221         (FP_FAST_FMAL): Likewise.
52222         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52223         multiply/add.
52224         (FP_FAST_FMAF): Likewise.
52226 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52228         [BZ #3268]
52229         * math/libm-test.inc (fma_test): Some new testcases.
52230         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52231         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52232         y and infinite z.  Do multiplication by C already in long double.
52233         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52235         y and infinite z.  Do bitwise or of inexact bit into u.d.
52236         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52237         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52238         * sysdeps/i386/fpu/s_fma.S: Removed.
52239         * sysdeps/i386/fpu/s_fmal.S: Removed.
52241 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52243         [BZ #3268]
52244         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52245         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52246         computation is not scheduled after fetestexcept.  Fix value
52247         of minimum denormal long double.
52249 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52251         [BZ #3268]
52252         * math/libm-test.inc (fma_test): Add some more tests.
52253         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52254         correctly.
52256 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52258         * scripts/data/localplt-s390-linux-gnu.data: New file.
52259         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52261 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52263         [BZ #3268]
52264         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52265         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52266         instead of dbl-64.
52267         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52268         inlines.
52269         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52270         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52271         if one of x and y is very large and the other is subnormal.
52272         * sysdeps/s390/fpu/s_fmaf.c: New file.
52273         * sysdeps/s390/fpu/s_fma.c: New file.
52274         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52275         * sysdeps/powerpc/fpu/s_fma.S: New file.
52276         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52277         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52278         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52280 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52282         [BZ #3268]
52283         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52284         fma tests.
52285         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52286         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52287         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52288         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52289         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52290         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52291         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52293 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52295         [BZ #12078]
52296         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52297         * posix/bug-regex31.input: Add test case.
52299 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52301         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52302         * posix/bug-regex31.input: New file.
52304         [BZ #12078]
52305         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52306         (parse_sub_exp): Fix last change, use postorder.
52308         * posix/bug-regex31.c: New file.
52309         * posix/Makefile: Add rules to build and run bug-regex31.
52311         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52313         [BZ #12078]
52314         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52316         [BZ #12108]
52317         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52318         to have entries in sys_siglist.
52320         [BZ #12093]
52321         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52322         be NULL.
52324 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52326         [BZ #3268]
52327         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52328         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52329         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52330         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52331         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52332         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52333         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52334         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52335         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52336         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52337         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52338         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52339         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52340         * math/ftestexcept.c (fetestexcept): Likewise.
52341         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52342         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52343         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52344         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52345         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52346         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52347         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52349 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52351         [BZ #12107]
52352         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52353         newline.
52355 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52357         * string/bug-strstr1.c: New file.
52358         * string/Makefile: Add rules to build and run bug-strstr1.
52360 2010-10-05  Eric Blake  <eblake@redhat.com>
52362         [BZ #12092]
52363         * string/str-two-way.h (two_way_long_needle): Always clear memory
52364         when skipping input due to the shift table.
52366 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
52368         [BZ #12005]
52369         * malloc/mcheck.c: Handle large requests.
52371         [BZ #12077]
52372         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52373         for strncmp and strncasecmp.
52374         * string/stratcliff.c: Add tests for strcmp and strncmp.
52375         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52377 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52379         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52380         __set_fpscr.
52382 2010-09-30  Andreas Jaeger  <aj@suse.de>
52384         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52385         (CGROUP_SUPER_MAGIC): Define.
52386         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52387         Handle btrfs and cgroup file systems.
52388         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52389         Likewise.
52391 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
52393         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52394         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52396 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52398         [BZ #12067]
52399         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52400         trying to locate the ELF header.
52402 2010-09-27  Andreas Schwab  <schwab@redhat.com>
52404         [BZ #11611]
52405         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52406         Mask out sign-bit copies when constructing f_fsid.
52408 2010-09-24  Petr Baudis <pasky@suse.cz>
52410         * debug/stack_chk_fail_local.c: Add missing licence exception.
52411         * debug/warning-nop.c: Likewise.
52413 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
52415         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52416         implementing getdents64 using getdents syscall, set d_type if
52417         __ASSUME_GETDENTS32_D_TYPE.
52419 2010-09-16  Andreas Schwab  <schwab@redhat.com>
52421         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52422         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52424 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
52426         [BZ #12037]
52427         * posix/unistd.h: Undo change of feature selection for ftruncate from
52428         2010-01-11.
52430 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
52432         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52433         detection.
52435 2010-09-20  Andreas Schwab  <schwab@redhat.com>
52437         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52438         fanotify_mark.
52439         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52441 2010-09-14  Andreas Schwab  <schwab@redhat.com>
52443         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52444         variables after CHECK_SP call.
52445         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52447 2010-09-13  Andreas Schwab  <schwab@redhat.com>
52448             Ulrich Drepper  <drepper@redhat.com>
52450         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52451         re-relocationg ld.so.
52452         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52453         _dl_init_paths call.
52454         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
52455         here anymore.
52457 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
52459         * resolv/res_init.c (__res_vinit): Count the default server we added.
52461 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
52462             Ulrich Drepper  <drepper@redhat.com>
52464         [BZ #11968]
52465         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52466         (____longjmp_chk): Use %ebx for saving value across system call.
52467         Add unwind info.
52469 2010-09-06  Andreas Schwab  <schwab@redhat.com>
52471         * manual/Makefile: Don't mix pattern rules with normal rules.
52473 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52475         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52476         operation.
52477         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52478         * libio/iofopncook.c (_IO_cookie_init): Likewise.
52479         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52480         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52481         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52482         Likewise.
52484 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
52486         [BZ #11979]
52487         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52488         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52490 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
52492         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52493         * sysdeps/x86_64/addmul_1.S: Likewise.
52494         * sysdeps/x86_64/lshift.S: Likewise.
52495         * sysdeps/x86_64/mul_1.S: Likewise.
52496         * sysdeps/x86_64/rshift.S: Likewise.
52497         * sysdeps/x86_64/sub_n.S: Likewise.
52498         * sysdeps/x86_64/submul_1.S: Likewise.
52500 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52502         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52503         Define __sched_param instead of SCHED_* and sched_param when
52504         <bits/sched.h> is included with __need_schedparam defined.
52505         * bits/sched.h [__need_schedparam]
52506         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52507         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52508         (__defined_schedparam): Define to 1.
52509         (__sched_param): New structure, identical to sched_param.
52510         (__need_schedparam): Undefine.
52512 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
52514         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52515         (epoll_create1): Declare.
52517         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52519 2010-08-31  Andreas Schwab  <schwab@redhat.com>
52521         [BZ #7066]
52522         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52523         shifting retval into place.
52525 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
52527         * nis/rpcsvc/nis.h: Update copyright notice.
52528         * nis/rpcsvc/nis.x: Likewise.
52529         * nis/rpcsvc/nis_callback.h: Likewise.
52530         * nis/rpcsvc/nis_callback.x: Likewise.
52531         * nis/rpcsvc/nis_object.x: Likewise.
52532         * nis/rpcsvc/nis_tags.h: Likewise.
52533         * nis/rpcsvc/yp.h: Likewise.
52534         * nis/rpcsvc/yp.x: Likewise.
52535         * nis/rpcsvc/ypupd.h: Likewise.
52536         * nis/yp_xdr.c: Likewise.
52537         * nis/ypupdate_xdr.c: Likewise.
52539         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
52540         mainly the body of pmap_getport.  Add parameters to specify timeouts.
52541         (pmap_getport): Use __libc_rpc_getport.
52542         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52543         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52544         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52546 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
52548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52549         fanotify_mark.
52551 2010-08-27  Roland McGrath  <roland@redhat.com>
52553         * sysdeps/i386/i686/multiarch/Makefile
52554         (CFLAGS-varshift.c): New variable.
52556 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
52558         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52559         * sysdeps/i386/i686/multiarch/varshift.c: New file.
52561         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52563         * sysdeps/x86_64/strlen.S: Minimal code improvement.
52565 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
52567         * sysdeps/x86_64/strlen.S: Unroll the loop.
52568         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52569         strlen-sse2 strlen-sse2-bsf.
52570         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52571         __strlen_no_bsf if bit_Slow_BSF is set.
52572         (__strlen_sse42): Removed.
52573         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52574         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52576 2010-08-25  Roland McGrath  <roland@redhat.com>
52578         * sysdeps/x86_64/multiarch/varshift.S: File removed.
52579         * sysdeps/x86_64/multiarch/varshift.c: New file.
52580         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52581         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52582         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52583         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52585 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
52587         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52588         strlen-sse2 strlen-sse2-bsf.
52589         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52590         __strlen_sse2_bsf if bit_Slow_BSF is unset.
52591         (__strlen_sse2): Removed.
52592         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52593         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52594         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52595         bit_Slow_BSF for Atom.
52596         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52597         (index_Slow_BSF): Define.
52598         (HAS_SLOW_BSF): Define.
52600 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
52602         [BZ #10851]
52603         * resolv/res_init.c (__res_vinit): When no server address at all
52604         is given default to loopback.
52606 2010-08-24  Roland McGrath  <roland@redhat.com>
52608         * configure.in: Remove config-name.h generation.
52609         * configure: Regenerated.
52610         * config-name.in: File removed.
52611         * scripts/config-uname.sh: New file.
52612         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52613         ($(objdir)config-name.h): New target.
52615         * sunrpc/rpc_parse.h: Avoid nested comment.
52617 2010-08-24  Richard Henderson  <rth@redhat.com>
52618             Ulrich Drepper  <drepper@redhat.com>
52619             H.J. Lu  <hongjiu.lu@intel.com>
52621         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52622         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52623         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52624         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
52625         _mm_alignr_epi8 with _mm_loadu_si128.
52626         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52627         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52628         (__m128i_shift_right): Removed.
52629         * sysdeps/i386/i686/multiarch/varshift.h: New file.
52630         * sysdeps/i386/i686/multiarch/varshift.S: New file.
52631         * sysdeps/x86_64/multiarch/varshift.h: New file.
52632         * sysdeps/x86_64/multiarch/varshift.S: New file.
52634 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
52636         * configure.in: Move assembler checks to before sysdep dir checking.
52638 2010-08-20  Petr Baudis  <pasky@suse.cz>
52640         * LICENSES: Sync the sunrpc license.
52642 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
52644         * sunrpc/auth_des.c: Update copyright notice once again.
52645         * sunrpc/auth_none.c: Likewise.
52646         * sunrpc/auth_unix.c: Likewise.
52647         * sunrpc/authdes_prot.c: Likewise.
52648         * sunrpc/authuxprot.c: Likewise.
52649         * sunrpc/bindrsvprt.c: Likewise.
52650         * sunrpc/clnt_gen.c: Likewise.
52651         * sunrpc/clnt_perr.c: Likewise.
52652         * sunrpc/clnt_raw.c: Likewise.
52653         * sunrpc/clnt_simp.c: Likewise.
52654         * sunrpc/clnt_tcp.c: Likewise.
52655         * sunrpc/clnt_udp.c: Likewise.
52656         * sunrpc/clnt_unix.c: Likewise.
52657         * sunrpc/des_crypt.c: Likewise.
52658         * sunrpc/des_soft.c: Likewise.
52659         * sunrpc/get_myaddr.c: Likewise.
52660         * sunrpc/getrpcport.c: Likewise.
52661         * sunrpc/key_call.c: Likewise.
52662         * sunrpc/key_prot.c: Likewise.
52663         * sunrpc/openchild.c: Likewise.
52664         * sunrpc/pm_getmaps.c: Likewise.
52665         * sunrpc/pm_getport.c: Likewise.
52666         * sunrpc/pmap_clnt.c: Likewise.
52667         * sunrpc/pmap_prot.c: Likewise.
52668         * sunrpc/pmap_prot2.c: Likewise.
52669         * sunrpc/pmap_rmt.c: Likewise.
52670         * sunrpc/rpc/auth.h: Likewise.
52671         * sunrpc/rpc/auth_unix.h: Likewise.
52672         * sunrpc/rpc/clnt.h: Likewise.
52673         * sunrpc/rpc/des_crypt.h: Likewise.
52674         * sunrpc/rpc/key_prot.h: Likewise.
52675         * sunrpc/rpc/netdb.h: Likewise.
52676         * sunrpc/rpc/pmap_clnt.h: Likewise.
52677         * sunrpc/rpc/pmap_prot.h: Likewise.
52678         * sunrpc/rpc/pmap_rmt.h: Likewise.
52679         * sunrpc/rpc/rpc.h: Likewise.
52680         * sunrpc/rpc/rpc_des.h: Likewise.
52681         * sunrpc/rpc/rpc_msg.h: Likewise.
52682         * sunrpc/rpc/svc.h: Likewise.
52683         * sunrpc/rpc/svc_auth.h: Likewise.
52684         * sunrpc/rpc/types.h: Likewise.
52685         * sunrpc/rpc/xdr.h: Likewise.
52686         * sunrpc/rpc_clntout.c: Likewise.
52687         * sunrpc/rpc_cmsg.c: Likewise.
52688         * sunrpc/rpc_common.c: Likewise.
52689         * sunrpc/rpc_cout.c: Likewise.
52690         * sunrpc/rpc_dtable.c: Likewise.
52691         * sunrpc/rpc_hout.c: Likewise.
52692         * sunrpc/rpc_main.c: Likewise.
52693         * sunrpc/rpc_parse.c: Likewise.
52694         * sunrpc/rpc_parse.h: Likewise.
52695         * sunrpc/rpc_prot.c: Likewise.
52696         * sunrpc/rpc_sample.c: Likewise.
52697         * sunrpc/rpc_scan.c: Likewise.
52698         * sunrpc/rpc_scan.h: Likewise.
52699         * sunrpc/rpc_svcout.c: Likewise.
52700         * sunrpc/rpc_tblout.c: Likewise.
52701         * sunrpc/rpc_util.c: Likewise.
52702         * sunrpc/rpc_util.h: Likewise.
52703         * sunrpc/rpcinfo.c: Likewise.
52704         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52705         * sunrpc/rpcsvc/key_prot.x: Likewise.
52706         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52707         * sunrpc/rpcsvc/mount.x: Likewise.
52708         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52709         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52710         * sunrpc/rpcsvc/rex.x: Likewise.
52711         * sunrpc/rpcsvc/rstat.x: Likewise.
52712         * sunrpc/rpcsvc/rusers.x: Likewise.
52713         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52714         * sunrpc/rpcsvc/spray.x: Likewise.
52715         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52716         * sunrpc/rtime.c: Likewise.
52717         * sunrpc/svc.c: Likewise.
52718         * sunrpc/svc_auth.c: Likewise.
52719         * sunrpc/svc_authux.c: Likewise.
52720         * sunrpc/svc_raw.c: Likewise.
52721         * sunrpc/svc_run.c: Likewise.
52722         * sunrpc/svc_simple.c: Likewise.
52723         * sunrpc/svc_tcp.c: Likewise.
52724         * sunrpc/svc_udp.c: Likewise.
52725         * sunrpc/svc_unix.c: Likewise.
52726         * sunrpc/svcauth_des.c: Likewise.
52727         * sunrpc/xcrypt.c: Likewise.
52728         * sunrpc/xdr.c: Likewise.
52729         * sunrpc/xdr_array.c: Likewise.
52730         * sunrpc/xdr_float.c: Likewise.
52731         * sunrpc/xdr_mem.c: Likewise.
52732         * sunrpc/xdr_rec.c: Likewise.
52733         * sunrpc/xdr_ref.c: Likewise.
52734         * sunrpc/xdr_sizeof.c: Likewise.
52735         * sunrpc/xdr_stdio.c: Likewise.
52737         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52738         handling.
52740 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52742         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52744 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52746         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52747         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52748         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52749         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52750         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52751         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52752         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52753         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52754         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52755         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52756         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52757         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52758         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52759         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52761 2010-07-26  Anton Blanchard  <anton@samba.org>
52763         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52764         * malloc/arena.c (heap_trim): Likewise.
52766 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52768         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52769         here.  Not...
52770         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52771         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52773 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52775         * sysdeps/i386/elf/Makefile: New file.
52777 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52779         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52780         from fanotify_init.
52781         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52782         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52784 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52786         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52787         of strncasecmp_l.
52788         * sysdeps/multiarch/strcmp.S: Likewise.
52790 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52792         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52793         strncase_l-nonascii.
52794         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52795         Add strncase_l-ssse3.
52796         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52797         * sysdeps/x86_64/strcmp.S: Likewise.
52798         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52799         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52800         * sysdeps/x86_64/strncase.S: New file.
52801         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52802         * sysdeps/x86_64/strncase_l.S: New file.
52803         * string/Makefile (strop-tests): Add strncasecmp.
52804         * string/test-strncasecmp.c: New file.
52806         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52807         warning.
52809         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52810         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52812 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52814         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52816 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52818         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52819         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52820         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52822 2010-05-01  Alan Modra  <amodra@gmail.com>
52824         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52825         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52826         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52827         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52828         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52829         tidying.  Don't tail-call __sigjmp_save for static lib.
52830         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52831         save location.
52832         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52833         (CALL_MCOUNT): Add eh info, and nop after bl.
52834         (TAIL_CALL_SYSCALL_ERROR): New macro.
52835         (PSEUDO_RET): Use it.
52836         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52837         Correct save location of integer regs and cr.
52838         (_dl_profile_resolve): Correct cr save location.  Delete nops
52839         after bl when SHARED.  Reduce cfi size a little by better
52840         placement of cfi directives.
52841         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52842         make a stack frame.  Instead use parm save area as a temp.
52843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52844         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52846         Don't make a stack frame for parent, use parm save area.
52847         Increase child stack frame to 112 bytes.  Don't save unused reg,
52848         and adjust reg usage.  Set up cfi on error recovery and
52849         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52851         (__makecontext): Add dummy nop after jump to exit.
52852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52853         Use correct parm save area and cr save, reduce stack frame.
52854         Correct cfi for possible PSEUDO_RET frame setup.
52855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52856         Branch to local label emitted by PSEUDO_RET rather than
52857         __syscall_error.
52859 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52861         [BZ #11904]
52862         * locale/programs/locale.c (print_assignment): New function.
52863         (show_locale_vars): Use it.
52865 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52867         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52868         field.
52869         (struct statfs64): Likewise.
52870         (_STATFS_F_FLAGS): Define.
52871         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52872         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52873         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52874         (ST_VALID): Define locally.
52875         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52876         __statvfs_getflags, use the provided value.
52877         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52878         __ASSUME_STATFS_F_FLAGS.
52880         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52882         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52883         Add sys/fanotify.h.
52884         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52885         fanotify_mask for GLIBC_2.13.
52886         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52887         fanotify_init and fanotify_mark.
52888         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52889         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52891         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52892         Add prlimit.
52893         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52894         prlimit64 for GLIBC_2.13.
52895         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52896         prlimit64.
52897         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52898         syscall.
52899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52900         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52901         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52902         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52903         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52904         add prlimit alias.
52905         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52907         [BZ #11903]
52908         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52909         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52911         * nss/Makefile: Add rules to build and run tst-nss-test1.
52912         * shlib-versions: Add entry for libnss_test1.
52913         * nss/nss_test1.c: New file.
52914         * nss/tst-nss-test1.c: New file.
52916         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52917         (__nss_configure_lookup): Set appropriate entry in
52918         __nss_configure_lookup to true.
52919         * nss/nsswitch.h: Define enum with indeces of databases in
52920         databases and __nss_database_custom arrays.  Declare
52921         __nss_database_custom.
52922         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52923         to avoid using nscd when custom rules are installed.
52924         * nss/getXXbyYY_r.c: Likewise.
52925         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52927         * nss/nss_files/files-parse.c: Whitespace fixes.
52929 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52931         [BZ #11883]
52932         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52933         * posix/fnmatch_loop.c: Likewise.
52935 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52937         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52938         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52939         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52940         * Versions.def [GLIBC_2.13]: Add.
52942 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52944         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52945         Also fail if tpwd after pwuid call is NULL.
52947 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52949         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52950         when converting to ms.
52952 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52954         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52955         EOPNOTSUPP errors with ENOTTY.
52956         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52957         EOPNOTSUPP errors with ENOTTY.
52959 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52961         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52962         Add strcasecmp_l-ssse3.
52963         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52964         strcasecmp.
52965         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52966         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52967         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52969 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52971         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52973         * string/Makefile (strop-tests): Add strcasecmp.
52974         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52975         strcasecmp_l-nonascii.
52976         (gen-as-const-headers): Add locale-defines.sym.
52977         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
52978         * sysdeps/x86_64/strcasecmp.S: New file.
52979         * sysdeps/x86_64/strcasecmp_l.S: New file.
52980         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
52981         * sysdeps/x86_64/locale-defines.sym: New file.
52982         * string/test-strcasecmp.c: New file.
52984         * string/test-strcasestr.c: Test both ends of the range of characters.
52985         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
52987 2010-07-29  Roland McGrath  <roland@redhat.com>
52989         [BZ #11856]
52990         * manual/locale.texi (Yes-or-No Questions): Fix example code.
52992 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
52994         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
52995         for ld.so.
52997 2010-07-27  Andreas Schwab  <schwab@redhat.com>
52999         * manual/memory.texi (Malloc Tunable Parameters): Document
53000         M_PERTURB.
53002 2010-07-26  Roland McGrath  <roland@redhat.com>
53004         [BZ #11840]
53005         * configure.in (-fgnu89-inline check): Set and substitute
53006         gnu89_inline, not libc_cv_gnu89_inline.
53007         * configure: Regenerated.
53008         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53010 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53012         * string/test-strnlen.c: New file.
53013         * string/Makefile (strop-tests): Add strnlen.
53014         * string/tester.c (test_strnlen): Add a few more test cases.
53015         * string/tst-strlen.c: Better error reporting.
53017         * sysdeps/x86_64/strnlen.S: New file.
53019 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53021         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53022         lower-latency instructions.
53024 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53026         * string/test-strcasestr.c: New file.
53027         * string/test-strstr.c: New file.
53028         * string/Makefile (strop-tests): Add strstr and strcasestr.
53029         * string/str-two-way.h: Don't undefine MAX.
53030         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53032 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53034         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53035         strcasestr-nonascii.
53036         (CFLAGS-strcasestr-nonascii.c): Define.
53037         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53038         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53039         Remove unused attribute.
53041 2010-07-20  Roland McGrath  <roland@redhat.com>
53043         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53044         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53045         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53046         like LD_HWCAP_MASK can disable hwcaps.
53048 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53050         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53052 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53054         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53055         call in strcasestr.
53056         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53057         __strcasestr_sse42_nonascii.
53058         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53059         strcasestr-nonascii.c.
53060         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53062 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53064         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53065         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53066         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53067         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53069 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53071         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53072         fcntl.
53074 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53076         [BZ #11577]
53077         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53078         dl_signal_cerror.
53080 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53082         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53083         _PC_PIPE_BUF using F_GETPIPE_SZ.
53085 2010-07-05  Roland McGrath  <roland@redhat.com>
53087         * manual/arith.texi (Rounding Functions): Fix rint description
53088         implicit in round description.
53090 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53092         * elf/Makefile: Fix linking for a few tests to make recent linker
53093         happy.
53095 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53097         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53098         $(common-objpfx)libc_nonshared.a.
53100 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53102         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53103         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53104         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53105         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53106         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53107         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53108         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53109         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53112         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53114         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53119         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53121         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53124         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53125         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53126         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53127         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53128         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53129         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53130         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53131         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53132         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53133         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53134         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53135         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53151 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53153         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53154         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53155         * string/memmove.c (memmove): Renamed to ...
53156         (MEMMOVE): ...this.  Default to memmove.
53157         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53158         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53159         (END_CHK): Define.
53160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53161         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53162         mempcpy-ssse3-back memmove-ssse3-back.
53163         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53164         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53165         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53166         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53167         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53168         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53169         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53170         * sysdeps/x86_64/multiarch/memmove.c: New file.
53171         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53172         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53173         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53174         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53175         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53176         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53177         Define.
53178         (index_Fast_Copy_Backward): Define.
53179         (HAS_ARCH_FEATURE): Define.
53180         (HAS_FAST_REP_STRING): Define.
53181         (HAS_FAST_COPY_BACKWARD): Define.
53183 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53185         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53186         Restore proper fallback handling.
53188 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53190         [BZ #11701]
53191         * posix/group_member.c (__group_member): Correct checking loop.
53193         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53194         OOM in getpwuid_r correctly.  Return error number when the caller
53195         should return, otherwise -1.
53196         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53197         call returning > 0 value.
53198         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53200 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53202         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53203         libc_nonshared.a from targets in modules-names.
53205 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53207         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53208         requires it.
53210 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53212         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53213         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53214         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53215         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53217 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53219         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53221 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53223         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53224         and F_GETPIPE_SZ.
53225         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53226         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53227         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53228         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53229         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53230         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53232 2010-06-14  Roland McGrath  <roland@redhat.com>
53234         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53236 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53238         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53239         __REDIRECT followed by __THROW.
53240         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53241         * posix/getopt.h (getopt): Likewise.
53243 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53245         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53246         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53247         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53248         in AT_FLAGS.
53249         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53250         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53252 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53254         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53256 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53258         [BZ #11640]
53259         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53260         Properly check family and model.
53262 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53264         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53266 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53268         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53270 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53272         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53273         symbol reference.
53275 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53277         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53278         symbol reference.
53280 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53282         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53283         and internal_recvmmsg.
53284         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53285         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53286         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53287         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53289         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53290         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53291         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53293 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53295         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53297 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53299         POWER7 optimizations.
53300         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53301         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53303 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53305         * version.h: Update for 2.13 development version.
53307 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53309         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53310         exceptions.  Return 0.
53312 2010-05-07  Roland McGrath  <roland@redhat.com>
53314         * elf/ldconfig.c (main): Add a const.
53316 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53318         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53319         (args_options): Add no-idn option.
53320         (ahosts_keys_int): Add idn_flags to ai_flags.
53321         (parse_option): Handle 'i' option to clear idn_flags.
53323         * malloc/malloc.c (_int_free): Possible race in the most recently
53324         added check.  Only act on the data if no current modification
53325         happened.
53327 See ChangeLog.17 for earlier changes.