Fix test-strchr.c warnings for wide string testing.
[glibc.git] / ChangeLog
blob66a78e2c3edb996bd2b631d46e3d60e02ba7454f
1 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3         * string/test-strchr.c [!WIDE] (L): New macro.
4         [WIDE] (L): Likewise.
5         (check1): Use CHAR instead of char.  Use L on string and character
6         constants.
8 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
10         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
11         tests.
12         * sysdeps/powerpc/bits/atomic.h
13         (__arch_atomic_exchange_and_add_32_acq): Add definition.
14         (__arch_atomic_exchange_and_add_32_rel): Likewise.
15         (atomic_exchange_and_add_acq): Likewise.
16         (atomic_exchange_and_add_rel): Likewise.
17         * sysdeps/powerpc/powerpc32/bits/atomic.h
18         (__arch_atomic_exchange_and_add_64_acq): Add definition.
19         (__arch_atomic_exchange_and_add_64_rel): Likewise.
20         * sysdeps/powerpc/powerpc64/bits/atomic.h
21         (__arch_atomic_exchange_and_add_64_acq): Add definition.
22         (__arch_atomic_exchange_and_add_64_rel): Likewise.
24 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
27         Change synchronization of __sched_fifo_min_prio and
28         __sched_fifo_max_prio.
29         * nptl/pthread_mutexattr_getprioceiling.c
30         (pthread_mutexattr_getprioceiling): Likewise.
31         * nptl/pthread_mutexattr_setprioceiling.c
32         (pthread_mutexattr_setprioceiling): Likewise.
33         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
34         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
35         Likewise.
37 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
39         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40         void.
42 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
44         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
45         third argument const.
47 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
49         fnmatch: work around GCC compiler warning bug with uninit var
50         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
51         This works around a bug with x86-64 GCC 4.9.2 and earlier
52         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
53         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
54         used uninitialized in this function [-Wmaybe-uninitialized]".
56 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
58         * posix/bug-regex31.c (main): Return RES not 0.
60 2014-11-25  Anton Blanchard <anton@samba.org>
62         * sysdeps/powerpc/bits/atomic.h
63         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
65 2014-11-24  Sterling Augustine  <saugustine@google.com>
67         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
69 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
71         [BZ #17608]
72         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
74 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
76         [BZ #17633]
77         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
78         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
79         variable.
80         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
81         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
83 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
85         * string/strncpy.c (strncpy): Improve performance by using memset.
87 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
89         * string/strcpy.c (strcpy):
90         Improve performance by using strlen and memcpy.
92 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
94         * string/strcoll_l.c (get_next_seq): __always_inline.
95         * string/strcoll_l.c (do_compare): __always_inline.
97 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
99         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
100         defined.
101         * include/mqueue.h: Likewise.
102         * include/stdlib.h: Likewise.
104         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
105         (get_null_defines): Adjust.
106         * sunrpc/Makefile: Adjust comment.
107         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
108         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
109         (CFLAGS-interp.c): Likewise.
110         (CFLAGS-ldconfig.c): Likewise.
111         (CPPFLAGS-.os): Likewise.
112         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
113         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
114         * extra-modules.mk (extra-modules.mk): Likewise.
115         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
116         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
117         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
118         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
119         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
120         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
121         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
122         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
123         * iconvdata/Makefile (CPPFLAGS): Likewise.
124         (cpp-srcs-left): Add libof for all iconvdata routines.
125         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
126         * include/assert.h: Likewise.
127         * include/ctype.h: Likewise.
128         * include/errno.h: Likewise.
129         * include/libc-symbols.h: Likewise.
130         * include/math.h: Likewise.
131         * include/netdb.h: Likewise.
132         * include/resolv.h: Likewise.
133         * include/stdio.h: Likewise.
134         * include/stdlib.h: Likewise.
135         * include/string.h: Likewise.
136         * include/sys/stat.h: Likewise.
137         * include/wctype.h: Likewise.
138         * intl/l10nflist.c: Likewise.
139         * libidn/idn-stub.c: Likewise.
140         * libio/libioP.h: Likewise.
141         * nptl/libc_multiple_threads.c: Likewise.
142         * nptl/pthreadP.h: Likewise.
143         * posix/regex_internal.h: Likewise.
144         * resolv/res_hconf.c: Likewise.
145         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
146         * sysdeps/arm/memmove.S: Likewise.
147         * sysdeps/arm/sysdep.h: Likewise.
148         * sysdeps/generic/_itoa.h: Likewise.
149         * sysdeps/generic/symbol-hacks.h: Likewise.
150         * sysdeps/gnu/errlist.awk: Likewise.
151         * sysdeps/gnu/errlist.c: Likewise.
152         * sysdeps/i386/i586/memcpy.S: Likewise.
153         * sysdeps/i386/i586/memset.S: Likewise.
154         * sysdeps/i386/i686/memcpy.S: Likewise.
155         * sysdeps/i386/i686/memmove.S: Likewise.
156         * sysdeps/i386/i686/mempcpy.S: Likewise.
157         * sysdeps/i386/i686/memset.S: Likewise.
158         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
159         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
160         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
161         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
162         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
163         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
164         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
165         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
166         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
167         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
168         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
169         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
170         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
171         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
172         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
173         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
174         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
175         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
176         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
177         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
178         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
179         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
180         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
181         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
182         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
183         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
184         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
185         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
186         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
187         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
188         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
189         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
190         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
191         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
192         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
193         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
194         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
195         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
196         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
197         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
198         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
199         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
200         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
201         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
202         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
203         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
204         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
205         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
206         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
207         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
208         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
209         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
210         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
211         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
212         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
213         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
214         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
215         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
216         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
217         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
218         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
219         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
220         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
221         * sysdeps/nptl/bits/libc-lock.h: Likewise.
222         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
223         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
224         * sysdeps/posix/closedir.c: Likewise.
225         * sysdeps/posix/opendir.c: Likewise.
226         * sysdeps/posix/readdir.c: Likewise.
227         * sysdeps/posix/rewinddir.c: Likewise.
228         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
229         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
230         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
231         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
232         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
233         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
234         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
235         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
236         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
237         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
238         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
239         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
240         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
241         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
242         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
243         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
244         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
245         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
246         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
247         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
248         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
249         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
250         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
251         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
252         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
253         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
254         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
255         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
256         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
257         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
259         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
260         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
261         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
262         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
263         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
264         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
265         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
266         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
267         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
268         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
269         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
270         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
271         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
272         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
273         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
274         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
275         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
276         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
277         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
278         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
279         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
280         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
281         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
282         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
283         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
284         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
285         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
286         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
287         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
288         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
289         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
290         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
291         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
292         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
293         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
294         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
295         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
296         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
297         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
298         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
299         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
300         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
301         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
302         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
303         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
304         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
305         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
306         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
307         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
308         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
309         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
310         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
311         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
312         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
313         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
314         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
315         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
316         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
317         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
318         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
319         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
320         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
321         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
322         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
323         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
324         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
325         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
326         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
327         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
328         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
329         * sysdeps/unix/alpha/sysdep.S: Likewise.
330         * sysdeps/unix/alpha/sysdep.h: Likewise.
331         * sysdeps/unix/make-syscalls.sh: Likewise.
332         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
334         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
335         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
336         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
337         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
338         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
339         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
340         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
341         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
342         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
343         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
344         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
345         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
346         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
347         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
348         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
349         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
350         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
351         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
352         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
353         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
354         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
355         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
356         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
357         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
358         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
361         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
362         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
363         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
364         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
365         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
366         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
367         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
368         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
369         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
370         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
371         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
372         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
373         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
374         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
375         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
376         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
377         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
378         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
379         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
380         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
381         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
382         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
383         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
384         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
385         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
386         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
387         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
388         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
389         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
390         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
391         * sysdeps/x86_64/memcpy.S: Likewise.
392         * sysdeps/x86_64/memmove.c: Likewise.
393         * sysdeps/x86_64/memset.S: Likewise.
394         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
395         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
396         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
397         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
398         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
399         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
400         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
401         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
402         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
403         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
404         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
405         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
406         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
407         * sysdeps/x86_64/multiarch/memset.S: Likewise.
408         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
409         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
410         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
411         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
412         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
413         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
414         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
415         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
416         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
417         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
418         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
419         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
420         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
421         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
422         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
423         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
424         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
425         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
426         * sysdeps/x86_64/strcmp.S: Likewise.
428         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
430         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
431         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
432         * elf/rtld-Rules: Likewise.
433         * elf/setup-vdso.h: Likewise.
434         * include/assert.h: Likewise.
435         * include/bits/stdlib-float.h: Likewise.
436         * include/errno.h: Likewise.
437         * include/sys/stat.h: Likewise.
438         * include/unistd.h: Likewise.
439         * sysdeps/aarch64/setjmp.S: Likewise.
440         * sysdeps/alpha/setjmp.S: Likewise.
441         * sysdeps/arm/__longjmp.S: Likewise.
442         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
443         * sysdeps/arm/setjmp.S: Likewise.
444         * sysdeps/arm/sysdep.h: Likewise.
445         * sysdeps/generic/_itoa.h: Likewise.
446         * sysdeps/generic/dl-sysdep.h: Likewise.
447         * sysdeps/generic/ldsodefs.h: Likewise.
448         * sysdeps/i386/dl-tls.h: Likewise.
449         * sysdeps/i386/setjmp.S: Likewise.
450         * sysdeps/m68k/setjmp.c: Likewise.
451         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
452         * sysdeps/mach/hurd/opendir.c: Likewise.
453         * sysdeps/posix/getcwd.c: Likewise.
454         * sysdeps/posix/opendir.c: Likewise.
455         * sysdeps/posix/profil.c: Likewise.
456         * sysdeps/powerpc/dl-procinfo.h: Likewise.
457         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
458         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
459         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
460         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
461         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
462         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
463         * sysdeps/s390/dl-tls.h: Likewise.
464         * sysdeps/s390/s390-32/setjmp.S: Likewise.
465         * sysdeps/s390/s390-64/setjmp.S: Likewise.
466         * sysdeps/sh/sh3/setjmp.S: Likewise.
467         * sysdeps/sh/sh4/setjmp.S: Likewise.
468         * sysdeps/unix/alpha/sysdep.h: Likewise.
469         * sysdeps/unix/arm/sysdep.S: Likewise.
470         * sysdeps/unix/i386/sysdep.S: Likewise.
471         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
472         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
473         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
474         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
475         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
476         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
477         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
478         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
479         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
480         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
481         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
482         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
483         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
486         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
487         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
489         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
490         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
491         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
492         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
493         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
494         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
495         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
496         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
497         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
498         * sysdeps/unix/x86_64/sysdep.S: Likewise.
499         * sysdeps/x86_64/setjmp.S: Likewise.
501         * include/math.h: Use IS_IN instead of IS_IN_libm.
502         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
503         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
504         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
505         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
506         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
507         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
508         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
509         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
510         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
511         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
512         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
513         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
514         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
515         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
516         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
517         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
518         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
519         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
520         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
521         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
522         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
523         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
524         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
525         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
526         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
527         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
528         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
529         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
530         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
531         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
532         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
533         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
534         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
536         Likewise.
537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
538         Likewise.
539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
540         Likewise.
541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
542         Likewise.
543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
544         Likewise.
545         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
546         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
547         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
548         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
549         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
550         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
556         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
557         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
558         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
559         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
560         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
561         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
562         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
563         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
564         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
565         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
566         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
567         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
568         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
569         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
570         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
571         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
573         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
574         * nptl/pthreadP.h: Likewise.
575         * nptl_db/structs.def: Likewise.
576         * sysdeps/arm/sysdep.h: Likewise.
577         * sysdeps/nptl/bits/libc-lock.h: Likewise.
578         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
579         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
580         * sysdeps/unix/alpha/sysdep.h: Likewise.
581         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
582         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
583         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
584         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
585         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
586         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
587         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
588         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
589         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
590         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
591         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
592         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
593         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
594         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
598         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
599         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
600         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
601         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
602         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
603         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
604         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
605         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
606         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
608         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
609         * nptl/pthreadP.h: Likewise.
610         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
611         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
612         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
613         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
614         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
615         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
616         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
617         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
618         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
619         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
620         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
621         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
623         Likewise.
624         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
625         Likewise.
626         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
628         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
629         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
630         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
631         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
632         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
633         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
635         * dlfcn/dladdr.c: Use IS_IN.
636         * dlfcn/dladdr1.c: Likewise.
637         * dlfcn/dlclose.c: Likewise.
638         * dlfcn/dlerror.c: Likewise.
639         * dlfcn/dlinfo.c: Likewise.
640         * dlfcn/dlmopen.c: Likewise.
641         * dlfcn/dlopen.c: Likewise.
642         * dlfcn/dlsym.c: Likewise.
643         * dlfcn/dlvsym.c: Likewise.
645         * include/ifaddrs.h: Use IS_IN.
646         * inet/check_pf.c: Likewise.
647         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
648         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
650         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
651         IS_IN_ldconfig.
652         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
653         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
655         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
656         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
657         IS_IN (libc).
659         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
661         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
662         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
663         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
664         * include/libc-symbols.h (IS_IN_LIB): New macro.
665         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
666         * include/netdb.h: Likewise.
667         * include/stap-probe.h: Remove all uses of IN_LIB.
669         * Makeconfig (module-cppflags-real): Define MODULE_NAME
670         instead of IN_MODULE.
671         * include/libc-symbols.h (IN_MODULE): Define using
672         MODULE_NAME.
673         (PASTE_NAME, PASTE_NAME1): New macros.
674         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
675         of IN_LIB.
676         (STAP_PROBE_ASM): Likewise.
678 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
680         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
681         __mach_init in dlopened libc.
683 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
685         * sysdeps/arm/preconfigure.ac: Delete EABI check.
686         * sysdeps/arm/preconfigure: Regenerate.
688 2014-11-21  Roland McGrath  <roland@hack.frob.com>
690         * nptl/pthread_create.c (__pthread_create_2_1): Set
691         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
692         when copying values from IATTR into PD.
694 2014-11-21  Will Newton  <will.newton@linaro.org>
695             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
697         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
698         Refactor inline-asm.  Also add comment.
700         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
701         ElfW macro instead of hardcoded Elf64 types.
702         (la_aarch64_gnu_pltenter): Likewise.
703         * sysdeps/aarch64/dl-machine.h
704         (elf_machine_runtime_setup): Use ElfW(Addr).
706         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
707         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
708         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
709         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
710         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
711         (R_AARCH64_TLS_DTPMOD64): Rename to ..
712         (R_AARCH64_TLS_DTPMOD): This.
713         (R_AARCH64_TLS_DTPREL64): Rename to ...
714         (R_AARCH64_TLS_DTPREL): This.
715         (R_AARCH64_TLS_TPREL64): Rename to ...
716         (R_AARCH64_TLS_TPREL): This.
717         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
718         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
719         R_AARCH64_TLS_TPREL64.
720         (elf_machine_rela): Likewise.
722 2014-11-21  Torvald Riegel  <triegel@redhat.com>
724         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
725         by setting it to 0.  64b atomics are not supported currently.
727 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
729         [BZ #16469]
730         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
731         search domain names.
733 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
735         [BZ #16469]
736         * NEWS: Update.
737         * resolv/res_query.c (__libc_res_nquerydomain): Retain
738         trailing dot.
739         * posix/tst-getaddrinfo5.c: New.
740         * posix/Makefile (tests): Add it.
742 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
744         [BZ #14498]
745         * NEWS: Fixed.
746         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
747         after parsing line but before break_if_match.
748         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
749         if there is a protocol mismatch.
751 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
753         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
754         because the potential race is on the user-supplied stream.
756 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
758         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
759         string literal if not passed a buffer.
760         * manual/job.texi (ctermid): Update reasoning, note deviation
761         from posix, suggest mtasurace when not passed a buffer, for
762         future non-preliminary safety notes.
764 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
766         * manual/users.texi (cuserid): Fix MT-Safety note for the case
767         of not passing it a buffer.
768         Reported by Peng Haitao.
770 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
772         * manual/Makefile ($(objpfx)stamp-summary): Require
773         check-safety.sh to pass.
774         * manual/check-safety.sh: Wish for verification that every
775         @deftypefn and @deftypefun is followed by a @safety remark.
777 2014-11-20  Roland McGrath  <roland@hack.frob.com>
779         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
781         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
782         PTHREAD_CANCEL_ASYNCHRONOUS.
783         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
784         send SIGCANCEL.
786         * nptl/default-sched.h: New file.
787         * sysdeps/unix/sysv/linux/default-sched.h: New file.
788         * nptl/pthread_create.c: Include it.
789         (__pthread_create_2_1): Use collect_default_sched instead of making
790         Linux syscalls here directly.
792 2014-11-20  Torvald Riegel  <triegel@redhat.com>
794         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
795         __pthread_once): Use C11 atomics.
797 2014-11-20  Torvald Riegel  <triegel@redhat.com>
799         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
801 2014-11-20  Torvald Riegel  <triegel@redhat.com>
803         * include/atomic.h (__atomic_link_error, __atomic_check_size,
804         atomic_thread_fence_acquire, atomic_thread_fence_release,
805         atomic_thread_fence_seq_cst, atomic_load_relaxed,
806         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
807         atomic_compare_exchange_weak_relaxed,
808         atomic_compare_exchange_weak_acquire,
809         atomic_compare_exchange_weak_release,
810         atomic_exchange_acquire, atomic_exchange_release,
811         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
812         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
813         atomic_fetch_and_acquire,
814         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
816 2014-11-20  Torvald Riegel  <triegel@redhat.com>
818         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
819         USE_ATOMIC_COMPILER_BUILTINS): Define.
820         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
821         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
822         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
823         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
824         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
825         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
826         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
827         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
828         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
829         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
830         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
831         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
832         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
833         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
834         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
835         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
836         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
837         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
838         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
839         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
840         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
841         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
842         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
843         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
844         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
845         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
846         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
847         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
848         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
849         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
850         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
851         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
852         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
853         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
854         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
855         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
856         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
857         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
858         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
859         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
861 2014-11-19  Roland McGrath  <roland@hack.frob.com>
863         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
864         the sched_priority value here.  It was already checked when the user
865         called pthread_attr_setschedparam.
867         * nptl/tst-bad-schedattr.c: New file.
868         * nptl/Makefile (tests): Add it.
870 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
871             Florian Weimer  <fweimer@redhat.com>
872             Joseph Myers  <joseph@codesourcery.com>
873             Adam Conrad  <adconrad@0c3.net>
874             Andreas Schwab  <schwab@suse.de>
875             Brooks  <bmoses@google.com>
877         [BZ #17625]
878         * wordexp-test.c (__dso_handle): Add prototype.
879         (__register_atfork): Likewise.
880         (__app_register_atfork): New function.
881         (registered_forks): New global.
882         (register_fork): New function.
883         (test_case): Add 3 new tests for WRDE_CMDSUB.
884         (main): Call __app_register_atfork.
885         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
886         fork count is non-zero fail the test.
887         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
888         is set.
889         (parse_dollars): Remove check for WRDE_NOCMD.
890         (parse_dquote): Likewise.
892 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
894         * Makeconfig (built-modules): List non-library modules to be
895         built.
896         (module-cppflags): Include libc-modules.h for
897         everything except shlib-versions.v.i.
898         (CPPFLAGS): Use it.
899         (before-compile): Add libc-modules.h.
900         ($(common-objpfx)libc-modules.h,
901         $(common-objpfx)libc-modules.stmp): New targets.
902         (common-generated): Add libc-modules.h and libc-modules.stmp.
903         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
904         * include/libc-symbols.h: Don't include libc-modules.h.
905         * include/libc-modules.h: Remove file.
906         * scripts/gen-libc-modules.awk: New script to generate
907         libc-modules.h.
908         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
909         Depend on libc-modules.stmp.
911         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
913         * Makeconfig (in-module): Get value of libof set for the
914         translation unit.
915         (CPPFLAGS): Use $(in-module).
916         * Makerules: Don't suffix routine names for nonlib.
917         * include/libc-modules.h: New file.
918         * include/libc-symbols.h: Include libc-modules.h
919         (IS_IN): New macro to replace IS_IN_* macros.
920         * elf/Makefile: Set libof-* for each routine.
921         * elf/rtld-Rules: Likewise.
922         * extra-modules.mk: Likewise.
923         * iconv/Makefile: Likewise.
924         * iconvdata/Makefile: Likewise.
925         * locale/Makefile: Likewise.
926         * malloc/Makefile: Likewise.
927         * nss/Makefile: Likewise.
928         * sysdeps/gnu/Makefile: Likewise.
929         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
930         * sysdeps/unix/sysv/linux/Makefile: Likewise.
931         * sysdeps/s390/s390-64/Makefile: Likewise.
932         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
933         CPPFLAGS for nscd instead of nonlib.
935 2014-11-18  Roland McGrath  <roland@hack.frob.com>
937         * nptl/createthread.c: New file.
939         * nptl/createthread.c: Moved ...
940         * sysdeps/unix/sysv/linux/createthread.c: ... here.
942         * nptl/createthread.c: Add proper top-line comment.
943         (do_clone): Folded into ...
944         (create_thread): ... here.  Take new arguments STOPPED_START and
945         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
946         increment __nptl_threads, do event-reporting logic, do
947         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
948         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
949         resource cleanup if sched_setaffinity or sched_setscheduler fails,
950         just send SIGCANCEL.
951         * nptl/pthread_create.c: Forward-declare create_thread before
952         including createthread.c.
953         (start_thread): Use new macro START_THREAD_DEFN to replace defining
954         declaration, and new macro START_THREAD_SELF to replace argument.
955         Remove return statement.
956         (report_thread_creation): New function.
957         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
958         synchronization logic, and __nptl_nthreads increment here, around
959         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
960         PD->parent_cancelhandling here, before create_thread.  When
961         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
962         __deallocate_stack, and ENOMEM translation here.
964 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
966         [BZ #17616]
967         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
968         (mptwo): Rename to __mptwo.
969         (__inv): Use __mptwo instead of mptwo.
970         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
971         (mptwo): Rename to __mptwo.
972         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
973         of mpone and __mptwo instead of mptwo.
974         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
975         instead of mpone.
976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
977         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
978         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
979         of mpone and __mptwo instead of mptwo.
980         (__mpranred): Use __mpone instead of mpone.
981         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
982         variable.
983         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
984         (test-xfail-ISO99/math.h/linknamespace): Likewise.
985         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
986         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
987         (test-xfail-ISO11/math.h/linknamespace): Likewise.
988         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
989         (test-xfail-XPG3/math.h/linknamespace): Likewise.
990         (test-xfail-XPG4/math.h/linknamespace): Likewise.
991         (test-xfail-POSIX/math.h/linknamespace): Likewise.
992         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
993         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
994         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
995         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
996         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
997         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
998         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
999         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1000         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1001         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1003 2014-11-18  Tom de Vries  <tom@codesoucery.com>
1005         * manual/signal.texi (Primitives Interrupted by Signals): In section,
1006         replace BSD Handler xref with BSD Signal Handling.
1008 2014-11-17  Richard Henderson  <rth@redhat.com>
1010         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
1011         (_FP_PACK_RAW_2): Remove.
1012         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
1013         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
1014         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
1015         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
1016         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
1017         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
1018         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
1019         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
1020         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
1021         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
1022         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
1023         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
1024         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
1025         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
1026         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
1027         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
1029 2014-11-14  Roland McGrath  <roland@hack.frob.com>
1031         * signal/signal.h [__USE_MISC]
1032         (struct sigvec): Remove type.
1033         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
1034         (sigvec): Remove declaration.
1035         * sysdeps/posix/sigvec.c: Moved ...
1036         * signal/sigvec.c: ... here, replacing old file.
1037         (struct sigvec): New type, copied from old signal.h definition.
1038         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
1039         (__sigvec): Convert definition to prototype.
1040         (sigvec): Replace weak_alias with compat_symbol.
1041         * signal/Versions (libc: GLIBC_2.21): New version set.
1042         * include/signal.h: Remove __sigvec declaration.
1043         * sysdeps/unix/bsd/sigvec.c: Remove file.
1044         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
1045         * manual/signal.texi (BSD Handler): Remove subsection.
1046         Move siginterrupt up to ...
1047         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
1048         (Blocking in BSD): Fold subsection into its parent.
1049         * NEWS: Mention sigvec removal.
1051 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1053         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
1054         (DLA_FMS): Make definition conditional only on [__FMA4__].
1055         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
1056         definition.
1058         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
1059         Make definition conditional only on [PROF].
1060         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
1061         definition.
1062         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
1063         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
1065         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
1066         !__GNUC__].
1067         * include/signal.h (__sigpause): Move declaration above call to
1068         libc_hidden_proto.
1069         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
1070         variable.
1071         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1072         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1074 2014-11-14  David S. Miller  <davem@davemloft.net>
1076         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
1077         Define before including <string/memcpy.c> and <string/mempcpy.c>.
1079 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
1081         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
1082         * configure: Regenerated.
1083         * manual/install.texi (Tools for Compilation): Document a
1084         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
1085         compiler verified to work.
1086         * INSTALL: Regenerated.
1088         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
1089         redeclare with asm name.
1090         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
1091         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
1092         including <string.h>.
1093         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1094         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1095         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1096         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1097         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1098         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1099         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
1101 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
1103         * stdlib/strtol.c (__strtol): Use prototype definition.
1105         [BZ #17594]
1106         * stdlib/strtol.c (SYM__): New macro.
1107         (SYM__1): Likewise.
1108         (__strtol): Likewise.
1109         (strtol): Rename to __strtol and define as weak alias of
1110         __strtol.  Use libc_hidden_weak.
1112 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1114         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
1115         Use numbered labels in inline assembly.
1117 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1119         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
1120         Add setjmp LIBC_PROBE.
1121         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
1122         Likewise.
1123         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
1124         Add longjmp, longjmp_target LIBC_PROBE.
1125         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
1126         Likewise.
1128 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1130         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1131         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
1132         to get rid of unused variable warning.
1134 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
1136         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
1137         Check for unwind_backtrace ==  NULL only in SHARED case.
1138         (__backchain_backtrace): Compile only in SHARED case.
1139         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
1140         Likewise.
1141         (__backchain_backtrace): Declare as static.
1143 2014-11-12  Roland McGrath  <roland@hack.frob.com>
1145         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
1146         (__libc_multiple_threads_ptr): Variable moved ...
1147         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
1149 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
1151         * conform/GlibcConform.pm: New file.
1152         * conform/conformtest.pl: Use GlibcConform module.
1153         * conform/linknamespace.pl: New file.
1154         * conform/list-header-symbols.pl: Likewise.
1155         * conform/Makefile (linknamespace-symlists-base): New variable.
1156         (linknamespace-symlists-tests): Likewise.
1157         (linknamespace-header-base): Likewise.
1158         (linknamespace-header-tests): Likewise.
1159         (tests-special): Add new tests.
1160         ($(linknamespace-symlists-tests)): New rule.
1161         (linknamespace-libs): New variable.
1162         ($(objpfx)symlist-stdlibs): New rule.
1163         ($(linknamespace-header-tests)): Likewise.
1164         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
1165         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
1166         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
1167         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
1168         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
1169         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
1170         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
1171         (test-xfail-ISO/math.h/linknamespace): Likewise.
1172         (test-xfail-ISO/signal.h/linknamespace): Likewise.
1173         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
1174         (test-xfail-ISO/time.h/linknamespace): Likewise.
1175         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
1176         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
1177         (test-xfail-ISO99/math.h/linknamespace): Likewise.
1178         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
1179         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1180         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
1181         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
1182         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1183         (test-xfail-ISO11/math.h/linknamespace): Likewise.
1184         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
1185         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1186         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
1187         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1188         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
1189         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
1190         (test-xfail-XPG3/math.h/linknamespace): Likewise.
1191         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
1192         (test-xfail-XPG3/search.h/linknamespace): Likewise.
1193         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
1194         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1195         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
1196         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
1197         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1198         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
1199         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
1200         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
1201         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
1202         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
1203         (test-xfail-XPG4/math.h/linknamespace): Likewise.
1204         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
1205         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
1206         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
1207         (test-xfail-XPG4/search.h/linknamespace): Likewise.
1208         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
1209         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
1210         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
1211         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
1212         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
1213         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1214         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
1215         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
1216         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
1217         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
1218         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
1219         (test-xfail-POSIX/math.h/linknamespace): Likewise.
1220         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
1221         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
1222         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
1223         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
1224         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
1225         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1226         (test-xfail-POSIX/time.h/linknamespace): Likewise.
1227         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
1228         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
1229         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
1230         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1231         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
1232         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
1233         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
1234         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
1235         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
1236         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
1237         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
1238         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
1239         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
1240         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
1241         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
1242         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
1243         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1244         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
1245         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
1246         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
1247         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1248         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1249         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
1250         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
1251         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
1252         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
1253         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
1254         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
1255         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
1256         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
1257         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
1258         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
1259         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
1260         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
1261         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
1262         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
1263         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1264         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
1265         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
1266         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
1267         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1268         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
1269         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1270         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
1271         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
1272         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
1273         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
1274         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1275         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1276         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
1277         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
1278         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
1279         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1280         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
1281         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
1282         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
1283         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
1284         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
1285         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1286         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
1287         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1288         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
1289         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
1290         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1291         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1292         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
1293         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1294         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
1295         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
1296         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1297         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1298         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1299         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
1300         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1301         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
1302         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1303         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
1304         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1305         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1306         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
1307         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
1308         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
1309         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
1310         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1311         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1312         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
1313         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1314         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
1315         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
1316         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1317         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
1318         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1319         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1320         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1321         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
1322         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
1323         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1324         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
1326         [BZ #17589]
1327         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
1328         of fgets_unlocked.
1330         [BZ #17585]
1331         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
1332         (memmem): Rename to __memmem and define as weak alias of
1333         __memmem.  Use libc_hidden_weak.
1334         (__memmem): Use libc_hidden_def.
1335         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
1336         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
1337         memmem.
1339         [BZ #17582]
1340         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
1341         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
1342         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
1343         and define as weak alias of __fgets_unlocked.  Use
1344         libc_hidden_weak.
1345         (__fgets_unlocked): Use libc_hidden_def.
1346         * include/stdio.h (__fgets_unlocked): Declare.  Use
1347         libc_hidden_proto.
1348         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
1349         __fgets_unlocked instead of fgets_unlocked.
1350         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
1351         (GET_NPROCS_CONF_PARSER): Likewise.
1352         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
1353         (GET_NPROCS_CONF_PARSER): Likewise.
1355         [BZ #17574]
1356         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
1357         weak alias of __wmemset.  Use libc_hidden_weak.
1358         (__wmemset): Use libc_hidden_def.
1359         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
1360         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
1361         of wmemset.
1363         [BZ #17573]
1364         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
1365         with asm name __mempcpy.
1366         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
1368         [BZ #17572]
1369         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
1370         and define as weak alias of __rawmemchr.
1371         (__rawmemchr): Do not define as strong alias of rawmemchr.
1373         [BZ #17571]
1374         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
1375         alias of __qsort_r.
1376         (qsort): Call __qsort_r instead of qsort_r.
1377         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
1378         (__qsort_r): Declare.  Call libc_hidden_proto.
1379         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
1380         instead of qsort_r.
1381         * nscd/gai.c (__qsort_r): Define to qsort_r.
1382         * posix/tst-rfc3484.c (__qsort_r): Likewise.
1383         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
1384         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
1386         [BZ #17570]
1387         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
1388         define as weak alias of __malloc_info.
1390         [BZ #17584]
1391         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
1392         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1393         (__rewinddir): Use libc_hidden_def.
1394         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
1395         as weak alias of __rewinddir.  Don't use libc_hidden_def.
1396         (__rewinddir): Use libc_hidden_def.
1397         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
1398         weak alias of __rewinddir.  Don't use libc_hidden_def.
1399         (__rewinddir): Use libc_hidden_def.
1400         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
1401         (__rewinddir): Use libc_hidden_proto.
1402         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
1403         rewinddir.
1404         (__getcwd): Use __rewinddir instead of rewinddir.
1406         [BZ #17583]
1407         * libio/fileno.c (fileno): Rename to __fileno and define as weak
1408         alias of __fileno.  Use libc_hidden_weak.
1409         (__fileno): Use libc_hidden_def.
1410         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
1411         * libio/ftello.c (ftello): Rename to __ftello and define as weak
1412         alias of __ftello.
1413         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
1414         __ftello.
1415         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
1416         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
1417         libc_hidden_def.
1418         (fread_unlocked): Don't use libc_hidden_ver.
1419         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
1420         and define as weak alias of __fread_unlocked.  Don't use
1421         libc_hidden_def.
1422         (__fread_unlocked): Use libc_hidden_def.
1423         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
1424         (ftello): Don't use libc_hidden_proto.
1425         (__ftello): Declare.  Use libc_hidden_proto.
1426         (fread_unlocked): Don't use libc_hidden_proto.
1427         (__fread_unlocked): Declare.  Use libc_hidden_proto.
1428         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
1429         and __ftello instead of fileno, fread_unlocked and ftello.
1431 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
1433         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
1434         GOT12.
1435         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1436         Likewise.
1437         (_dl_start_user): Likewise.
1438         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
1440 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
1441             Siddhesh Poyarekar  <siddhesh@redhat.com>
1443         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
1444         Move argv and envp down instead of moving argc up.
1445         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
1447 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
1449         [BZ #17506]
1450         * test-skeleton.c (main): Return successful if one of
1451         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
1452         * string/tst-strcoll-overflow.c: Define expected status.
1454 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
1456         [BZ #17475]
1457         * locale/iso-639.def: Define Bhili and Tulu language codes.
1459 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
1461         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
1463 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
1465         [BZ #17555]
1466         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
1468 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1470         * configure.ac: Updated check of minimal required version to
1471         2.22.
1472         * manual/install.texi (Tools for Compilation): Updated version
1473         number.
1474         * configure: Regenerated.
1475         * INSTALL: Likewise.
1477 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
1479         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
1480         __tls_get_addr.
1482 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
1484         * include/sys/wait.h (__libc_waitpid): Remove declaration.
1485         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
1486         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1487         libc_hidden_weak.
1488         (waitpid): Define as alias of __waitpid.
1489         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
1490         __waitpid.
1491         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1492         libc_hidden_weak.
1493         (waitpid): Define as alias of __waitpid.
1494         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
1495         __libc_waitpid alias.
1496         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
1497         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
1498         Likewise.
1499         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
1500         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
1501         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
1502         alias.
1503         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
1504         __waitpid.
1505         (__waitpid): Don't define as alias.  Use libc_hidden_def not
1506         libc_hidden_weak.
1507         (waitpid): Define as alias of __waitpid.
1509 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
1511         * manual/llio.texi: Add comment that write safety has been
1512         fixed in Linux.
1514         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
1515         (localplt-build-dso): Add elf/ld.so.
1516         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
1517         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
1518         and free for ld.so.
1519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
1520         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
1521         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
1522         Likewise.
1523         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
1524         Likewise.
1525         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
1526         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
1527         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
1528         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
1529         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
1530         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
1531         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
1532         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
1533         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
1534         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
1535         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
1537 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
1539         [BZ #14132]
1540         * include/libc-symbols.h (INTUSE): Remove macro.
1541         (INTDEF): Likewise.
1542         (INTVARDEF): Likewise.
1543         (_INTVARDEF): Likewise.
1544         (INTDEF2): Likewise.
1545         (INTVARDEF2): Likewise.
1546         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
1547         rtld_hidden_def instead of INTVARDEF.
1548         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
1549         (_dl_starting_up_internal): Remove declaration.
1550         (_dl_starting_up): Use rtld_hidden_proto.
1551         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
1552         declaration.
1553         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
1554         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
1555         _dl_starting_up.
1556         * elf/dl-writev.h (_dl_writev): Likewise.
1557         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
1558         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
1559         _dl_starting_up_internal.
1561 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1563         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
1564         test-skeleton.c.
1566 2014-11-05  Will Newton  <will.newton@linaro.org>
1568         * benchtests/Makefile: (bench-malloc): Add malloc thread
1569         scalability benchmark.
1570         * benchtests/bench-malloc-threads.c: New file.
1572 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
1574         * sysdeps/aarch64/strchrnul.S: New file.
1576 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1578         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
1579         definition.
1580         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
1581         Likwise.
1582         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
1583         Likewise.
1584         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
1585         Likewise.
1586         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
1587         Likewise.
1588         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
1589         Likewise.
1591 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
1593         * catgets/test-gencat.c: Use test-skeleton.c.
1594         * catgets/tst-catgets.c: Likewise.
1595         * csu/tst-empty.c: Likewise.
1596         * elf/tst-audit2.c: Likewise.
1597         * elf/tst-global1.c: Likewise.
1598         * elf/tst-pathopt.c: Likewise.
1599         * elf/tst-piemod1.c: Likewise.
1600         * elf/tst-tls10.c: Likewise.
1601         * elf/tst-tls11.c: Likewise.
1602         * elf/tst-tls12.c: Likewise.
1603         * gnulib/tst-gcc.c: Likewise.
1604         * iconvdata/tst-e2big.c: Likewise.
1605         * iconvdata/tst-loading.c: Likewise.
1606         * iconv/tst-iconv1.c: Likewise.
1607         * iconv/tst-iconv2.c: Likewise.
1608         * inet/test-inet6_opt.c: Likewise.
1609         * inet/tst-gethnm.c: Likewise.
1610         * inet/tst-network.c: Likewise.
1611         * inet/tst-ntoa.c: Likewise.
1612         * intl/tst-codeset.c: Likewise.
1613         * intl/tst-gettext2.c: Likewise.
1614         * intl/tst-gettext3.c: Likewise.
1615         * intl/tst-ngettext.c: Likewise.
1616         * intl/tst-translit.c: Likewise.
1617         * io/test-stat.c: Likewise.
1618         * libio/test-fmemopen.c: Likewise.
1619         * libio/tst-freopen.c: Likewise.
1620         * libio/tst-sscanf.c: Likewise.
1621         * libio/tst-ungetwc1.c: Likewise.
1622         * libio/tst-ungetwc2.c: Likewise.
1623         * libio/tst-widetext.c: Likewise.
1624         * localedata/tst-ctype.c: Likewise.
1625         * localedata/tst-digits.c: Likewise.
1626         * localedata/tst-leaks.c: Likewise.
1627         * localedata/tst-mbswcs1.c: Likewise.
1628         * localedata/tst-mbswcs2.c: Likewise.
1629         * localedata/tst-mbswcs3.c: Likewise.
1630         * localedata/tst-mbswcs4.c: Likewise.
1631         * localedata/tst-mbswcs5.c: Likewise.
1632         * localedata/tst-setlocale.c: Likewise.
1633         * localedata/tst-trans.c: Likewise.
1634         * localedata/tst-wctype.c: Likewise.
1635         * localedata/tst-xlocale1.c: Likewise.
1636         * login/tst-grantpt.c: Likewise.
1637         * malloc/tst-calloc.c: Likewise.
1638         * malloc/tst-malloc.c: Likewise.
1639         * malloc/tst-mallocstate.c: Likewise.
1640         * malloc/tst-mcheck.c: Likewise.
1641         * malloc/tst-mtrace.c: Likewise.
1642         * malloc/tst-obstack.c: Likewise.
1643         * math/atest-exp2.c: Likewise.
1644         * math/atest-exp.c: Likewise.
1645         * math/atest-sincos.c: Likewise.
1646         * math/test-matherr.c: Likewise.
1647         * math/test-misc.c: Likewise.
1648         * math/test-powl.c: Likewise.
1649         * math/tst-definitions.c: Likewise.
1650         * misc/tst-dirname.c: Likewise.
1651         * misc/tst-efgcvt.c: Likewise.
1652         * misc/tst-fdset.c: Likewise.
1653         * misc/tst-hsearch.c: Likewise.
1654         * misc/tst-mntent2.c: Likewise.
1655         * nptl/tst-sem7.c: Likewise.
1656         * nptl/tst-sem8.c: Likewise.
1657         * nptl/tst-sem9.c: Likewise.
1658         * nss/test-netdb.c: Likewise.
1659         * posix/tst-fnmatch.c: Likewise.
1660         * posix/tst-getlogin.c: Likewise.
1661         * posix/tst-gnuglob.c: Likewise.
1662         * posix/tst-mmap.c: Likewise.
1663         * pwd/tst-getpw.c: Likewise.
1664         * resolv/tst-inet_ntop.c: Likewise.
1665         * rt/tst-timer.c: Likewise.
1666         * stdio-common/test-fseek.c: Likewise.
1667         * stdio-common/test-popen.c: Likewise.
1668         * stdio-common/test-vfprintf.c: Likewise.
1669         * stdio-common/tst-cookie.c: Likewise.
1670         * stdio-common/tst-fileno.c: Likewise.
1671         * stdio-common/tst-gets.c: Likewise.
1672         * stdio-common/tst-obprintf.c: Likewise.
1673         * stdio-common/tst-perror.c: Likewise.
1674         * stdio-common/tst-sprintf2.c: Likewise.
1675         * stdio-common/tst-sprintf3.c: Likewise.
1676         * stdio-common/tst-sprintf.c: Likewise.
1677         * stdio-common/tst-swprintf.c: Likewise.
1678         * stdio-common/tst-tmpnam.c: Likewise.
1679         * stdio-common/tst-unbputc.c: Likewise.
1680         * stdio-common/tst-wc-printf.c: Likewise.
1681         * stdlib/tst-environ.c: Likewise.
1682         * stdlib/tst-fmtmsg.c: Likewise.
1683         * stdlib/tst-limits.c: Likewise.
1684         * stdlib/tst-rand48-2.c: Likewise.
1685         * stdlib/tst-rand48.c: Likewise.
1686         * stdlib/tst-random2.c: Likewise.
1687         * stdlib/tst-random.c: Likewise.
1688         * stdlib/tst-strtol.c: Likewise.
1689         * stdlib/tst-strtoll.c: Likewise.
1690         * stdlib/tst-tls-atexit.c: Likewise.
1691         * stdlib/tst-xpg-basename.c: Likewise.
1692         * string/test-ffs.c: Likewise.
1693         * string/tst-bswap.c: Likewise.
1694         * string/tst-inlcall.c: Likewise.
1695         * string/tst-strtok.c: Likewise.
1696         * string/tst-strxfrm.c: Likewise.
1697         * sysdeps/x86_64/tst-audit10.c: Likewise.
1698         * sysdeps/x86_64/tst-audit3.c: Likewise.
1699         * sysdeps/x86_64/tst-audit4.c: Likewise.
1700         * sysdeps/x86_64/tst-audit5.c: Likewise.
1701         * time/tst-ftime_l.c: Likewise.
1702         * time/tst-getdate.c: Likewise.
1703         * time/tst-mktime3.c: Likewise.
1704         * time/tst-mktime.c: Likewise.
1705         * time/tst-posixtz.c: Likewise.
1706         * time/tst-strptime2.c: Likewise.
1707         * time/tst-strptime3.c: Likewise.
1708         * wcsmbs/tst-btowc.c: Likewise.
1709         * wcsmbs/tst-mbrtowc.c: Likewise.
1710         * wcsmbs/tst-mbsrtowcs.c: Likewise.
1711         * wcsmbs/tst-wchar-h.c: Likewise.
1712         * wcsmbs/tst-wcpncpy.c: Likewise.
1713         * wcsmbs/tst-wcrtomb.c: Likewise.
1714         * wcsmbs/tst-wcsnlen.c: Likewise.
1715         * wcsmbs/tst-wcstof.c: Likewise.
1717 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
1719         [BZ #14132]
1720         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
1721         INTDEF.
1722         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
1723         declaration.
1724         (_dl_mcount): Use rtld_hidden_proto.
1725         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
1726         _dl_mcount.
1727         * elf/rtld.c (_rtld_global_ro): Likewise.
1729         [BZ #14132]
1730         * elf/dl-init.c (_dl_init): Don't use INTDEF.
1731         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
1732         of _dl_init_internal.
1733         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
1734         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
1735         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
1736         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
1737         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
1738         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
1739         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
1740         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
1741         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
1742         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
1743         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
1744         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
1745         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
1746         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
1747         * sysdeps/tile/dl-start.S (_start): Likewise.
1748         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
1749         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
1751         [BZ #14132]
1752         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
1753         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
1754         (rtld_progname): Make macro definition unconditional.
1755         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
1756         INTDEF.
1757         (dlmopen_doit): Do not use INTUSE with _dl_argv.
1758         (dl_main): Likewise.
1759         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
1760         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
1761         instead of _dl_argv_internal.
1762         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
1763         __GI__dl_argv instead of INTUSE(_dl_argv).
1764         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
1765         __GI__dl_argv instead of _dl_argv_internal.
1767         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
1768         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
1769         macro.
1770         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
1771         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
1772         New macro.
1773         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
1774         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
1775         macro.
1776         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
1777         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
1779 2014-11-04  Andreas Schwab  <schwab@suse.de>
1781         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
1783 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1785         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
1786         mtvsrd instruction in binary form.
1788 2014-11-03  Andreas Schwab  <schwab@suse.de>
1790         [BZ #17522]
1791         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
1792         for less than MB_LEN_MAX use a local buffer of that size.
1793         * libio/tst-fputws.c: New file.
1794         * libio/Makefile (tests): Add tst-fputws.
1796 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
1798         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
1799         the size of the fpu_fr.fpu_dregs[] array.
1801 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
1803         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
1804         (__nanosleep): Do not define as alias.
1805         (nanosleep): Define as alias of __nanosleep.
1806         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
1807         __libc_nanosleep name.
1809 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1811         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
1812         install.texi in comment.
1814 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1816         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
1817         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
1818         ... add here and use lwsync or sync ...
1819         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
1820         ... and add here using lwsync.
1822 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1824         * elf/dl-machine-reject-phdr.h: New file.
1825         * elf/dl-load.c: #include that.
1826         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
1827         if that returned true.
1829 2014-10-31  Roland McGrath  <roland@hack.frob.com>
1831         [BZ #17496]
1832         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
1833         gen-as-const-headers chunk.  Add a big scare comment after the last
1834         safe place to touch before-compile.
1836 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
1838         * manual/install.texi (Tools for Compilation): Update autoconf
1839         version requirements.
1840         * INSTALL: Regenerated.
1842         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
1843         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
1844         (__libc_pselect): Likewise.
1846         [BZ #14138]
1847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
1848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
1849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
1850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
1852 2014-10-31  Torvald Riegel  <triegel@redhat.com>
1854         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
1855         correct barrier instruction.
1856         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
1857         Likewise.
1858         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
1859         Likewise.
1861 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1863         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
1864         after defining inlines.  Instead, just use parens to defeat macro
1865         expansion of __isctype in its declaration.
1867 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1869         * include/sys/uio.h (__libc_readv): Remove declaration.
1870         (__libc_writev): Likewise.
1871         * misc/readv.c (__libc_readv): Rename to __readv.
1872         (__readv): Do not define as alias.
1873         (readv): Define as alias of __readv.
1874         * misc/writev.c (__libc_writev): Rename to __writev.
1875         (__writev): Do not define as alias.
1876         (writev): Define as alias of __writev.
1877         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
1878         (__readv): Do not define as alias.
1879         (readv): Define unconditionally as alias of __readv.
1880         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
1881         (__writev): Do not define as alias.
1882         (writev): Define unconditionally as alias of __writev.
1883         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
1884         name.
1885         (writev): Do not define __libc_writev name.
1887 2014-10-30  Roland McGrath  <roland@hack.frob.com>
1889         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
1890         (convert_charseq): New function, broken out of ...
1891         (use_from_charmap): ... here.  Call it.
1892         (use_to_charmap): Use convert_charseq and free instead of duplicating
1893         its code with a variable-length stack struct.
1895 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
1897         * include/fcntl.h (__libc_creat): Remove declaration.
1898         * io/creat.c (__libc_creat): Rename to creat.
1899         (creat): Do not define as alias.
1900         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
1901         of creat instead of __libc_creat.
1902         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
1903         to creat.
1904         (creat): Do not define as alias.
1905         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
1906         __libc_creat.
1907         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
1908         __libc_creat name.
1909         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
1910         Likewise.
1912 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
1914         * manual/llio.texi: Add comments discussing why write() may be
1915         considered MT-unsafe on Linux.
1917 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
1919         * dl-load.c (local_strdup): Remove.
1920         (expand_dynamic_string_token): Use __strdup.
1921         (decompose_rpath): Likewise.
1922         (_dl_map_object): Likewise.
1924 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
1926         [BZ #14132]
1927         * sysdeps/generic/unwind-dw2-fde.c
1928         (__register_frame_info_bases_internal): Do not declare.
1929         (__register_frame_info_table_bases_internal): Likewise.
1930         (__deregister_frame_info_bases_internal): Likewise.
1931         (__register_frame_info_bases): Declare and use hidden_proto before
1932         definition.  Use hidden_def instead of INTDEF.
1933         (__register_frame_info_table_bases): Likewise.
1934         (__deregister_frame_info_bases): Likewise.
1935         (__register_frame_info): Do not use INTUSE.
1936         (__register_frame): Likewise.
1937         (__register_frame_info_table): Likewise.
1938         (__register_frame_table): Likewise.
1939         (__deregister_frame_info): Likewise.
1940         (__deregister_frame): Likewise.
1942 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
1944         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1945         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
1946         not undefine.
1947         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
1948         Likewise.
1949         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
1950         Likewise.
1952 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
1954         [BZ #14138]
1955         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
1956         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
1957         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
1958         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
1959         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
1960         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
1961         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
1962         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
1963         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
1964         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
1965         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
1966         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
1967         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
1968         syscall.
1969         (setfsuid): Likewise.
1970         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
1971         (setfsuid): Likewise.
1972         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
1973         (setfsuid): Likewise.
1974         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
1975         Likewise.
1976         (setfsuid): Likewise.
1977         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
1978         (setfsuid): Likewise.
1979         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
1980         Likewise.
1981         (setfsuid): Likewise.
1983 2014-10-27  Andreas Schwab  <schwab@suse.de>
1985         [BZ #17501]
1986         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
1987         check for Slow_SSE4_2 feature bit.
1988         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
1989         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
1990         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
1991         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
1993 2014-10-24  Roland McGrath  <roland@hack.frob.com>
1995         * configure.ac: Validate compiler version with a empirical test of
1996         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
1997         $CC -v output.
1998         * configure: Regenerated.
2000         * inet/htons.c (htons): Prototypify.
2001         * inet/htonl.c (htonl): Likewise.
2003 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2005         * string/strncat.c (strncat): Improve performance by using strlen.
2007 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2009         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
2011 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2013         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
2014         Call libc_fetestexcept_aarch64.
2016 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2018         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
2019         Call libc_feholdexcept_aarch64.
2021 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2023         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
2024         Call get_rounding_mode.
2026 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2028         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2029         Simplify logic.
2031 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
2033         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
2034         Simplify logic.
2036 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
2038         [BZ #14138]
2039         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
2040         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
2041         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
2042         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
2043         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
2044         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
2045         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
2046         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
2047         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
2048         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
2049         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
2050         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
2051         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
2052         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
2053         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
2054         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
2055         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
2056         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
2057         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
2058         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
2059         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
2060         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
2061         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
2062         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
2063         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
2064         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
2065         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
2066         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
2067         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
2068         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
2069         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
2070         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
2071         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
2072         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
2073         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
2074         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
2075         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
2076         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
2077         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
2078         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
2079         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
2080         syscall.
2081         (geteuid): Likewise.
2082         (getgid): Likewise.
2083         (getuid): Likewise.
2084         (getresgid): Likewise.
2085         (getresuid): Likewise.
2086         (getgroups): Likewise.
2087         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
2088         (geteuid): Likewise.
2089         (getgid): Likewise.
2090         (getuid): Likewise.
2091         (getresgid): Likewise.
2092         (getresuid): Likewise.
2093         (getgroups): Likewise.
2094         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
2095         (geteuid): Likewise.
2096         (getgid): Likewise.
2097         (getuid): Likewise.
2098         (getresgid): Likewise.
2099         (getresuid): Likewise.
2100         (getgroups): Likewise.
2101         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
2102         Likewise.
2103         (geteuid): Likewise.
2104         (getgid): Likewise.
2105         (getuid): Likewise.
2106         (getresgid): Likewise.
2107         (getresuid): Likewise.
2108         (getgroups): Likewise.
2109         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
2110         (geteuid): Likewise.
2111         (getgid): Likewise.
2112         (getuid): Likewise.
2113         (getresgid): Likewise.
2114         (getresuid): Likewise.
2115         (getgroups): Likewise.
2116         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
2117         Likewise.
2118         (geteuid): Likewise.
2119         (getgid): Likewise.
2120         (getuid): Likewise.
2121         (getgroups): Likewise.
2123         [BZ #14138]
2124         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
2125         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
2126         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
2127         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
2128         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
2129         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
2130         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
2131         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
2132         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
2133         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
2134         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
2135         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
2136         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
2137         __chown.
2138         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
2139         (lchown): Likewise.
2140         (fchown): Likewise.
2141         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
2142         Likewise.
2143         (lchown): Likewise.
2144         (fchown): Likewise.
2145         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
2146         (lchown): Likewise.
2147         (fchown): Likewise.
2148         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
2149         Likewise.
2150         (lchown): Likewise.
2151         (fchown): Likewise.
2153 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2155         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
2156         Simplify logic.
2158 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2160         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2161         Cleanup logic.
2163 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2165         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
2166         Remove unused include.
2168 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
2170         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
2171         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
2172         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
2173         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
2175 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
2176             Helge Deller <deller@gmx.de>
2178         [BZ #17508]
2179         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
2180         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
2181         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
2183 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
2185         [BZ #14132]
2186         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
2187         Remove macro definition.
2188         (__ashrdi3_v_glibc20): Likewise.
2189         (__lshrdi3_v_glibc20): Likewise.
2190         (__cmpdi2_v_glibc20): Likewise.
2191         (__ucmpdi2_v_glibc20): Likewise.
2192         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
2193         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
2194         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
2195         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
2196         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
2197         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
2199 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2201         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
2202         old GNU extension [0] syntax.
2203         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
2204         alloca rather than an array member with variable length.
2205         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
2206         * nscd/nscd.c (invalidate_db): New function, broken out of ...
2207         (parse_opt): ... here.  Likewise use alloca there.
2208         Validate the -i argument before checking for rootness.
2209         (send_shutdown): New function, broken out of ...
2210         (parse_opt): ... here.
2212 2014-10-22  Roland McGrath  <roland@hack.frob.com>
2214         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
2215         macro to get at the _rt_local_ro field.
2216         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
2217         ([PIC] case) or _dl_hwcap ([!PIC] case).
2218         * sysdeps/arm/setjmp.S: Likewise.
2220         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
2221         * sysdeps/arm/configure.ac: New check to define it.
2222         * sysdeps/arm/configure: Regenerated.
2223         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
2224         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
2225         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
2226         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
2227         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
2228         Use move/movt pair instead of a load.
2229         (LDST_GLOBAL): Macro removed.
2230         (LDR_GLOBAL): New macro replaces it.
2231         (LDR_HIDDEN): New macro.
2232         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
2233         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
2235         * setjmp/tst-setjmp-static.c: New file.
2236         * setjmp/Makefile (tests): Add it.
2237         (tests-static): New variable.
2239 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
2241         [BZ #17485]
2242         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
2244 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
2246         [BZ #14132]
2247         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
2249 2014-10-21  Roland McGrath  <roland@hack.frob.com>
2251         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
2253 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2255         * io/fts.c (dirent_not_directory): New function.
2256         (fts_build): Call it.
2258 2014-10-20  Roland McGrath  <roland@hack.frob.com>
2260         * nptl/version.c (__nptl_main): Use normal __write rather than
2261         INTERNAL_SYSCALL.
2262         (banner): Update copyright years.
2264         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
2265         gettimeofday.
2266         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
2267         * nptl/pthread_cond_timedwait.c: Likewise.
2268         * nptl/pthread_mutex_timedlock.c: Likewise.
2269         * nptl/sem_timedwait.c: Likewise.
2271         * sysdeps/nptl/bits/libc-lock.h
2272         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
2273         (__libc_lock_init_recursive): Return void, not 0.
2274         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
2275         (__libc_rwlock_init): Likewise.
2276         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
2278 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2280         [BZ #15215]
2281         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
2282         (__pthread_once_slow): ... here.
2283         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
2284         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
2286 2014-10-20  Torvald Riegel  <triegel@redhat.com>
2288         [BZ #15215]
2289         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
2290         __PTHREAD_ONCE_FORK_GEN_INCR): New.
2291         * sysdeps/nptl/fork.c (__libc_fork): Use them.
2292         * nptl/pthread_once.c (__pthread_once): Likewise.
2293         Update comments.
2295 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
2297         [BZ #14138]
2298         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
2299         name.
2300         (writev): Use __libc_writev as strong name.
2301         * sysdeps/unix/sysv/linux/readv.c: Remove file.
2302         * sysdeps/unix/sysv/linux/writev.c: Likewise.
2304 2014-10-17  Roland McGrath  <roland@hack.frob.com>
2306         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
2308         * sysdeps/i386/nptl/tls.h
2309         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
2310         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
2311         New macros.
2312         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
2313         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
2314         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
2315         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
2316         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
2317         Call CHECK_THREAD_SYSINFO instead of doing an assert.
2319         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
2320         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
2321         on [__NR_futex].
2322         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
2323         broken out of ...
2324         (__pthread_mutex_init): ... here.  Call it.
2325         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
2326         Conditionalize PI cases on [__NR_futex].
2327         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2328         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
2329         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2331         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
2332         conditional on [SIGSETXID].
2333         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
2334         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
2335         is defined.  Likewise for SIGSETXID.
2336         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
2337         Conditionalize definitions on [SIGSETXID].
2338         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
2339         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
2340         unblocking on [SIGCANCEL].
2342         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
2343         [__NR_set_robust_list].
2345 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2347         * string/strcoll_l.c (get_next_seq): Fix up formatting.
2348         (do_compare): Likewise.
2350 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
2352         [BZ #15884]
2353         * string/strcoll_l.c: Don't include stdio.h.
2354         (coll_seq): Remove members idxarr and rulearr.
2355         (get_next_seq_cached): Remove function.
2356         (get_next_seq): Likewise.
2357         (get_next_seq_nocache): Rename to get_next_seq.
2358         (do_compare): Remove function.
2359         (do_compare_nocache): Rename to do_compare.
2360         (STRCOLL): Remove weight and rules cache.
2362 2014-10-16  Roland McGrath  <roland@hack.frob.com>
2364         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
2365         * sysdeps/arm/sfp-machine.h: ... to here.
2366         * sysdeps/arm/Implies: Remove arm/soft-fp.
2368 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
2370         * conform/data/sys/utsname.h-data (*_t): Allow.
2371         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
2372         [POSIX] (WEXITED): Do not expect constant.
2373         [POSIX] (WSTOPPED): Likewise.
2374         [POSIX] (WNOHANG): Likewise.
2375         [POSIX] (WNOWAIT): Likewise.
2376         [POSIX] (siginfo_t): Do not expect type or elements.
2377         [POSIX] (pid_t): Do not expect type.
2378         [POSIX] (signal.h): Do not allow header.
2379         [POSIX] (sys/resource.h): Likewise.
2380         [POSIX] (si_*): Do not allow pattern.
2381         [POSIX] (W*): Likewise.
2382         [POSIX] (P_*): Likewise.
2383         [POSIX] (BUS_*): Likewise.
2384         [POSIX] (CLD_*): Likewise.
2385         [POSIX] (FPE_*): Likewise.
2386         [POSIX] (ILL_*): Likewise.
2387         [POSIX] (POLL_*): Likewise.
2388         [POSIX] (SEGV_*): Likewise.
2389         [POSIX] (SI_*): Likewise.
2390         [POSIX] (TRAP_*): Likewise.
2391         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
2392         variable.
2394 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
2396         [BZ #12926]
2397         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
2398         infinite loop when __recvmsg returns 0.
2400 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
2402         * CANCEL-FCT-WAIVE: Remove file.
2403         * CANCEL-FILE-WAIVE: Likewise.
2405         [BZ #14132]
2406         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
2407         instead of INTVARDEF.
2408         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2409         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
2410         rtld_hidden_data_def instead of INTVARDEF.
2411         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
2412         * elf/dl-deps.c (expand_dst): Likewise.
2413         * elf/dl-load.c (_dl_dst_count): Likewise.
2414         (_dl_dst_substitute): Likewise.
2415         (decompose_rpath): Likewise.
2416         (_dl_init_paths): Likewise.
2417         (open_path): Likewise.
2418         (_dl_map_object): Likewise.
2419         * elf/rtld.c (dl_main): Likewise.
2420         (process_dl_audit): Likewise.
2421         (process_envvars): Likewise.
2422         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
2423         Remove declaration.
2424         (__libc_enable_secure): Use rtld_hidden_proto.
2426 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2428         * elf/dl-load.c
2429         (add_path): New function broken out of _dl_rtld_di_serinfo.
2430         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
2432 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2434         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
2435         parentheses around macro arguments.
2436         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
2437         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
2438         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
2439         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
2440         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
2441         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2442         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2443         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
2444         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
2445         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
2446         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
2447         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
2448         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
2449         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
2450         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
2451         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
2452         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
2453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
2454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
2455         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
2456         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
2457         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
2458         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
2459         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
2460         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
2461         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
2462         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
2463         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
2464         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
2465         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
2466         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
2467         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
2468         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
2469         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
2470         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
2471         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
2472         Likewise.
2473         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
2474         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2475         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
2477         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
2478         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
2479         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
2480         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
2481         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
2482         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
2483         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
2484         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
2485         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
2486         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
2487         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
2488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
2489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
2490         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
2491         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
2492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
2493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
2494         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
2495         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
2496         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
2497         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
2498         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
2499         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
2500         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
2501         (_FP_FRAC_SRS_1): Likewise.
2502         (_FP_FRAC_CLZ_1): Likewise.
2503         (_FP_MUL_MEAT_1_imm): Likewise.
2504         (_FP_MUL_MEAT_1_wide): Likewise.
2505         (_FP_MUL_MEAT_1_hard): Likewise.
2506         (_FP_SQRT_MEAT_1): Likewise.
2507         (_FP_FRAC_ASSEMBLE_1): Likewise.
2508         (_FP_FRAC_DISASSEMBLE_1): Likewise.
2509         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
2510         (__FP_CLZ_2): Likewise.
2511         (_FP_MUL_MEAT_2_wide): Likewise.
2512         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
2513         (_FP_MUL_MEAT_2_gmp): Likewise.
2514         (_FP_MUL_MEAT_2_120_240_double): Likewise.
2515         (_FP_SQRT_MEAT_2): Likewise.
2516         (_FP_FRAC_ASSEMBLE_2): Likewise.
2517         (_FP_FRAC_DISASSEMBLE_2): Likewise.
2518         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
2519         (_FP_FRAC_CLZ_4): Likewise.
2520         (_FP_MUL_MEAT_4_wide): Likewise.
2521         (_FP_MUL_MEAT_4_gmp): Likewise.
2522         (_FP_SQRT_MEAT_4): Likewise.
2523         (_FP_FRAC_ASSEMBLE_4): Likewise.
2524         (_FP_FRAC_DISASSEMBLE_4): Likewise.
2525         * soft-fp/op-common.h (_FP_CMP): Likewise.
2526         (_FP_CMP_EQ): Likewise.
2527         (_FP_CMP_UNORD): Likewise.
2528         (_FP_TO_INT): Likewise.
2529         (_FP_FROM_INT): Likewise.
2530         [!__FP_CLZ] (__FP_CLZ): Likewise.
2531         (_FP_DIV_HELP_imm): Likewise.
2532         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
2533         Likewise.
2534         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
2535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
2536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
2537         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
2538         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
2539         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2541         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
2542         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
2543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
2544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
2545         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
2546         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
2547         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
2548         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
2549         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
2550         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
2551         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
2552         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
2553         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
2554         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
2555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
2556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
2557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
2558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
2559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
2560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
2561         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
2562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
2563         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
2564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
2565         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
2566         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
2567         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
2568         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
2569         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
2570         (FP_UNPACK_RAW_SP): Likewise.
2571         (FP_PACK_RAW_S): Likewise.
2572         (FP_PACK_RAW_SP): Likewise.
2573         (FP_UNPACK_S): Likewise.
2574         (FP_UNPACK_SP): Likewise.
2575         (FP_UNPACK_SEMIRAW_S): Likewise.
2576         (FP_UNPACK_SEMIRAW_SP): Likewise.
2577         (FP_PACK_S): Likewise.
2578         (FP_PACK_SP): Likewise.
2579         (FP_PACK_SEMIRAW_S): Likewise.
2580         (FP_PACK_SEMIRAW_SP): Likewise.
2581         (_FP_SQRT_MEAT_S): Likewise.
2582         (FP_CMP_S): Likewise.
2583         (FP_CMP_EQ_S): Likewise.
2584         (FP_CMP_UNORD_S): Likewise.
2585         (FP_TO_INT_S): Likewise.
2586         (FP_FROM_INT_S): Likewise.
2588         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
2590         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
2591         (FP_EX_INVALID_IMZ): Likewise.
2592         (FP_EX_INVALID_IMZ_FMA): Likewise.
2593         (FP_EX_INVALID_ISI): Likewise.
2594         (FP_EX_INVALID_ZDZ): Likewise.
2595         (FP_EX_INVALID_IDI): Likewise.
2596         (FP_EX_INVALID_SQRT): Likewise.
2597         (FP_EX_INVALID_CVI): Likewise.
2598         (FP_EX_INVALID_VC): Likewise.
2599         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
2600         "invalid" exceptions.
2601         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
2602         (_FP_ADD_INTERNAL): Likewise.
2603         (_FP_MUL): Likewise.
2604         (_FP_FMA): Likewise.
2605         (_FP_DIV): Likewise.
2606         (_FP_CMP_CHECK_NAN): Likewise.
2607         (_FP_SQRT): Likewise.
2608         (_FP_TO_INT): Likewise.
2609         (FP_EXTEND): Likewise.
2611 2014-10-09  Allan McRae  <allan@archlinux.org>
2613         * po/fr.po: Update French translation from translation project.
2615 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
2617         [BZ #14132]
2618         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
2619         of INTDEF.
2620         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
2621         (__cxa_atexit): Use libc_hidden_proto.
2622         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
2624         [BZ #14132]
2625         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
2626         declaration.
2627         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
2628         [!_ISOMAC] (__iswspace_l_internal): Likewise.
2629         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
2630         [!_ISOMAC] (__iswctype_internal): Likewise.
2631         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
2632         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
2633         alias.
2634         (fcntl): Remove __fcntl_internal alias.
2635         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
2636         __connect_internal alias.
2637         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
2638         Likewise.
2640         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
2641         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
2642         FP_DENORM_ZERO.
2643         (_FP_CHECK_FLUSH_ZERO): New macro.
2644         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
2645         (_FP_CMP): Likewise.
2646         (_FP_CMP_EQ): Likewise.
2647         (_FP_TO_INT): Do not set inexact for subnormal arguments if
2648         FP_DENORM_ZERO.
2649         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
2650         (FP_TRUNC): Likewise.
2652         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
2653         treated as invalid conversion, not as normal exponent.
2655         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
2656         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
2657         (_FP_CMP_EQ): Likewise.
2658         (_FP_CMP_UNORD): Likewise.
2659         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
2660         (FP_CMP_EQ_D): Likewise.
2661         (FP_CMP_UNORD_D): Likewise.
2662         * soft-fp/extended.h (FP_CMP_E): Likewise.
2663         (FP_CMP_EQ_E): Likewise.
2664         (FP_CMP_UNORD_E): Likewise.
2665         * soft-fp/quad.h (FP_CMP_Q): Likewise.
2666         (FP_CMP_EQ_Q): Likewise.
2667         (FP_CMP_UNORD_Q): Likewise.
2668         * soft-fp/single.h (FP_CMP_S): Likewise.
2669         (FP_CMP_EQ_S): Likewise.
2670         (FP_CMP_UNORD_S): Likewise.
2671         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
2672         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
2673         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
2674         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
2675         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
2676         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
2677         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
2678         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
2679         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
2680         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
2681         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
2682         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
2683         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
2684         to FP_CMP_Q.
2685         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
2686         FP_CMP_Q.
2687         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
2688         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
2689         FP_CMP_EQ_Q.
2690         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
2691         FP_CMP_Q.
2692         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
2693         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
2694         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
2695         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
2696         FP_CMP_EQ_Q.
2697         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
2698         FP_CMP_Q.
2699         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
2700         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
2701         FP_CMP_EQ_Q.
2702         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
2703         FP_CMP_Q.
2704         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
2705         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
2706         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
2707         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
2708         FP_CMP_EQ_Q.
2710         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
2711         a subnormal result, set the underflow exception if trapping on
2712         underflow is enabled.
2713         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
2714         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
2715         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
2716         redefine to 0.
2717         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
2718         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2719         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
2720         * soft-fp/extendxftf2.c (__extendxftf2): Use
2721         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
2723         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
2724         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
2725         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2726         FP_HANDLE_EXCEPTIONS.
2727         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
2728         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2729         FP_HANDLE_EXCEPTIONS.
2730         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
2731         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2732         FP_HANDLE_EXCEPTIONS.
2733         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
2734         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
2735         FP_HANDLE_EXCEPTIONS.
2737 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
2739         [BZ #14132]
2740         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
2741         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
2742         use INTUSE.
2743         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
2744         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
2745         Remove alias.
2746         (__adjtimex): Define using libc_hidden_ver.
2747         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
2748         Remove declaration.
2749         (ntp_gettime): Call __adjtimex directly.
2750         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
2751         Remove declaration.
2752         (ntp_gettimex): Call __adjtimex directly.
2753         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
2754         __adjtimex_internal alias.
2756 2014-10-08  Roland McGrath  <roland@hack.frob.com>
2758         [BZ #17460]
2759         * nscd/nscd.c (more_help): Rewrite list of tables collection
2760         using xstrdup and asprintf.
2762         * nscd/nscd_conf.c: Remove local xstrdup declaration.
2764 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2765             Roland McGrath  <roland@hack.frob.com>
2767         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
2768         (do_lookup_unique): ... local function 'enter' here; update callers.
2770 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
2772         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
2773         compat_symbol calls on [SHARED].
2774         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
2775         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
2776         Remove.
2777         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2778         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
2779         (oldsetrlimit): Remove.
2780         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
2782         (lchown): New syscall entry.
2783         (oldsetrlimit): Remove.
2784         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2785         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
2786         (oldsetrlimit): Remove.
2787         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
2789         [BZ #14138]
2790         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
2791         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
2792         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
2793         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
2794         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
2795         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
2796         (fchown): Likewise.
2797         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
2798         (fchown): Likewise.
2799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
2800         Likewise.
2802 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2804         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
2805         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
2806         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
2807         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
2808         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
2809         Likewise.
2810         (__old_sem_post): Likewise.
2812 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
2814         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
2815         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
2816         HAVE_CLOCK_GETTIME_VSYSCALL macros.
2817         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
2818         Use INLINE_VSYSCALL macro.
2819         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
2820         __vdso_clock_gettime.
2821         * sysdeps/unix/sysv/linux/tile/init-first.c
2822         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
2823         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
2824         __vdso_clock_gettime.
2826         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
2827         to set up frame more cleanly.
2829         * sysdeps/tile/memcmp.c: New file.
2831         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
2833         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
2834         * sysdeps/tile/tilegx/strcasestr.c: New file.
2835         * sysdeps/tile/tilegx/strnlen.c: New file.
2836         * sysdeps/tile/tilegx/strstr.c: New file.
2838         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
2840 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
2842         * nptl/tst-setuid3.c: Write errors to stdout.
2844 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2846         * elf/dl-deps.c
2847         (preload): New functions broken out of _dl_map_object_deps.
2848         (_dl_map_object_deps):  Remove a nested function. Update call sites.
2850 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
2852         [BZ #14138]
2853         * sysdeps/unix/sysv/linux/execve.c: Remove file.
2854         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
2856 2014-10-01  Steve Ellcey  <sellcey@mips.com>
2858         * sysdeps/mips/strcmp.S: New.
2860 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
2862         [BZ #14138]
2863         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
2864         (linkat): Likewise.
2865         (mkdirat): Likewise.
2866         (readlinkat): Likewise.
2867         (renameat): Likewise.
2868         (symlinkat): Likewise.
2869         (unlinkat): Likewise.
2870         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
2871         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
2872         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
2873         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
2874         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
2875         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
2876         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
2878 2014-09-30  Will Newton  <will.newton@linaro.org>
2880         * math/math.h: Define long double math functions if
2881         _LIBC_TEST is defined.
2882         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
2884         * localedata/Makefile: Move assignment to tests-special
2885         into an ifdef testing run-built-tests.
2886         * timezone/Makefile: Likewise.
2888 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
2890         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
2891         with $(BASH) not $(SHELL).
2893 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
2894             Matthew LeGendre  <legendre1@llnl.gov>
2896         [BZ #17411]
2897         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
2898         l_reloc_result.
2900 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
2902         * stdio-common/printf_fp.c
2903         (hack_digit): New function, broken out of ...
2904         (__printf_fp): ... local function here.  Update call sites.
2905         hack_digit now takes an additional parameter that is a pointer
2906         to a struct of the referenced locals.  Those locals moved inside
2907         the struct and references updated.
2909 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
2911         * aclocal.m4: Require autoconf 2.69.
2912         * configure: Regenerated.
2913         * sysdeps/aarch64/configure: Likewise.
2914         * sysdeps/alpha/configure: Likewise.
2915         * sysdeps/arm/armv7/configure: Likewise.
2916         * sysdeps/arm/configure: Likewise.
2917         * sysdeps/ia64/configure: Likewise.
2918         * sysdeps/mach/configure: Likewise.
2919         * sysdeps/mips/configure: Likewise.
2920         * sysdeps/s390/configure: Likewise.
2921         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
2922         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
2924         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
2925         file.
2926         * sysdeps/ia64/configure.ac: Likewise.
2928 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
2930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
2931         specify symbol version for ld.so.  Do not include entry for
2932         libpthread.
2933         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
2934         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
2935         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
2937         [BZ #14171]
2938         * Makeconfig [$(build-shared) = yes]
2939         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
2940         makefiles.
2941         [$(build-shared) = yes && $(soversions.mk-done) = t]
2942         ($(common-objpfx)gnu/lib-names.h): Remove rule.
2943         [$(build-shared) = yes && $(soversions.mk-done) = t]
2944         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
2945         to Makerules.
2946         [$(build-shared) = yes && $(soversions.mk-done) = t]
2947         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
2948         here.
2949         [$(build-shared) = yes && $(soversions.mk-done) = t]
2950         (common-generated): Don't append gnu/lib-names.h and
2951         gnu/lib-names.stmp here.
2952         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
2953         (lib-names-h-abi): New variable.
2954         [$(build-shared) = yes && $(soversions.mk-done) = t]
2955         (lib-names-stmp-abi): Likewise.
2956         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2957         abi-variants] (before-compile): Append
2958         $(common-objpfx)$(lib-names-h-abi).
2959         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2960         abi-variants] (common-generated): Append gnu/lib-names.h.
2961         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2962         abi-variants] (install-others-nosubdir): Depend on
2963         $(inst_includedir)/$(lib-names-h-abi).
2964         [$(build-shared) = yes && $(soversions.mk-done) = t &&
2965         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
2966         [$(build-shared) = yes && $(soversions.mk-done) = t]
2967         ($(common-objpfx)$(lib-names-h-abi)): New rule.
2968         [$(build-shared) = yes && $(soversions.mk-done) = t]
2969         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
2970         [$(build-shared) = yes && $(soversions.mk-done) = t]
2971         (common-generated): Append $(lib-names-h-abi) and
2972         $(lib-names-stmp-abi).
2973         * scripts/lib-names.awk: Do not handle multi being set.
2974         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
2975         Remove variable.
2976         (abi-lp64_be-ld-soname): Likewise.
2977         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
2978         Likewise.
2979         (abi-hard-ld-soname): Likewise.
2980         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
2981         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
2982         Remove variable.
2983         (abi-o32_hard-ld-soname): Likewise.
2984         (abi-o32_soft_2008-ld-soname): Likewise.
2985         (abi-o32_hard_2008-ld-soname): Likewise.
2986         (abi-n32_soft-ld-soname): Likewise.
2987         (abi-n32_hard-ld-soname): Likewise.
2988         (abi-n32_soft_2008-ld-soname): Likewise.
2989         (abi-n32_hard_2008-ld-soname): Likewise.
2990         (abi-n64_soft-ld-soname): Likewise.
2991         (abi-n64_hard-ld-soname): Likewise.
2992         (abi-n64_soft_2008-ld-soname): Likewise.
2993         (abi-n64_hard_2008-ld-soname): Likewise.
2994         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
2995         Likewise.
2996         (abi-64-v2-ld-soname): Likewise.
2997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
2998         ld.so entries.
2999         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
3000         variable.
3001         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
3002         entry.
3003         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
3004         variable.
3005         (abi-64-ld-soname): Likewise.
3006         (abi-x32-ld-soname): Likewise.
3007         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
3008         entry.
3009         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3011 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
3013         [BZ #14138]
3014         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
3015         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
3016         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
3017         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
3018         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
3019         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
3020         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
3021         syscall entry for GLIBC_2.2 symbol version.
3022         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
3023         Likewise.
3024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
3025         (setrlimit): Likewise.
3026         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
3027         Likewise.
3029 2014-09-23  Will Newton  <will.newton@linaro.org>
3031         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
3032         _LINUX_ARM_SYSDEP_H include guard too.
3033         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
3034         define.
3036 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
3038         * sysdeps/unix/sysv/linux/eventfd.c:
3039         Make first argument unsigned.
3040         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
3041         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
3043 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
3045         * socket/recvmmsg.c (recvmmsg): Drop const argument.
3046         * socket/sys/socket.h: Likewise
3047         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
3049 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
3051         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
3053 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
3055         * time/tst-ftime.c: New test.
3056         * time/Makefile (tests): Add tst-ftime.
3058 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
3060         * soft-fp/extended.h: Fix comment formatting.
3061         * soft-fp/op-1.h: Likewise.
3062         * soft-fp/op-2.h: Likewise.
3063         * soft-fp/op-4.h: Likewise.
3064         * soft-fp/op-8.h: Likewise.
3065         * soft-fp/op-common.h: Likewise.
3066         * soft-fp/soft-fp.h: Likewise.
3068         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
3070 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
3072         [BZ #6652]
3073         * Makeconfig (soversions-default-setname): Remove variable.
3074         ($(common-objpfx)soversions.i): Don't pass default_setname to
3075         soversions.awk.
3076         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
3077         oldest_abi to abi-versions.awk.
3078         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
3079         * config.make.in (oldest-abi): Remove variable.
3080         * configure.ac (--enable-oldest-abi): Remove configure option.
3081         * configure: Regenerated.
3082         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
3083         text.
3084         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
3085         * scripts/soversions.awk: Do not handle default_setname variable.
3086         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
3087         variable.
3088         * sysdeps/mach/hurd/configure: Regenerated.
3089         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
3090         variable.
3091         * sysdeps/unix/sysv/linux/configure: Regenerated.
3093 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3095         * elf/Makefile (CFLAGS-interp.c): Remove.
3096         ($(elf-objpfx)runtime-linker.h): Generate header with linker
3097         path string.
3098         * elf/interp.c: Include generated runtime-linker.h
3100         * Makerules (lib%.so): Don't include $(+interp) in
3101         prerequisites.
3102         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
3103         * dlfcn/eval.c: Remove file.
3105         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
3106         macros.
3108         [BZ #17266]
3109         * misc/sys/cdefs.h: Define __extern_always_inline for clang
3110         4.2 and newer.
3112         [BZ #17370]
3113         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
3115 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3116             Jakub Jelinek  <jakub@redhat.com>
3118         [BZ #17266]
3119         * libio/stdio.h: Check definition of __fortify_function
3120         instead of __extern_always_inline to include bits/stdio2.h.
3121         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
3122         check if __extern_always_inline is defined.
3123         [__USE_MISC || __USE_XOPEN]: Likewise.
3124         [__USE_ISOC99] Likewise.
3125         * misc/sys/cdefs.h (__fortify_function): Define only if
3126         __extern_always_inline is defined.
3127         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
3128         __extern_always_inline and __extern_inline only for g++-4.3
3129         and newer or a compatible gcc.
3131 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
3133         [BZ #17371]
3134         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
3135         last change to handle zero prefix length.
3137 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
3139         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
3140         _SC_REGEX_VERSION.
3142         * posix/getconf.c (vars): Add _POSIX_IPV6 and
3143         _POSIX_RAW_SOCKETS.
3145 2014-09-13  Allan McRae  <allan@archlinux.org>
3147         * po/ru.po: Update Russian translation from translation project.
3149 2014-09-12  Roland McGrath  <roland@hack.frob.com>
3151         * locale/programs/locale.c (show_locale_vars): Inline local function
3152         into its sole call site.  Clean up some style nits.
3153         (print_item): New function, broken out of ...
3154         (show_info): ... local function here.  Clean up style nits.
3156         * locale/programs/ld-ctype.c (set_one_default): New function, broken
3157         out of ...
3158         (set_class_defaults): ... local function set_default here.
3159         Define set_default as a macro locally to pass constant parameters.
3160         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
3161         rather than a shared local.
3163         * stdlib/rpmatch.c (try): New function, broken out of ...
3164         (rpmatch): ... local function here.  Also, prototypify definition.
3166 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
3168         * scripts/soversions.awk: Do not handle configuration names.
3169         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
3170         vendor and os variables to soversions.awk.
3171         * configure.ac: Do not modify gnu-* host_os.
3172         * configure: Regenerated
3173         * shlib-versions: Remove first column with configuration names.
3174         * nptl/shlib-versions: Likewise.
3175         * nptl_db/shlib-versions: Likewise.
3176         * sysdeps/hppa/shlib-versions: Likewise.
3177         * sysdeps/m68k/shlib-versions: Likewise.
3178         * sysdeps/mach/hurd/shlib-versions: Likewise.
3179         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
3180         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
3181         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
3182         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
3183         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
3184         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
3185         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
3186         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
3187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3188         Likewise.
3189         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3190         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3191         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3192         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3193         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3194         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
3195         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
3196         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
3198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
3199         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
3200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
3201         Regenerated.
3202         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
3203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
3204         Condition symbol version definitions on [HAVE_ELFV2_ABI].
3206         * shlib-versions: Remove OS-specific entries.  Moved to files in
3207         sysdeps.
3208         * sysdeps/mach/hurd/shlib-versions: New file.
3209         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
3211         * nptl/shlib-versions: Remove architecture-specific entries.
3212         Moved to files in sysdeps.
3213         * shlib-versions: Likewise.
3214         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
3215         file.
3216         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
3217         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
3218         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
3219         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
3221         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
3222         (UDP_NO_CHECK6_RX): Likewise.
3224 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3226         * sysdeps/posix/sysconf.c (__sysconf): Spell
3227         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
3229 2014-08-12  Florian Weimer  <fweimer@redhat.com>
3231         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
3232         loading.
3233         * iconv/Versions (__gconv_transliterate): Export for use from
3234         gconv modules.
3235         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
3236         (struct __gconv_trans_data, __gconv_trans_fct,
3237         __gconv_trans_context_fct, __gconv_trans_query_fct,
3238         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
3239         definitions.
3240         (struct __gconv_step_data): Remove __trans member.
3241         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
3242         longer hidden.  Remove unused trans_data argument.
3243         * iconv/gconv_int.h (struct trans_struct): Remove definition.
3244         (__gconv_translit_find): Remove declaration.
3245         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
3246         prototype.
3247         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
3248         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
3249         trans_data argument.  Add hidden definition.
3250         (__gconv_translit_find): Remove.
3251         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
3252         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
3253         * iconv/skeleton.c: Remove transliteration initialization.
3254         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
3255         __gconv_step_data initialization.
3256         * libio/iofwide.c (__libio_translit_): Remove.
3257         (_IO_fwide): Adjust struct __gconv_step_data initialization.
3258         * wcsmbs/btowc.c (__btowc): Likewise.
3259         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
3260         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
3261         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
3262         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
3263         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
3264         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
3265         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
3266         * wcsmbs/wctob.c (wctob): Likewise.
3268 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3270         [BZ #16194]
3271         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
3272         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
3273         register usage.
3274         * sysdeps/x86/Makefile: Adjust.
3276 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3277             Roland McGrath  <roland@hack.frob.com>
3279         * locale/weight.h: Add include guard.
3280         (findidx): Make static rather than auto; take new parameters
3281         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
3282         * locale/weightwc.h: Likewise.
3283         * posix/fnmatch_loop.c
3284         (FCT): Change type of EXTRA from int32_t to wint_t.
3285         Don't include either header inside the function.
3286         Call FINDIDX rather than findidx, and pass new arguments.
3287         #undef FINDIDX at the end of the file.
3288         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
3289         FINDIDX before including fnmatch_loop.c for the non-wide version.
3290         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
3291         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
3292         for the wide version.
3293         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
3294         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
3295         Pass new arguments to findidx.
3296         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
3297         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
3298         Don't #include it inside the function.  Pass new arguments to findidx.
3299         * posix/regex_internal.h
3300         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
3301         (re_string_elem_size_at): Don't #include it inside the function.
3302         Pass new arguments to findidx.
3303         * string/strcoll_l.c: #include WEIGHT_H at top level.
3304         (get_next_seq): Don't #include it inside the function.
3305         Pass new arguments to findidx.
3306         (get_next_seq_nocache): Likewise.
3307         * string/strxfrm_l.c: #include WEIGHT_H at top level.
3308         (STRXFRM): Don't #include it inside the function.
3309         Pass new arguments to findidx.
3311 2014-09-11  Florian Weimer  <fweimer@redhat.com>
3313         [BZ #17344]
3314         * malloc/malloc.c (unlink): Turn asserts into a call to
3315         malloc_printerr.
3317 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
3319         [BZ #17370]
3320         * libio/wfileops (do_ftell_wide): Free OUT.
3322 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
3324         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
3326 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3328         [BZ #17363]
3329         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
3330         group if the current group is empty.
3332 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3334         * benchtests/bench-memset.c (test_main): Add more test from size
3335         from 32 to 512 bytes.
3336         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3337         Add POWER8 memset object.
3338         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3339         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
3340         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
3341         implementation.
3342         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
3343         Likewise.
3344         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
3345         multiarch POWER8 memset optimization.
3346         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
3347         POWER8 memset optimization.
3349         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3350         Remove bzero multiarch objects.
3351         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
3352         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
3353         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
3354         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
3355         Remove define.
3356         [__bzero]: Redefine to specific name.
3357         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3358         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3359         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
3360         define.
3361         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3362         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3364 2014-09-10  Florian Weimer  <fweimer@redhat.com>
3366         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
3367         warnings into errors.
3369         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
3370         __cxa_thread_atexit_impl prototype.
3372 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3374         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
3375         Fix capitalization of error message.
3377 2014-09-09  Steve Ellcey  <sellcey@mips.com>
3379         * sysdeps/mips/preconfigure: Modify ABI tests.
3381 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
3383         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
3385 2014-09-07  Roland McGrath  <roland@hack.frob.com>
3386             Carlos O'Donell  <carlos@systemhalted.org>
3388         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
3389         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
3390         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
3391         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
3392         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
3393         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
3394         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
3395         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
3396         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
3397         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
3398         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
3399         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
3400         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
3401         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
3402         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
3403         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
3404         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
3405         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
3406         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
3407         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
3408         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
3409         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
3410         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
3411         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
3412         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
3413         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
3414         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
3415         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
3416         Deconditionalize the code that was previously under [RESET_PID].
3417         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
3418         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
3419         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
3420         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
3421         include sysdep.h.
3423 2014-09-08  Allan McRae  <allan@archlinux.org>
3425         * version.h (RELEASE): Set to "development".
3426         (VERSION): Set to "2.20.90"
3428 2014-09-07  Allan McRae  <allan@archlinux.org
3430         * version.h (RELEASE): Set to "stable".
3431         (VERSION): Set to "2.20"
3432         * include/features.h (__GLIBC_MINOR__): Set to 20.
3434         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
3435         Liebler.
3437         * po/ko.po: Update Korean translation from translation project.
3439 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
3441         [BZ #17354]
3442         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
3443         macro for handling signed relocations.
3445 2014-09-03  Florian Weimer  <fweimer@redhat.com>
3447         [BZ #17325]
3448         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
3449         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
3450         assert.
3451         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
3452         * iconvdata/ibm935.c (BODY): Likewise.
3453         * iconvdata/ibm937.c (BODY): Likewise.
3454         * iconvdata/ibm939.c (BODY): Likewise.
3455         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
3456         assert.
3457         * iconvdata/Makefile (iconv-test.out): Pass module list to test
3458         script.
3459         * iconvdata/run-iconv-test.sh: New test loop for checking for
3460         decoder crashers.
3462 2014-09-02  Khem Raj  <raj.khem@gmail.com>
3464         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
3465         libm_hidden_ver.
3467 2014-09-01  Allan McRae  <allan@archlinux.org>
3469         * po/eo.po: Update Esperanto translation from translation project.
3471         * po/ca.po: Update Catalan translation from translation project.
3473 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3475         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
3476         __proc_dostop call.
3478 2014-08-27  Mark Wielaard  <mjw@redhat.com>
3480         [BZ #17319]
3481         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
3482         to call set_thread_area instead of hand written asm.
3483         (__NR_set_thread_area): Removed define.
3484         (TLS_FLAG_WRITABLE): Likewise.
3485         (__ASSUME_SET_THREAD_AREA): Remove check.
3486         (TLS_EBX_ARG): Remove define.
3487         (TLS_LOAD_EBX): Likewise.
3489 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3491         Simplify atomicity of socket creation in bind.
3493         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
3494         looking up the name after linking the file.
3496 2014-08-27  Allan McRae  <allan@archlinux.org>
3498         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
3500 2014-08-26  Florian Weimer  <fweimer@redhat.com>
3502         [BZ #17187]
3503         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
3504         trans_compare, open_translit, __gconv_translit_find):
3505         Remove module loading code.
3507 2014-08-26  Allan McRae  <allan@archlinux.org>
3509         * po/vi.po: Update Vietnamese translation from translation project.
3511         * po/uk.po: Update Ukrainian translation from translation project.
3513         * po/fr.po: Update French translation from translation project.
3515         * po/ru.po: Update Russian translation from translation project.
3517         * po/pl.po: Update Polish translation from translation project.
3519         * po/cs.po: Update Czech translation from translation project.
3521         * po/de.po: Update German translation from translation project.
3523         * po/bg.po: Update Bulgarian translation from translation project.
3525         * po/sv.po: Update Sweedish translation from translation project.
3527         * po/nl.po: Update Dutch translation from translation project.
3529         * po/es.po: Update Spanish translation from translation project.
3531 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
3533         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
3535         * catgets/Makefile (CPPFLAGS-gencat): Remove.
3536         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
3537         (CPPFLAGS-iconvconfig): Likewise.
3538         * timezone/Makefile (CPPFLAGS-zic): Likewise.
3540         * include/libc-symbols.h: Remove unnecessary check for
3541         NOT_IN_libc.
3542         * nptl/pthreadP.h: Likewise.
3543         * sysdeps/aarch64/setjmp.S: Likewise.
3544         * sysdeps/alpha/setjmp.S: Likewise.
3545         * sysdeps/arm/sysdep.h: Likewise.
3546         * sysdeps/i386/setjmp.S: Likewise.
3547         * sysdeps/m68k/setjmp.c: Likewise.
3548         * sysdeps/posix/getcwd.c: Likewise.
3549         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3550         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3551         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3552         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3553         * sysdeps/sh/sh3/setjmp.S: Likewise.
3554         * sysdeps/sh/sh4/setjmp.S: Likewise.
3555         * sysdeps/unix/alpha/sysdep.h: Likewise.
3556         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3557         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3558         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3559         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3562         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3563         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3564         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3565         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3566         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3567         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3568         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3569         * sysdeps/x86_64/setjmp.S: Likewise.
3571 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
3573         [BZ #17263]
3574         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
3575         <stdint.h>.
3576         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
3577         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
3579 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
3581         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
3583         [BZ #17262]
3584         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
3585         and __x86_64__ when disabling x87 inline functions.
3587 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
3589         [BZ #17259]
3590         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
3591         asm statement with __cpuid_count.
3593 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
3595         * configure.ac: Change __ehdr_start code to dereference the struct.
3596         Run readelf on the output to look for relocations.
3597         * configure: Regenerated.
3599 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
3601         [BZ #17261]
3602         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
3603         value to 0.
3604         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
3606 2014-08-12  Roland McGrath  <roland@hack.frob.com>
3608         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
3610 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
3612         [BZ #16892]
3613         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
3614         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
3616 2014-08-12  Sean Anderson  <seanga2@gmail.com>
3618         * malloc/malloc.c: Fix typo in comment.
3620 2014-08-09  Allan McRae  <allan@archlinux.org>
3622         * Regenerate libc.po.
3624 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
3626         * intl/tst-gettext2.sh: Check every lang file for creation.
3628 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3630         * sysdeps/aarch64/fpu/math_private.h
3631         (libc_feholdsetround_noex_aarch64_ctx): New function.
3633 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
3635         * sysdeps/arm/armv6/strcpy.S (strcpy):
3636         Fix performance issue in misaligned cases.
3638 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3640         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
3641         Move definition from termios.h.
3642         (struct termio): Likewise.
3643         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3644         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3645         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3646         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3647         Likewise.
3648         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
3649         Move definition to ioctl-types.h
3650         (struct termio): Likewise.
3651         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
3652         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
3653         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
3654         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
3655         Likewise.
3657 2014-08-05  Richard Henderson  <rth@redhat.com>
3659         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
3660         exceptions.
3661         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
3662         Add fraiseexcpt.
3663         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
3664         Use __feraiseexcept.
3665         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
3666         Protect libm symbols with IS_IN_libm.
3668         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
3670 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
3672         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
3674 2014-08-04  Will Newton  <will.newton@linaro.org>
3676         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
3677         file.
3679 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
3681         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
3682         variants for each function.
3684 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3686         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
3687         appended ...
3688         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
3689         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
3690         appended ...
3691         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
3692         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
3693         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
3694         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
3695         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
3696         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
3697         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
3698         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
3699         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
3700         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
3701         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
3702         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
3703         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
3704         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
3705         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
3706         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
3707         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
3708         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
3709         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
3710         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
3711         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
3712         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
3713         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
3714         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
3715         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
3716         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
3717         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
3718         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
3719         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
3720         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
3721         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
3722         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
3723         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
3724         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
3725         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
3726         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
3727         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
3728         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
3729         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
3730         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
3731         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
3732         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
3733         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
3734         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
3735         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
3736         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
3737         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
3738         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
3739         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
3740         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
3741         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
3742         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
3743         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
3744         Update #include.
3745         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
3746         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
3748 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3750         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
3751         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
3752         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
3753         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
3754         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
3755         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
3757 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3759         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
3760         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
3761         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
3762         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
3764 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3766         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
3767         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
3768         (__libc_vfork): Define function under this name.
3769         (__vfork): Define as an alias.
3770         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
3771         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
3773 2014-08-04  Roland McGrath  <roland@hack.frob.com>
3775         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
3776         that was previously under [RESET_PID].
3777         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
3779 2014-08-04  Andreas Schwab  <schwab@suse.de>
3781         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
3783 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
3785         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
3786         (main): Likewise.
3788 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3790         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
3792 2014-08-01  Richard Henderon  <rth@redhat.com>
3794         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
3795         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
3796         typo in exact zero test.
3797         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
3798         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
3799         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
3801 2014-08-01  Roland McGrath  <roland@hack.frob.com>
3803         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
3804         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
3805         * sysdeps/arm/sysdep.h: ... here.
3806         [!__ASSEMBLER__]: Include <stdint.h>.
3808 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
3810         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
3811         (HAVE_WCTYPE_H): Likewise.
3812         (HAVE_ISWCTYPE): Likewise.
3813         (ENABLE_NLS): Likewise.
3814         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
3815         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
3817         * posix/regex_internal.c: Check if DEBUG is defined and is
3818         set.
3820         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
3821         (HAVE_MBSRTOWCS): Likewise.
3822         * posix/fnmatch.c: Include string.h unconditionally.
3824 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
3826         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
3827         reversal.
3829 2014-07-31  Roland McGrath  <roland@hack.frob.com>
3831         * sysdeps/generic/safe-fatal.h: New file.
3832         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
3833         * nptl/forward.c: Include it.
3834         (__pthread_unwind): Use __safe_fatal as default action, rather
3835         than a bogus use of INTERNAL_SYSCALL that could never work.
3837         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
3838         * configure.ac (libc_cv_builtin_trap): New test.
3839         * configure: Regenerated.
3840         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
3841         (ABORT_INSTRUCTION): Define using __builtin_trap.
3843         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
3844         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
3845         * sysdeps/nptl/nptl-signals.h: New file.
3846         * nptl/pthreadP.h: Include <nptl-signals.h>.
3848 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3850         * sysdeps/s390/s390-64/utf16-utf32-z9.c
3851         (ONE_DIRECTION): Define.
3852         * sysdeps/s390/s390-64/utf8-utf16-z9.c
3853         (ONE_DIRECTION): Define.
3854         * sysdeps/s390/s390-64/utf8-utf32-z9.c
3855         (ONE_DIRECTION): Define.
3857 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
3859         * sysdeps/s390/Makefile: Delete file.
3860         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
3861         * sysdeps/s390/__longjmp.c: Delete file.
3862         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
3863         Remove fields __flags and __reserved.
3864         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
3865         and add versioning.
3866         * sysdeps/s390/rtld-__longjmp.c: Delete file.
3867         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
3868         * sysdeps/s390/rtld-setjmp.S: Likewise.
3869         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
3870         * sysdeps/s390/s390-32/__longjmp.c: ... here.
3871         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
3872         * sysdeps/s390/s390-32/setjmp.S: ... here.
3873         Add versioning.
3874         (__sigsetjmp): Remove setting __flags field.
3875         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
3876         * sysdeps/s390/s390-64/__longjmp.c: ... here.
3877         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
3878         * sysdeps/s390/s390-64/setjmp.S: ... here.
3879         Add versioning.
3880         (__sigsetjmp): Remove setting __flags field.
3881         * sysdeps/s390/setjmp.S: Delete file.
3882         * sysdeps/s390/sigjmp.c: Likewise.
3883         * sysdeps/s390/v1-longjmp.c: Likewise.
3884         * sysdeps/s390/v1-setjmp.h: Likewise.
3885         * sysdeps/s390/v1-sigjmp.c: Likewise.
3886         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
3887         Remove v1-longjmp_chk.
3888         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
3889         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
3890         Include debug/longjmp_chk.c and add versioning.
3891         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
3892         Include nptl/pt-longjmp.c and add versioning.
3893         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
3894         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
3895         Include __longjmp.c.
3896         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
3897         Move to ...
3898         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
3899         (__getcontext): Remove setting __flags field.
3900         Add versioning.
3901         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
3902         Don't restore upper high grps.
3903         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
3904         Likewise.
3905         (__swapcontext): Remove setting uc_flags field.
3906         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
3907         Delete file.
3908         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
3909         Include __longjmp.c.
3910         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
3911         Move to ...
3912         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
3913         (__getcontext): Remove setting __flags field.
3914         Add versioning.
3915         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
3916         (__swapcontext): Remove setting uc_flags field.
3917         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
3918         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
3919         Remove fields uc_high_gprs and __reserved.
3920         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
3921         New file with reverted content.
3922         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
3923         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
3924         Regenerated.
3925         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
3926         Regenerated.
3928 2014-07-31  Andreas Schwab  <schwab@suse.de>
3930         * config.h.in (HAVE_IFUNC): Define to 0.
3931         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
3932         definedness.
3934 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
3936         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3937         memmove-avx-unaligned, memcpy-avx-unaligned and
3938         mempcpy-avx-unaligned.
3939         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3940         Add tests for AVX memcpy functions.
3941         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
3942         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
3943         memcpy_chk.
3944         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
3945         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
3946         memmove_chk.
3947         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
3948         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
3949         mempcpy_chk.
3950         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
3951         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
3952         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
3954 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3956         [BZ #17213]
3957         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
3958         powerpc64le.
3960 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
3962         [BZ #16839]
3963         * manual/llio.texi: Add section about open file description locks.
3964         * manual/examples/ofdlocks.c: Example of open file description
3965         lock usage.
3966         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
3967         F_OFD_SETLK, and F_OFD_SETLKW.
3969 2014-07-23  Allan McRae  <allan@archlinux.org>
3971         * po/es.po: Update Spanish translation from translation project.
3973 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
3975         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
3977 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
3979         [BZ #17078]
3980         * sysdeps/arm/dl-machine.h (elf_machine_rela)
3981         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
3982         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
3984 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
3986         [BZ #17088]
3987         * math/fesetenv.c (__fesetenv)
3988         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
3989         * math/feupdateenv.c (__feupdateenv)
3990         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
3992         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
3993         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
3994         (__ASSUME_SOCKETCALL): Do not define.
3996         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
3997         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
3998         (__ASSUME_SOCKETCALL): Do not define.
3999         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
4000         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4001         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4002         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
4003         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4004         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
4005         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4006         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4008         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
4009         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
4010         (__ASSUME_SOCKETCALL): Do not define.
4011         (__ASSUME_IPC64): Define unconditionally.
4012         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4013         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4014         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
4015         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4016         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
4017         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4018         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
4019         Likewise.
4021         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
4022         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
4023         (__ASSUME_SOCKETCALL): Do not define.
4024         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
4025         (__ASSUME_FUTEX_LOCK_PI): Likewise.
4026         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4027         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4028         (__ASSUME_REQUEUE_PI): Define unconditionally.
4029         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
4030         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
4031         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4032         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
4033         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4034         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4036         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
4037         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
4038         (__ASSUME_SOCKETCALL): Do not define.
4039         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
4040         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4041         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4042         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
4043         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4044         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4046         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
4047         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
4048         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
4049         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
4050         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4051         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
4052         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4053         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
4054         (__ASSUME_GETCPU_SYSCALL): Likewise.
4056         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
4057         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
4058         cases for individual architectures.
4059         * sysdeps/gnu/configure: Regenerated.
4060         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
4061         LIBC_SLIBDIR_RTLDDIR.
4062         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
4063         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
4064         LIBC_SLIBDIR_RTLDDIR.
4065         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
4066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
4067         LIBC_SLIBDIR_RTLDDIR.
4068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4069         Regenerated.
4070         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
4071         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
4072         file.
4073         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
4074         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
4075         file.
4076         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
4077         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
4078         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
4079         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
4081         * sysdeps/aarch64/shlib-versions: Move to ...
4082         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
4083         * sysdeps/alpha/shlib-versions: Move to ...
4084         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
4085         * sysdeps/arm/shlib-versions: Move to ...
4086         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
4087         * sysdeps/hppa/shlib-versions: Move all contents except for
4088         libgcc_s entry to ...
4089         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
4090         entry from ...
4091         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
4092         * sysdeps/ia64/shlib-versions: Move to ...
4093         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
4094         entry from ...
4095         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
4096         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
4097         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
4098         * sysdeps/microblaze/shlib-versions: Move to ...
4099         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
4100         * sysdeps/mips/shlib-versions: Move to ...
4101         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
4102         entry from ...
4103         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
4104         * sysdeps/tile/shlib-versions: Move to ...
4105         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
4106         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
4107         from ...
4108         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
4109         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
4110         entry from ...
4111         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
4113 2014-07-17  Will Newton  <will.newton@linaro.org>
4115         * sysdeps/arm/bits/atomic.h
4116         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
4117         (__arch_compare_and_exchange_bool_16_int): Likewise.
4118         (__arch_compare_and_exchange_bool_64_int): Likewise.
4120         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
4121         into an #else block.
4123 2014-07-16  Roland McGrath  <roland@hack.frob.com>
4125         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
4126         just Linux configurations.  Test empirically that the compiler sets
4127         __ARM_EABI__, rather than using the tuple to decide.
4128         * sysdeps/arm/preconfigure: Regenerated.
4129         * sysdeps/unix/sysv/linux/arm/configure: File removed.
4130         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
4131         contents appended ...
4132         * sysdeps/arm/configure.ac: ... here.
4133         * sysdeps/arm/configure: Regenerated.
4135 2014-07-15  Roland McGrath  <roland@hack.frob.com>
4137         * nptl/pthread_kill.c: New file.
4138         * nptl/pthread_sigmask.c: New file.
4139         * nptl/pthread_sigqueue.c: New file.
4141         * sysdeps/nptl/lowlevellock.h: New file.
4142         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
4143         * sysdeps/nptl/lowlevellock-futex.h: New file.
4145         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
4146         Remove dead declarations.
4148 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
4150         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
4151         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
4152         config-cflags-avx2.
4153         * sysdeps/x86_64/configure.ac: Likewise.
4154         * sysdeps/i386/configure: Regenerated.
4155         * sysdeps/x86_64/configure: Likewise.
4156         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4157         memset-avx2 only if config-cflags-avx2 is yes.
4158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4159         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
4160         defined.
4161         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
4162         only if HAVE_AVX2_SUPPORT is defined.
4163         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4165 2014-07-14  Alan Modra  <amodra@gmail.com>
4167         [BZ #17153]
4168         * elf/elf.h (DT_PPC64_NUM): Correct value.
4169         * NEWS: Add to fixed bug list.
4171 2014-07-13  Jim Meyering  <meyering@fb.com>
4173         [BZ 17150]
4174         regex: don't deref NULL upon heap allocation failure
4175         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
4176         failure in one more place.
4177         To trigger the segfault, configure grep -with-included-regex,
4178         build it, and run these commands:
4179         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
4181 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
4183         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
4185 2014-07-11  Richard Henderson  <rth@redhat.com>
4187         * sysdeps/aarch64/libm-test-ulps: Update.
4189 2014-07-10  Florian Weimer  <fweimer@redhat.com>
4191         [BZ #17135]
4192         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
4193         * nptl/allocatestack.c (__nptl_setxid_error): New function.
4194         (__nptl_setxid): Initialize error member.  Call
4195         __nptl_setxid_error.
4196         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
4197         * nptl/descr.h (struct xid_command): Add error member.
4198         * nptl/tst-setuid3.c: New file.
4199         * nptl/Makefile (tests): Add it.
4201 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4203         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
4204         New define.
4205         (__lll_trylock): Use __lll_base_trylock.
4206         (__lll_cond_trylock): Likewise.
4208 2014-07-10  Roland McGrath  <roland@hack.frob.com>
4210         * nptl/pthread_create.c (start_thread): Use atomic_or and
4211         lll_futex_wake directly rather than lll_robust_dead.
4212         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4213         (lll_robust_dead): Macro removed.
4214         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
4215         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4216         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4217         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4218         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4219         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4220         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4221         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4222         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4223         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4224         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4225         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4226         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4227         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4228         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4230         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
4231         Use atomic_compare_and_exchange_val_acq directly rather than
4232         lll_robust_trylock.
4233         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
4234         (__lll_robust_trylock, lll_robust_trylock): Removed.
4235         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
4236         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
4237         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4238         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4239         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
4240         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
4241         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4242         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
4243         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4244         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4245         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4246         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4247         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4248         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4250 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4252         * manual/locale.texi (Locale Names): New section documenting
4253         locale name syntax.  Adjust menu and node chaining accordingly.
4254         (Choosing Locale): Reference Locale Names, Locale Categories.
4255         Mention setting LC_ALL=C.  Reflect that name syntax is now
4256         documented.
4257         (Locale Categories): New section title.  Reference Locale Names.
4258         LC_ALL is an environment variable, but not a category.
4259         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
4260         description, now in Locale Name.  Reference that section.  Locale
4261         name syntax is now documented.
4263 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4265         [BZ #17137]
4266         * locale/findlocale.c (name_present, valid_locale_name): New
4267         functions.
4268         (_nl_find_locale): Use the loc_name variable to store name
4269         candidates.  Call name_present and valid_locale_name to check and
4270         validate locale names.  Return an error if the locale is invalid.
4272 2014-07-02  Florian Weimer  <fweimer@redhat.com>
4274         * locale/setlocale.c (setlocale): Use strdup for allocating
4275         composite name copy.
4277 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4279         Sync up with gnulib.
4280         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
4281         [!_LIBC && ENABLE_NLS]: Include gettext.h.
4282         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
4283         and _GL_ARG_NONNULL.
4284         [USE_UNLOCKED_IO]: Include unlocked-io.h.
4285         [!_LIBC]: Include code for Windows and Cygwin.
4286         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
4287         Include prototype for int strerror_r.
4288         [!_LIBC] (is_open): New function.
4289         (flush_stdout): New function.
4290         (print_errno_message): Use it.
4291         (error): Likewise.
4292         (error_at_line): Likewise.
4293         (error_tail) Add function attribute macros.  Use
4294         __builtin_expect.
4296         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
4298         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
4300         * io/ftw.c: Include sys/param.h unconditionally.
4302         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
4304         [BZ #17125]
4305         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
4306         libc_freeres_ptr.
4307         (freecache): New function to free CACHE on exit.
4309         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
4310         initialization.
4312 2014-07-09  David S. Miller  <davem@davemloft.net>
4314         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4316         * sysdeps/sparc/nptl/internaltypes.h: Delete.
4317         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
4318         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
4319         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
4320         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
4321         * sysdeps/sparc/nptl/sem_init.c: Likewise.
4322         * sysdeps/sparc/nptl/sem_post.c: Likewise.
4323         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
4324         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
4325         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
4326         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
4327         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
4328         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
4330 2014-07-09  Andreas Schwab  <schwab@suse.de>
4332         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
4333         output.
4334         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
4335         (do_test): Likewise.
4337         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4339 2014-07-09  Will Newton  <will.newton@linaro.org>
4341         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
4342         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
4343         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
4344         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
4345         * sysdeps/hppa/start.S (_start): Likewise.
4347 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
4349         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
4351         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
4352         defined.
4354 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4356         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
4357         after checking that it is non-NULL.
4359         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
4361 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4363         * sysdeps/powerpc/memmove.c: Remove file.
4364         * sysdeps/powerpc/powerpc32/power4/memcopy.h
4365         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
4366         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
4367         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
4368         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
4369         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
4370         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
4371         string memmove instead of removed powerpc one.
4373         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
4374         [weak_alias]: Fix compiler warning due trailing data.
4375         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
4376         [weak_alias]: Likewise.
4377         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
4378         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
4380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
4381         (__libc_ifunc_impl_list): Add memmove functions.
4383 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
4385         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
4386         Remove code.
4387         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
4388         Likewise
4389         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
4390         Likewise
4391         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
4392         Likewise
4393         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
4394         Likewise
4395         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
4396         Likewise
4397         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
4398         Likewise
4399         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
4400         Likewise
4401         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
4402         Likewise
4403         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
4404         Likewise
4405         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
4406         Likewise
4407         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
4408         Likewise
4409         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
4410         Likewise
4411         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
4412         Likewise
4413         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
4414         Likewise
4415         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
4416         Likewise
4417         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
4418         Likewise
4420 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4422         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
4423         to avoid alignment traps in non-cacheable memory.
4424         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
4426         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
4427         multiarch objects.
4428         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
4429         file: multiarch power7 memmove.
4430         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
4431         multiarch default memmove.
4432         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
4433         multiarch memove for powerpc32/power4.
4435         * string/bcopy.c: Use full path to include memmove.c.
4436         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
4437         multiarch objects.
4438         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
4439         bcopy for powerpc64.
4440         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
4441         bcopy for powerpc64.
4442         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
4443         and memmove implementations.
4444         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
4445         optimized multiarch memmove for POWER7/powerpc64.
4446         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
4447         default multiarch memmove for powerpc64.
4448         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
4449         multiarch for powerpc64.
4450         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
4451         for POWER7/powerpc64.
4452         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
4453         memmove for POWER7/powerpc64.
4455         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
4456         glibc default one.
4458         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
4459         __ELF_NATIVE_CLASS equal to 64.
4461 2014-07-07  Roland McGrath  <roland@hack.frob.com>
4463         * sysdeps/nptl/lowlevellock.h: File removed.
4465         * NEWS: NPTL is no longer an add-on!
4466         * nptl/internaltypes.h: Moved ...
4467         * sysdeps/nptl/internaltypes.h: ... here.
4468         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
4469         * sysdeps/nptl/fork.c: Likewise.
4470         * sysdeps/nptl/gai_misc.h: Likewise.
4471         * sysdeps/nptl/librt-cancellation.c: Likewise.
4472         * sysdeps/nptl/jmp-unwind.c: Likewise.
4473         * sysdeps/nptl/setxid.h: Likewise.
4474         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
4475         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
4476         * sysdeps/unix/sysv/linux/arm/Implies: New file.
4477         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
4478         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
4479         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
4480         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
4481         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
4482         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
4483         * sysdeps/unix/sysv/linux/mips/Implies: New file.
4484         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
4485         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
4486         * sysdeps/unix/sysv/linux/sh/Implies: New file.
4487         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
4488         * sysdeps/unix/sysv/linux/tile/Implies: New file.
4489         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
4490         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
4491         * nptl/Makeconfig: Moved ...
4492         * sysdeps/nptl/Makeconfig: ... here.
4493         * nptl/configure: File removed.
4494         * nptl/ANNOUNCE: File removed.
4495         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
4496         * sysdeps/unix/sysv/linux/configure: Regenerated.
4498         * nptl/Makefile (routines): Add libc_pthread_init,
4499         libc_multiple_threads, register-atfork and unregister-atfork.
4500         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
4501         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
4502         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
4503         pthread-pi-defines.sym, structsem.sym.
4504         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
4505         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
4506         [$(subdir) = nptl] (tests): Add tst-setgetname.
4507         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
4508         * sysdeps/unix/sysv/linux/sigaction.c: Just include
4509         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
4510         [!LIBC_SIGACTION]: Remove aliases.
4511         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
4512         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
4513         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
4514         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
4515         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
4516         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
4517         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
4518         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
4519         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
4520         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
4521         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
4522         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
4523         __libc_allocate_rtsig_private.
4524         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
4525         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
4526         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
4527         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
4528         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
4529         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
4530         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
4531         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
4532         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
4533         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
4534         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
4535         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
4536         * nptl/internaltypes.h: ... here.
4537         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
4538         * sysdeps/nptl/jmp-unwind.c: ... here.
4539         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
4540         * nptl/libc-lowlevellock.c: ... here.
4541         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
4542         * nptl/libc_multiple_threads.c: ... here.
4543         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
4544         * nptl/libc_pthread_init.c: ... here.
4545         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
4546         * nptl/lowlevelbarrier.sym: ... here.
4547         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
4548         * nptl/lowlevelcond.sym: ... here.
4549         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
4550         * nptl/lowlevellock.c: ... here.
4551         * nptl/lowlevellock.h: Moved ...
4552         * sysdeps/nptl/lowlevellock.h: ... here.
4553         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
4554         * nptl/lowlevelrobustlock.c: ... here.
4555         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
4556         * nptl/lowlevelrobustlock.sym: ... here.
4557         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
4558         * nptl/lowlevelrwlock.sym: ... here.
4559         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
4560         * nptl/pt-fork.c: ... here.
4561         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
4562         * nptl/pthread-pi-defines.sym: ... here.
4563         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
4564         * nptl/pthread_attr_getaffinity.c: ... here.
4565         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
4566         * nptl/pthread_attr_setaffinity.c: ... here.
4567         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
4568         * nptl/pthread_mutex_cond_lock.c: ... here.
4569         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
4570         Update #include.
4571         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
4572         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
4573         * nptl/pthread_once.c: ... here, replacing old file.
4574         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
4575         * nptl/pthread_yield.c: ... here.
4576         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
4577         * nptl/register-atfork.c: ... here.
4578         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
4579         * nptl/sem_post.c: ... here.
4580         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
4581         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
4582         * nptl/sem_timedwait.c: ... here.
4583         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
4584         * nptl/sem_trywait.c: ... here.
4585         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
4586         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
4587         * nptl/sem_wait.c: ... here.
4588         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
4589         * nptl/structsem.sym: ... here.
4590         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
4591         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
4592         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
4593         * nptl/unregister-atfork.c: ... here.
4594         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
4595         * nptl/unwindbuf.sym: ... here.
4596         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
4597         * sysdeps/nptl/fork.c: ... here.
4598         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
4599         * sysdeps/nptl/fork.h: ... here.
4600         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
4601         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
4602         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
4603         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
4604         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
4605         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
4606         * sysdeps/unix/sysv/linux/getpid.c: ... here.
4607         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
4608         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
4609         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
4610         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
4611         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
4612         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
4613         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
4614         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
4615         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
4616         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
4617         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
4618         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
4619         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
4620         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
4621         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
4622         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
4623         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
4624         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
4625         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
4626         * sysdeps/unix/sysv/linux/raise.c: ... here.
4627         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
4628         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
4629         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
4630         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
4631         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
4632         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
4633         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
4634         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
4635         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
4636         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
4637         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
4638         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
4639         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
4640         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
4641         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
4643 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4645         * sysdeps/generic/memcopy.h: Add comment for
4646         MEMCPY_OK_FOR_FWD_MEMMOVE.
4648 2014-07-04  Will Newton  <will.newton@linaro.org>
4650         * string/memchr.c: Merge from gnulib.
4651         [_LIBC]: Remove conditionals.
4652         (__ptr_t): Remove define.
4653         (LONG_MAX_32_BITS): Likewise.
4654         (LONG_MAX): Likewise.
4655         (MEMCHR): Use ANSI prototype and optimize algorithm.
4657         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
4659 2014-07-03  Roland McGrath  <roland@hack.frob.com>
4661         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
4662         (lll_futex_timed_wait_bitset): Fix syscall argument count.
4664         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
4665         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
4666         in a bare environment with no <stdlib.h> installed.
4667         * sysdeps/nptl/configure: Regenerated.
4669         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
4671         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
4672         AC_EGREP_CPP for kernel header checks, so they only succeed if
4673         including <linux/version.h> actually works right.
4674         * sysdeps/unix/sysv/linux/configure: Regenerated.
4676         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
4677         value so it's not diagnosed as unused.
4679         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
4680         thing) with "ifeq ($(subdir),rt)".
4682 2014-07-03  Richard Henderson  <rth@redhat.com>
4684         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
4685         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
4686         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
4688         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
4689         (math_force_eval): New.
4691         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
4692         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
4694         * sysdeps/alpha/fpu/s_round.c: Remove file.
4695         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
4697         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
4698         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
4699         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
4700         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
4701         (_dl_start, print_statistics): Likewise.
4702         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
4703         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
4705         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4706         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4707         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4708         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4709         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4710         (HP_SMALL_TIMING_AVAIL): Define.
4711         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4712         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4713         (HP_SMALL_TIMING_AVAIL): Define.
4714         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4715         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
4717         * sysdeps/aarch64/hp-timing.h: New file.
4719         * sysdeps/generic/hp-timing.h: Remove dead comment.
4720         * sysdeps/generic/hp-timing-common.h: New file.
4721         * sysdeps/alpha/hp-timing.h: Include it.
4722         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
4723         * sysdeps/i386/i686/hp-timing.h: Likewise.
4724         * sysdeps/ia64/hp-timing.h: Likewise.
4725         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
4726         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
4727         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
4728         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
4729         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
4730         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
4731         (hp_timing_t): New.
4733         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
4734         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
4735         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
4736         * elf/rtld.c (_dl_start_final): Likewise.
4737         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
4738         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4739         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4740         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4741         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4742         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4743         (HP_TIMING_DIFF_INIT): Remove.
4744         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4745         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
4746         (HP_TIMING_DIFF_INIT): Remove.
4747         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
4748         * sysdeps/i386/i686/hp-timing.c: Remove file.
4749         * sysdeps/x86_64/hp-timing.c: Remove file.
4750         * sysdeps/ia64/hp-timing.c: Remove file.
4751         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
4752         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
4753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
4754         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
4756         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
4757         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
4758         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
4759         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4760         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
4761         (HP_TIMING_ACCUM): Remove.
4762         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4763         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
4764         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
4766         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
4767         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
4768         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
4769         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
4770         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
4771         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4772         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
4773         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
4775         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
4777 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
4779         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
4781 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4783         Sync up with gettext.
4784         * intl/loadmsgcat.c: Define O_BINARY if not defined.
4785         [_MSC_VER]: Include malloc.h
4786         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
4787         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
4788         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
4789         TEMP_FAILURE_RETRY.  Cast return of alloca.
4790         [!_LIBC] Call gl_rwlock_init.
4791         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
4793 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4795         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
4796         before checking its value.
4798 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4800         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
4802         * debug/memcpy_chk.c: Don't include pagecopy.h.
4803         * debug/mempcpy_chk.c: Likewise.
4804         * string/memcpy.c: Likewise.
4805         * string/memmove.c: Likewise.
4806         * sysdeps/powerpc/memmove.c: Likewise.
4807         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
4808         definition of PAGE_COPY_FWD_MAYBE here...
4809         * sysdeps/generic/pagecopy.h: ... from here.
4810         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
4812 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
4813             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4815         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
4816         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
4817         optimizations.
4818         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4819         (__libc_ifunc_impl_list): Likewise.
4820         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
4821         multiarch strcat for PPC64.
4822         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
4823         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
4825 2014-07-02  Roland McGrath  <roland@hack.frob.com>
4827         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
4829 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4831         * intl/loadmsgcat.c: Remove declaration of
4832         get_sysdep_segment_value.
4833         (get_sysdep_segment_value): Use ISO C style.
4834         (_nl_load_domain): Use ISO C style.  Get rid of redundant
4835         semicolon.  Fix typo and formatting in comment.
4836         (_nl_unload_domain): Use ISO C style.
4838         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
4840 2014-07-02  Will Newton  <will.newton@linaro.org>
4842         * malloc/obstack.c: Merge from gnulib master.
4843         [HAVE_CONFIG_H]: Remove conditional code.
4844         [!_LIBC]: Include config.h.
4845         [!ELIDE_CODE]: Don't include inttypes.h, include
4846         stdint.h unconditionally.
4847         (print_and_abort): Mark as _Noreturn.
4848         (_obstack_allocated_p): Mark as __attribute_pure__.
4849         (obstack_free): Rename to __obstack_free.
4850         [!__attribute__]: Remove conditional code.
4851         * malloc/obstack.h: Merge from gnulib master.
4852         [__cplusplus]: Move conditional down.
4853         [!__attribute_pure__]: Define __attribute_pure__ here
4854         if it is not already defined.
4855         (_obstack_memory_used): Mark as __attribute_pure__.
4856         [!__obstack_free]: Define as obstack_free.
4857         [__GNUC__]: Remove check for ancient NeXT gcc.
4859 2014-07-02  Will Newton  <will.newton@linaro.org>
4860             Paul Eggert  <eggert@cs.ucla.edu>
4862         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
4864 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
4866         * resolv/gethnamaddr.c: Add comment warning that the file is
4867         not maintained.
4869 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
4871         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
4872         entries.
4874         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
4875         entry for aio_cancel and aio_cancel64.
4876         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
4877         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
4878         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
4879         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
4880         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
4881         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
4882         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
4883         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
4884         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
4885         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
4886         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
4887         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
4888         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
4890 2014-07-01  Roland McGrath  <roland@hack.frob.com>
4892         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
4893         * nptl/pthread_mutex_lock.c: Likewise.
4894         * nptl/pthread_mutex_timedlock.c: Likewise.
4895         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
4897 2014-07-01  Richard henderson  <rth@redhat.com>
4899         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
4900         (__isnan, __isnanl): Remove.
4901         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
4903         * sysdeps/alpha/fpu/libm-test-ulps: Update.
4905 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
4907         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4909 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
4911         * resolv/nss_dns/dns-host.c (getanswer_r)
4912         [MULTI_PTRS_ARE_ALIASES]: Remove code.
4914 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
4916         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4917         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
4918         undefine.
4919         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
4920         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
4922 2014-07-01  Roland McGrath <roland@hack.frob.com>
4924         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
4925         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
4927         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
4928         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
4930         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
4931         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
4932         ... here.
4933         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
4934         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
4936         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
4937         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
4938         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
4939         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
4941         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
4942         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
4943         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
4944         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
4945         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
4946         Moved ...
4947         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
4948         ... here.
4949         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
4950         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
4951         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
4952         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
4953         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
4954         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
4955         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
4956         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
4957         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
4958         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
4959         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
4960         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
4961         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
4962         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
4963         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
4964         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
4965         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
4966         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
4967         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
4968         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
4969         ... here.
4970         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
4971         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
4972         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
4973         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
4974         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
4975         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
4976         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
4977         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
4979 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
4981         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
4982         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
4983         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
4984         Add sysdep.
4986 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4988         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4990 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
4992         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
4993         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4995         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4997         * sysdeps/arm/libm-test-ulps: Regenerated.
4999 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5000             Roland McGrath <roland@hack.frob.com>
5002         * test-skeleton.c (signal_handler): Kill the whole process group
5003         before killing the child individually.
5004         (main): Report any failure on `setpgid'.
5006 2014-06-30  Roland McGrath  <roland@hack.frob.com>
5008         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
5009         from _TLS_H to _ARM_NPTL_TLS_H.
5010         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
5011         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
5013 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
5015         [BZ #16539]
5016         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
5017         (__expm1l): Return argument unchanged when small but not
5018         subnormal.
5020         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
5021         include macro name.
5022         (_FP_UNPACK_RAW_1_P): Likewise.
5023         (_FP_PACK_RAW_1): Likewise.
5024         (_FP_PACK_RAW_1_P): Likewise.
5025         (_FP_MUL_MEAT_1_wide): Likewise.
5026         (_FP_MUL_MEAT_DW_1_hard): Likewise.
5027         (_FP_MUL_MEAT_1_hard): Likewise.
5028         (_FP_DIV_MEAT_1_imm): Likewise.
5029         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
5030         (_FP_DIV_MEAT_1_udiv): Likewise.
5031         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
5032         (_FP_UNPACK_RAW_2): Likewise.
5033         (_FP_UNPACK_RAW_2_P): Likewise.
5034         (_FP_PACK_RAW_2): Likewise.
5035         (_FP_PACK_RAW_2_P): Likewise.
5036         (_FP_MUL_MEAT_DW_2_wide): Likewise.
5037         (_FP_MUL_MEAT_2_wide): Likewise.
5038         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
5039         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5040         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
5041         (_FP_MUL_MEAT_2_gmp): Likewise.
5042         (_FP_DIV_MEAT_2_udiv): Likewise.
5043         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
5044         (_FP_FRAC_SRL_4): Likewise.
5045         (_FP_FRAC_SRST_4): Likewise.
5046         (_FP_FRAC_SRS_4): Likewise.
5047         (_FP_UNPACK_RAW_4): Likewise.
5048         (_FP_UNPACK_RAW_4_P): Likewise.
5049         (_FP_PACK_RAW_4): Likewise.
5050         (_FP_PACK_RAW_4_P): Likewise.
5051         (_FP_MUL_MEAT_DW_4_wide): Likewise.
5052         (_FP_MUL_MEAT_4_wide): Likewise.
5053         (_FP_MUL_MEAT_4_gmp): Likewise.
5054         (umul_ppppmnnn): Likewise.
5055         (_FP_DIV_MEAT_4_udiv): Likewise.
5056         (__FP_FRAC_ADD_4): Likewise.
5057         (__FP_FRAC_SUB_3): Likewise.
5058         (__FP_FRAC_SUB_4): Likewise.
5059         (__FP_FRAC_DEC_3): Likewise.
5060         (__FP_FRAC_DEC_4): Likewise.
5061         (__FP_FRAC_ADDI_4): Likewise.
5062         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
5063         (_FP_FRAC_SRL_8): Likewise.
5064         (_FP_FRAC_SRS_8): Likewise.
5066         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
5067         include macro name.
5068         (FP_UNPACK_RAW_EP): Likewise.
5069         (FP_PACK_RAW_E): Likewise.
5070         (FP_PACK_RAW_EP): Likewise.
5071         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
5072         (_FP_ISSIGNAN): Likewise.
5073         (_FP_ADD_INTERNAL): Likewise.
5074         (_FP_FMA): Likewise.
5075         (_FP_CMP): Likewise.
5076         (_FP_SQRT): Likewise.
5077         (_FP_TO_INT): Likewise.
5078         (_FP_FROM_INT): Likewise.
5079         (FP_EXTEND): Likewise.
5080         (_FP_DIV_MEAT_N_loop): Likewise.
5082 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
5084         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
5085         throughout.
5087 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
5089         [BZ #17097]
5090         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
5091         result with correct sign in case of exponents that produce
5092         overflow except for X very close to 1.
5094 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
5096         mktime: merge #if/#ifdef usage from glibc
5097         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
5098         as that works with both Glibc's and Gnulib's style.
5099         See thread starting at Siddhesh Poyarekar's bug report at:
5100         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
5102 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
5104         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
5105         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
5106         * sysdeps/tile/tilegx/memmove.c: Remove file.
5108 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5110         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
5111         abi-name definition.
5112         * scripts/soversions.awk: Do not handle or generate ABI lines.
5113         * shlib-versions: Remove ABI entries.
5114         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
5115         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
5117 2014-06-27  Roland McGrath  <roland@hack.frob.com>
5119         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
5120         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
5121         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
5122         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
5123         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
5124         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
5125         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
5126         Moved ...
5127         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
5128         ... here.
5129         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
5130         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
5131         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
5132         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
5133         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
5134         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
5135         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
5136         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
5138         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
5139         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
5140         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
5141         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
5142         Moved ...
5143         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
5144         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
5145         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
5146         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
5147         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
5148         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
5149         Moved ...
5150         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
5151         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
5152         Moved ...
5153         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
5154         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
5155         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
5156         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
5157         Moved ...
5158         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
5159         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
5160         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
5161         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
5162         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
5163         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
5164         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
5165         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
5166         Moved ...
5167         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
5168         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
5169         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
5170         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
5171         Moved ...
5172         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
5173         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
5174         Moved ...
5175         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
5176         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
5177         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
5178         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
5179         Moved ...
5180         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
5181         ... here.
5182         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
5183         Identical file removed.
5184         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
5185         Moved ...
5186         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
5187         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
5188         Identical file removed.
5189         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
5190         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
5191         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
5192         Moved ...
5193         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
5194         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
5195         Identical file removed.
5196         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
5197         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
5198         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
5199         Identical file removed.
5200         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
5201         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
5202         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
5203         Identical file removed.
5204         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
5205         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
5206         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
5207         Identical file removed.
5208         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
5209         Moved ...
5210         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
5211         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
5212         Identical file removed.
5213         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
5214         Moved ...
5215         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
5216         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
5217         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
5218         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
5219         Identical file removed.
5220         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
5221         Moved ...
5222         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
5223         ... here.
5224         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
5225         Identical file removed.
5226         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
5227         Moved ...
5228         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
5229         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
5230         Identical file removed.
5231         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
5232         Moved ...
5233         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
5234         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
5235         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
5236         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
5237         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
5238         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
5239         Moved ...
5240         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
5241         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
5242         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
5244         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
5245         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
5246         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
5247         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
5248         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
5250 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
5252         [BZ #17092]
5253         * nscd/nscd.c (monitor_child): Return exit status of child
5254         instead of return value from wait syscall.
5256 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
5258         * configure.ac (libc_commonpagesize): Remove variable.
5259         (libc_relro_required): Likewise.
5260         (libc_cv_z_relro): Remove configure test.
5261         * configure: Regenerated.
5262         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
5263         variable.
5264         (libc_relro_required): Likewise.
5265         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
5266         (libc_relro_required): Likewise.
5267         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
5268         (libc_relro_required): Likewise.
5269         * sysdeps/arm/preconfigure: Regenerated.
5270         * sysdeps/ia64/preconfigure: Remove file.
5271         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
5272         variable.
5273         (libc_relro_required): Likewise.
5275         [BZ #16561]
5276         [BZ #16562]
5277         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
5278         (__ieee754_yn): Set FE_TONEAREST mode internally and then
5279         recompute overflowing results in original rounding mode.
5280         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
5281         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
5282         recompute overflowing results in original rounding mode.
5283         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
5284         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5285         recompute overflowing results in original rounding mode.
5286         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
5287         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5288         recompute overflowing results in original rounding mode.
5289         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
5290         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
5291         recompute overflowing results in original rounding mode.
5292         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
5293         (libc_feholdsetround_ctx): New macro.
5294         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
5295         * sysdeps/i386/fpu/libm-test-ulps: Update.
5296         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
5298 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5300         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
5301         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
5302         corresponding .cpsetup call.
5304 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5306         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
5307         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
5308         * sysdeps/arm/Makefile [$(subdir) = csu]
5309         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
5310         (static-only-routines): Add aeabi_read_tp here.
5311         (shared-only-routines): Add libc-aeabi_read_tp here.
5312         (CFLAGS-libc-start.c): Add -fexceptions here.
5313         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
5314         (sysdep_routines, static-only-routines, shared-only-routines):
5315         Don't add to these here.
5316         (CFLAGS-libc-start.c): Likewise.
5318         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
5319         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
5320         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
5321         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
5322         * sysdeps/arm/Makefile [$(subdir) = rt]
5323         (librt-sysdep_routines, librt-shared-only-routines):
5324         Append rt-aeabi_unwind_cpp_pr1 here.
5325         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
5326         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
5327         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
5328         (libpthread-sysdep_routines, libpthread-shared-only-routines):
5329         Append nptl-aeabi_unwind_cpp_pr1 here.
5330         (tests): Filter out tst-cleanupx4 here.
5331         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
5332         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
5333         Don't do those here.
5335 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5337         * scripts/list-sources.sh: Do not handle ports specially.
5339 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5341         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
5342         * sysdeps/arm/feupdateenv.c: Likewise.
5344         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
5346 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5348         * manual/texinfo.tex: Update to version 2014-05-05.10 with
5349         trailing whitespace removed.
5350         * scripts/config.guess: Update to version 2014-03-23.
5351         * scripts/config.sub: Update to version 2014-05-01
5352         * scripts/install-sh: Update to version 2013-12-25.23.
5353         * scripts/move-if-change: Update from gnulib.
5355 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5357         * debug/memmove_chk.c: Remove pagecopy.h include.
5359 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
5361         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
5362         identical to gnulib mktime.
5364 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
5366         * configure.ac: Do not test for machine being rs6000.  Do not test
5367         for powerpc*-*soft.
5368         * configure: Regenerated.
5370         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
5371         test.
5372         * configure: Regenerated.
5373         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
5374         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
5375         Remove configure test.
5376         * sysdeps/arm/configure: Regenerated.
5377         * sysdeps/nptl/configure.ac: Do not check
5378         libc_cv_asm_cfi_directives.
5379         * sysdeps/nptl/configure: Regenerated.
5380         * sysdeps/x86_64/nptl/configure.ac: Remove file.
5381         * sysdeps/x86_64/nptl/configure: Remove generated file.
5382         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
5383         unconditional.
5384         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
5386 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
5388         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
5389         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
5390         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
5391         it is defined.
5393         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
5394         instead of whether it is defined.
5395         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
5396         * sysdeps/hppa/dl-machine.h: Likewise.
5397         * sysdeps/ia64/dl-machine.h: Likewise.
5398         * sysdeps/m68k/dl-machine.h: Likewise.
5399         * sysdeps/microblaze/dl-machine.h: Likewise.
5400         * sysdeps/mips/dl-machine.: Likewise.
5401         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
5402         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
5403         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
5404         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
5405         * sysdeps/sh/dl-machine.h: Likewise.
5406         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
5407         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
5408         * sysdeps/tile/dl-machine.h: Likewise.
5409         * sysdeps/x86_64/dl-machine.h: Likewise.
5411         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
5412         code.
5413         (verify_persistent_db): Likewise.
5415 2014-06-26  Roland McGrath  <roland@hack.frob.com>
5417         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
5418         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
5419         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
5420         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
5421         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
5422         Moved ...
5423         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
5424         ... here.
5425         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
5426         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
5427         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
5428         Identical file removed.
5429         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
5430         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
5431         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
5432         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
5433         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
5434         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
5435         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
5436         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
5437         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
5438         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
5439         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5440         Moved ...
5441         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
5442         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
5443         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
5444         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
5445         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
5446         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
5447         Moved ...
5448         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
5449         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
5450         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
5451         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
5452         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
5453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
5454         Identical file removed.
5455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
5456         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
5457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
5458         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
5459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
5460         Moved ...
5461         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
5462         ... here.
5463         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
5464         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
5465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
5466         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
5467         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
5468         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
5469         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
5470         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
5471         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
5472         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
5473         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5474         Moved ...
5475         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
5476         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
5477         Moved ...
5478         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
5479         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
5480         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
5481         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
5482         Moved ...
5483         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
5484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
5485         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
5487         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
5488         folded into ...
5489         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
5490         * sysdeps/unix/sysv/linux/s390/Versions
5491         (libpthread: GLIBC_2.19): New version set.
5492         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
5493         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
5494         (librt: GLIBC_2.3.3): New version set.
5495         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
5496         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
5497         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
5498         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
5499         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
5500         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
5501         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
5502         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
5503         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
5504         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
5505         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
5506         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
5507         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
5508         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
5509         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
5510         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
5511         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
5512         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
5513         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
5514         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
5515         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
5516         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
5517         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
5518         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
5519         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
5520         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
5521         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
5522         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
5523         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
5524         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
5525         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
5526         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
5527         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
5528         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
5529         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
5530         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
5531         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
5532         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
5533         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
5534         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
5535         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
5536         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
5537         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
5538         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
5539         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
5541         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
5542         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
5543         (__libc_vfork): Define the function under this name.
5544         [!NOT_IN_libc] (__vfork): Make this an alias.
5545         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5546         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
5547         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
5548         (__libc_vfork): Define the function under this name.
5549         [!NOT_IN_libc] (__vfork): Make this an alias.
5550         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
5551         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
5552         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
5553         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
5554         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
5555         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
5557         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
5558         code that was previously under [RESET_PID].
5559         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
5560         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
5561         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
5563         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
5564         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
5565         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
5566         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
5567         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
5568         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
5569         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
5570         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
5571         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
5572         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
5573         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
5574         Moved ...
5575         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
5576         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
5577         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
5578         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
5579         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
5580         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
5581         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
5582         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
5583         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
5584         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
5585         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
5586         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
5587         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
5588         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
5589         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
5590         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
5591         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
5592         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
5593         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
5594         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
5595         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
5596         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
5597         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
5598         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
5599         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
5600         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
5601         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
5602         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
5603         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
5605 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5607         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
5608         that was previously under [RESET_PID].
5609         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
5611 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5613         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
5614         not undefine and redefine.
5615         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
5616         [O_CLOEXEC]: Make code unconditional.
5617         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
5618         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
5619         <kernel-features.h>.
5620         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
5621         conditional variable definition.
5622         (shm_open) [O_CLOEXEC]: Make code unconditional.
5623         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
5624         code.
5626         * configure.ac (USE_REGPARMS): Don't define here.
5627         * configure: Regenerated.
5628         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
5629         * sysdeps/i386/configure: Regenerated.
5631         * nptl/createthread.c: Don't include kernel-features.h.
5632         * nptl/pthread_cancel.c: Likewise.
5633         * nptl/pthread_condattr_setclock.c: Likewise.
5634         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
5635         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
5636         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
5637         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
5638         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
5639         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
5640         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5641         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
5642         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5643         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
5644         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
5645         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
5646         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
5647         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
5648         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
5649         * nscd/gai.c: Likewise.
5650         * nss/nss_db/db-open.c: Likewise.
5651         * sysdeps/generic/ldsodefs.h: Likewise.
5652         * sysdeps/sh/nptl/tls.h: Likewise.
5653         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5654         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
5655         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
5656         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
5657         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
5658         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5659         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
5660         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5661         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
5662         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
5663         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
5664         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
5665         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
5666         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
5667         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
5668         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
5669         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
5670         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
5671         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
5672         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5673         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
5674         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
5675         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
5676         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5677         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5678         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5679         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
5680         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5681         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5682         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
5683         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
5684         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5685         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5686         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
5687         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
5688         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5689         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
5690         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5691         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
5692         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
5693         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
5694         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
5695         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
5696         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5697         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
5698         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
5699         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
5700         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
5701         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
5702         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
5703         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
5704         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5705         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5706         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5707         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
5708         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
5709         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5710         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
5711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5712         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
5713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
5714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
5715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
5716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
5717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
5722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
5723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
5724         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
5725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
5726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
5727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
5731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
5732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
5733         * sysdeps/unix/sysv/linux/pread.c: Likewise.
5734         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
5735         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
5736         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
5737         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
5738         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5739         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5740         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
5741         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
5742         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5743         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5744         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5745         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
5746         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
5747         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
5748         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
5749         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
5750         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
5751         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
5752         * sysdeps/unix/sysv/linux/system.c: Likewise.
5753         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
5754         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
5755         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
5756         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
5757         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
5758         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5759         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
5761         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
5762         * configure: Regenerated.
5763         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
5765         * configure.ac (base_machine): Do not set specially for particular
5766         machines here.
5767         * configure: Regenerated.
5768         * sysdeps/powerpc/preconfigure: Move machine and base_machine
5769         settings from configure.ac.
5770         * sysdeps/i386/preconfigure: New file.
5771         * sysdeps/s390/preconfigure: Likewise.
5772         * sysdeps/sh/preconfigure: Likewise.
5773         * sysdeps/sparc/preconfigure: Likewise.
5775 2014-06-25  Roland McGrath  <roland@hack.frob.com>
5777         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
5778         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
5779         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
5780         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
5781         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
5782         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
5783         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
5784         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
5785         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
5786         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
5787         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
5788         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
5789         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
5790         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
5791         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
5792         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
5793         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
5794         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
5795         * sysdeps/sparc/sparc64/Makefile: ... appended here.
5797         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
5798         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
5799         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
5800         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
5801         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
5802         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
5803         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
5804         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
5805         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
5806         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
5807         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
5808         * sysdeps/sparc/sparc32/sem_post.c: ... here.
5809         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
5810         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
5811         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
5812         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
5813         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
5814         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
5815         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
5816         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
5817         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
5818         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
5819         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
5820         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
5821         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
5822         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
5823         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
5824         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
5825         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
5826         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
5827         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
5828         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
5829         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
5830         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
5831         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
5832         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
5833         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
5834         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
5836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
5837         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
5838         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
5839         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
5840         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
5841         Moved ...
5842         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
5843         ... here.
5844         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
5845         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
5846         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
5847         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
5848         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
5849         Moved ...
5850         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
5851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
5852         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
5853         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
5854         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
5855         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
5856         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
5857         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5858         Moved ...
5859         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
5860         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
5861         Moved ...
5862         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
5863         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
5864         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
5865         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
5866         Moved ...
5867         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
5868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
5869         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
5870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
5871         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
5872         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
5873         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
5874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
5875         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
5876         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
5877         Moved ...
5878         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
5879         ... here.
5880         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
5881         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
5882         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
5883         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
5884         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
5885         Moved ...
5886         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
5887         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
5888         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
5889         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
5890         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
5891         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
5892         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
5893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5894         Moved ...
5895         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
5896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
5897         Moved ...
5898         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
5899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
5900         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
5901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
5902         Moved ...
5903         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
5904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
5905         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
5906         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
5907         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
5909 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5911         * timezone/checktab.awk: Update from tzcode 2014e.
5912         * timezone/private.h: Likewise.
5913         * timezone/tzfile.h: Likewise.
5914         * timezone/zdump.c: Likewise.
5915         * timezone/zic.c: Likewise.
5917         * sysdeps/unix/sysv/linux/kernel-features.h
5918         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
5919         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
5920         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
5921         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
5922         Remove conditional code.
5924 2014-06-25  Will Newton  <will.newton@linaro.org>
5926         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
5927         (_dl_arm_cap_flags): Add HWCAP2 values.
5928         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
5929         (_DL_HWCAP_COUNT): Increase to 37.
5930         (_DL_HWCAP_LAST): New define.
5931         (_DL_HWCAP2_LAST): New define.
5932         (_dl_procinfo): Add support for printing
5933         AT_HWCAP2 entries.
5934         (_dl_string_hwcap): Use _dl_hwcap_string.
5936 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5938         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5940 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
5942         * README: Do not mention ports directory.
5944         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
5945         Remove macro.
5946         * sysdeps/unix/sysv/linux/futimes.c: Do not include
5947         <kernel-features.h>.
5948         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
5949         conditional variable definition.
5950         (__futimes): Update comment.
5951         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
5952         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
5954         [BZ #16560]
5955         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
5956         arguments close to 0.
5957         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
5958         Likewise.
5959         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
5960         Likewise.
5961         * math/auto-libm-test-in: Add more tests of exp10.
5962         * math/auto-libm-test-out: Regenerated.
5963         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5965         * sysdeps/unix/sysv/linux/kernel-features.h
5966         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
5967         * sysdeps/unix/sysv/linux/readv.c: Do not include
5968         <kernel-features.h>.
5969         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5970         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5971         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5972         unconditional.
5973         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5974         conditional code.
5975         * sysdeps/unix/sysv/linux/writev.c: Do not include
5976         <kernel-features.h>.
5977         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
5978         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
5979         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
5980         unconditional.
5981         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
5982         conditional code.
5984 2014-06-25  Will Newton  <will.newton@linaro.org>
5986         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
5987         comment changes throughout the file.  Remove checks
5988         for HAVE_*_H definitions that are not required.
5989         (__gen_tempname): Call abort if an unknown kind value is
5990         passed.
5992 2014-06-25  Andreas Schwab  <schwab@suse.de>
5994         [BZ #17086]
5995         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
5996         scalbln, scalblnf, scalblnl in libc.
5998 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
6000         [BZ #17086]
6001         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
6002         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6003         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6005 2014-06-24  Roland McGrath  <roland@hack.frob.com>
6007         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
6008         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
6009         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
6010         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
6011         Update #include.
6012         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
6013         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
6014         Update #include.
6015         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
6016         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
6017         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
6018         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
6019         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
6020         * sysdeps/x86/bits/pthreadtypes.h: ... here.
6021         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
6022         * sysdeps/x86/bits/semaphore.h: ... here.
6023         * sysdeps/x86/nptl/elide.h: Moved ...
6024         * sysdeps/x86/elide.h: ... here.
6025         * sysdeps/x86_64/nptl/Implies: File removed.
6026         * sysdeps/i386/nptl/Implies: File removed.
6028 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
6030         [BZ #16539]
6031         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
6032         return the argument for normal arguments with exponent below -64.
6033         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
6034         Likewise.
6035         * math/auto-libm-test-in: Add another test of expm1.
6036         * math/auto-libm-test-out: Regenerated.
6038         [BZ #16287]
6039         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
6040         calling __erfcl for arguments at least 16.
6041         * math/auto-libm-test-in: Add more tests of erf.
6042         * math/auto-libm-test-out: Regenerated.
6044         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
6045         individual architectures.
6046         * sysdeps/unix/sysv/linux/configure: Regenerated.
6047         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
6048         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
6049         * sysdeps/unix/sysv/linux/powerpc/configure.ac
6050         (ldd_rewrite_script): Define variable.
6051         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
6052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
6053         file.
6054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
6055         generated file.
6056         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
6057         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
6058         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
6059         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
6060         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
6061         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
6062         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
6063         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
6065 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6067         [BZ #17084]
6068         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
6069         Rename member __data.d to __data.__elision_data.
6071 2014-06-24  Wilco  <wdijkstr@arm.com>
6073         * NEWS: Add 16918 to fixed bug list.
6075 2014-06-24  Wilco  <wdijkstr@arm.com>
6077         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
6079 2014-06-24  Wilco  <wdijkstr@arm.com>
6081         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
6082         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
6083         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
6084         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
6085         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
6086         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
6087         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
6088         Use _FPU_MASK_RM.
6090 2014-06-24  Wilco  <wdijkstr@arm.com>
6092         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
6094 2014-06-24  Wilco  <wdijkstr@arm.com>
6096         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
6097         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
6098         * sysdeps/arm/fesetround.c (fesetround): Remove space.
6099         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
6101 2014-06-24  Wilco  <wdijkstr@arm.com>
6103         [BZ #16918]
6104         * sysdeps/arm/feupdateenv.c (feupdateenv):
6105         Rewrite to reduce FPSCR accesses and fix return value.
6107 2014-06-24  Wilco  <wdijkstr@arm.com>
6109         * sysdeps/arm/fclrexcpt.c (feclearexcept):
6110         Optimize to avoid unnecessary FPSCR writes.
6111         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
6112         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
6113         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
6114         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
6116 2014-06-24  Wilco  <wdijkstr@arm.com>
6118         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
6119         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
6120         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
6121         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
6122         Call libc_fetestexcept_vfp.
6123         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
6124         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
6125         __SOFTFP__ ifdef so that they can be built for softfp.
6127 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6129         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
6130         argument type signed char.
6132         * Makerules (check-abi): Dump diff of symlist if the test
6133         fails.
6135 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6137         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
6138         using abort.
6140         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
6141         Remove unused variable ST.
6143 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6145         [BZ #16354]
6146         [BZ #17061]
6147         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
6148         small arguments before calling __expm1.
6149         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
6150         small arguments before calling __expm1f.
6151         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
6152         small arguments before calling __expm1l.
6153         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6154         Likewise.
6155         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
6156         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
6157         spurious underflow for some cosh tests.
6158         * math/auto-libm-test-out: Regenerated.
6159         * sysdeps/i386/fpu/libm-test-ulps: Update.
6161         [BZ #17050]
6162         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
6163         (__ieee754_y1): Set errno if return value overflows.
6164         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
6165         (__ieee754_y1f): Set errno if return value overflows.
6166         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
6167         (__ieee754_y1l): Set errno if return value overflows.
6168         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
6169         (__ieee754_y1l): Set errno if return value overflows.
6170         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
6171         * math/auto-libm-test-out: Regenerated.
6173         * math/gen-auto-libm-tests.c: Document use of
6174         ignore-zero-inf-sign.
6175         (input_flag_type): Add value flag_ignore_zero_inf_sign.
6176         (input_flags): Add ignore-zero-inf-sign.
6177         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
6178         * math/gen-libm-test.pl (generate_testfile): Handle
6179         ignore-zero-inf-sign.
6180         * math/auto-libm-test-in: Mark some cpow tests with
6181         ignore-zero-inf-sign and some with xfail-rounding.
6182         * math/auto-libm-test-out: Regenerated.
6183         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
6184         * sysdeps/i386/fpu/libm-test-ulps: Update.
6185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6187         [BZ #16315]
6188         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
6189         overflowing or underflowing operations take place with sign of
6190         result.
6191         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
6192         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
6193         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
6194         (__ieee754_pow): Recompute overflowing and underflowing results in
6195         original rounding mode.
6196         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
6197         (__powl_helper): Allow negative argument X and scale negated value
6198         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
6199         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
6200         overflowing or underflowing operations take place with sign of
6201         result.
6202         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
6203         Include <math.h>.
6204         * math/auto-libm-test-in: Add more tests of pow.
6205         * math/auto-libm-test-out: Regenerated.
6206         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
6207         (pow_tonearest_test_data): Remove.
6208         (pow_test_tonearest): Likewise.
6209         (pow_towardzero_test_data): Likewise.
6210         (pow_test_towardzero): Likewise.
6211         (pow_downward_test_data): Likewise.
6212         (pow_test_downward): Likewise.
6213         (pow_upward_test_data): Likewise.
6214         (pow_test_upward): Likewise.
6215         (main): Don't call removed functions.
6216         * sysdeps/i386/fpu/libm-test-ulps: Update.
6217         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6219 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
6222         Moved ...
6223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
6224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6225         Moved ...
6226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
6227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
6228         Moved ...
6229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
6230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
6231         Moved ...
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
6233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
6234         File removed.
6235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
6236         File removed.
6237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
6238         File removed.
6239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
6240         File removed.
6241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
6242         File removed.
6243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
6244         File removed.
6245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
6246         File removed.
6247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
6248         File removed.
6249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
6250         File removed.
6251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
6252         File removed.
6253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
6254         File removed.
6255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
6256         File removed.
6257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
6258         Moved ...
6259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
6260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
6261         Moved ...
6262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
6263         ... here.
6264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
6265         Moved ...
6266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
6267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
6268         Moved ...
6269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
6270         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
6271         Moved ...
6272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
6273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
6274         Moved ...
6275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
6276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
6277         Moved ...
6278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
6279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
6280         Moved ...
6281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
6282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
6283         Moved ...
6284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
6285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
6286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
6287         ... here.
6288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
6289         Moved ...
6290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
6291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
6292         Moved ...
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6294         ... here.
6295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
6296         Moved ...
6297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6298         ... here.
6299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
6300         Moved ...
6301         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6302         ... here.
6303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
6304         Moved ...
6305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
6306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6307         Moved ...
6308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
6309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
6310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
6311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6312         Moved ...
6313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
6314         ... here.
6315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
6316         Moved ...
6317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
6318         ... here.
6319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6320         Moved ...
6321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
6322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
6323         Moved ...
6324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
6325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6326         Moved ...
6327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
6328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6329         Moved ...
6330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
6331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6332         Moved ...
6333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
6334         ... here.
6335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
6336         Moved ...
6337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
6338         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6339         Moved ...
6340         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
6341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
6342         Moved ...
6343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
6344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6345         Moved ...
6346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
6347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
6348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
6349         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6350         Moved ...
6351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
6352         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
6353         Moved ...
6354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
6355         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6356         Moved ...
6357         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
6358         ... here.
6359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
6360         Moved ...
6361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
6362         ... here.
6363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6364         Moved ...
6365         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
6366         ... here.
6367         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
6368         Moved ...
6369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
6370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6371         Moved ...
6372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
6373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
6374         Moved ...
6375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
6376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6377         Moved ...
6378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
6379         ... here.
6380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
6381         Moved ...
6382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
6383         ... here.
6384         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6385         Moved ...
6386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
6387         ... here.
6388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
6389         Moved ...
6390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
6391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
6392         Moved ...
6393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
6395 2014-06-23  Will Newton  <will.newton@linaro.org>
6396             Wilco  <wdijkstr@arm.com>
6398         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
6399         implementation.  Include get-rounding-mode.h.
6400         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
6401         [!libc_feholdsetround_noex_ctx]: Define
6402         libc_feholdsetround_noex_ctx.
6403         [!libc_feholdsetround_noexf_ctx]: Define
6404         libc_feholdsetround_noexf_ctx.
6405         [!libc_feholdsetround_noexl_ctx]: Define
6406         libc_feholdsetround_noexl_ctx.
6407         (libc_feholdsetround_ctx): New function.
6408         (libc_feresetround_ctx): New function.
6409         (libc_feholdsetround_noex_ctx): New function.
6410         (libc_feresetround_noex_ctx): New function.
6412 2014-06-23  Roland McGrath  <roland@hack.frob.com>
6414         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
6415         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
6416         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
6417         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
6418         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
6419         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
6421         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
6422         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
6423         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
6424         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
6425         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
6426         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
6427         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
6428         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
6429         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
6430         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
6431         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
6432         Moved ...
6433         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
6434         ... here.
6435         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
6436         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
6437         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
6438         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
6439         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
6440         Moved ...
6441         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
6442         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
6443         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
6444         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
6445         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
6446         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
6447         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
6448         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
6449         Moved ...
6450         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
6451         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
6452         Moved ...
6453         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
6454         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
6455         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
6456         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
6457         Moved ...
6458         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
6459         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
6460         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
6461         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
6462         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
6463         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
6464         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
6465         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
6466         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
6467         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
6468         Moved ...
6469         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
6470         ... here.
6471         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
6472         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
6473         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
6474         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
6475         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
6476         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
6477         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
6478         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
6479         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
6480         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
6481         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
6482         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
6483         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
6484         Moved ...
6485         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
6486         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
6487         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
6488         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
6489         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
6490         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
6491         Moved ...
6492         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
6493         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
6494         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
6495         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
6496         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
6498         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
6499         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
6500         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
6501         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
6502         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
6503         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
6504         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
6505         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
6506         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
6507         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
6508         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
6509         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
6510         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
6511         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
6512         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
6513         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
6514         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
6515         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
6516         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
6517         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
6518         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
6519         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
6520         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
6521         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
6522         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
6523         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
6524         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
6525         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
6527 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
6529         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
6530         (FALLOC_FL_COLLAPSE_RANGE): New macro.
6531         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
6532         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
6533         (IPV6_PMTUDISC_INTERFACE): Likewise.
6534         (IPV6_PMTUDISC_OMIT): Likewise.
6536 2014-06-23  Andreas Schwab  <schwab@suse.de>
6538         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
6539         Remove unused errout label.
6541 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6543         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
6544         macro: hardware supports Vector Crypto instructions.
6546 2014-06-23  Will Newton  <will.newton@linaro.org>
6548         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
6549         rather than __builtin_expect.
6551         * elf/dl-lookup.c (undefined_msg): Remove variable.
6552         (_dl_lookup_symbol_x): Replace undefined_msg with string
6553         literal.
6555         * elf/dl-lookup.c (do_lookup_unique): New function.
6556         (do_lookup_x): Move STB_GNU_UNIQUE handling code
6557         to a separate function.
6559 2014-06-23  Andreas Schwab  <schwab@suse.de>
6561         [BZ #17079]
6562         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
6563         before reading the next line.
6565 2014-06-23  Will Newton  <will.newton@linaro.org>
6567         * test-skeleton.c (signal_handler): Use printf and %m
6568         rather than perror.  Use printf rather than fprintf to
6569         stderr.  Use puts rather than fputs to stderr.
6570         (main): Likewise.
6572 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
6574         * nscd/nscd.c (thread_info_t): Remove typedef.
6575         (thread_info): Remove variable.
6577 2014-06-21  Allan McRae  <allan@archlinux.org>
6579         * NEWS: Mention CVE-2014-4043.
6581 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6583         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
6584         * nptl/smp.h: ... here.
6586         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
6588         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
6589         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
6590         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
6591         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
6593         * nptl/allocatestack.c: Include <stack-aliasing.h>.
6594         * nptl/stack-aliasing.h: New file.
6595         * sysdeps/i386/i686/stack-aliasing.h: New file.
6596         * sysdeps/i386/i686/nptl/Makefile: File removed.
6597         * sysdeps/x86_64/stack-aliasing.h: New file.
6598         * sysdeps/x86_64/nptl/Makefile
6599         (CFLAGS-pthread_create.c): Variable removed.
6601         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
6602         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
6603         old file.
6604         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
6605         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
6606         old file.
6608 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
6610         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6611         (__ASSUME_SIGFRAME_V2): Remove macro.
6612         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
6613         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
6614         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
6615         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
6616         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
6617         Declare as function.  Remove conditional macro definitions.
6618         (__default_rt_sa_restorer): Likewise.
6619         (__default_sa_restorer_v1): Remove declaration.
6620         (__default_sa_restorer_v2): Likewise.
6621         (__default_rt_sa_restorer_v1): Likewise.
6622         (__default_rt_sa_restorer_v2): Likewise.
6623         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
6624         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
6625         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
6627 2014-06-20  Roland McGrath  <roland@hack.frob.com>
6629         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
6630         (libpthread-routines): Add sysdep.
6631         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
6632         * sysdeps/unix/sysv/linux/sparc/Versions
6633         (libpthread: GLIBC_2.3.3): New version set.
6634         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
6635         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
6636         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
6637         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
6638         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
6639         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
6640         Moved ...
6641         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
6642         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
6643         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
6644         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
6645         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
6646         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
6647         * sysdeps/sparc/nptl/sem_init.c: ... here.
6648         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
6649         * sysdeps/sparc/nptl/sem_post.c: ... here.
6650         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
6651         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
6652         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
6653         * sysdeps/sparc/nptl/sem_wait.c: ... here.
6654         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
6655         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
6656         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
6657         (libpthread-routines): Add cpu_relax.
6658         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
6659         File removed.
6660         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
6661         (librt: GLIBC_2.3.3): New version set.
6662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
6663         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
6664         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
6665         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
6666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
6667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
6668         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
6669         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
6670         Moved ...
6671         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
6672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
6673         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
6674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
6675         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
6676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
6677         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
6678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
6679         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
6680         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
6681         Moved ...
6682         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
6683         Update #include.
6684         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
6685         Moved ...
6686         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
6687         Update #include.
6688         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
6689         Moved ...
6690         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
6691         Update #include.
6692         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
6693         Moved ...
6694         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
6695         Update #include.
6696         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
6697         Moved ...
6698         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
6699         Update #include.
6700         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
6701         Moved ...
6702         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
6703         Update #include.
6704         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
6705         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
6706         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
6707         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
6708         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
6709         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
6710         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
6711         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
6712         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
6713         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
6714         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
6715         Moved ...
6716         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
6717         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
6718         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
6719         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
6720         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
6722 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6724         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
6725         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
6726         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6727         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
6728         * nscd/nscd.c: Likewise.
6729         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
6730         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
6731         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
6732         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
6734         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
6735         <kernel-features.h>.
6736         (init_mq_netlink): Remove conditional have_sock_cloexec
6737         definitions.  Remove code conditional on have_sock_cloexec < 0.
6738         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
6739         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
6740         * sysdeps/unix/sysv/linux/opensock.c: Do not include
6741         <kernel-features.h>.
6742         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
6743         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
6745 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6747         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6748         Add tests for memset_chk and memset.
6750         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
6751         with AVX2_Usable.
6753 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6755         [BZ #16046]
6756         * elf/tst-dl-iter-static.c: New file.
6757         * elf/Makefile (tests-static): Add tst-dl-iter-static.
6759         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
6760         error.
6762 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6764         * sysdeps/unix/sysv/linux/kernel-features.h
6765         (__ASSUME_F_GETOWN_EX): Remove macro.
6766         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
6767         <kernel-features.h>.
6768         (miss_F_GETOWN_EX): Remove variable or macro.
6769         (do_fcntl): Do not check miss_F_GETOWN_EX.
6770         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
6772         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
6773         Remove macro.
6774         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
6775         [!__ASSUME_AT_RANDOM]: Remove conditional code.
6776         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
6778         * sysdeps/unix/sysv/linux/kernel-features.h
6779         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
6780         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
6781         [ADJ_OFFSET_SS_READ]: Make code unconditional.
6782         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
6784 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
6786         [BZ #17075]
6787         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
6788         Fix calculation of the symbol's value.
6789         * sysdeps/arm/tst-armtlsdescloc.c: New file.
6790         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
6791         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
6792         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
6793         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
6794         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
6795         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
6796         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
6797         (modules-names): Add `tst-armtlsdescmod',
6798         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
6799         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
6800         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6801         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
6802         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
6803         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
6804         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
6805         ($(objpfx)tst-armtlsdescloc): New dependency.
6806         ($(objpfx)tst-armtlsdescextnow): Likewise.
6807         ($(objpfx)tst-armtlsdescextlazy): Likewise.
6808         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
6809         TLS scheme support.
6810         * sysdeps/arm/configure: Regenerate.
6812 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
6814         * include/fcntl.h (__atfct_seterrno): Remove prototype.
6815         (__atfct_seterrno_2): Likewise.
6816         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
6817         <kernel-features.h>.
6818         (__ASSUME_ATFCTS): Do not undefine and redefine.
6819         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
6820         (__have_atfcts): Remove conditional definition.
6821         (__fxstatat([__NR_fstatat64]: Make code unconditional.
6822         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
6823         unreachable if [__ASSUME_ATFCTS].
6824         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
6825         not undefine and redefine.
6826         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
6827         <kernel-features.h>.
6828         (faccessat) [__NR_faccessat]: Make code unconditional.
6829         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
6830         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
6831         <kernel-features.h>.
6832         (fchmodat) [__NR_fchmodat]: Make code unconditional.
6833         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6834         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
6835         <kernel-features.h>.
6836         (fchownat) [__NR_fchownat]: Make code unconditional.
6837         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
6838         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
6839         <kernel-features.h>.
6840         (futimesat) [__NR_futimesat]: Make code unconditional.
6841         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
6842         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
6843         <kernel-features.h>.
6844         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6845         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6846         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
6847         <kernel-features.h>.
6848         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
6849         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6850         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
6851         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
6852         <kernel-features.h>.
6853         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
6854         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6855         * sysdeps/unix/sysv/linux/linkat.c: Do not include
6856         <kernel-features.h>.
6857         (linkat) [__NR_linkat]: Make code unconditional.
6858         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6859         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
6860         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
6861         <kernel-features.h>.
6862         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
6863         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
6864         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
6865         <kernel-features.h>.
6866         (mkdirat) [__NR_mkdirat]: Make code unconditional.
6867         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
6868         * sysdeps/unix/sysv/linux/openat.c: Do not include
6869         <kernel-features.h>.
6870         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
6871         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
6872         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
6873         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
6874         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
6875         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
6876         <kernel-features.h>.
6877         (readlinkat) [__NR_readlinkat]: Make code unconditional.
6878         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
6879         result of INLINE_SYSCALL directly, not via int variable.
6880         * sysdeps/unix/sysv/linux/renameat.c: Do not include
6881         <kernel-features.h>.
6882         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
6883         (renameat) [__NR_renameat]: Make code unconditional.
6884         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
6885         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
6886         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
6887         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
6888         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
6889         (__ASSUME_ATFCTS): Do not undefine and redefine.
6890         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
6891         <kernel-features.h>.
6892         (symlinkat) [__NR_symlinkat]: Make code unconditional.
6893         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6894         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
6895         <kernel-features.h>.
6896         (unlinkat) [__NR_unlinkat]: Make code unconditional.
6897         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
6898         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
6899         (__ASSUME_ATFCTS): Do not undefine and redefine.
6900         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
6901         <kernel-features.h>.
6902         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
6903         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
6904         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
6905         <kernel-features.h>.
6906         (__xmknodat) [__NR_mknodat]: Make code unconditional.
6907         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
6909 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
6911         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
6913 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
6915         [BZ #17069]
6916         * posix/regcomp.c (parse_reg_exp): Deallocate partially
6917         constructed tree before returning error.
6918         * posix/bug-regexp36.c: Expand test case.
6920 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
6922         [BZ #6803]
6923         * math/libm-test.inc (scalbln_test_date):
6924         Add errno expectations.
6925         * math/w_scalblnf.c: New File.
6926         Add wrapper which checks for setting errno to ERANGE.
6927         Add weak_alias for corresponding scalbln function.
6928         * math/w_scalbln.c: Likewise.
6929         * math/w_scalblnl.c: Likewise.
6930         * math/Makefile (libm-calls): Add w_scalbln.
6931         * sysdeps/ieee754/flt-32/s_scalblnf.c:
6932         Remove weak_alias for corresponding scalbln function.
6933         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
6934         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
6935         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
6936         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6937         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
6938         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
6939         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
6940         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
6941         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
6942         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
6943         Remove long_double_symbol for scalblnl function in libm, libc.
6944         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
6945         Add wrapper which checks for setting errno to ERANGE.
6946         Add long_double_symbol for scalblnl function in libm, libc.
6947         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
6948         Remove long_double_symbol for scalblnl in libm.
6949         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
6950         Add wrapper which checks for setting errno to ERANGE.
6951         Add long_double_symbol for scalblnl function in libm.
6952         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
6953         Do not use wrapper because of own implementation.
6955 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
6957         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
6958         3 bytes for __pad1 for x32.
6959         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
6961 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
6962             H.J. Lu  <hongjiu.lu@intel.com>
6964         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
6965         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
6966         * sysdeps/x86_64/multiarch/memset.S: Likewise.
6967         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
6968         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
6970 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
6972         [BZ #17069]
6973         * posix/regcomp.c (parse_expression): Deallocate partially
6974         constructed tree before returning error.
6975         * posix/Makefile.c (tests): Add bug-regex36.
6976         (generated): Add bug-regex36.mtrace.
6977         (tests-special): Add $(objpfx)bug-regex36-mem.out
6978         (bug-regex36-ENV): New variable.
6979         ($(objpfx)bug-regex36-mem.out): New rule.
6980         * posix/bug-regex36.c: New file.
6982 2014-06-19  Will Newton  <will.newton@linaro.org>
6984         * malloc/malloc.c (systrim): If extra is zero then return
6985         early.
6987 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
6989         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
6991 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
6993         * sysdeps/aarch64/strchr.S: New file.
6995 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
6997         [BZ #17022]
6998         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
6999         from arguments -2 or below.
7000         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
7001         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
7003 2014-06-18  Andreas Schwab  <schwab@suse.de>
7005         [BZ #17062]
7006         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
7007         of a bracket expr not to run off the end of the string.
7008         * posix/Makefile (tests): Add tst-fnmatch3.
7009         * posix/tst-fnmatch3.c: New file.
7011 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
7013         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
7014         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7015         [$(cross-compiling) = no]: Likewise.
7016         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7017         [$(cross-compiling) = no]: Likewise.
7019 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
7021         [BZ #17031]
7022         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
7023         double, adjusted for any remainder from the high double.
7024         * math/libm-test.inc (nearbyint): Add tests.
7025         (rint): Likewise.
7027 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7029         * nptl/sysdeps/powerpc/Makefile: Moved ...
7030         * sysdeps/powerpc/nptl/Makefile: ... here.
7031         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
7032         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
7033         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
7034         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
7035         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
7036         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
7037         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
7038         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
7039         * nptl/sysdeps/powerpc/tls.h: Moved ...
7040         * sysdeps/powerpc/nptl/tls.h: ... here.
7042 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
7044         [BZ #16681]
7045         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
7046         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
7047         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
7048         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
7049         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
7050         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
7051         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
7052         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
7053         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
7055 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
7057         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7059 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
7061         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
7062         defined operator.
7064         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
7065         $TIMEOUTFACTOR.
7067 2014-06-16  Florian Weimer  <fweimer@redhat.com>
7069         [BZ #17058]
7070         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
7071         non-executed part of the test.
7073 2014-06-16  Andreas Schwab  <schwab@suse.de>
7075         * string/bits/string2.h (strdup, strndup): Update feature guard.
7077 2014-06-14  David S. Miller  <davem@davemloft.net>
7079         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7081 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
7083         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
7084         that was previously under [RESET_PID].
7085         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
7087         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
7088         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
7089         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
7090         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
7091         (__libc_vfork): New strong alias.
7092         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
7094 2014-06-14 Andi Kleen  <ak@linux.intel.com>
7096         * sysdeps/generic/elide.h: New file.
7098 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
7100         * Makefile (installed-headers): Adjust path of pthread.h header.
7102 2014-06-13  Roland McGrath  <roland@hack.frob.com>
7104         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
7105         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
7106         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
7107         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
7109         * nptl/sysdeps/s390/Makefile: Moved ...
7110         * sysdeps/s390/nptl/Makefile: ... here.
7111         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
7112         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
7113         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
7114         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
7115         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
7116         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
7117         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
7118         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
7119         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
7120         * sysdeps/s390/nptl/pthreaddef.h: ... here.
7121         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
7122         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
7123         * nptl/sysdeps/s390/tls.h: Moved ...
7124         * sysdeps/s390/nptl/tls.h: ... here.
7126         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
7127         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
7129 2014-06-13  David S. Miller  <davem@davemloft.net>
7131         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
7132         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
7133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
7134         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
7135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
7136         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
7137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
7138         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
7139         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
7140         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
7141         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
7142         Remove RESET_PID cpp guards.
7143         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
7144         Remove RESET_PID cpp guards.
7145         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
7147 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
7149         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
7150         __sp to uintptr_t.
7152 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7154         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
7155         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
7156         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
7157         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
7158         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
7159         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
7160         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
7161         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
7162         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
7163         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
7164         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
7165         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
7166         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
7167         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
7168         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
7169         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
7170         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
7171         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
7172         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
7173         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
7175         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
7176         (pthread_rwlock_rdlock): Add elision.
7177         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
7178         (pthread_rwlock_wrlock): Add elision.
7179         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
7180         (pthread_rwlock_trywrlock): Add elision.
7181         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
7182         (pthread_rwlock_tryrdlock): Add elision.
7183         * nptl/pthread_rwlock_unlock.c: Include elide.h.
7184         (pthread_rwlock_tryrdlock): Add elision unlock.
7185         * nptl/sysdeps/pthread/pthread.h:
7186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
7187         (PTHREAD_RWLOCK_INITIALIZER,
7188         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
7189         Handle new elision field.
7190         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
7191         * sysdeps/arm/nptl/bits/pthreadtypes.h
7192         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7193         * sysdeps/sh/nptl/bits/pthreadtypes.h
7194         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7195         * sysdeps/tile/nptl/bits/pthreadtypes.h
7196         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7197         * sysdeps/a/nptl/bits/pthreadtypes.h
7198         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7199         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
7200         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7201         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
7202         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7203         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
7204         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7205         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
7206         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7207         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
7208         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7209         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
7210         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7211         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
7212         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7213         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
7214         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7215         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
7216         (elision_init): Set try_xbegin to zero when no RTM.
7217         * sysdeps/x86/nptl/bits/pthreadtypes.h
7218         (pthread_rwlock_t): Change __pad1 to __rwelision.
7219         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
7221 2014-06-13  Andi Kleen  <ak@linux.intel.com>
7223         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
7224         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
7225         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
7226         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
7228 2014-06-13  Meador Inge  <meadori@codesourcery.com>
7230         [BZ #16996]
7231         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
7232         that the cached result has been set before returning it.
7234 2014-06-12  Roland McGrath  <roland@hack.frob.com>
7236         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
7237         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
7238         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
7239         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
7240         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
7241         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
7243         * nptl/sysdeps/sparc/Makefile: Moved ...
7244         * sysdeps/sparc/nptl/Makefile: ... here.
7245         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
7246         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
7247         * nptl/sysdeps/sparc/tls.h: Moved ...
7248         * sysdeps/sparc/nptl/tls.h: ... here.
7249         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
7250         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
7251         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
7252         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
7253         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
7254         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
7255         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
7256         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
7257         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
7258         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
7259         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
7260         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
7261         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
7262         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
7263         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
7264         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
7265         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
7266         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
7267         Update #include.
7268         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
7269         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
7270         Update #include.
7271         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
7272         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
7273         Update #include.
7274         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
7275         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
7276         Update #include.
7278         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7280         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
7281         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
7283         * sysdeps/pthread/posix-timer.h: Include <list.h>.
7284         (struct list_links): Type removed.
7285         (struct thread_node, struct timer_node): Replace struct list_links
7286         with struct list_head.
7287         (list_unlink_ip): Likewise.
7288         * sysdeps/pthread/timer_routines.c
7289         (timer_free_list, thread_free_list, thread_active_list): Likewise.
7290         (list_append, list_insbefore): Likewise.
7291         (list_init): Function removed.
7292         (thread_init, init_module): Use INIT_LIST_HEAD instead.
7293         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
7294         * sysdeps/pthread/Makefile: ... here, new file.
7296         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
7297         * sysdeps/nptl/Implies: ... here.
7298         * sysdeps/unix/sysv/linux/Implies: Add nptl.
7299         * nptl/sysdeps/pthread/list.h: Moved ...
7300         * include/list.h: ... here.
7301         * nptl/sysdeps/pthread/createthread.c: Moved ...
7302         * nptl/createthread.c: ... here.
7303         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
7304         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
7305         * nptl/pt-longjmp.c: ... here.
7306         * nptl/sysdeps/pthread/Makefile: Moved ...
7307         * sysdeps/nptl/Makefile: ... here.
7308         * nptl/sysdeps/pthread/Subdirs: Moved ...
7309         * sysdeps/nptl/Subdirs: ... here.
7310         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
7311         * sysdeps/nptl/aio_misc.h: ... here.
7312         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
7313         * sysdeps/nptl/bits/libc-lock.h: ... here.
7314         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
7315         * sysdeps/nptl/bits/libc-lockP.h: ... here.
7316         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
7317         * sysdeps/nptl/bits/stdio-lock.h: ... here.
7318         * nptl/sysdeps/pthread/configure: Moved ...
7319         * sysdeps/nptl/configure: ... here.
7320         * nptl/sysdeps/pthread/configure.ac: Moved ...
7321         * sysdeps/nptl/configure.ac: ... here.
7322         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
7323         * sysdeps/nptl/gai_misc.h: ... here.
7324         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
7325         * sysdeps/nptl/librt-cancellation.c: ... here.
7326         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
7327         * sysdeps/nptl/malloc-machine.h: ... here.
7328         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
7329         * sysdeps/nptl/pthread-functions.h: ... here.
7330         * nptl/sysdeps/pthread/pthread.h: Moved ...
7331         * sysdeps/nptl/pthread.h: ... here.
7332         * nptl/sysdeps/pthread/setxid.h: Moved ...
7333         * sysdeps/nptl/setxid.h: ... here.
7334         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
7335         * sysdeps/nptl/sigfillset.c: ... here.
7336         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
7337         * sysdeps/nptl/tcb-offsets.h: ... here.
7338         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
7339         * sysdeps/nptl/tst-mqueue8x.c: ... here.
7340         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
7341         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
7342         * nptl/sysdeps/pthread/allocalim.h: Moved ...
7343         * sysdeps/pthread/allocalim.h: ... here.
7344         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
7345         * sysdeps/pthread/bits/sigthread.h: ... here.
7346         * nptl/sysdeps/pthread/flockfile.c: Moved ...
7347         * sysdeps/pthread/flockfile.c: ... here.
7348         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
7349         * sysdeps/pthread/ftrylockfile.c: ... here.
7350         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
7351         * sysdeps/pthread/funlockfile.c: ... here.
7352         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
7353         * sysdeps/pthread/posix-timer.h: ... here.
7354         * nptl/sysdeps/pthread/timer_create.c: Moved ...
7355         * sysdeps/pthread/timer_create.c: ... here.
7356         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
7357         * sysdeps/pthread/timer_delete.c: ... here.
7358         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
7359         * sysdeps/pthread/timer_getoverr.c: ... here.
7360         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
7361         * sysdeps/pthread/timer_gettime.c: ... here.
7362         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
7363         * sysdeps/pthread/timer_routines.c: ... here.
7364         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
7365         * sysdeps/pthread/timer_settime.c: ... here.
7366         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
7367         * sysdeps/pthread/tst-timer.c: ... here.
7368         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
7369         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
7371         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
7372         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
7374         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
7375         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
7376         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
7377         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
7378         Update #include target.
7379         * nptl/sysdeps/i386/i686/Makefile: Moved ...
7380         * sysdeps/i386/i686/nptl/Makefile: ... here.
7381         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
7382         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
7383         Update #include target.
7384         * nptl/sysdeps/i386/i686/tls.h: Moved ...
7385         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
7386         * nptl/sysdeps/i386/Makefile: Moved ...
7387         * sysdeps/i386/nptl/Makefile: ... here.
7388         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
7389         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
7390         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
7391         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
7392         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
7393         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
7394         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
7395         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
7396         * sysdeps/i386/nptl/pthreaddef.h: ... here.
7397         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
7398         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
7399         * nptl/sysdeps/i386/tls.h: Moved ...
7400         * sysdeps/i386/nptl/tls.h: ... here.
7402         * sysdeps/sh/Makefile [$(subdir) = csu]
7403         (gen-as-const-headers): Add tcb-offsets.sym.
7404         * nptl/sysdeps/sh/Makefile: File removed.
7405         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
7406         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
7407         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
7408         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
7409         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
7410         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
7411         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
7412         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
7413         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
7414         * sysdeps/sh/nptl/pthreaddef.h: ... here.
7415         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
7416         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
7417         * nptl/sysdeps/sh/tls.h: Moved ...
7418         * sysdeps/sh/nptl/tls.h: ... here.
7419         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
7420         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
7421         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
7422         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
7423         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
7424         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
7425         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
7426         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
7427         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
7428         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
7429         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
7430         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
7431         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
7432         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
7433         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
7434         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
7435         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
7436         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
7437         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
7438         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
7439         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
7440         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
7441         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
7442         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
7443         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
7444         Moved ...
7445         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
7446         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
7447         Moved ...
7448         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
7449         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
7450         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
7451         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
7452         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
7453         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
7454         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
7455         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
7456         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
7457         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
7458         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
7459         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
7460         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
7461         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
7462         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
7463         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
7464         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
7465         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
7466         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
7468 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
7470         * posix/spawn_faction_addopen.c: Include string.h.
7472 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7474         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
7475         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
7476         * nptl/sysdeps/x86_64/Makefile: Moved ...
7477         * sysdeps/x86_64/nptl/Makefile: ... here.
7478         * nptl/sysdeps/x86_64/configure: Moved ...
7479         * sysdeps/x86_64/nptl/configure: ... here.
7480         * nptl/sysdeps/x86_64/configure.ac: Moved ...
7481         * sysdeps/x86_64/nptl/configure.ac: ... here.
7482         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
7483         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
7484         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
7485         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
7486         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
7487         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
7488         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
7489         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
7490         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
7491         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
7492         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
7493         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
7494         * nptl/sysdeps/x86_64/tls.h: Moved ...
7495         * sysdeps/x86_64/nptl/tls.h: ... here.
7496         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
7497         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
7498         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
7499         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
7501         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
7503 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7505         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7507 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
7509         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
7510         type.
7511         [POSIX] (off_t): Likewise.
7512         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
7513         [POSIX] (S_ISBLK): Require macro.
7514         [POSIX] (S_ISCHR): Likewise.
7515         [POSIX] (S_ISDIR): Likewise.
7516         [POSIX] (S_ISFIFO): Likewise.
7517         [POSIX] (S_ISREG): Likewise.
7518         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
7519         optional-macro.
7520         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
7521         type.
7522         [POSIX] (time_t): Likewise.
7523         [POSIX] (timer_t): Likewise.
7525 2014-06-11  Florian Weimer  <fweimer@redhat.com>
7527         [BZ #17048]
7528         * posix/spawn_int.h (struct __spawn_action): Make the path string
7529         non-const to support deallocation.
7530         * posix/spawn_faction_addopen.c
7531         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
7532         * posix/spawn_faction_destroy.c
7533         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
7534         path in all spawn_do_open actions.
7535         * posix/tst-spawn.c (do_test): Exercise the copy operation in
7536         posix_spawn_file_actions_addopen.
7538 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
7540         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
7541         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
7542         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
7543         conditional code always true.
7544         (__libc_vfork): New alias.
7546 2014-06-11  Roland McGrath  <roland@hack.frob.com>
7548         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7549         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
7551         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
7553         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7554         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
7556         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
7557         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
7559         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7560         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
7562 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7564         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
7565         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
7566         multiarch strcmp for PPC64.
7567         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
7568         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
7569         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
7570         multiarch optimizations.
7571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7572         (__libc_ifunc_impl_list): Likewise.
7574 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7576         * benchtests/scripts/validate_benchout.py: New script.
7577         * benchtests/Makefile (bench-func): Call it.
7578         * benchtests/scripts/benchout.schema.json: New file.
7580 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
7582         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
7583         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
7584         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
7585         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
7586         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
7587         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
7588         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
7589         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
7590         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
7591         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
7592         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
7593         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
7594         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
7595         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
7596         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
7597         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
7598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
7599         Moved ...
7600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
7601         ... here.
7602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
7603         Moved ...
7604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
7605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
7606         Moved ...
7607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
7608         ... here.
7609         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
7610         Moved ...
7611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
7612         ... here.
7613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
7614         Moved ...
7615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
7616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
7617         Moved ...
7618         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
7619         ... here.
7620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
7621         Moved ...
7622         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
7623         ... here.
7624         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
7625         Moved ...
7626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
7627         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
7628         Moved ...
7629         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
7630         ... here.
7631         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
7632         Moved ...
7633         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
7634         ... here.
7635         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
7636         Moved ...
7637         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
7638         ... here.
7639         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
7640         Moved ...
7641         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
7642         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
7643         Moved ...
7644         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
7645         ... here.
7646         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
7647         Moved ...
7648         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
7649         ... here.
7650         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
7651         Moved ...
7652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
7653         ... here.
7654         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
7655         Moved ...
7656         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
7657         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
7658         Moved ...
7659         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
7660         ... here.
7661         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
7662         Moved ...
7663         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
7664         ... here.
7665         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
7666         Moved ...
7667         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
7668         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
7669         Moved ...
7670         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
7671         ... here.
7672         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
7673         Moved ...
7674         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
7675         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
7676         Moved ...
7677         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
7678         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
7679         Moved ...
7680         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
7681         ... here.
7682         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
7683         Moved ...
7684         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
7685         ... here.
7686         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
7687         Moved ...
7688         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
7689         ... here.
7690         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
7691         Moved ...
7692         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
7693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
7694         Moved ...
7695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
7696         ... here.
7697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
7698         Moved ...
7699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
7700         ... here.
7701         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
7702         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
7703         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
7704         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
7705         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
7706         Moved ...
7707         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
7708         ... here.
7709         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
7710         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
7711         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
7712         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
7713         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
7714         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
7715         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
7716         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
7717         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
7718         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
7719         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
7720         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
7721         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
7722         Moved ...
7723         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
7724         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
7725         Moved ...
7726         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
7727         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
7728         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
7729         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
7730         Moved ...
7731         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
7732         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
7733         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
7734         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
7735         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
7736         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
7737         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
7739 2014-06-10  Wilco  <wdijkstr@arm.com>
7741         * math/test-fenv-return.c: New file.
7742         * math/Makefile: Add new test test-fenv-return.
7744 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
7746         [BZ #17042]
7747         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
7748         when x - 1 is zero.
7749         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
7750         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
7751         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
7752         0.0L for an argument of 1.0L.
7753         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
7754         Likewise.
7755         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
7756         value when x - 1 is zero.
7757         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
7758         * sysdeps/i386/fpu/libm-test-ulps: Update.
7759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7761 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
7763         [BZ #15119]
7764         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
7766 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7768         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
7769         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
7771 2014-06-09  Roland McGrath  <roland@hack.frob.com>
7773         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7774         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
7776         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7777         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
7779         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7780         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
7782         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7783         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
7785         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
7786         if not already defined.
7787         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
7788         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
7789         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
7790         (TLS_INIT_TP): Use it.
7791         (TLS_DEFINE_INIT_TP): New macro.
7792         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
7794 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
7796         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
7797         constant.
7798         [POSIX] (IXANY): Likewise.
7799         [POSIX] (OLCUC): Likewise.
7800         [POSIX || POSIX2008] (CBAUD): Do not allow.
7801         [POSIX || POSIX2008] (DEFECHO): Likewise.
7802         [POSIX || POSIX2008] (ECHOCTL): Likewise.
7803         [POSIX || POSIX2008] (ECHOKE): Likewise.
7804         [POSIX || POSIX2008] (ECHOPRT): Likewise.
7805         [POSIX || POSIX2008] (EXTA): Likewise.
7806         [POSIX || POSIX2008] (EXTB): Likewise.
7807         [POSIX || POSIX2008] (FLUSHO): Likewise.
7808         [POSIX || POSIX2008] (LOBLK): Likewise.
7809         [POSIX || POSIX2008] (PENDIN): Likewise.
7810         [POSIX || POSIX2008] (SWTCH): Likewise.
7811         [POSIX || POSIX2008] (VDISCARD): Likewise.
7812         [POSIX || POSIX2008] (VDSUSP): Likewise.
7813         [POSIX || POSIX2008] (VLNEXT): Likewise.
7814         [POSIX || POSIX2008] (VREPRINT): Likewise.
7815         [POSIX || POSIX2008] (VSTATUS): Likewise.
7816         [POSIX || POSIX2008] (VWERASE): Likewise.
7817         (B*): Change to B[0123456789]*.
7818         * conform/data/time.h-data [POSIX || UNIX98]
7819         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
7820         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
7821         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
7822         [POSIX] (tm_*): Do not allow.
7824 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
7826         * Makefile (install): Don't set LANGUAGE.
7827         * Makefile.in (install): Likewise.
7828         * assert/Makefile (test-assert-ENV): Remove variable.
7829         (test-assert-perr-ENV): Likewise.
7830         * elf/Makefile (neededtest4-ENV): Likewise.
7831         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
7832         [$(cross-compiling) = no]: Don't set LANGUAGE.
7833         * io/ftwtest-sh (LANG): Remove variable.
7834         * libio/Makefile (tst-widetext-ENV): Likewise.
7835         * manual/install.texi (Running make install): Don't refer to
7836         environment settings for make install.
7837         * INSTALL: Regenerated.
7838         * nptl/tst-tls6.sh: Don't set LANG.
7839         * posix/globtest.sh (LANG): Remove variable.
7840         * string/Makefile (tester-ENV): Likewise.
7841         (inl-tester-ENV): Likewise.
7842         (noinl-tester-ENV): Likewise.
7843         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
7844         [$(cross-compiling) = no]: Don't set LANGUAGE.
7845         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
7846         without explicit environment settings.
7848 2014-06-06  Roland McGrath  <roland@hack.frob.com>
7850         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
7851         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
7852         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
7853         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
7855 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
7857         * crypt/crypt-private.h [DOS]: Add some includes taken from the
7858         other files in the crypt directory.
7859         * crypt/crypt.c: Remove duplicate includes.
7860         * crypt/crypt-entry.c: Likewise.
7861         * crypt/crypt_util.c: Likewise.
7863 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
7865         * Makeconfig (run-program-env): New variable.
7866         (run-program-prefix-before-env): Likewise.
7867         (run-program-prefix-after-env): Likewise.
7868         (run-program-prefix): Define in terms of new variables.
7869         (built-program-cmd-before-env): New variable.
7870         (built-program-cmd-after-env): Likewise.
7871         (built-program-cmd): Define in terms of new variables.
7872         (test-program-prefix-before-env): New variable.
7873         (test-program-prefix-after-env): Likewise.
7874         (test-program-prefix): Define in terms of new variables.
7875         (test-program-cmd-before-env): New variable.
7876         (test-program-cmd-after-env): Likewise.
7877         (test-program-cmd): Define in terms of new variables.
7878         * Rules (make-test-out): Use $(run-program-env).
7879         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
7880         (help): Do not mention environment variables.  Mention
7881         --timeoutfactor option.
7882         (timeoutfactor): New variable.
7883         (blacklist_exports): Remove function.
7884         (exports): Remove variable.
7885         (command): Do not include ${exports}.
7886         * manual/install.texi (Configuring and compiling): Do not mention
7887         test wrappers preserving environment variables.  Mention that last
7888         assignment to a variable must take precedence.
7889         * INSTALL: Regenerated.
7890         * benchtests/Makefile (run-bench): Use $(run-program-env).
7891         * catgets/Makefile ($(objpfx)test1.cat): Use
7892         $(built-program-cmd-before-env), $(run-program-env) and
7893         $(built-program-cmd-after-env).
7894         ($(objpfx)test2.cat): Do not specify environment variables
7895         explicitly.
7896         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
7897         $(run-program-env) and $(built-program-cmd-after-env).
7898         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
7899         $(run-program-env) and $(test-program-cmd-after-env).
7900         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
7901         explicitly.
7902         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
7903         run_program_env and test_program_cmd_after_env arguments.
7904         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
7905         * elf/tst-pathopt.sh: Use run_program_env argument.
7906         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
7907         $(test-wrapper-env) and $(run-program-env).
7908         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
7909         run_program_env arguments.
7910         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
7911         * intl/Makefile ($(objpfx)tst-gettext.out): Use
7912         $(test-program-prefix-before-env), $(run-program-env) and
7913         $(test-program-prefix-after-env).
7914         ($(objpfx)tst-gettext2.out): Likewise.
7915         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
7916         run_program_env and test_program_prefix_after_env arguments.
7917         * intl/tst-gettext2.sh: Likewise.
7918         * intl/tst-gettext4.sh: Do not set environment variables
7919         explicitly.
7920         * intl/tst-gettext6.sh: Likewise.
7921         * intl/tst-translit.sh: Likewise.
7922         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
7923         $(test-program-prefix-before-env), $(run-program-env) and
7924         $(test-program-prefix-after-env).
7925         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
7926         run_program_env and test_program_prefix_after_env arguments.
7927         * math/Makefile (run-regen-ulps): Use $(run-program-env).
7928         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
7929         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
7930         explicitly with each use of ${test_wrapper_env}.
7931         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
7932         $(test-program-prefix-before-env), $(run-program-env) and
7933         $(test-program-prefix-after-env).
7934         * posix/tst-getconf.sh: Do not set environment variables
7935         explicitly.
7936         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
7937         run_program_env and test_program_prefix_after_env arguments.
7938         * stdio-common/tst-printf.sh: Do not set environment variables
7939         explicitly.
7940         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
7941         $(test-program-prefix-before-env), $(run-program-env) and
7942         $(test-program-prefix-after-env).
7943         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
7944         run_program_env and test_program_prefix_after_env arguments.
7945         Split $test calls into $test_pre and $test.
7946         * timezone/Makefile (build-testdata): Use
7947         $(built-program-cmd-before-env), $(run-program-env) and
7948         $(built-program-cmd-after-env).
7950 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7952         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
7953         strlen for non SHARED builds.
7955 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         * nptl/allocatestack.c (check_list): Inlined function...
7958         (__reclaim_stacks): ... here.
7960 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
7962         [BZ #15698]
7963         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7964         memory overrun.
7966 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
7968         * Rules (make-test-out): Include
7969         LOCPATH=$(common-objpfx)localedata in default environment.
7970         * debug/Makefile (tst-chk1-ENV): Remove variable.
7971         (tst-chk2-ENV): Likewise.
7972         (tst-chk3-ENV): Likewise.
7973         (tst-chk4-ENV): Likewise.
7974         (tst-chk5-ENV): Likewise.
7975         (tst-chk6-ENV): Likewise.
7976         (tst-lfschk1-ENV): Likewise.
7977         (tst-lfschk2-ENV): Likewise.
7978         (tst-lfschk3-ENV): Likewise.
7979         (tst-lfschk4-ENV): Likewise.
7980         (tst-lfschk5-ENV): Likewise.
7981         (tst-lfschk6-ENV): Likewise.
7982         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
7983         (tst-iconv7-ENV): Likewise.
7984         * intl/Makefile (LOCPATH-ENV): Likewise.
7985         (tst-codeset-ENV): Likewise.
7986         (tst-gettext3-ENV): Likewise.
7987         (tst-gettext5-ENV): Likewise.
7988         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
7989         (tst-fopenloc-ENV): Likewise.
7990         (tst-fgetws-ENV): Remove variable.
7991         (tst-ungetwc1-ENV): Likewise.
7992         (tst-ungetwc2-ENV): Likewise.
7993         (bug-ungetwc2-ENV): Likewise.
7994         (tst-swscanf-ENV): Likewise.
7995         (bug-ftell-ENV): Likewise.
7996         (tst-fgetwc-ENV): Likewise.
7997         (tst-fseek-ENV): Likewise.
7998         (tst-ftell-partial-wide-ENV): Likewise.
7999         (tst-ftell-active-handler-ENV): Likewise.
8000         (tst-ftell-append-ENV): Likewise.
8001         * posix/Makefile (tst-fnmatch-ENV): Likewise.
8002         (tst-regexloc-ENV): Likewise.
8003         (bug-regex1-ENV): Likewise.
8004         (tst-regex-ENV): Likewise.
8005         (tst-regex2-ENV): Likewise.
8006         (bug-regex5-ENV): Likewise.
8007         (bug-regex6-ENV): Likewise.
8008         (bug-regex17-ENV): Likewise.
8009         (bug-regex18-ENV): Likewise.
8010         (bug-regex19-ENV): Likewise.
8011         (bug-regex20-ENV): Likewise.
8012         (bug-regex22-ENV): Likewise.
8013         (bug-regex23-ENV): Likewise.
8014         (bug-regex25-ENV): Likewise.
8015         (bug-regex26-ENV): Likewise.
8016         (bug-regex30-ENV): Likewise.
8017         (bug-regex32-ENV): Likewise.
8018         (bug-regex33-ENV): Likewise.
8019         (bug-regex34-ENV): Likewise.
8020         (bug-regex35-ENV): Likewise.
8021         (tst-rxspencer-ENV): Likewise.
8022         (tst-rxspencer-no-utf8-ENV): Likewise.
8023         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
8024         (tst-sscanf-ENV): Likewise.
8025         (tst-swprintf-ENV): Likewise.
8026         (tst-swscanf-ENV): Likewise.
8027         (test-vfprintf-ENV): Likewise.
8028         (scanf13-ENV): Likewise.
8029         (bug14-ENV): Likewise.
8030         (tst-grouping-ENV): Likewise.
8031         * stdlib/Makefile (tst-strtod-ENV): Likewise.
8032         (tst-strtod3-ENV): Likewise.
8033         (tst-strtod4-ENV): Likewise.
8034         (tst-strtod5-ENV): Likewise.
8035         (testmb2-ENV): Likewise./
8036         * string/Makefile (tst-strxfrm-ENV): Likewise.
8037         (tst-strxfrm2-ENV): Likewise.
8038         (bug-strcoll1-ENV): Likewise.
8039         (test-strcasecmp-ENV): Likewise.
8040         (test-strncasecmp-ENV): Likewise.
8041         * time/Makefile (tst-strptime-ENV): Likewise.
8042         (tst-ftime_l-ENV): Likewise.
8043         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
8044         (tst-mbrtowc-ENV): Likewise.
8045         (tst-wcrtomb-ENV): Likewise.
8046         (tst-mbrtowc2-ENV): Likewise.
8047         (tst-c16c32-1-ENV): Likewise.
8048         (tst-mbsnrtowcs-ENV): Likewise.
8050 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
8052         * manual/resource.texi (How to get information about the memory
8053         subsystem?): Fix typo.
8054         Reported by Peon de la Parra Ivan <peon@keba.com>
8056 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
8058         [BZ #16882]
8059         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
8060         (pthread_spin_lock): Branch out of spin loop to proper location.
8061         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
8062         (pthread_spin_lock): Likewise.
8064         * nptl/tst-spin4.c: New test.
8065         * nptl/Makefile (tests): Add tst-spin4.
8067 2014-06-03  Andreas Schwab  <schwab@suse.de>
8069         [BZ #15946]
8070         * resolv/res_send.c (send_dg): Reload file descriptor after
8071         calling reopen.
8073 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
8075         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8077 2014-06-03  Richard Henderson  <rth@redhat.com>
8079         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
8080         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
8081         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
8082         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
8083         in the SAVE_PID block.
8084         (__libc_vfork): New alias.
8085         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
8087         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
8088         child in registers, not on the stack.  Remove RESET_PID conditionals.
8089         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
8091 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
8093         * sysdeps/aarch64/libm-test-ulps: Regenerate.
8095 2014-06-03  Wilco  <wdijkstr@arm.com>
8097         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
8098         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
8099         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8100         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
8101         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
8102         Likewise.
8104 2014-06-03  Wilco  <wdijkstr@arm.com>
8106         * sysdeps/aarch64/fpu/math_private.h
8107         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
8108         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
8109         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
8110         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
8111         Fix declarations.
8113 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8115         * crypt/crypt-private.h: Include ufc-crypt.h.
8116         (__b64_from_24bit): Declare extern.
8117         * crypt/crypt_util.c(__b64_from_24bit): New function.
8118         (b64t): New static const variable.
8119         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
8120         (b64t): Remove variable.
8121         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
8122         * crypt/sha256-crypt.c: Include crypt-private.h.
8123         (b64t): Remove variable.
8124         (__sha256_crypt_r): Remove b64_from_24bit and replace
8125         with __b64_from_24bit.
8126         * crypt/sha512-crypt.c: Likewise.
8128 2014-06-02  Roland McGrath  <roland@hack.frob.com>
8130         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
8131         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
8132         Label the code __libc_vfork rather than __vfork.
8133         [!NOT_IN_libc] (vfork): Define as weak alias.
8134         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
8135         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
8136         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
8138 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8140         * malloc/malloc.c (malloc_info): Fix format specifier for
8141         n_mmaps.
8143 2014-06-02  Wilco  <wdijkstr@arm.com>
8145         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
8146         FPCR write.
8148 2014-06-02  Wilco  <wdijkstr@arm.com>
8150         [BZ #17009]
8151         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
8152         Rewrite to reduce FPCR/FPSR accesses.
8154 2014-06-01  David S. Miller  <davem@davemloft.net>
8156         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8158 2014-05-31  David S. Miller  <davem@davemloft.net>
8160         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
8161         to occur in round to nearest mode when |x| >= 2.0
8163 2014-05-30  Richard Henderson  <rth@twiddle.net>
8165         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
8166         (PSEUDO_RET_NOERRNO): Remove.
8167         (ret): Don't redefine.
8168         (ret_NOERRNO): Define in terms of ret.
8169         (ret_ERRVAL): Likewise.
8171         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
8172         use of PSEUDO_RET; perform the error check directly.
8174 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
8176         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
8177         with __int128_t.
8179 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8181         * malloc/malloc (malloc_info): Fix formatting.
8183 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8184             Roland McGrath  <roland@hack.frob.com>
8186         * malloc/malloc (malloc_info): Also print mmapped statistics.
8188 2014-05-30  Roland McGrath  <roland@hack.frob.com>
8190         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
8191         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
8193 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
8195         * malloc/malloc.c (malloc_info): Inline mi_arena.
8197 2014-05-29  Richard Henderson  <rth@twiddle.net>
8199         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
8200         Remove comma before expanding ASM_ARGS_##nr.
8201         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
8202         Make _x0 a strict output; make _x8 a strict input; adjust expansion
8203         of ASM_ARGS_##nr.
8204         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
8205         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
8206         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
8207         (ASM_ARGS_1): Add leading comma.
8209         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
8210         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
8211         to __errno_location.
8212         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
8213         Remove the expected plt for __errno_location.
8215         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8216         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
8217         call to __read_tp.
8219         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8220         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
8221         it and break it down.
8222         (DOCARGS_0, DOCARGS_1): Do nothing.
8223         (DOCARGS_2): Update to store into the new stack frame.
8224         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
8225         (UNDOCARGS_1): Update to restore from the new stack frame.
8226         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
8227         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
8229         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8230         (SINGLE_THREAD_P): New parameter for result regno.
8231         (PSEUDO): Update to match; use cbz instead of beq.
8233         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8234         Use ENTRY to define the _nocancel entry point.  Share the syscall
8235         and syscall error check paths with the cancel path.
8236         (PSEUDO_END): New.
8238         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
8239         whitespace; tabs before and after asm mnemonics.
8241 2014-05-29  Eric Wong  <normalperson@yhbt.net>
8243         [BZ #15132]
8244         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
8245         Call fstat64 or stat64 internally, depending on arguments passed.
8246         Replace stat buffer argument with file descriptor argument.
8247         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
8248         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
8249         Pass fd to __internal_statvfs instead of calling fstat64.
8250         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
8251         Pass fd to __internal_statvfs64 instead of calling fstat64.
8252         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
8253         Pass -1 to __internal_statvfs instead of calling stat64.
8254         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
8255         Pass -1 to __internal_statvfs64 instead of calling stat64.
8257 2014-05-28  Roland McGrath  <roland@hack.frob.com>
8259         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
8260         that was previously under [RESET_PID].
8261         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
8263         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
8264         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
8266 2014-05-27  Roland McGrath  <roland@hack.frob.com>
8268         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
8270         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
8271         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
8273 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
8275         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
8277 2014-05-27  Andreas Schwab  <schwab@suse.de>
8279         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
8280         TLS_INIT_TP macro.
8281         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
8282         * elf/rtld.c (init_tls, dl_main): Likewise.
8283         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
8284         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
8285         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
8286         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
8287         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
8288         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
8289         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
8290         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
8291         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
8292         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
8293         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
8294         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
8295         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
8296         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
8297         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
8298         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
8299         * sysdeps/generic/tls.h: Update description.
8301 2014-05-27  Will Newton  <will.newton@linaro.org>
8303         [BZ #16990]
8304         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
8305         and restore r2 rather than just restoring.
8307 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
8309         [BZ #16724]
8310         * libio/tst-ftell-append.c: New test case.
8311         * libio/Makefile (tests): Add test case.
8312         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
8313         append mode.
8314         * libio/wfileops.c (do_ftell_wide): Likewise.
8316 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8318         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8320         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
8321         ...
8322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
8323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
8324         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
8325         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
8326         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
8327         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
8328         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
8329         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
8330         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
8331         Moved ...
8332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
8333         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
8334         Moved ...
8335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
8336         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
8337         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
8338         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
8339         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
8340         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
8341         ...
8342         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
8343         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
8344         Moved ...
8345         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
8346         here.
8347         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
8348         ...
8349         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
8350         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
8351         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
8353         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
8354         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
8355         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
8356         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
8358         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
8359         merge into ...
8360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
8361         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
8362         ...
8363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
8364         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
8365         ...
8366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
8367         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
8368         Moved ...
8369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
8370         here.
8371         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
8372         Moved ...
8373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
8374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
8375         Moved ...
8376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
8378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
8379         conditional [RESET_PID].
8380         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
8381         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
8382         removed.
8383         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
8384         removed.
8386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
8387         <tcb-offsets.h>.
8388         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8389         (__libc_vfork): New strong alias.
8390         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
8391         removed.
8392         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
8393         Removed.
8395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
8396         <tcb-offsets.h>.
8397         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
8398         (__libc_vfork): New strong alias.
8399         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
8400         removed.
8401         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
8402         removed.
8404 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
8406         * malloc/malloc.c (mi_arena): New function.
8407         (malloc_info): Remove nested function mi_arena. Call non-nosted
8408         function mi_arena.
8410 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8412         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
8413         by insrwi.
8414         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
8415         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
8416         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
8417         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
8418         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
8419         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
8420         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
8422 2014-05-26  Andreas Schwab  <schwab@suse.de>
8424         [BZ #16984]
8425         * locale/programs/repertoire.c (repertoire_read): Add slash
8426         between I18NPATH element and file name.
8427         * locale/programs/locfile.c (locfile_read): Likewise.
8429 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8431         * nptl/pthread_mutexattr_settype.c
8432         (__pthread_mutexattr_settype):
8433         Disable lock elision for PTHREAD_MUTEX_NORMAL.
8435 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
8437         * nptl/tst-mutex5 (do_test):
8438         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
8440 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8442         * benchtests/README: Document 'init' directive.
8443         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
8444         BENCH_INIT.
8445         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
8446         (parse_file): Recognize 'init' directive.
8448 2014-05-26  Kyle McMartin  <kyle@redhat.com>
8450         [BZ #16796]
8451         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
8452         alignment of struct pthread.
8454 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8456         [BZ #16878]
8457         * nscd/netgroupcache.c (addgetnetgrentX): Look for
8458         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8459         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
8460         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8462 2014-05-25  Richard Henderson  <rth@twiddle.net>
8464         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8465         (SINGLE_THREAD_P_PIC): Remove.
8466         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
8467         (SINGLE_THREAD_P_PIC): Remove.
8469         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
8470         branch to syscall error ...
8471         (PSEUDO): ... here.
8472         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
8473         from __local_syscall_error to .Lsyscall_error.
8474         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
8475         (SYSCALL_ERROR): Update label name.
8477         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8478         Do not use DOARGS/UNDOARGS.
8479         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
8480         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
8481         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
8482         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
8483         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
8485         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
8486         block comment.
8488         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
8489         define if !NOT_IN_libc.
8490         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
8491         define with non-default symbol versions.
8493 2014-05-23  Richard Henderson  <rth@twiddle.net>
8495         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
8496         (vfork, __vfork): Define via compat_symbol.
8498         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
8499         [!HAVE_IFUNC] (vfork_compat): Remove.
8500         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
8502 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8504         [BZ #16978]
8505         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
8506         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
8507         variable.
8509 2014-05-23  Richard Henderson  <rth@twiddle.net>
8511         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
8512         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
8513         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
8514         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
8516         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
8517         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
8518         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
8519         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
8520         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
8521         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
8522         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
8523         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
8524         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
8525         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
8526         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
8527         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
8528         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
8529         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
8530         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
8531         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
8532         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
8533         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
8534         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
8535         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
8536         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
8537         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
8538         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
8539         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
8540         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
8541         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
8542         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
8543         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
8544         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
8545         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
8546         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
8547         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
8548         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
8549         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
8550         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
8551         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
8552         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
8553         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
8554         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
8555         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
8556         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
8557         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
8558         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
8559         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
8560         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
8561         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
8562         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
8563         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
8564         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
8565         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
8566         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
8567         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
8568         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
8569         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
8570         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
8571         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
8573         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
8574         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
8575         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
8576         before exiting on error.
8577         (__libc_vfork): New strong alias.
8578         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
8579         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
8581         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
8582         that was previously under [RESET_PID].
8583         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
8585         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
8587 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
8589         [BZ #16977]
8590         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
8591         value when x - 1 is zero.
8592         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
8593         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
8594         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
8595         0.0L for an argument of 1.0L.
8596         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
8597         Likewise.
8598         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
8599         value when x - 1 is zero.
8600         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
8601         * sysdeps/i386/fpu/libm-test-ulps: Update.
8602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8604 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
8606         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
8607         alphasort and versionsort.
8609 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8611         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
8612         macro.
8613         [copysignf]: Likewise.
8615 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
8617         * crypt/md5-crypt.c: Fix formatting.
8619 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
8621         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
8622         (b64_from_24bit): New function.
8624 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8626         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
8627         libc_hidden_builtin_def to ifunc.
8628         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
8629         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
8631 2014-05-21  Roland McGrath  <roland@hack.frob.com>
8633         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
8634         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
8636 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
8638         * nscd/Depend (linuxthreads): Remove.
8639         (nptl): Add.
8640         * resolv/Depend (linuxthreads): Remove.
8641         * rt/Depend (linuxthreads): Remove.
8643         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
8644         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
8645         $(common-objpfx)elf/.
8646         (link-libc-before-gnulib): Likewise.
8647         (elfobjdir): Remove variable.
8648         * Makefile (install): Use $(elf-objpfx) instead of
8649         $(common-objpfx)elf/.
8650         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
8651         $(elfobjdir)/.
8652         (link-libc-deps): Likewise.
8653         ($(common-objpfx)libc.so): Likewise.
8654         ($(common-objpfx)linkobj/libc.so): Likewise.
8655         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
8656         instead of $(common-objpfx)elf/.
8657         (symbolic-link-list): Likewise.
8658         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8659         [$(cross-compiling) = no]: Likewise.
8660         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
8661         $(elfobjdir)/.
8662         (static-gnulib-arch): Likewise.
8663         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8664         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
8665         $(common-objpfx)elf/.
8667 2014-05-21  Richard Henderson  <rth@redhat.com>
8669         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
8670         (SINGLE_THREAD_P): Use the correct width load.  Fold
8671         into the ldr offset.
8673         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
8674         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
8676 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
8678         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
8679         (libgcc_s_resume): Use __attribute_used__.
8680         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
8681         Likewise.
8683 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8685         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
8686         optimization when used with float constants.
8688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8690 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
8692         [BZ #16915]
8693         * locale/nl_langinfo_l.c: Make direct reference to every
8694         _nl_current_CATEGORY symbol.
8695         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
8696         (tests-static): Add tst-langinfo-static.
8697         (tests-special): Add tst-langinfo-static.out.
8698         ($(objpfx)tst-langinfo.out): Redirect output.
8699         ($(objpfx)tst-langinfo-static.out): New.
8700         * localedata/tst-langinfo.sh: Send output to stdout.
8701         * localedata/tst-langinfo-static.c: New file.
8703         [BZ #16965]
8704         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
8705         when the shift amount is modulo the limb size.
8707 2014-05-20  Richard Henderson  <rth@redhat.com>
8709         [BZ #16967]
8710         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
8711         Change type of sa_flags from unsigned int to int.
8713         [BZ #16966]
8714         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
8716         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
8718 2014-05-20  Will Newton  <will.newton@linaro.org>
8720         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
8721         Test the return value of the system call in the nocancel case.
8723 2014-05-20  Will Newton  <will.newton@linaro.org>
8724             Yvan Roux  <yvan.roux@linaro.org>
8726         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
8727         #include of asm/ptrace.h.
8728         (PTRACE_GET_THREAD_AREA): Remove #undef.
8729         (PTRACE_GETHBPREGS): Likewise.
8730         (PTRACE_SETHBPREGS): Likewise.
8731         (struct user_regs_struct): New structure.
8732         (struct user_fpsimd_struct): New structure.
8733         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
8734         #include of asm/ptrace.h and second #include of sys/user.h.
8735         (PTRACE_GET_THREAD_AREA): Remove #undef.
8736         (PTRACE_GETHBPREGS): Likewise.
8737         (PTRACE_SETHBPREGS): Likewise.
8738         (ELF_NGREG): Use new struct user_regs_struct.
8739         (elf_fpregset_t): Use new struct user_fpsimd_struct.
8741 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8743         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
8744         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
8746 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
8748         [BZ #16958]
8749         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
8750         membar to avoid block loads/stores to overlap previous stores.
8752 2014-05-17  Richard Henderson  <rth@redhat.com>
8754         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
8755         Create the __##syscall_name##_nocancel entry point.
8756         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
8757         Remove; let the sysdep-cancel.h code create it.
8759 2014-05-17  David S. Miller  <davem@davemloft.net>
8761         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
8762         Protect with __USE_GNU.
8763         (TIOCSET_TEMPT): Likewise.
8764         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8765         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
8766         these are already provided in bits/ioctl-types.h
8768 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8770         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
8771         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
8773         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
8774         Use wait4 regardless of [__NR_waitpid].
8776 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
8778         PR libgcc/60166
8779         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
8780         (_FP_NANSIGN_Q): Set the quiet bit.
8782 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
8784         * benchtests/Makefile
8785         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
8786         not $(common-objpfx)math/libm.so.
8787         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
8788         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
8789         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
8790         $(common-objpfx)dlfcn/libdl.so.
8791         ($(objpfx)tst-audit8): Depend on $(libm), not
8792         $(common-objpfx)math/libm.so.
8793         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
8794         not $(common-objpfx)dlfcn/libdl.so.
8795         * math/Makefile
8796         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
8797         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
8798         [$(build-shared) = yes].
8799         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
8800         $(common-objpfx)nptl/libpthread.so.
8801         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
8802         $(common-objpfx)math/libm.so$(libm.so-version) or
8803         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
8804         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
8805         $(common-objpfx)dlfcn/libdl.so.
8806         * setjmp/Makefile (link-libm): Remove variable.
8807         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
8808         * stdio-common/Makefile (link-libm): Remove variable.
8809         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
8810         * stdlib/Makefile (link-libm): Remove variable.
8811         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
8812         ($(objpfx)tst-strtod-round): Likewise.
8813         ($(objpfx)tst-tininess): Likewise.
8814         ($(objpfx)tst-strtod-underflow): Likewise.
8815         ($(objpfx)tst-strtod6): Likewise.
8816         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
8817         $(libdl), not $(common-objpfx)nptl/libpthread.so and
8818         $(common-objpfx)dlfcn/libdl.so.
8820 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8822         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
8823         BSD terminal modes definitions.
8825 2014-05-16  Roland McGrath  <roland@hack.frob.com>
8827         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
8828         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
8830         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
8831         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
8832         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
8833         Don't do #include_next.
8834         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
8835         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
8836         Don't do #include_next.
8837         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
8838         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
8839         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
8840         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
8842 2014-05-16  Allan McRae  <allan@archlinux.org>
8844         * po/sv.po: Update Swedish translation from translation project.
8846         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
8847         in sed expression.
8849 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
8851         [BZ #16917]
8852         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
8853         errno if the TIOCGPTN ioctl fails with an error different than
8854         EINVAL.
8855         * login/tst-ptsname.c: New file.
8856         * login/Makefile (tests): Add tst-ptsname.
8858         [BZ #16943]
8859         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
8860         and prlimit64.
8862 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
8864         [BZ #16849]
8865         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
8866         herrno to return EAI_AGAIN.
8868 2014-05-14  Roland McGrath  <roland@hack.frob.com>
8870         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
8871         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
8872         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
8873         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
8874         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
8875         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
8876         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
8877         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
8878         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
8879         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
8880         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
8881         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
8882         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
8883         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
8886         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
8889         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
8890         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
8891         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
8899         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
8900         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
8901         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
8902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
8903         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
8904         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
8905         Moved ...
8906         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
8907         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
8908         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
8909         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
8910         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
8911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
8912         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
8913         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
8914         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
8915         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
8916         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
8917         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
8918         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
8919         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
8920         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
8921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
8922         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
8923         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
8924         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
8925         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
8926         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
8927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
8928         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
8929         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
8930         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
8931         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
8932         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
8934         Moved ...
8935         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
8936         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
8937         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
8938         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
8939         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
8940         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
8941         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
8942         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
8943         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
8944         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
8945         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
8947         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
8949         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
8950         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
8951         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
8952         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
8953         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
8954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
8955         Moved ...
8956         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
8957         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
8958         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
8960         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
8961         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
8962         (libpthread-sysdep_routines): Add elision-related stuff here instead.
8963         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
8964         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
8965         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
8966         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
8967         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
8968         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
8969         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
8970         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
8971         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
8972         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
8973         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
8974         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
8975         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
8976         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
8977         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
8978         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
8979         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
8980         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
8981         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
8982         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
8983         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
8984         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
8985         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
8986         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
8987         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
8988         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
8989         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
8990         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
8992         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
8993         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
8995         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
8996         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
8997         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
8998         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
8999         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
9000         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
9001         Moved ...
9002         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
9003         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
9004         Moved ...
9005         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
9006         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
9007         Moved ...
9008         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
9009         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
9010         Moved ...
9011         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
9012         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
9013         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
9014         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
9015         Moved ...
9016         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
9017         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
9018         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
9019         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
9020         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
9021         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
9022         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
9023         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
9024         Moved ...
9025         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
9026         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9027         Moved ...
9028         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
9029         ... here.
9030         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
9031         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
9032         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
9033         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
9034         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9035         Moved ...
9036         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
9037         ... here.
9038         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
9039         Moved ...
9040         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
9041         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
9042         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
9043         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
9044         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
9045         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
9046         Moved ...
9047         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
9048         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
9049         Moved ...
9050         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
9051         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
9052         Moved ...
9053         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
9054         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
9055         Moved ...
9056         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
9057         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
9058         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
9059         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
9060         Moved ...
9061         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
9062         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
9063         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
9064         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
9065         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
9066         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
9067         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
9068         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
9069         Moved ...
9070         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
9071         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9072         Moved ...
9073         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
9074         ... here.
9075         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
9076         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
9077         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
9078         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
9079         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9080         Moved ...
9081         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
9082         ... here.
9083         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
9084         Moved ...
9085         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
9086         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
9087         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
9088         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
9089         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
9090         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
9091         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
9092         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
9093         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
9094         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
9095         Moved ...
9096         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
9097         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
9098         Moved ...
9099         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
9100         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
9101         Moved ...
9102         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
9103         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
9104         Moved ...
9105         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
9106         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
9107         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
9108         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
9109         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
9110         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
9111         Moved ...
9112         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
9113         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
9114         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
9115         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
9116         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
9117         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
9118         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
9119         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
9120         Moved ...
9121         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
9122         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9123         Moved ...
9124         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
9125         ... here.
9126         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
9127         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
9128         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
9129         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
9130         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9131         Moved ...
9132         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
9133         ... here.
9134         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
9135         Moved ...
9136         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
9137         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
9138         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
9139         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
9140         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
9141         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
9142         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
9143         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
9144         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
9145         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
9146         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
9148         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
9149         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
9151         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
9152         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
9154         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
9155         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
9156         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
9157         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
9158         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
9159         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
9160         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
9161         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
9162         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
9163         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
9164         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
9165         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
9166         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
9167         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
9168         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
9169         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
9170         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
9171         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
9172         Moved ...
9173         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
9174         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
9175         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
9176         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
9177         Moved ...
9178         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
9179         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
9180         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
9181         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
9182         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
9183         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
9184         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
9185         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
9186         Moved ...
9187         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
9188         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
9189         Moved ...
9190         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
9191         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
9192         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
9193         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
9194         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
9195         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
9196         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
9197         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
9198         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
9199         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
9200         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
9201         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
9202         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
9203         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
9204         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
9205         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
9206         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
9208         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
9209         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
9210         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
9211         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
9212         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
9214         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
9215         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
9216         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
9217         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
9218         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
9219         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
9220         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
9221         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
9222         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
9223         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
9225         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
9226         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
9228         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
9229         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
9230         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
9231         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
9232         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
9233         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
9234         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
9235         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
9236         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
9237         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
9238         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
9239         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
9240         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
9241         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
9242         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
9243         Update #include.
9244         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
9245         Likewise.
9246         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9247         Likewise.
9248         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9249         Likewise.
9250         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9251         Likewise.
9252         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
9253         Likewise.
9254         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
9255         Likewise.
9256         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9257         Likewise.
9258         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
9259         Likewise.
9260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
9261         Likewise.
9262         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
9263         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
9264         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
9265         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
9266         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
9267         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
9268         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
9269         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
9270         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
9271         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
9272         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
9273         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
9274         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
9275         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
9276         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
9278         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
9279         that was previously under [RESET_PID].
9280         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
9281         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
9282         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
9284         * sysdeps/i386/nptl/Implies: New file.
9285         * sysdeps/x86_64/nptl/Implies: New file.
9286         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
9287         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
9288         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
9289         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
9291         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
9292         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9293         (__libc_vfork): New strong alias.
9294         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
9295         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
9297         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
9298         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9299         (__libc_vfork): New strong alias.
9300         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
9301         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
9303         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
9304         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9305         (__libc_vfork): New strong alias.
9306         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
9307         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
9308         * nptl/pt-vfork.c: New file.
9309         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
9310         (libpthread: GLIBC_2.20): New version set (empty).
9312 2014-05-14  Will Newton  <will.newton@linaro.org>
9314         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
9315         rather than #if.
9317 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9319         [BZ #16564]
9320         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
9321         arguments with exponent 65 or above.
9322         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
9323         arguments 0x1p113L or above.
9324         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
9325         to arguments 0x1p107L or above.
9326         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
9327         positive arguments with exponent 65 or above.
9328         * math/auto-libm-test-in: Add more tests of log1p.
9329         * math/auto-libm-test-out: Regenerated.
9331         [BZ #16928]
9332         * math/s_cacos.c (__cacos): Ensure zero real part of result from
9333         non-finite arguments is +0.
9334         * math/s_cacosf.c (__cacosf): Likewise.
9335         * math/s_cacosl.c (__cacosl): Likewise.
9336         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
9337         * sysdeps/i386/fpu/libm-test-ulps: Update.
9338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9340         [BZ #16927]
9341         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
9342         value.
9343         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
9344         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
9345         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
9346         for explicit high bit of mantissa when testing for argument equal
9347         to 1.
9348         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
9349         * sysdeps/i386/fpu/libm-test-ulps: Update.
9350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9352         [BZ #16516]
9353         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
9354         (__erf): Scale by 16 instead of 8 in potentially underflowing
9355         case.  Ensure exception if result actually underflows.
9356         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
9357         (__erff): Scale by 16 instead of 8 in potentially underflowing
9358         case.  Ensure exception if result actually underflows.
9359         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
9360         (efx8): Remove variable.
9361         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9362         case.  Ensure exception if result actually underflows.
9363         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
9364         (efx8): Remove variable.
9365         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9366         case.  Ensure exception if result actually underflows.
9367         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
9368         (efx8): Remove variable.
9369         (__erfl): Scale by 16 instead of 8 in potentially underflowing
9370         case.  Ensure exception if result actually underflows.
9371         * math/auto-libm-test-in: Add more tests of erf.
9372         * math/auto-libm-test-out: Regenerated.
9374 2014-05-14  Andreas Schwab  <schwab@suse.de>
9376         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
9377         Remove code conditionalized on USE___THREAD.
9379         * config.h.in (HAVE_PT_CHOWN): Define as 0.
9380         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
9381         not definedness.
9383 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
9385         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
9386         Define unconditionally.
9387         (__ASSUME_O_CLOEXEC): Likewise.
9388         (__ASSUME_SOCK_CLOEXEC): Likewise.
9389         (__ASSUME_IN_NONBLOCK): Likewise.
9390         (__ASSUME_PIPE2): Likewise.
9391         (__ASSUME_EVENTFD2): Likewise.
9392         (__ASSUME_SIGNALFD4): Likewise.
9393         (__ASSUME_DUP3): Likewise.
9394         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
9395         (__ASSUME_DUP3): Do not define.
9396         (__ASSUME_EVENTFD2): Likewise.
9397         (__ASSUME_IN_NONBLOCK): Likewise.
9398         (__ASSUME_O_CLOEXEC): Likewise.
9399         (__ASSUME_PIPE2): Likewise.
9400         (__ASSUME_SIGNALFD4): Likewise.
9401         (__ASSUME_SOCK_CLOEXEC): Likewise.
9402         (__ASSUME_UTIMES): Undefine.
9403         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9404         (__ASSUME_UTIMES): Do not define.
9405         (__ASSUME_O_CLOEXEC): Likewise.
9406         (__ASSUME_SOCK_CLOEXEC): Likewise.
9407         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
9408         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
9409         0x020621].
9410         (__ASSUME_PIPE2): Likewise.
9411         (__ASSUME_EVENTFD2): Likewise.
9412         (__ASSUME_SIGNALFD4): Likewise.
9413         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
9414         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
9415         Do not define.
9416         (__ASSUME_EVENTFD2): Likewise.
9417         (__ASSUME_SIGNALFD4): Likewise.
9418         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9419         (__ASSUME_32BITUIDS): Likewise.
9420         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
9421         (__ASSUME_IPC64): Likewise.
9422         (__ASSUME_ST_INO_64_BIT): Likewise.
9423         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
9424         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
9425         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9426         (__ASSUME_UTIMES): Do not define.
9427         (__ASSUME_PSELECT): Likewise.
9428         (__ASSUME_PPOLL): Likewise.
9429         (__ASSUME_O_CLOEXEC): Likewise.
9430         (__ASSUME_SOCK_CLOEXEC): Likewise.
9431         (__ASSUME_IN_NONBLOCK): Likewise.
9432         (__ASSUME_PIPE2): Likewise.
9433         (__ASSUME_EVENTFD2): Likewise.
9434         (__ASSUME_SIGNALFD4): Likewise.
9435         (__ASSUME_DUP3): Likewise.
9436         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9437         (__ASSUME_UTIMES): Likewise.
9438         (__ASSUME_O_CLOEXEC): Likewise.
9439         (__ASSUME_SOCK_CLOEXEC): Likewise.
9440         (__ASSUME_IN_NONBLOCK): Likewise.
9441         (__ASSUME_PIPE2): Likewise.
9442         (__ASSUME_EVENTFD2): Likewise.
9443         (__ASSUME_SIGNALFD4): Likewise.
9444         (__ASSUME_DUP3): Likewise.
9445         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9446         (__ASSUME_UTIMES): Likewise.
9447         (__ASSUME_O_CLOEXEC): Likewise.
9448         (__ASSUME_SOCK_CLOEXEC): Likewise.
9449         (__ASSUME_IN_NONBLOCK): Likewise.
9450         (__ASSUME_PIPE2): Likewise.
9451         (__ASSUME_EVENTFD2): Likewise.
9452         (__ASSUME_SIGNALFD4): Likewise.
9453         (__ASSUME_DUP3): Likewise.
9454         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
9455         Likewise.
9456         (__ASSUME_UTIMES): Likewise.
9457         (__ASSUME_EVENTFD2): Likewise.
9458         (__ASSUME_SIGNALFD4): Likewise.
9459         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9460         (__ASSUME_O_CLOEXEC): Likewise.
9461         (__ASSUME_SOCK_CLOEXEC): Likewise.
9462         (__ASSUME_IN_NONBLOCK): Likewise.
9463         (__ASSUME_PIPE2): Likewise.
9464         (__ASSUME_EVENTFD2): Likewise.
9465         (__ASSUME_SIGNALFD4): Likewise.
9466         (__ASSUME_DUP3): Likewise.
9467         (__ASSUME_UTIMES): Undefine.
9469         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
9470         feclearexcept.  Remove symbol versioning code.
9471         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
9472         symbol versioning code.
9473         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
9474         symbol versioning code.
9475         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
9476         feupdateenv.  Remove symbol versioning code.
9477         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
9478         fegetexceptflag.  Remove symbol versioning code.
9479         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
9480         fesetexceptflag.  Remove symbol versioning code.
9481         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
9482         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
9483         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
9484         (__posix_fadvise64_l32): Remove prototype.
9485         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
9486         code.
9488 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9490         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
9491         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
9492         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
9493         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
9495 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
9497         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
9498         current working directory
9500 2014-05-13  Roland McGrath  <roland@hack.frob.com>
9502         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
9503         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
9504         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
9505         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
9506         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
9507         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
9508         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
9509         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
9510         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
9511         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
9512         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
9513         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
9514         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
9515         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
9516         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
9517         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
9518         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
9519         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
9520         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
9521         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
9522         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
9523         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
9524         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
9525         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
9526         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
9527         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
9528         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
9529         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
9530         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
9531         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
9532         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
9533         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
9534         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
9535         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
9536         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
9537         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
9538         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
9539         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
9540         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
9541         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
9542         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
9543         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
9545         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
9546         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
9548         * sysdeps/unix/sysv/linux/arm/Makefile
9549         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
9550         Add rt-aeabi_unwind_cpp_pr1.
9551         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
9552         Add nptl-aeabi_unwind_cpp_pr1.
9553         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
9554         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
9555         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
9556         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9557         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
9558         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9560         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
9561         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
9562         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
9563         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
9565         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
9566         Deconditionalize the code that was previously under [RESET_PID].
9567         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
9569         * sysdeps/generic/exit-thread.h: New file.
9570         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
9571         * include/unistd.h (__exit_thread): Remove declaration.
9572         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
9573         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
9574         * csu/libc-start.c: Include <exit-thread.h>.
9575         (LIBC_START_MAIN): Pass no argument to __exit_thread.
9576         * nptl/pthread_create.c: Include <exit-thread.h>.
9577         (start_thread): Call __exit_thread in place of __exit_thread_inline.
9578         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
9579         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
9580         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
9581         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
9582         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
9583         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
9584         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
9585         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
9586         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
9587         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
9588         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
9589         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
9590         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
9591         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
9592         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
9593         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
9595 2014-05-13  Andreas Schwab  <schwab@suse.de>
9597         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
9599 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
9601         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9602         (__ASSUME_UTIMES): Do not condition on kernel version.
9603         (__ASSUME_PSELECT): Define unconditionally.
9604         (__ASSUME_PPOLL): Likewise.
9605         (__ASSUME_ATFCTS): Likewise.
9606         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
9607         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
9608         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
9609         (__ASSUME_UTIMENSAT): Define unconditionally.
9610         (__ASSUME_PRIVATE_FUTEX): Likewise.
9611         (__ASSUME_FALLOCATE): Likewise.
9612         (__ASSUME_O_CLOEXEC): Likewise.
9613         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
9614         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
9615         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
9616         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
9617         (__ASSUME_IN_NONBLOCK): Likewise.
9618         (__ASSUME_PIPE2): Likewise.
9619         (__ASSUME_EVENTFD2): Likewise.
9620         (__ASSUME_SIGNALFD4): Likewise.
9621         (__ASSUME_DUP3): Likewise.
9622         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9623         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
9624         (__ASSUME_AT_RANDOM): Likewise.
9625         (__ASSUME_PREADV): Likewise.
9626         (__ASSUME_PWRITEV): Likewise.
9627         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
9628         (__ASSUME_F_GETOWN_EX): Define unconditionally.
9629         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
9630         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
9631         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
9632         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9633         (__ASSUME_O_CLOEXEC): Define unconditionally.
9634         (__ASSUME_PSELECT): Do not undefine conditionally.
9635         (__ASSUME_PPOLL): Likewise.
9636         (__ASSUME_ATFCTS): Likewise.
9637         (__ASSUME_SET_ROBUST_LIST): Likewise.
9638         (__ASSUME_UTIMENSAT): Likewise.
9639         (__ASSUME_FDATASYNC): Define unconditionally.
9640         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9641         (__ASSUME_SIGFRAME_V2): Likewise.
9642         )__ASSUME_EVENTFD2): Likewise.
9643         (__ASSUME_SIGNALFD4): Likewise.
9644         (__ASSUME_PSELECT): Do not undefine conditionally.
9645         (__ASSUME_PPOLL): Likewise.
9646         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9647         (__ASSUME_PSELECT): Define unconditionally.
9648         (__ASSUME_PPOLL): Likewise.
9649         (__ASSUME_O_CLOEXEC): Likewise.
9650         (__ASSUME_SOCK_CLOEXEC): Likewise.
9651         (__ASSUME_IN_NONBLOCK): Likewise.
9652         (__ASSUME_PIPE2): Likewise.
9653         (__ASSUME_EVENTFD2): Likewise.
9654         (__ASSUME_SIGNALFD4): Likewise.
9655         (__ASSUME_DUP3): Likewise.
9656         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9657         (__ASSUME_O_CLOEXEC): Likewise.
9658         (__ASSUME_SOCK_CLOEXEC): Likewise.
9659         (__ASSUME_IN_NONBLOCK): Likewise.
9660         (__ASSUME_PIPE2): Likewise.
9661         (__ASSUME_EVENTFD2): Likewise.
9662         (__ASSUME_SIGNALFD4): Likewise.
9663         (__ASSUME_DUP3): Likewise.
9664         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9665         (__ASSUME_EVENTFD2): Likewise.
9666         (__ASSUME_SIGNALFD4): Likewise.
9667         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
9669 2014-05-12  Andreas Schwab  <schwab@suse.de>
9671         [BZ #16932]
9672         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
9673         (_nss_nis_gethostbyname4_r): Return error if item length is larger
9674         than maximum RPC packet size.
9675         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
9676         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
9677         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
9678         (_nss_nis_getservbyport_r): Likewise.
9680 2014-05-12  Will Newton  <will.newton@linaro.org>
9682         * malloc/Makefile (tests): Add tst-mallopt.
9683         * malloc/tst-mallopt.c: New file.
9685 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9687         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
9688         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
9690 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9692         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
9693         (tst-tlsmod6.so): Likewise.
9695 2014-05-09  Roland McGrath  <roland@hack.frob.com>
9697         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
9699 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
9701         [BZ #16064]
9702         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
9703         and <dl-procinfo.h>.
9704         (__fegetenv): Save SSE state in envp->__eip if supported.
9705         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
9706         envp->__eip if supported.
9707         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
9708         and <dl-procinfo.h>.
9709         (__fesetenv): Always set __eip, __cs_selector, __opcode,
9710         __data_offset and __data_selector in environment to 0.  Set SSE
9711         state if supported.
9712         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
9713         test-fenv-sse.
9714         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
9715         -mfpmath=sse.
9716         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
9718 2014-05-09  Will Newton  <will.newton@linaro.org>
9720         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
9721         and libc_relro_required for ARM.
9722         * sysdeps/arm/preconfigure: Regenerate.
9724 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
9725             Stefan Liebler  <stli@linux.vnet.ibm.com>
9727         * config.make.in (enable-lock-elision): New Makefile variable.
9728         * configure.ac: Likewise.
9729         * configure: Regenerate.
9730         * sysdeps/s390/configure.ac:
9731         Add check for gcc transactions support.
9732         * sysdeps/s390/configure: Regenerate.
9733         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
9734         Build elision files if enabled.
9735         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
9736         Add lock elision support for s390.
9737         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
9738         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
9739         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
9740         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9741         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9742         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
9743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9744         Likewise.
9745         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
9746         Likewise.
9747         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
9748         Likewise.
9749         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
9750         Likewise.
9751         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
9752         (__lll_timedlock_elision, __lll_lock_elision)
9753         (__lll_unlock_elision, __lll_trylock_elision)
9754         (lll_timedlock_elision, lll_lock_elision)
9755         (lll_unlock_elision, lll_trylock_elision): Add.
9756         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
9757         (pthread_mutex_t): Add lock elision support for s390.
9759 2014-05-14  Wilco  <wdijkstr@arm.com>
9761         * sysdeps/arm/fclrexcpt.c: Cleanup.
9762         * sysdeps/arm/fedisblxcpt.c: Cleanup.
9763         * sysdeps/arm/feenablxcpt.c: Cleanup.
9764         * sysdeps/arm/fegetenv.c: Cleanup.
9765         * sysdeps/arm/fegetexcept.c: Cleanup.
9766         * sysdeps/arm/fegetround.c: Cleanup.
9767         * sysdeps/arm/feholdexcpt.c: Cleanup.
9768         * sysdeps/arm/fesetenv.c: Cleanup.
9769         * sysdeps/arm/fesetround.c: Cleanup.
9770         * sysdeps/arm/feupdateenv.c: Cleanup.
9771         * sysdeps/arm/fgetexcptflg.c: Cleanup.
9772         * sysdeps/arm/fraiseexcpt.c: Cleanup.
9773         * sysdeps/arm/fsetexcptflg.c: Cleanup.
9774         * sysdeps/arm/ftestexcept.c: Cleanup.
9775         * sysdeps/arm/get-rounding-mode.h: Cleanup.
9776         * sysdeps/arm/setfpucw.c: Cleanup.
9778 2014-05-09  Will Newton  <will.newton@linaro.org>
9780         * sysdeps/arm/armv7/strcmp.S: New file.
9781         * NEWS: Mention addition of ARMv7 optimized strcmp.
9783 2014-05-08  Roland McGrath  <roland@hack.frob.com>
9785         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
9786         look for %.ac rather than %.in.
9788         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
9789         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
9790         * sysdeps/mach/hurd/configure: Regenerated.
9791         * sysdeps/unix/sysv/linux/configure: Regenerated.
9793         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
9795 2014-05-07  Steve Ellcey  <sellcey@mips.com>
9797         [BZ# 16922]
9798         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
9799         (LONG_SUB): Ditto.
9800         (PTR_SUB): Ditto.
9802 2014-05-07  Andreas Schwab  <schwab@suse.de>
9804         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
9805         when skipping over non-matching result from nscd.
9807 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
9809         [BZ #16876]
9810         * nptl/sockperf.c (client): Check socket return value.
9812         [BZ #16877]
9813         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
9814         nscd security class.
9816 2014-05-06  Roland McGrath  <roland@hack.frob.com>
9818         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
9819         * sysdeps/arm/unwind.h: ... here.
9821 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
9823         [BZ# 16916]
9824         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
9825         Define.
9827 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
9829         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
9830         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
9831         multiarch strncpy for PPC64.
9832         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
9833         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
9834         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
9835         multiarch optimizations.
9836         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9837         (__libc_ifunc_impl_list): Likewise.
9838         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
9839         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
9840         multiarch stpncpy for PPC64.
9841         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
9842         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
9844 2014-05-06  Andreas Schwab  <schwab@suse.de>
9846         [BZ #16912]
9847         * gmon/mcount.c (_MCOUNT_DECL): Use
9848         atomic_compare_and_exchange_bool_acq instead of
9849         catomic_compare_and_exchange_bool_acq.
9851 2014-05-05  Roland McGrath  <roland@hack.frob.com>
9853         * elf/Makefile (others, install-bin): Remove pldd.
9854         (pldd-modules): Variable removed.
9855         ($(objpfx)pldd): Target removed.
9856         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
9857         (others, install-bin): Append pldd here.
9858         ($(objpfx)pldd): New target.
9860         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
9861         to 0, so the first #if test emitted later doesn't see it undefined.
9862         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
9863         * sysdeps/gnu/errlist.c: Regenerated.
9865 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9867         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
9868         [libc_hidden_builtin_def]: Define to empty value.
9869         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
9870         [libc_hidden_builtin_def]: Likewise.
9871         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
9872         [libc_hidden_builtin_def]: Likewise.
9873         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
9874         [libc_hidden_builtin_def]: Likewise.
9875         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
9876         __redirect_memcpy and define ifunc as default hidden symbol.
9877         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
9878         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
9880 2014-05-04  Adam Conrad  <adconrad@0c3.net>
9882         * locale/iso-4217.def: Reintroduce XDR currency.
9884 2014-05-04  Allan McRae  <allan@archlinux.org>
9886         * po/eo.po: Update Esperanto translation from translation project.
9888 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
9890         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
9891         and FEATURE_INDEX_MAX to 1.
9892         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
9894 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9896         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
9897         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
9898         * iconvdata/big5.c (ONE_DIRECTION): Define.
9899         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
9900         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
9901         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
9902         * iconvdata/cp932.c (ONE_DIRECTION): Define.
9903         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
9904         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
9905         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
9906         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
9907         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
9908         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
9909         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
9910         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
9911         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
9912         * iconvdata/gbk.c (ONE_DIRECTION): Define.
9913         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
9914         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
9915         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
9916         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
9917         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
9918         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
9919         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
9920         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
9921         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
9922         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
9923         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
9924         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
9925         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
9926         * iconvdata/iso646.c (ONE_DIRECTION): Define.
9927         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
9928         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
9929         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
9930         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
9931         * iconvdata/johab.c (ONE_DIRECTION): Define.
9932         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
9933         * iconvdata/sjis.c (ONE_DIRECTION): Define.
9934         * iconvdata/t.61.c (ONE_DIRECTION): Define.
9935         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
9936         * iconvdata/tscii.c (ONE_DIRECTION): Define.
9937         * iconvdata/uhc.c (ONE_DIRECTION): Define.
9938         * iconvdata/unicode.c (ONE_DIRECTION): Define.
9939         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
9940         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
9941         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
9943 2014-05-01  Roland McGrath  <roland@hack.frob.com>
9945         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
9946         (_IO_JUMPS_OFFSET): Define to 0.
9948         * nptl/sysdeps/pthread/bits/libc-lock.h
9949         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
9950         (__libc_lock_define_initialized_recursive): Always define using
9951         initializer.  Modern compilers treat uninitialized (implicit zero) and
9952         explicit zero initializers the same (i.e. put the datum in bss).
9954 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9956         * nscd/nscd-client.h: Include <string.h>.
9958 2014-05-01  David S. Miller  <davem@davemloft.net>
9960         [BZ #16885]
9961         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
9962         multiple zero bytes exist at the end of a string.
9963         Reported by Aurelien Jarno <aurelien@aurel32.net>
9965         * string/test-strcmp.c (check): Add explicit test for situations where
9966         there are multiple zero bytes after the first.
9968 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
9970         [BZ #16890]
9971         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
9972         when compiling wprintf.
9973         * stdio-common/tstdiomisc.c (t3): New function.
9974         (main): Call it.
9976 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9978         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
9979         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
9980         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
9981         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
9983 2014-05-01  Steve Ellcey  <sellcey@mips.com>
9985         * stdlib/longlong.h: Updated from GCC.
9987 2014-05-01  Will Newton  <will.newton@linaro.org>
9988             Bernard Ogden  <bernie.ogden@linaro.org>
9990         * NEWS: Update fixed bug list.
9992         [BZ #15119]
9993         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
9995 2014-04-30  David S. Miller  <davem@davemloft.net>
9997         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
9998         (libc_feholdexcept_setround_sparc_ctx): New function.
9999         (libc_fesetenv_sparc_ctx): Likewise.
10000         (libc_feupdateenv_sparc_ctx): Likewise.
10001         (libc_feholdsetround_sparc_ctx): Likewise.
10002         (libc_feholdexcept_setround_ctx): Define.
10003         (libc_feholdexcept_setroundf_ctx): Likewise.
10004         (libc_feholdexcept_setroundl_ctx): Likewise.
10005         (libc_fesetenv_ctx): Likewise.
10006         (libc_fesetenvf_ctx): Likewise.
10007         (libc_fesetenvl_ctx): Likewise.
10008         (libc_feupdateenv_ctx): Likewise.
10009         (libc_feupdateenvf_ctx): Likewise.
10010         (libc_feupdateenvl_ctx): Likewise.
10011         (libc_feresetround_ctx): Likewise.
10012         (libc_feresetroundf_ctx): Likewise.
10013         (libc_feresetroundl_ctx): Likewise.
10014         (libc_feholdsetround_ctx): Likewise.
10015         (libc_feholdsetroundf_ctx): Likewise.
10016         (libc_feholdsetroundl_ctx): Likewise.
10018         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10019         with __USE_GNU instead of XOPEN cpp guards.
10021         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
10022         0.
10024         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
10025         with XOPEN cpp guards.
10027 2014-04-30  Julian Brown  <julian@codesourcery.com>
10029         [BZ #16888]
10030         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
10031         handling.
10033 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
10035         [BZ #9894]
10036         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
10037         Change to 2.6.32.
10038         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
10039         * sysdeps/unix/sysv/linux/configure: Regenerated.
10040         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
10041         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
10042         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
10043         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
10044         * README: Update reference to required Linux kernel version.
10045         * manual/install.texi (Linux): Update reference to required Linux
10046         kernel headers version.
10047         * INSTALL: Regenerated.
10049         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
10050         header inclusion.
10051         [POSIX] (limits.h): Likewise.
10052         [POSIX] (math.h): Likewise.
10053         [POSIX] (sys/wait.h): Likewise.
10054         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
10055         function.
10056         [POSIX] (stddef.h): Do not allow header inclusion.
10058 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10060         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
10062 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
10064         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
10065         Return immediately after lll_futex_wake.
10067 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10069         [BZ #16791]
10070         * nscd/nscd-client.h (datahead_init_common): Initialize entire
10071         structure.
10072         (datahead_init_pos): Call datahead_init_common early.
10073         (datahead_init_neg): Likewise.
10075         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
10076         datahead_init_neg): New functions.
10077         * nscd/aicache.c (addhstaiX): Use them.
10078         * nscd/grpcache.c (cache_addgr): Likewise.
10079         * nscd/hstcache.c (cache_addhst): Likewise.
10080         * nscd/initgrcache.c (addinitgroupsX): Likewise.
10081         * nscd/netgroupcache.c (do_notfound): Likewise.
10082         (addgetnetgrentX): Likewise.
10083         (addinnetgrX): Likewise.
10084         * nscd/pwdcache.c (cache_addpw): Likewise.
10085         * nscd/servicescache.c (cache_addserv): Likewise.
10087 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10088             Atsushi Onoe  <atsushi@onoe.org>
10090         [BZ #14308]
10091         [BZ #12994]
10092         [BZ #13651]
10093         * resolv/res_query.c (__libc_res_nsearch): Return if at least
10094         one response is valid.
10095         * resolv/res_send.c (send_dg): Check for validity of other
10096         response if the current response is a referral.
10098 2014-04-29  Steve Ellcey  <sellcey@mips.com>
10100         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
10102 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
10104         [BZ #16823]
10105         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
10106         Always divide by positive zero when computing -Inf result.
10107         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
10108         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
10110 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10112         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
10113         FPSCR if value do not change.
10114         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
10115         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
10116         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
10117         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
10118         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
10119         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
10120         function.
10122 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
10124         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
10125         * sysdeps/unix/sysv/linux/hppa: Move directory from
10126         ports/systeps/unix/sysv/linux/hppa.
10127         * README: Update listing for hppa-*-linux-gnu.
10129 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
10131         [BZ #16754]
10132         * manual/stdio.texi (Hook functions): Fix types of stream hook
10133         functions.
10134         [BZ #16854]
10135         * socket/sys/socket.h: Fix typo in comment.
10137 2014-04-28  Wilco  <wdijkstr@arm.com>
10139         * sysdeps/arm/fenv_private.h: New file.
10140         * sysdeps/arm/math_private.h: New file.
10141         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
10143 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
10145         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
10146         with __int128_t.
10147         (La_x86_64_retval): Likewise.
10149 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
10151         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
10152         fpsr if value didn't change.
10153         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
10154         to fpcr if value didn't change.
10155         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
10156         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
10157         fpsr or fpcr if value didn't change.
10158         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
10159         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
10160         fpcr if value didn't change.
10161         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
10162         to fpsr if value didn't change.
10164 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
10166         * nptl/tst-sem3.c: Use test-skeleton.c
10167         (main): Rename to do_test.  Use return instead of
10168         exit.
10169         * nptl/tst-sem4.c: Use test-skeleton.c
10170         (main): Rename to do_test.
10172 2014-04-22  David S. Miller  <davem@davemloft.net>
10174         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
10175         (struct sigaction): New struct member __glibc_reserved0, change
10176         type of sa_flags to int.
10178 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
10180         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
10181         (COUNT_LEADING_ZEROS_0): Define for AArch64.
10183 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10185         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
10186         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
10188 2014-04-22  Will Newton  <will.newton@linaro.org>
10189             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
10191         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
10192         (__longjmp): Add longjmp and longjmp_target SystemTap
10193         probes.
10194         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
10195         (__sigsetjmp): Add setjmp SystemTap probe.
10197 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
10199         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
10200         match manual order.
10202 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10204         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
10206         * sysdeps/powerpc/fpu/fenv_private.h
10207         (libc_feholdexcept_setroundl_ctx): Define to
10208         libc_feholdexcept_setround_ppc_ctx.
10209         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
10210         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
10211         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
10212         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
10214 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10216         * sysdeps/aarch64/math-tests.h: New file.
10218 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
10220         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
10221         New.
10222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10223         Check and set bit_AVX2_Usable.
10224         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
10225         macro.
10226         (bit_AVX2): Likewise.
10227         (index_AVX2_Usable): Likewise.
10228         (CPUID_AVX2): Likewise.
10229         (HAS_AVX2): Likewise.
10231 2014-04-17  Will Newton  <will.newton@linaro.org>
10233         * manual/setjmp.texi (System V contexts): Add note that
10234         calling setcontext on a context created by a call to a
10235         signal handler is undefined.  Update text to note that
10236         setcontext from a signal handler is possible but not
10237         recommended.
10239         [BZ #16629]
10240         * stdlib/tst-setcontext.c: Include signal.h.
10241         (main): Check that the signal stack before and
10242         after swapcontext is the same.
10244         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
10245         Re-implement to restore registers in user code and avoid
10246         rt_sigreturn system call.
10248 2014-04-17  Wilco  <wdijkstr@arm.com>
10250         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
10251         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
10252         * math/test-fenv.c: Skip exception trap tests on targets which only
10253         support non-stop mode.
10255 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
10256             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10258         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
10259         (libc_feholdsetround_aarch64_ctx)
10260         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
10261         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
10262         (libc_feresetround_ctx, libc_feresetroundf_ctx)
10263         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
10264         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
10265         (libc_feresetround_noexl_ctx): Define.
10267 2014-04-16  Richard Henderson  <rth@redhat.com>
10269         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
10271         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
10272         unwind tables.
10274         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
10275         const from the non-libc, non-ldso copy.
10277         * sysdeps/alpha/libm-test-ulps: Regenerate.
10279 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
10280             Wilco Dijkstra  <wilco.dijkstra@arm.com>
10282         * sysdeps/aarch64/fpu/math_private.h: New file.
10284 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
10286         * sysdeps/aarch64/libm-test-ulps: Regenerate.
10288 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
10290         [BZ #16275]
10291         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
10292         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
10293         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
10294         Intel MPX bound registers before _dl_profile_fixup.
10295         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
10296         registers after _dl_profile_fixup.  Save and restore bound
10297         registers bnd0/bnd1 when calling _dl_call_pltexit.
10298         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
10299         (LR_BND_OFFSET): Likewise.
10300         (LRV_BND0_OFFSET): Likewise.
10301         (LRV_BND1_OFFSET): Likewise.
10303 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10305         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
10306         to...
10307         * sysdeps/mach/hurd/i386/tls.h: ... here.
10308         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
10309         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
10310         fields.
10312 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10314         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
10316 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10318         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10320 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
10322         [BZ #14770]
10323         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
10324         * sysdeps/s390/configure: Regenerate.
10326         [BZ #16824]
10327         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
10328         Set round-to-nearest internally to reduce error accumulation.
10330 2014-04-16  Alan Modra  <amodra@gmail.com>
10332         [BZ #16740]
10333         [BZ #16619]
10334         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
10335         * math/libm-test.inc (frexp_test_data): Add tests.
10336         * NEWS: Update fixed bug list.
10338 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10340         * benchtests/Makefile: Depend on libraries in build directory.
10341         (bench-math): Separate out math tests.
10342         (bench-pthread): Separate out pthread tests.
10343         (bench): Include math and pthread tests.
10345 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
10347         [BZ #16831]
10348         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
10349         _dl_debug_initialize.
10351         * configure.ac: Remove SELinux header check.
10352         * configure: Regenerate.
10353         * nscd/selinux.c (perms): Array of const char* to permission names.
10354         (nscd_request_avc_has_perm): Call security_deny_unknown to find
10355         default policy. Call string_to_security_class and string_to_av_perm to
10356         translate strings. Enforce default policy and call avs_has_perm with
10357         results of translated strings.
10359 2014-04-13  David S. Miller  <davem@davemloft.net>
10361         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10363 2014-04-12  Allan McRae  <allan@archlinux.org>
10365         [BZ #16838]
10366         * manual/string.texi (Collation Functions): Fix qsort argument
10367         order in example.
10368         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
10370 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
10372         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
10373         Make the test a no-op if there are no exceptions defined.
10375 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
10377         * elf/Makefile (tests): make tst-dlopen-aout conditional on
10378         enable-hardcoded-path-in-tests
10380 2014-04-11  Will Newton  <will.newton@linaro.org>
10382         * benchtests/Makefile (extra-objs): Add json-lib.o.
10383         (bench-func): Tidy up JSON output.
10384         * benchtests/bench-skeleton.c: Include json-lib.h.
10385         (main): Use JSON library functions to do output of
10386         benchmark results.
10387         * benchtests/bench-timing-type.c (main): Output the
10388         timing type simply, leaving formatting to the user.
10389         * benchtests/json-lib.c: New file.
10390         * benchtests/json-lib.h: Likewise.
10392 2014-04-11  Torvald Riegel  <triegel@redhat.com>
10394         [BZ #15215]
10395         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
10396         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
10397         memory barriers.  Add comments.
10398         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
10399         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
10400         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
10401         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
10402         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
10403         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
10405 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
10407         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
10408         * sysdeps/s390/s390-64/configure.ac: ... this ...
10409         * sysdeps/s390/configure.ac: ... to here.
10410         * sysdeps/s390/s390-32/configure: Delete file.
10411         * sysdeps/s390/s390-64/configure: Delete file.
10412         * sysdeps/s390/configure: Regenerate.
10414 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
10416         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
10418 2014-04-11  Will Newton  <will.newton@linaro.org>
10420         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
10421         to zero if it is not defined elsewhere.  (mtrim): Test
10422         the value of MALLOC_DEBUG with #if rather than #ifdef.
10424 2014-04-10 Torvald Riegel  <triegel@redhat.com>
10426         * benchtests/pthread_once-inputs: New file.
10427         * benchtests/pthread_once-source.c: New file.
10428         * benchtests/README: Update documentation.
10430 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
10431             H.J. Lu  <hongjiu.lu@intel.com>
10433         [BZ #16275]
10434         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
10435         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
10436         * sysdeps/x86_64/configure: Regenerated.
10437         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
10438         macro.
10439         (REGISTER_SAVE_RAX): Likewise.
10440         (REGISTER_SAVE_RCX): Likewise.
10441         (REGISTER_SAVE_RDX): Likewise.
10442         (REGISTER_SAVE_RSI): Likewise.
10443         (REGISTER_SAVE_RDI): Likewise.
10444         (REGISTER_SAVE_R8): Likewise.
10445         (REGISTER_SAVE_R9): Likewise.
10446         (REGISTER_SAVE_BND0): Likewise.
10447         (REGISTER_SAVE_BND1): Likewise.
10448         (REGISTER_SAVE_BND2): Likewise.
10449         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
10450         bound registers when calling _dl_fixup.
10452 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10454         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
10455         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
10456         of its definition.
10457         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
10458         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
10459         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
10460         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
10461         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
10462         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
10463         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
10465 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
10467         [BZ #15514]
10468         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
10469         pathconf(_PC_NAME_MAX).
10471 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10473         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
10474         Remove macro usage.
10475         (__PTHREAD_SPINS): Move definition to ...
10476         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10477         (__PTHREAD_SPINS): ... here.
10478         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10479         (__PTHREAD_SPIN): Likewise.
10480         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
10481         (__PTHREAD_SPIN): Likewise.
10482         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
10483         (__PTHREAD_SPIN): Likewise.
10484         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
10485         (__PTHREAD_SPIN): Likewise.
10486         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10487         (__PTHREAD_SPIN): Likewise.
10488         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10489         (__PTHREAD_SPIN): Likewise.
10490         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
10491         (__PTHREAD_SPIN): Likewise.
10492         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10493         (__PTHREAD_SPIN): Likewise.
10494         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10495         (__PTHREAD_SPIN): Likewise.
10496         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10497         (__PTHREAD_SPIN): Likewise.
10498         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10499         (__PTHREAD_SPIN): Likewise.
10500         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
10501         (__PTHREAD_SPIN): Likewise.
10503         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
10504         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
10505         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
10506         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
10507         imply folder.
10508         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
10509         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
10510         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
10511         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
10512         correct imply path.
10513         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
10514         strlen symbol for non multi-arch builds.
10515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
10516         missing hidden_def and weak_alias.
10518 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
10520         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
10522 2014-04-07  Will Newton  <will.newton@linaro.org>
10524         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
10525         and contents.  [!_LIBC] Remove #ifndef and contents.
10526         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
10527         * string/memccpy.c (__memccpy): Use ANSI prototype.
10528         * string/memfrob.c (memfrob): Likewise.
10529         * string/strcoll.c (STRCOLL): Likewise.
10530         * string/strlen.c (strlen): Likewise.
10531         * string/strtok.c (STRTOK): Likewise.
10532         * string/strcat.c: Remove unused #include of memcopy.h.
10533         (strcat): Use ANSI prototype.
10534         * string/strchr.c: Remove unused #include of memcopy.h.
10535         (strchr): Use ANSI prototype.
10536         * string/strcmp.c: Remove unused #include of memcopy.h.
10537         (strcmp): Use ANSI prototype.
10538         * string/strcpy.c: Remove unused #include of memcopy.h.
10539         (strcpy): Use ANSI prototype.
10541 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10543         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
10544         * config.make.in (config-extra-cppflags): Set it from
10545         libc_extra_cppflags.
10546         * configure.ac (libc_extra_cflags): Make it accumulate over
10547         configure fragments.
10548         (libc_extra_cppflags): New flag.
10549         * configure. Regenerate.
10550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
10551         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
10552         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
10553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
10555         [BZ #16815]
10556         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
10557         result for FE_DOWNWARD rounding mode.
10558         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10559         Likewise.
10560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10562 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
10564         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
10565         in function argument name.
10567 2014-04-03  David Svoboda  <svoboda@cert.org>
10569         [BZ #5666]
10570         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
10571         explicitly.
10573 2014-04-03  Roland McGrath  <roland@hack.frob.com>
10575         * elf/dl-unmap-segments.h: New file.
10576         * sysdeps/generic/ldsodefs.h
10577         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
10578         * elf/dl-close.c: Include <dl-unmap-segments.h>.
10579         * elf/dl-fptr.c: Likewise.
10580         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
10581         * sysdeps/aarch64/tlsdesc.c: Likewise.
10582         * sysdeps/arm/tlsdesc.c: Likewise.
10583         * sysdeps/i386/tlsdesc.c: Likewise.
10584         * sysdeps/tile/dl-runtime.c: Likewise.
10585         * sysdeps/x86_64/tlsdesc.c: Likewise.
10586         * elf/dl-load.h: New file.
10587         * elf/dl-load.c: Include it.
10588         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
10589         Macros moved to dl-load.h.
10590         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
10591         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
10592         Use _dl_unmap_segments in place of __munmap.
10593         Break out segment-mapping loop into ...
10594         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
10596 2014-04-03  Will Newton  <will.newton@linaro.org>
10598         * elf/dl-lookup.c (do_lookup_x): Remove comment
10599         referring to nested function and move variable
10600         declarations down to before first use.
10602 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
10604         [BZ #16799]
10605         [BZ #16800]
10606         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
10607         with 0 numerator.
10608         * math/s_catanf.c (__catanf): Likewise.
10609         * math/s_catanh.c (__catanh): Likewise.
10610         * math/s_catanhf.c (__catanhf): Likewise.
10611         * math/s_catanhl.c (__catanhl): Likewise.
10612         * math/s_catanl.c (__catanl): Likewise.
10613         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
10614         by positive zero when computing -Inf result.
10615         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
10616         (catanh_test): Likewise.
10617         * sysdeps/i386/fpu/libm-test-ulps: Update.
10618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10620         [BZ #16789]
10621         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
10622         instead of using underflowing value in computing result.
10623         * math/s_clog10.c (__clog10): Likewise.
10624         * math/s_clog10f.c (__clog10f): Likewise.
10625         * math/s_clog10l.c (__clog10l): Likewise.
10626         * math/s_clogf.c (__clogf): Likewise.
10627         * math/s_clogl.c (__clogl): Likewise.
10628         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
10629         (clog10_test): Likewise.
10630         * sysdeps/i386/fpu/libm-test-ulps: Update.
10631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10633 2014-04-02  Alan Modra  <amodra@gmail.com>
10635         [BZ #16739]
10636         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
10637         output when value is near a power of two.  Use int64_t for lx and
10638         remove casts.  Use decimal rather than hex exponent constants.
10639         Don't use long double multiplication when double will suffice.
10640         * math/libm-test.inc (nextafter_test_data): Add tests.
10641         * NEWS: Add 16739 and 16786 to bug list.
10643         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
10645         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
10647 2014-04-01  Will Newton  <will.newton@linaro.org>
10649         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
10650         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
10652 2014-04-01  Florian Weimer  <fweimer@redhat.com>
10654         [BZ #13347]
10655         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
10656         * nptl/tst-setuid2.c: New file.
10657         * nptl/Makefile (xtests): Add tst-setuid2.
10659 2014-04-01  Alan Modra  <amodra@gmail.com>
10661         [BZ #16786]
10662         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
10664 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10666         [BZ #6803]
10667         [BZ #6804]
10668         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
10669         set errno as appropriate.
10670         * math/w_scalbf.c (__scalbf): Likewise.
10671         * math/w_scalbl.c (__scalbl): Likewise.
10672         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
10673         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
10674         * math/libm-test.inc (scalb_test_data): Add errno expectations.
10675         Add more NaN tests.
10677         [BZ #16349]
10678         * math/w_atan2.c: Include <errno.h>.
10679         (__atan2): Set errno for result underflowing to zero.
10680         * math/w_atan2f.c: Include <errno.h>.
10681         (__atan2f): Set errno for result underflowing to zero.
10682         * math/w_atan2l.c: Include <errno.h>.
10683         (__atan2l): Set errno for result underflowing to zero.
10684         * math/auto-libm-test-in: Don't allow missing errno for some atan2
10685         tests.
10686         * math/auto-libm-test-out: Regenerated.
10688 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10690         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
10691         Encode instruction correctly in little endian.
10692         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
10693         Likewise.
10694         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
10695         Likewise.
10696         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
10697         Likewise.
10698         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
10699         Likewise.
10701 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
10703         [BZ #9894]
10704         * sysdeps/unix/sysv/linux/kernel-features.h
10705         [__sparc__ && !__arch64__ && !__sparc_v9__]
10706         (__ASSUME_SET_ROBUST_LIST): Do not define.
10707         [__sparc__ && !__arch64__ && !__sparc_v9__]
10708         (__ASSUME_FUTEX_LOCK_PI): Likewise.
10709         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
10710         Likewise.
10711         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10712         (__ASSUME_FUTEX_LOCK_PI): Undefine.
10713         (__ASSUME_REQUEUE_PI): Likewise.
10714         (__ASSUME_SET_ROBUST_LIST): Likewise.
10715         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10716         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
10717         Undefine.
10718         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10719         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
10720         Likewise.
10721         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
10722         Likewise.
10723         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
10724         Likewise.
10725         * sysdeps/unix/sysv/linux/mips/kernel-features.h
10726         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
10727         Undefine.
10728         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
10729         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
10730         Likewise.
10732         [BZ #16648]
10733         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10734         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
10735         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
10737 2014-03-31  Will Newton  <will.newton@linaro.org>
10739         * benchtests/Makefile (bench): Add ffs and ffsll to list
10740         of tests.
10741         * benchtests/ffs-inputs: New file.
10742         * benchtests/ffsll-inputs: Likewise.
10744 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
10746         [BZ #16770]
10747         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
10748         too large before casting to int.
10749         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
10750         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
10751         * math/libm-test.inc (scalb_test_data): Add more tests.
10753 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
10755         * benchtests/Makefile (DETAILED_OPT): New make option.
10756         (bench-func): Run benchmark program with -d if DETAILED_OPT is
10757         set.
10758         * benchtests/bench-skeleton.c: Include stdbool.h.
10759         (main): Store and print timings per input.
10760         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
10761         member to each argument value.
10762         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
10763         (_print_arg_data): Initialize per-input timing to 0.
10765         * benchtests/Makefile (timing-type): New binary.
10766         (bench-clean): Also remove bench-timing-type.
10767         (bench): New target for timing-type.
10768         (bench-func): Print output in JSON format.
10769         * benchtests/bench-skeleton.c (main): Print output in JSON
10770         format.
10771         * benchtests/bench-timing-type.c: New file.
10772         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
10773         (TIMING_PRINT_STATS): Remove.
10774         * benchtests/scripts/bench.py (_print_arg_data): Store variant
10775         name separately.
10777         * benchtests/bench-modf.c: Remove.
10778         * benchtests/modf-inputs: New inputs file.
10780 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
10782         [BZ #16362]
10783         * math/s_clog10.c (M_PI_LOG10E): New macro.
10784         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
10785         imaginary parts are 0.
10786         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
10787         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
10788         imaginary parts are 0.
10789         * math/s_clog10l.c (M_PI_LOG10El): New macro.
10790         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
10791         imaginary parts are 0.
10792         * math/libm-test.inc (clog10_test_data): Update expected results
10793         for when real and imaginary parts are 0.
10795 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
10797         * elf/dl-load.c: Finish conversion of __builtin_expect into
10798         __glibc_{un}likely.
10800 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
10802         [BZ #16348]
10803         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
10804         1+x for argument with exponent below -67.
10805         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
10806         Likewise.
10807         * math/auto-libm-test-in: Add more tests of exp.
10808         * math/auto-libm-test-out: Regenerated.
10810 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10812         [BZ #16759]
10813         * inet/getnetgrent_r.c (get_nonempty_val): New function.
10814         (nscd_getnetgrent): Use it.
10816         [BZ #16760]
10817         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
10818         of stpcpy.
10820 2014-03-27  Andi Kleen  <ak@linux.intel.com>
10822         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
10823         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10824         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10825         (lll_robust_unlock): Remove out of line section. Use cfi
10826         intrinsics.
10827         (LLL_STUB_UNWIND_INFO*): Remove.
10828         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
10829         (lll_robust_lock, lll_cond_lock, lll_timedlock)
10830         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
10831         (lll_robust_unlock): Remove out of line section. Use cfi
10832         intrinsics.
10833         (LLL_STUB_UNWIND_INFO*): Remove.
10835 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10837         [BZ #16758]
10838         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
10839         blank values.
10841 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
10843         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
10845 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
10847         [BZ #16198]
10848         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
10849         fnstenv.
10850         * math/test-fenv-preserve.c: New file.
10851         * math/Makefile (tests): Add test-fenv-preserve.
10853 2014-03-26  Will Newton <will.newton@linaro.org>
10855         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
10857 2014-03-25  Roland McGrath  <roland@hack.frob.com>
10859         * scripts/versionlist.awk: Partition the version sets and emit all
10860         GLIBC_* (sorted) before all others (sorted).
10862 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10864         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
10865         GLIBC_2.2.5 version.
10867 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10869         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
10870         calls.
10872         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
10873         previous change.
10875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10877 2014-03-25  Andreas Schwab  <schwab@suse.de>
10879         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
10880         label to be used after in6ailist is initialized.
10882 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10884         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10885         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10887 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
10889         [BZ #16357]
10890         [BZ #16599]
10891         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
10892         min_plus_half.
10893         (fp_formats): Update initializers.
10894         (init_fp_formats): Initialize new field.
10895         (output_for_one_input_case): Allow underflow for results up to
10896         min_plus_half.
10897         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
10898         * math/auto-libm-test-in: Don't mark some underflows from asin and
10899         atanh as spurious.
10900         * math/auto-libm-test-out: Regenerated.
10901         * sysdeps/i386/fpu/libm-test-ulps: Update.
10902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10904 2014-03-25  Andreas Schwab  <schwab@suse.de>
10906         * libio/Makefile (tst-ftell-partial-wide-ENV)
10907         (tst-ftell-active-handler-ENV): Define.
10909 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
10911         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
10913 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10915         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
10917 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10919         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
10920         * sysdeps/x86_64/fpu/multiarch/e_exp.c
10921         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
10923 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
10925         [BZ #16634]
10926         * elf/dl-load.c (open_verify): Add mode parameter.
10927         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
10928         (open_path): Change from boolean 'secure' to complete flag 'mode'
10929         (_dl_map_object): Adjust.
10930         * elf/Makefile (tests): Add tst-dlopen-aout.
10931         * elf/tst-dlopen-aout.c: New test.
10933 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
10935         [BZ #16714]
10936         * sysdeps/unix/sysv/linux/s390/bits/stat.h
10937         (struct stat): Rename member pad0 to __glibc_reserved0.
10939         [BZ #16712]
10940         * sysdeps/s390/s390-32/bits/wordsize.h
10941         (__WORDSIZE32_SIZE_ULONG): New define.
10942         * sysdeps/s390/s390-64/bits/wordsize.h
10943         (__WORDSIZE32_SIZE_ULONG): Likewise.
10944         * sysdeps/generic/stdint.h (SIZE_MAX):
10945         Define as UL if __WORDSIZE32_SIZE_ULONG.
10947         [BZ #16713]
10948         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
10949         (__glibc_reserved0): New variable.
10950         (sa_flags): Change type to int.
10952         * posix/Makefile (before-compile): Use += before-compile instead
10953         of a :=.
10955         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
10956         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
10958 2014-03-20  Andreas Schwab  <schwab@suse.de>
10960         [BZ #16743]
10961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
10962         non-matching result from nscd.
10964 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10966         * scripts/bench.py: Moved to ...
10967         * benchtests/scripts/bench.py: ... here.
10968         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
10970 2014-03-24  Andreas Schwab  <schwab@suse.de>
10972         [BZ #16002]
10973         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
10974         alloca_account and account alloca use for struct in6ailist.
10976 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
10978         [BZ #16284]
10979         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
10980         rounding mode to recompute results that overflow to infinity or
10981         underflow to zero.
10982         * math/auto-libm-test-in: Don't mark tests as expected to fail for
10983         bug 16284.
10984         * math/auto-libm-test-out: Regenerated.
10985         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
10986         (ccosh_test): Likewise.
10987         (csin_test_data): Use plus_oflow.
10988         (csin_test): Use ALL_RM_TEST.
10989         (csinh_test_data): Use plus_oflow.
10990         (csinh_test): Use ALL_RM_TEST.
10991         * sysdeps/i386/fpu/libm-test-ulps: Update.
10992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10994 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
10996         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
10997         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
10998         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
11000         [BZ #16731]
11001         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
11002         when x - 1 is zero.
11003         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
11004         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
11005         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
11006         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
11007         argument is 1.
11008         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
11009         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
11010         zero.
11011         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
11012         * sysdeps/i386/fpu/libm-test-ulps: Update.
11013         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11015 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11017         * scripts/bench.pl: Remove file.
11018         * scripts/bench.py: New benchmark script.
11019         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
11020         * benchtests/README: Mention python dependency.
11021         * scripts/pylintrc: New file.
11022         * scripts/pylint: New file.
11024         * bits/mathdef.h: Use #ifdef instead of #if.
11025         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
11026         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11027         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
11028         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11029         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
11030         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
11032 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11033             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11035         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
11036         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
11037         and strpbrk-ppc64 objects.
11038         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11039         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
11040         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
11041         multiarch strpbrk for POWER7.
11042         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
11043         multiarch strpbrk for PPC64.
11044         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
11045         ifunc selector.
11046         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
11047         strpbrk for POWER7.
11049 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11051         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
11052         (atan_test): Likewise.
11053         (atanh_test_data): Use NO_TEST_INLINE for two tests.
11054         (atanh_test): Use ALL_RM_TEST.
11055         (atan2_test_data): Likewise.
11056         (cabs_test): Likewise.
11057         (cacosh_test): Likewise.
11058         (carg_test): Likewise.
11059         (casin_test): Likewise.
11060         (casinh_test): Likewise.
11061         (cbrt_test): Likewise.
11062         (csqrt_test): Likewise.
11063         (erf_test): Likewise.
11064         (erfc_test): Likewise.
11065         (pow10_test): Likewise.
11066         (exp2_test): Likewise.
11067         (hypot_test): Likewise.
11068         (j0_test): Likewise.
11069         (j1_test): Likewise.
11070         (lgamma_test): Likewise.
11071         (gamma_test): Likewise.
11072         (sincos_test): Likewise.
11073         (tanh_test): Likewise.
11074         (y0_test): Likewise.
11075         (y1_test): Likewise.
11076         * sysdeps/i386/fpu/libm-test-ulps: Update.
11077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11079 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11081         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
11082         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
11083         and strcspn-ppc64 objects.
11084         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11085         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
11086         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
11087         multiarch strcspn for POWER7.
11088         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
11089         multiarch strcspn for PPC64.
11090         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
11091         ifunc selector.
11092         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
11093         strcspn for POWER7.
11095 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
11097         * math/gen-libm-test.pl (generate_testfile): Expect only function
11098         name as argument to AUTO_TESTS_* and pass results for all rounding
11099         modes to parse_args.
11100         (parse_auto_input): Separate inputs of automatic tests from
11101         outputs before storing in %auto_tests.
11102         * math/libm-test.inc (acos_test_data): Update call to
11103         AUTO_TESTS_f_f.
11104         (acos_test): Use ALL_RM_TEST.
11105         (acos_tonearest_test_data): Remove.
11106         (acos_test_tonearest): Likewise.
11107         (acos_towardzero_test_data): Likewise.
11108         (acos_test_towardzero): Likewise.
11109         (acos_downward_test_data): Likewise.
11110         (acos_test_downward): Likewise.
11111         (acos_upward_test_data): Likewise.
11112         (acos_test_upward): Likewise.
11113         (acosh_test_data): Update call to AUTO_TESTS_f_f.
11114         (asin_test_data): Likewise.
11115         (asin_test): Use ALL_RM_TEST.
11116         (asin_tonearest_test_data): Remove.
11117         (asin_test_tonearest): Likewise.
11118         (asin_towardzero_test_data): Likewise.
11119         (asin_test_towardzero): Likewise.
11120         (asin_downward_test_data): Likewise.
11121         (asin_test_downward): Likewise.
11122         (asin_upward_test_data): Likewise.
11123         (asin_test_upward): Likewise.
11124         (asinh_test_data): Update call to AUTO_TESTS_f_f.
11125         (atan_test_data): Likewise.
11126         (atanh_test_data): Likewise.
11127         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
11128         (cabs_test_data): Update call to AUTO_TESTS_c_f.
11129         (carg_test_data): Likewise.
11130         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
11131         (ccos_test_data): Update call to AUTO_TESTS_c_c.
11132         (ccosh_test_data): Likewise.
11133         (cexp_test_data): Likewise.
11134         (clog_test_data): Likewise.
11135         (clog10_test_data): Likewise.
11136         (cos_test_data): Update call to AUTO_TESTS_f_f.
11137         (cos_test): Use ALL_RM_TEST.
11138         (cos_tonearest_test_data): Remove.
11139         (cos_test_tonearest): Likewise.
11140         (cos_towardzero_test_data): Likewise.
11141         (cos_test_towardzero): Likewise.
11142         (cos_downward_test_data): Likewise.
11143         (cos_test_downward): Likewise.
11144         (cos_upward_test_data): Likewise.
11145         (cos_test_upward): Likewise.
11146         (cosh_test_data): Update call to AUTO_TESTS_f_f.
11147         (cosh_test): Use ALL_RM_TEST.
11148         (cosh_tonearest_test_data): Remove.
11149         (cosh_test_tonearest): Likewise.
11150         (cosh_towardzero_test_data): Likewise.
11151         (cosh_test_towardzero): Likewise.
11152         (cosh_downward_test_data): Likewise.
11153         (cosh_test_downward): Likewise.
11154         (cosh_upward_test_data): Likewise.
11155         (cosh_test_upward): Likewise.
11156         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
11157         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
11158         (ctan_test_data): Likewise.
11159         (ctan_test): Use ALL_RM_TEST.
11160         (ctan_tonearest_test_data): Remove.
11161         (ctan_test_tonearest): Likewise.
11162         (ctan_towardzero_test_data): Likewise.
11163         (ctan_test_towardzero): Likewise.
11164         (ctan_downward_test_data): Likewise.
11165         (ctan_test_downward): Likewise.
11166         (ctan_upward_test_data): Likewise.
11167         (ctan_test_upward): Likewise.
11168         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
11169         (ctanh_test): Use ALL_RM_TEST.
11170         (ctanh_tonearest_test_data): Remove.
11171         (ctanh_test_tonearest): Likewise.
11172         (ctanh_towardzero_test_data): Likewise.
11173         (ctanh_test_towardzero): Likewise.
11174         (ctanh_downward_test_data): Likewise.
11175         (ctanh_test_downward): Likewise.
11176         (ctanh_upward_test_data): Likewise.
11177         (ctanh_test_upward): Likewise.
11178         (erf_test_data): Update call to AUTO_TESTS_f_f.
11179         (erfc_test_data): Likewise.
11180         (exp_test_data): Likewise.
11181         (exp_test): Use ALL_RM_TEST.
11182         (exp_tonearest_test_data): Remove.
11183         (exp_test_tonearest): Likewise.
11184         (exp_towardzero_test_data): Likewise.
11185         (exp_test_towardzero): Likewise.
11186         (exp_downward_test_data): Likewise.
11187         (exp_test_downward): Likewise.
11188         (exp_upward_test_data): Likewise.
11189         (exp_test_upward): Likewise.
11190         (exp10_test_data): Update call to AUTO_TESTS_f_f.
11191         (exp10_test): Use ALL_RM_TEST.
11192         (exp10_tonearest_test_data): Remove.
11193         (exp10_test_tonearest): Likewise.
11194         (exp10_towardzero_test_data): Likewise.
11195         (exp10_test_towardzero): Likewise.
11196         (exp10_downward_test_data): Likewise.
11197         (exp10_test_downward): Likewise.
11198         (exp10_upward_test_data): Likewise.
11199         (exp10_test_upward): Likewise.
11200         (exp2_test_data): Update call to AUTO_TESTS_f_f.
11201         (expm1_test_data): Likewise.
11202         (expm1_test): Use ALL_RM_TEST.
11203         (expm1_tonearest_test_data): Remove.
11204         (expm1_test_tonearest): Likewise.
11205         (expm1_towardzero_test_data): Likewise.
11206         (expm1_test_towardzero): Likewise.
11207         (expm1_downward_test_data): Likewise.
11208         (expm1_test_downward): Likewise.
11209         (expm1_upward_test_data): Likewise.
11210         (expm1_test_upward): Likewise.
11211         (fma_test_data): Update call to AUTO_TESTS_fff_f.
11212         (fma_test): Use ALL_RM_TEST.
11213         (fma_towardzero_test_data): Remove.
11214         (fma_test_towardzero): Likewise.
11215         (fma_downward_test_data): Likewise.
11216         (fma_test_downward): Likewise.
11217         (fma_upward_test_data): Likewise.
11218         (fma_test_upward): Likewise.
11219         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
11220         (j0_test_data): Update call to AUTO_TESTS_f_f.
11221         (j1_test_data): Likewise.
11222         (jn_test_data): Update call to AUTO_TESTS_if_f.
11223         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
11224         (log_test_data): Update call to AUTO_TESTS_f_f.
11225         (log10_test_data): Likewise.
11226         (log1p_test_data): Likewise.
11227         (log2_test_data): Likewise.
11228         (pow_test_data): Update call to AUTO_TESTS_ff_f.
11229         (pow_tonearest_test_data): Likewise.
11230         (sin_test_data): Update call to AUTO_TESTS_f_f.
11231         (sin_test): Use ALL_RM_TEST.
11232         (sin_tonearest_test_data): Remove.
11233         (sin_test_tonearest): Likewise.
11234         (sin_towardzero_test_data): Likewise.
11235         (sin_test_towardzero): Likewise.
11236         (sin_downward_test_data): Likewise.
11237         (sin_test_downward): Likewise.
11238         (sin_upward_test_data): Likewise.
11239         (sin_test_upward): Likewise.
11240         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
11241         (sinh_test_data): Update call to AUTO_TESTS_f_f.
11242         (sinh_test): Use ALL_RM_TEST.
11243         (sinh_tonearest_test_data): Remove.
11244         (sinh_test_tonearest): Likewise.
11245         (sinh_towardzero_test_data): Likewise.
11246         (sinh_test_towardzero): Likewise.
11247         (sinh_downward_test_data): Likewise.
11248         (sinh_test_downward): Likewise.
11249         (sinh_upward_test_data): Likewise.
11250         (sinh_test_upward): Likewise.
11251         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
11252         (sqrt_test): Use ALL_RM_TEST.
11253         (sqrt_tonearest_test_data): Remove.
11254         (sqrt_test_tonearest): Likewise.
11255         (sqrt_towardzero_test_data): Likewise.
11256         (sqrt_test_towardzero): Likewise.
11257         (sqrt_downward_test_data): Likewise.
11258         (sqrt_test_downward): Likewise.
11259         (sqrt_upward_test_data): Likewise.
11260         (sqrt_test_upward): Likewise.
11261         (tan_test_data): Update call to AUTO_TESTS_f_f.
11262         (tan_test): Use ALL_RM_TEST.
11263         (tan_tonearest_test_data): Remove.
11264         (tan_test_tonearest): Likewise.
11265         (tan_towardzero_test_data): Likewise.
11266         (tan_test_towardzero): Likewise.
11267         (tan_downward_test_data): Likewise.
11268         (tan_test_downward): Likewise.
11269         (tan_upward_test_data): Likewise.
11270         (tan_test_upward): Likewise.
11271         (tanh_test_data): Update call to AUTO_TESTS_f_f.
11272         (tgamma_test_data): Likewise.
11273         (y0_test_data): Likewise.
11274         (y1_test_data): Likewise.
11275         (yn_test_data): Update call to AUTO_TESTS_if_f.
11276         (main): Do not call removed functions.
11278 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11280         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
11281         (ldexp_test_data): Remove.
11282         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
11283         scalbn_test_data.
11284         (scalb_test): Use ALL_RM_TEST.
11286 2014-03-19  Andreas Schwab  <schwab@suse.de>
11288         * nscd/nscd.service: Also invalidate netgroup cache on reload.
11290 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
11292         [BZ #16649]
11293         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11294         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
11295         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
11296         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11297         (__ASSUME_PREADV): Undefine.
11298         (__ASSUME_PWRITEV): Likewise.
11300 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11302         * bits/mman-linux.h: Add comment about non-Linux use.
11303         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
11304         bits/mman-linux.h resting place.
11306         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
11307         * bits/mman-linux.h: ... here.
11309 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11311         * conform/conformtest.pl: Add standard definition when calling C
11312         preprocessor on data files.
11313         (checknamespace): Remove unused variable.
11315 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11317         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
11318         minus_oflow, plus_uflow and minus_uflow in expected results.
11319         * math/libm-test.inc (scalbn_test_data): Add more tests of
11320         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
11321         minus_uflow.
11322         (scalbn_test): Use ALL_RM_TEST.
11323         (scalbln_test_data): Add more tests of negative arguments.  Use
11324         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
11325         (scalbln_test): Use ALL_RM_TEST.
11327 2014-03-18  Roland McGrath  <roland@hack.frob.com>
11329         * scripts/abilist.awk: Ignore symbols marked with .hidden.
11331 2014-03-18  Will Newton  <will.newton@linaro.org>
11333         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
11334         inaccurate comment.
11336 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
11338         * Makerules [!subdir] (check-abi): Exit with error status if a
11339         test failed.
11341 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11343         * math/libm-test.inc (nearbyint_test_data): Include all tests used
11344         for rint.  Include results for all rounding modes.
11345         (nearbyint_test): Use ALL_RM_TEST.
11346         (rint_test_data): Include all tests used for nearbyint.
11348 2014-03-17  Will Newton  <will.newton@linaro.org>
11350         * nptl/sysdeps/pthread/pthread.h: Revert previous
11351         change.
11353         * sysdeps/generic/ldsodefs.h: Revert previous
11354         change.
11356         * libio/genops.c: Revert previous change.
11357         * libio/libioP.h: Likewise.
11358         * stdio-common/vfprintf.c: Likewise.
11360         * sysdeps/generic/math_private.h: Revert previous
11361         change.
11363         * sysdeps/generic/math_private.h: Check whether
11364         HAVE_RM_CTX is defined with #ifdef rather
11365         than #if.
11367         * argp/argp-fmtstream.h: Check whether
11368         __STRICT_ANSI__ is defined with #ifdef rather
11369         than #if.
11370         * argp/argp.h: Likewise.
11372         * libio/genops.c: Check whether
11373         _IO_JUMPS_OFFSET is defined with #ifdef rather
11374         than #if.
11375         * libio/libioP.h: Likewise.
11376         * stdio-common/vfprintf.c: Likewise.
11378         * sysdeps/generic/ldsodefs.h: Check whether
11379         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
11380         than #if.
11382         * nptl/sysdeps/pthread/pthread.h: Check
11383         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
11384         its value.
11386 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
11388         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
11389         setting O_APPEND.
11390         * libio/tst-ftell-active-handler.c (do_append_test): Add a
11391         test case.
11393         [BZ #16680]
11394         * libio/fileops.c (_IO_file_open): Seek to end of file but
11395         don't cache the offset.
11396         (get_file_offset): Remove function.
11397         (do_ftell): Use cached offset when available.
11398         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
11399         don't cache the offset.
11400         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
11401         case.
11402         (do_one_test): Call it.
11403         (do_ftell_test): Fix up expected old offset for a+ mode.
11404         * libio/wfileops.c (do_ftell_wide): Used cached offset when
11405         available.
11407         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
11408         up test status with function return status.
11409         (do_write_test): Likewise.
11410         (do_append_test): Likewise.
11412         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
11413         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
11414         Remove.
11416 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
11418         * math/gen-libm-test.pl (parse_args): Handle results specified for
11419         each rounding mode separately.
11420         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
11421         tests and results from lrint_tonearest_test_data,
11422         lrint_towardzero_test_data, lrint_downward_test_data and
11423         lrint_upward_test_data.
11424         (lrint_test): Use ALL_RM_TEST.
11425         (lrint_tonearest_test_data): Remove.
11426         (lrint_test_tonearest): Likewise.
11427         (lrint_towardzero_test_data): Likewise.
11428         (lrint_test_towardzero): Likewise.
11429         (lrint_downward_test_data): Likewise.
11430         (lrint_test_downward): Likewise.
11431         (lrint_upward_test_data): Likewise.
11432         (lrint_test_upward): Likewise.
11433         (llrint_test_data): Merge in per-rounding-mode tests and results
11434         from llrint_tonearest_test_data, llrint_towardzero_test_data,
11435         llrint_downward_test_data and llrint_upward_test_data.
11436         (llrint_test): Use ALL_RM_TEST.
11437         (llrint_tonearest_test_data): Remove.
11438         (llrint_test_tonearest): Likewise.
11439         (llrint_towardzero_test_data): Likewise.
11440         (llrint_test_towardzero): Likewise.
11441         (llrint_downward_test_data): Likewise.
11442         (llrint_test_downward): Likewise.
11443         (llrint_upward_test_data): Likewise.
11444         (llrint_test_upward): Likewise.
11445         (rint_test_data): Merge in per-rounding-mode tests and results
11446         from rint_tonearest_test_data, rint_towardzero_test_data,
11447         rint_downward_test_data and rint_upward_test_data.  Add
11448         per-rounding-mode results for tests not in those arrays.
11449         (rint_test): Use ALL_RM_TEST.
11450         (rint_tonearest_test_data): Remove.
11451         (rint_test_tonearest): Likewise.
11452         (rint_towardzero_test_data): Likewise.
11453         (rint_test_towardzero): Likewise.
11454         (rint_downward_test_data): Likewise.
11455         (rint_test_downward): Likewise.
11456         (rint_upward_test_data): Likewise.
11457         (rint_test_upward): Likewise.
11458         (main): Don't call removed functions.
11460 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11462         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
11463         "Compiled on ..." crapola.  It is anti-useful.
11465 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
11467         * scripts/evaluate-test.sh: Handle fourth argument to determine
11468         whether test run should stop on failure.
11469         * Makeconfig (stop-on-test-failure): New variable.
11470         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
11471         $(stop-on-test-failure).
11472         * Makefile (tests): Give a summary of results from testing and
11473         exit with failure status if they include an ERROR or FAIL.
11474         (xtests): Likewise.
11475         * manual/install.texi (Configuring and compiling): Mention
11476         stop-on-test-failure=y.
11477         * INSTALL: Regenerated.
11479 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11481         * scripts/versionlist.awk: New file.
11482         * Makerules [$(build-shared) = yes]
11483         (postclean-generated): Add Versions.def, not Versions.def.v and
11484         Versions.def.v.i.
11485         ($(common-objpfx)Versions.def.v.i): Target removed.
11486         ($(common-objpfx)Versions.def): New target.
11487         ($(common-objpfx)Versions.all): Depend on that rather that
11488         $(common-objpfx)Versions.def.v.
11489         * Versions.def: File removed.
11491         * Makeconfig (+gccwarn): Add -Wundef.
11492         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
11493         a dl-sysdep.h breaking its contract.
11494         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
11495         * include/stackinfo.h: New file.
11496         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
11497         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
11498         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
11499         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
11500         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
11501         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
11502         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11503         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11504         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11505         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11506         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11507         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
11508         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11509         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11510         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
11512 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11514         [BZ #16707]
11515         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
11516         implementation.
11517         * math/libm-test.inc (round_test_data): Add more tests.
11519         [BZ #16706]
11520         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
11521         implementation.
11522         * math/libm-test.inc (nearbyint_test_data): Add more tests.
11524         [BZ #16701]
11525         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
11526         implementation.
11527         * math/libm-test.inc (ceil_test_data): Add more tests.
11529         * math/libm-test.inc (trunc_test_data): Add more tests related to
11530         BZ#16414.
11532 2014-03-14  Roland McGrath  <roland@hack.frob.com>
11534         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
11535         with #if rather than #ifdef.
11536         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
11538 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
11540         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
11541         first.  Disable AVX-512 GCC support if assembler doesn't support
11542         it.
11543         * sysdeps/x86_64/configure: Regenerated.
11545 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
11547         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
11548         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
11549         (__old_pthread_attr_setstack): Likewise.
11550         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
11551         [!_STACK_GROWS_DOWN]: Likewise.
11553 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
11555         * config.make.in (have-bash2): Delete.
11556         * configure.ac (libc_cv_have_bash2): Delete.
11557         * configure: Regenerate.
11558         * elf/Makefile (common-ldd-rewrite): Rename to ...
11559         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
11560         (sh-ldd-rewrite): Delete.
11561         (bash-ldd-rewrite): Delete.
11562         (have-bash2): Delete checks.
11563         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
11564         ldd-rewrite.
11566         * config.make.in (have-ksh): Delete.
11567         (KSH): Delete.
11568         * configure.ac (libc_cv_have_ksh): Delete.
11569         * configure: Regenerate.
11571         * elf/Makefile: Delete $(have-ksh) check.
11572         ($(objpfx)sotruss): Change KSH to BASH.
11573         * elf/sotruss.ksh: Rename to ...
11574         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
11575         function style to match POSIX.  Drop ksh vim mode setting.
11577         * manual/time.texi (Specifying the Time Zone with TZ): Change
11578         Tuesday to Thursday.
11580         * debug/tst-longjmp_chk2.c: Update header comment.
11581         (stackoverflow_handler): Add comment.  Call assert on pass value.
11583 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
11585         [BZ #16194]
11586         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
11587         (HAVE_AVX512_ASM_SUPPORT): Likewise.
11588         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
11589         (La_x86_64_vector): Add zmm.
11590         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
11591         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
11592         ($(objpfx)tst-audit10): New target.
11593         ($(objpfx)tst-audit10.out): Likewise.
11594         (tst-audit10-ENV): New.
11595         (AVX512-CFLAGS): Likewise.
11596         (CFLAGS-tst-audit10.c): Likewise.
11597         (CFLAGS-tst-auditmod10a.c): Likewise.
11598         (CFLAGS-tst-auditmod10b.c): Likewise.
11599         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
11600         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
11601         * sysdeps/x86_64/configure: Regenerated.
11602         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
11603         AVX-512 zmm register support.
11604         (_dl_x86_64_save_sse): Likewise.
11605         (_dl_x86_64_restore_sse): Likewise.
11606         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
11607         size vector registers.
11608         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
11609         (ZMM_SIZE): Likewise.
11610         * sysdeps/x86_64/tst-audit10.c: New file.
11611         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
11612         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
11614 2014-03-13  Roland McGrath  <roland@hack.frob.com>
11616         * configure.ac (HAVE_EHDR_START): New check.
11617         * configure: Regenerated.
11618         * config.h.in (HAVE_EHDR_START): New #undef.
11619         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
11620         assuming the lowest-addressed segment maps the start of the file.
11622 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
11624         * INSTALL: Regenerated.
11626 2014-03-13  Will Newton  <will.newton@linaro.org>
11628         * manual/setjmp.texi (System V contexts): Improve
11629         clarity and grammar of documentation.
11631 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
11633         [BZ #16381]
11634         * elf/Makefile (tests): Add tst-pie2.
11635         (tests-pie): Add tst-pie2.
11636         * elf/tst-pie2.c: New file.
11637         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
11638         for ET_EXEC.
11639         * elf/rtld.c (map_doit): Load executable as lt_executable.
11640         (dl_main): Likewise.
11642 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
11644         [BZ #16642]
11645         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11646         (__ASSUME_PSELECT): Undefine.
11648 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11650         [BZ #16689]
11651         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
11652         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
11653         static build.
11654         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
11655         selector for static builds.
11657 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
11659         [BZ #16695]
11660         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
11661         key in the buffer.
11663 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11665         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
11666         IFUNC selector for static builds.
11668 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
11670         * sysdeps/mips/math_private.h [__mips_hard_float]
11671         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
11672         libc_feresetround_mips_ctx.
11673         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
11674         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
11675         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
11677         [BZ #16677]
11678         * math/s_nextafter.c (__nextafter): Do not return value from
11679         overflowing computation.
11680         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
11681         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
11682         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
11683         Likewise.
11684         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
11685         Likewise.
11686         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
11687         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
11689 2014-03-11  Roland McGrath  <roland@hack.frob.com>
11691         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
11692         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
11693         Move sfi_sp use from the load-multiple (that no longer sets sp) to
11694         the new mov targetting sp.
11696 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11698         [BZ #16683]
11699         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
11700         Define it for static builds as well.
11701         (NO_BZERO_IMPL): Likewise.
11703 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11705         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
11706         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
11707         multiarch strspn for PPC64.
11708         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
11709         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
11710         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11711         (__libc_ifunc_impl_list): Likewise.
11712         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
11713         multiarch optimizations
11714         * string/strspn.c (strspn): Using macro to redefine symbol name.
11716 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11717             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11719         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
11720         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
11721         multiarch strncat for PPC64.
11722         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
11723         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
11724         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11725         (__libc_ifunc_impl_list): Likewise.
11726         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
11727         multiarch optimizations
11729 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
11731         [BZ #16639]
11732         * nscd/nscd.service: Make service type forking.
11734 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11736         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
11737         sign in non default rounding modes.
11738         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
11740 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
11742         * math/libm-test.inc (ALL_RM_TEST): New macro.
11743         (ceil_test): Use ALL_RM_TEST.
11744         (cimag_test): Likewise.
11745         (conj_test): Likewise.
11746         (copysign_test): Likewise.
11747         (cproj_test): Likewise.
11748         (creal_test): Likewise.
11749         (fabs_test): Likewise.
11750         (floor_test): Likewise.
11751         (fmax_test): Likewise.
11752         (fmin_test): Likewise.
11753         (fmod_test): Likewise.
11754         (fpclassify_test): Likewise.
11755         (frexp_test): Likewise.
11756         (ilogb_test): Likewise.
11757         (isfinite_test): Likewise.
11758         (finite_test): Likewise.
11759         (isgreater_test): Likewise.
11760         (isgreaterequal_test): Likewise.
11761         (isinf_test): Likewise.
11762         (isless_test): Likewise.
11763         (islessequal_test): Likewise.
11764         (islessgreater_test): Likewise.
11765         (isnan_test): Likewise.
11766         (isnormal_test): Likewise.
11767         (issignaling_test): Likewise.
11768         (isunordered_test): Likewise.
11769         (logb_test): Likewise.
11770         (logb_downward_test_data): Remove.
11771         (logb_test_downward): Likewise.
11772         (lround_test): Use ALL_RM_TEST.
11773         (llround_test): Likewise.
11774         (modf_test): Likewise.
11775         (nexttoward_test): Likewise.
11776         (remainder_test): Likewise.
11777         (drem_test): Likewise.
11778         (remainder_tonearest_test_data): Likewise.
11779         (remainder_test_tonearest): Likewise.
11780         (drem_test_tonearest): Likewise.
11781         (remainder_towardzero_test_data): Likewise.
11782         (remainder_test_towardzero): Likewise.
11783         (drem_test_towardzero): Likewise.
11784         (remainder_downward_test_data): Likewise.
11785         (remainder_test_downward): Likewise.
11786         (drem_test_downward): Likewise.
11787         (remainder_upward_test_data): Likewise.
11788         (remainder_test_upward): Likewise.
11789         (drem_test_upward): Likewise.
11790         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
11791         (round_test): Use ALL_RM_TEST.
11792         (signbit_test): Likewise.
11793         (trunc_test): Likewise.
11794         (significand_test): Likewise.
11795         (main): Don't call removed functions.
11797 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
11799         [BZ #16674]
11800         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
11801         || __USE_XOPEN2K8].
11802         (ILL_ILLOPN): Likewise.
11803         (ILL_ILLADR): Likewise.
11804         (ILL_ILLTRP): Likewise.
11805         (ILL_PRVOPC): Likewise.
11806         (ILL_PRVREG): Likewise.
11807         (ILL_COPROC): Likewise.
11808         (ILL_BADSTK): Likewise.
11809         (FPE_INTDIV): Likewise.
11810         (FPE_INTOVF): Likewise.
11811         (FPE_FLTDIV): Likewise.
11812         (FPE_FLTOVF): Likewise.
11813         (FPE_FLTUND): Likewise.
11814         (FPE_FLTRES): Likewise.
11815         (FPE_FLTINV): Likewise.
11816         (FPE_FLTSUB): Likewise.
11817         (SEGV_MAPERR): Likewise.
11818         (SEGV_ACCERR): Likewise.
11819         (BUS_ADRALN): Likewise.
11820         (BUS_ADRERR): Likewise.
11821         (BUS_OBJERR): Likewise.
11822         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11823         (TRAP_TRACE): Likewise.
11824         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11825         __USE_XOPEN2K8].
11826         (CLD_KILLED): Likewise.
11827         (CLD_DUMPED): Likewise.
11828         (CLD_TRAPPED): Likewise.
11829         (CLD_STOPPED): Likewise.
11830         (CLD_CONTINUED): Likewise.
11831         (POLL_IN): Likewise.
11832         (POLL_OUT): Likewise.
11833         (POLL_MSG): Likewise.
11834         (POLL_ERR): Likewise.
11835         (POLL_PRI): Likewise.
11836         (POLL_HUP): Likewise.
11837         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
11838         Likewise.
11839         (ILL_ILLOPN): Likewise.
11840         (ILL_ILLADR): Likewise.
11841         (ILL_ILLTRP): Likewise.
11842         (ILL_PRVOPC): Likewise.
11843         (ILL_PRVREG): Likewise.
11844         (ILL_COPROC): Likewise.
11845         (ILL_BADSTK): Likewise.
11846         (FPE_INTDIV): Likewise.
11847         (FPE_INTOVF): Likewise.
11848         (FPE_FLTDIV): Likewise.
11849         (FPE_FLTOVF): Likewise.
11850         (FPE_FLTUND): Likewise.
11851         (FPE_FLTRES): Likewise.
11852         (FPE_FLTINV): Likewise.
11853         (FPE_FLTSUB): Likewise.
11854         (SEGV_MAPERR): Likewise.
11855         (SEGV_ACCERR): Likewise.
11856         (BUS_ADRALN): Likewise.
11857         (BUS_ADRERR): Likewise.
11858         (BUS_OBJERR): Likewise.
11859         (BUS_MCEERR_AR): Likewise.
11860         (BUS_MCEERR_AO): Likewise.
11861         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11862         (TRAP_TRACE): Likewise.
11863         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11864         __USE_XOPEN2K8].
11865         (CLD_KILLED): Likewise.
11866         (CLD_DUMPED): Likewise.
11867         (CLD_TRAPPED): Likewise.
11868         (CLD_STOPPED): Likewise.
11869         (CLD_CONTINUED): Likewise.
11870         (POLL_IN): Likewise.
11871         (POLL_OUT): Likewise.
11872         (POLL_MSG): Likewise.
11873         (POLL_ERR): Likewise.
11874         (POLL_PRI): Likewise.
11875         (POLL_HUP): Likewise.
11876         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
11877         (ILL_ILLOPN): Likewise.
11878         (ILL_ILLADR): Likewise.
11879         (ILL_ILLTRP): Likewise.
11880         (ILL_PRVOPC): Likewise.
11881         (ILL_PRVREG): Likewise.
11882         (ILL_COPROC): Likewise.
11883         (ILL_BADSTK): Likewise.
11884         (FPE_INTDIV): Likewise.
11885         (FPE_INTOVF): Likewise.
11886         (FPE_FLTDIV): Likewise.
11887         (FPE_FLTOVF): Likewise.
11888         (FPE_FLTUND): Likewise.
11889         (FPE_FLTRES): Likewise.
11890         (FPE_FLTINV): Likewise.
11891         (FPE_FLTSUB): Likewise.
11892         (SEGV_MAPERR): Likewise.
11893         (SEGV_ACCERR): Likewise.
11894         (BUS_ADRALN): Likewise.
11895         (BUS_ADRERR): Likewise.
11896         (BUS_OBJERR): Likewise.
11897         (BUS_MCEERR_AR): Likewise.
11898         (BUS_MCEERR_AO): Likewise.
11899         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11900         (TRAP_TRACE): Likewise.
11901         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11902         __USE_XOPEN2K8].
11903         (CLD_KILLED): Likewise.
11904         (CLD_DUMPED): Likewise.
11905         (CLD_TRAPPED): Likewise.
11906         (CLD_STOPPED): Likewise.
11907         (CLD_CONTINUED): Likewise.
11908         (POLL_IN): Likewise.
11909         (POLL_OUT): Likewise.
11910         (POLL_MSG): Likewise.
11911         (POLL_ERR): Likewise.
11912         (POLL_PRI): Likewise.
11913         (POLL_HUP): Likewise.
11914         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
11915         Likewise.
11916         (ILL_ILLOPN): Likewise.
11917         (ILL_ILLADR): Likewise.
11918         (ILL_ILLTRP): Likewise.
11919         (ILL_PRVOPC): Likewise.
11920         (ILL_PRVREG): Likewise.
11921         (ILL_COPROC): Likewise.
11922         (ILL_BADSTK): Likewise.
11923         (ILL_BADIADDR): Likewise.
11924         (ILL_BREAK): Likewise.
11925         (FPE_INTDIV): Likewise.
11926         (FPE_INTOVF): Likewise.
11927         (FPE_FLTDIV): Likewise.
11928         (FPE_FLTOVF): Likewise.
11929         (FPE_FLTUND): Likewise.
11930         (FPE_FLTRES): Likewise.
11931         (FPE_FLTINV): Likewise.
11932         (FPE_FLTSUB): Likewise.
11933         (FPE_DECOVF): Likewise.
11934         (FPE_DECDIV): Likewise.
11935         (FPE_DECERR): Likewise.
11936         (FPE_INVASC): Likewise.
11937         (FPE_INVDEC): Likewise.
11938         (SEGV_MAPERR): Likewise.
11939         (SEGV_ACCERR): Likewise.
11940         (SEGV_PSTKOVF): Likewise.
11941         (BUS_ADRALN): Likewise.
11942         (BUS_ADRERR): Likewise.
11943         (BUS_OBJERR): Likewise.
11944         (BUS_MCEERR_AR): Likewise.
11945         (BUS_MCEERR_AO): Likewise.
11946         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11947         (TRAP_TRACE): Likewise.
11948         (TRAP_BRANCH): Likewise.
11949         (TRAP_HWBKPT): Likewise.
11950         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11951         __USE_XOPEN2K8].
11952         (CLD_KILLED): Likewise.
11953         (CLD_DUMPED): Likewise.
11954         (CLD_TRAPPED): Likewise.
11955         (CLD_STOPPED): Likewise.
11956         (CLD_CONTINUED): Likewise.
11957         (POLL_IN): Likewise.
11958         (POLL_OUT): Likewise.
11959         (POLL_MSG): Likewise.
11960         (POLL_ERR): Likewise.
11961         (POLL_PRI): Likewise.
11962         (POLL_HUP): Likewise.
11963         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
11964         (ILL_ILLOPN): Likewise.
11965         (ILL_ILLADR): Likewise.
11966         (ILL_ILLTRP): Likewise.
11967         (ILL_PRVOPC): Likewise.
11968         (ILL_PRVREG): Likewise.
11969         (ILL_COPROC): Likewise.
11970         (ILL_BADSTK): Likewise.
11971         (FPE_INTDIV): Likewise.
11972         (FPE_INTOVF): Likewise.
11973         (FPE_FLTDIV): Likewise.
11974         (FPE_FLTOVF): Likewise.
11975         (FPE_FLTUND): Likewise.
11976         (FPE_FLTRES): Likewise.
11977         (FPE_FLTINV): Likewise.
11978         (FPE_FLTSUB): Likewise.
11979         (SEGV_MAPERR): Likewise.
11980         (SEGV_ACCERR): Likewise.
11981         (BUS_ADRALN): Likewise.
11982         (BUS_ADRERR): Likewise.
11983         (BUS_OBJERR): Likewise.
11984         (BUS_MCEERR_AR): Likewise.
11985         (BUS_MCEERR_AO): Likewise.
11986         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
11987         (TRAP_TRACE): Likewise.
11988         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
11989         __USE_XOPEN2K8].
11990         (CLD_KILLED): Likewise.
11991         (CLD_DUMPED): Likewise.
11992         (CLD_TRAPPED): Likewise.
11993         (CLD_STOPPED): Likewise.
11994         (CLD_CONTINUED): Likewise.
11995         (POLL_IN): Likewise.
11996         (POLL_OUT): Likewise.
11997         (POLL_MSG): Likewise.
11998         (POLL_ERR): Likewise.
11999         (POLL_PRI): Likewise.
12000         (POLL_HUP): Likewise.
12001         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
12002         (ILL_ILLOPN): Likewise.
12003         (ILL_ILLADR): Likewise.
12004         (ILL_ILLTRP): Likewise.
12005         (ILL_PRVOPC): Likewise.
12006         (ILL_PRVREG): Likewise.
12007         (ILL_COPROC): Likewise.
12008         (ILL_BADSTK): Likewise.
12009         (FPE_INTDIV): Likewise.
12010         (FPE_INTOVF): Likewise.
12011         (FPE_FLTDIV): Likewise.
12012         (FPE_FLTOVF): Likewise.
12013         (FPE_FLTUND): Likewise.
12014         (FPE_FLTRES): Likewise.
12015         (FPE_FLTINV): Likewise.
12016         (FPE_FLTSUB): Likewise.
12017         (SEGV_MAPERR): Likewise.
12018         (SEGV_ACCERR): Likewise.
12019         (BUS_ADRALN): Likewise.
12020         (BUS_ADRERR): Likewise.
12021         (BUS_OBJERR): Likewise.
12022         (BUS_MCEERR_AR): Likewise.
12023         (BUS_MCEERR_AO): Likewise.
12024         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12025         (TRAP_TRACE): Likewise.
12026         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12027         __USE_XOPEN2K8].
12028         (CLD_KILLED): Likewise.
12029         (CLD_DUMPED): Likewise.
12030         (CLD_TRAPPED): Likewise.
12031         (CLD_STOPPED): Likewise.
12032         (CLD_CONTINUED): Likewise.
12033         (POLL_IN): Likewise.
12034         (POLL_OUT): Likewise.
12035         (POLL_MSG): Likewise.
12036         (POLL_ERR): Likewise.
12037         (POLL_PRI): Likewise.
12038         (POLL_HUP): Likewise.
12039         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
12040         (ILL_ILLOPN): Likewise.
12041         (ILL_ILLADR): Likewise.
12042         (ILL_ILLTRP): Likewise.
12043         (ILL_PRVOPC): Likewise.
12044         (ILL_PRVREG): Likewise.
12045         (ILL_COPROC): Likewise.
12046         (ILL_BADSTK): Likewise.
12047         (FPE_INTDIV): Likewise.
12048         (FPE_INTOVF): Likewise.
12049         (FPE_FLTDIV): Likewise.
12050         (FPE_FLTOVF): Likewise.
12051         (FPE_FLTUND): Likewise.
12052         (FPE_FLTRES): Likewise.
12053         (FPE_FLTINV): Likewise.
12054         (FPE_FLTSUB): Likewise.
12055         (SEGV_MAPERR): Likewise.
12056         (SEGV_ACCERR): Likewise.
12057         (BUS_ADRALN): Likewise.
12058         (BUS_ADRERR): Likewise.
12059         (BUS_OBJERR): Likewise.
12060         (BUS_MCEERR_AR): Likewise.
12061         (BUS_MCEERR_AO): Likewise.
12062         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12063         (TRAP_TRACE): Likewise.
12064         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12065         __USE_XOPEN2K8].
12066         (CLD_KILLED): Likewise.
12067         (CLD_DUMPED): Likewise.
12068         (CLD_TRAPPED): Likewise.
12069         (CLD_STOPPED): Likewise.
12070         (CLD_CONTINUED): Likewise.
12071         (POLL_IN): Likewise.
12072         (POLL_OUT): Likewise.
12073         (POLL_MSG): Likewise.
12074         (POLL_ERR): Likewise.
12075         (POLL_PRI): Likewise.
12076         (POLL_HUP): Likewise.
12077         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
12078         (ILL_ILLOPN): Likewise.
12079         (ILL_ILLADR): Likewise.
12080         (ILL_ILLTRP): Likewise.
12081         (ILL_PRVOPC): Likewise.
12082         (ILL_PRVREG): Likewise.
12083         (ILL_COPROC): Likewise.
12084         (ILL_BADSTK): Likewise.
12085         (ILL_DBLFLT): Likewise.
12086         (ILL_HARDWALL): Likewise.
12087         (FPE_INTDIV): Likewise.
12088         (FPE_INTOVF): Likewise.
12089         (FPE_FLTDIV): Likewise.
12090         (FPE_FLTOVF): Likewise.
12091         (FPE_FLTUND): Likewise.
12092         (FPE_FLTRES): Likewise.
12093         (FPE_FLTINV): Likewise.
12094         (FPE_FLTSUB): Likewise.
12095         (SEGV_MAPERR): Likewise.
12096         (SEGV_ACCERR): Likewise.
12097         (BUS_ADRALN): Likewise.
12098         (BUS_ADRERR): Likewise.
12099         (BUS_OBJERR): Likewise.
12100         (BUS_MCEERR_AR): Likewise.
12101         (BUS_MCEERR_AO): Likewise.
12102         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12103         (TRAP_TRACE): Likewise.
12104         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12105         __USE_XOPEN2K8].
12106         (CLD_KILLED): Likewise.
12107         (CLD_DUMPED): Likewise.
12108         (CLD_TRAPPED): Likewise.
12109         (CLD_STOPPED): Likewise.
12110         (CLD_CONTINUED): Likewise.
12111         (POLL_IN): Likewise.
12112         (POLL_OUT): Likewise.
12113         (POLL_MSG): Likewise.
12114         (POLL_ERR): Likewise.
12115         (POLL_PRI): Likewise.
12116         (POLL_HUP): Likewise.
12117         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
12118         (ILL_ILLOPN): Likewise.
12119         (ILL_ILLADR): Likewise.
12120         (ILL_ILLTRP): Likewise.
12121         (ILL_PRVOPC): Likewise.
12122         (ILL_PRVREG): Likewise.
12123         (ILL_COPROC): Likewise.
12124         (ILL_BADSTK): Likewise.
12125         (FPE_INTDIV): Likewise.
12126         (FPE_INTOVF): Likewise.
12127         (FPE_FLTDIV): Likewise.
12128         (FPE_FLTOVF): Likewise.
12129         (FPE_FLTUND): Likewise.
12130         (FPE_FLTRES): Likewise.
12131         (FPE_FLTINV): Likewise.
12132         (FPE_FLTSUB): Likewise.
12133         (SEGV_MAPERR): Likewise.
12134         (SEGV_ACCERR): Likewise.
12135         (BUS_ADRALN): Likewise.
12136         (BUS_ADRERR): Likewise.
12137         (BUS_OBJERR): Likewise.
12138         (BUS_MCEERR_AR): Likewise.
12139         (BUS_MCEERR_AO): Likewise.
12140         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
12141         (TRAP_TRACE): Likewise.
12142         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
12143         __USE_XOPEN2K8].
12144         (CLD_KILLED): Likewise.
12145         (CLD_DUMPED): Likewise.
12146         (CLD_TRAPPED): Likewise.
12147         (CLD_STOPPED): Likewise.
12148         (CLD_CONTINUED): Likewise.
12149         (POLL_IN): Likewise.
12150         (POLL_OUT): Likewise.
12151         (POLL_MSG): Likewise.
12152         (POLL_ERR): Likewise.
12153         (POLL_PRI): Likewise.
12154         (POLL_HUP): Likewise.
12155         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
12156         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12158         [BZ #16670]
12159         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
12160         before #include of <time.h>.
12161         [!__USE_XOPEN2K] (__need_timespec): Likewise.
12162         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
12163         (test-xfail-UNIX98/sched.h/conform): Likewise.
12165 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12167         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
12168         error absence of trapping exception support.
12169         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
12171 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
12173         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
12174         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
12175         * timezone/Makefile (testdata): Move definition above include of
12176         Rules.
12177         (test-zones): New variable.
12178         (tests-special): Add zone files.
12179         (build-testdata): Use $(evaluate-test).
12181         * elf/Makefile (tests-special): Rename tests to end with .out.
12182         ($(objpfx)noload-mem): Likewise.
12183         ($(objpfx)tst-leaks1-mem): Likewise.
12184         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
12185         * iconv/Makefile (xtests-special): Change test-iconvconfig to
12186         $(objpfx)test-iconvconfig.out.
12187         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
12188         set -e inside subshell and redirect output to file.
12189         * iconvdata/Makefile (generated): Rename tests to end with .out.
12190         Correct type.
12191         (tests-special): Rename tests to end with .out.
12192         ($(objpfx)mtrace-tst-loading): Likewise.
12193         * intl/Makefile (generated): Likewise.
12194         (tests-special): Likewise.
12195         ($(objpfx)mtrace-tst-gettext): Likewise.
12196         * misc/Makefile (generated): Likewise.
12197         (tests-special): Likewise.
12198         ($(objpfx)tst-error1-mem): Likewise.
12199         * nptl/Makefile (tests-special): Likewise.
12200         ($(objpfx)tst-stack3-mem): Likewise.
12201         (generated): Likewise.
12202         * posix/Makefile (generated): Likewise.
12203         (tests-special): Likewise.
12204         (xtests-special): Likewise.
12205         ($(objpfx)tst-fnmatch-mem): Likewise.
12206         ($(objpfx)bug-regex2-mem): Likewise.
12207         ($(objpfx)bug-regex14-mem): Likewise.
12208         ($(objpfx)bug-regex21-mem): Likewise.
12209         ($(objpfx)bug-regex31-mem): Likewise.
12210         ($(objpfx)tst-vfork3-mem): Likewise.
12211         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
12212         ($(objpfx)tst-pcre-mem): Likewise.
12213         ($(objpfx)tst-boost-mem): Likewise.
12214         ($(objpfx)bug-ga2-mem): Likewise.
12215         ($(objpfx)bug-glob2-mem): Likewise.
12216         * resolv/Makefile (generate): Likewise.
12217         (tests-special): Likewise.
12218         (xtests-special): Likewise.
12219         (generated): Likewise.
12220         ($(objpfx)mtrace-tst-leaks): Likewise.
12221         ($(objpfx)mtrace-tst-leaks2): Likewise.
12223         * scripts/merge-test-results.sh: New file.
12224         * Makefile (tests-special-notdir): New variable.
12225         (tests): Run merge-test-results.sh.
12226         (xtests): Likewise.
12227         * Rules (tests-special-notdir): New variable.
12228         (xtests-special-notdir): Likewise.
12229         (tests): Run merge-test-results.sh
12230         (xtests): Likewise.
12232         * Makeconfig (test-xfail-name): New variable.
12233         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
12234         compute variable name for expected failures.
12235         * conform/Makefile (conformtest-headers-data): New variable.
12236         (conformtest-standards): Likewise.
12237         (conformtest-headers-ISO): Likewise.
12238         (conformtest-headers-ISO99): Likewise.
12239         (conformtest-headers-ISO11): Likewise.
12240         (conformtest-headers-POSIX): Likewise.
12241         (conformtest-headers-XPG3): Likewise.
12242         (conformtest-headers-XPG4): Likewise.
12243         (conformtest-headers-UNIX98): Likewise.
12244         (conformtest-headers-XOPEN2K): Likewise.
12245         (conformtest-headers-POSIX2008): Likewise.
12246         (conformtest-headers-XOPEN2K8): Likewise.
12247         (conformtest-header-list-base): Likewise.
12248         (conformtest-header-list-tests): Likewise.
12249         (conformtest-header-base): Likewise.
12250         (conformtest-header-tests): Likewise.
12251         (tests-special): Add $(conformtest-header-list-tests).  If
12252         [$(fast-check) && !$(cross-compiling)], add
12253         $(conformtest-header-tests) instead of
12254         $(objpfx)run-conformtest.out.
12255         (generated): Add $(conformtest-header-list-base).  If
12256         [$(fast-check) && !$(cross-compiling)], add
12257         $(conformtest-header-base).  Remove previous setting.
12258         ($(conformtest-header-list-tests)): New target.
12259         (test-xfail-run-conformtest): Remove variable.
12260         ($(objpfx)run-conformtest.out): Remove target.
12261         (test-xfail-ISO11/complex.h/conform): New variable.
12262         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12263         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12264         (test-xfail-XPG3/varargs.h/conform): Likewise.
12265         (test-xfail-XPG4/varargs.h/conform): Likewise.
12266         (test-xfail-UNIX98/varargs.h/conform): Likewise.
12267         (test-xfail-XPG4/ndbm.h/conform): Likewise.
12268         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
12269         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
12270         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
12271         (test-xfail-XPG3/fcntl.h/conform): Likewise.
12272         (test-xfail-XPG3/ftw.h/conform): Likewise.
12273         (test-xfail-XPG3/grp.h/conform): Likewise.
12274         (test-xfail-XPG3/langinfo.h/conform): Likewise.
12275         (test-xfail-XPG3/limits.h/conform): Likewise.
12276         (test-xfail-XPG3/pwd.h/conform): Likewise.
12277         (test-xfail-XPG3/search.h/conform): Likewise.
12278         (test-xfail-XPG3/signal.h/conform): Likewise.
12279         (test-xfail-XPG3/stdio.h/conform): Likewise.
12280         (test-xfail-XPG3/stdlib.h/conform): Likewise.
12281         (test-xfail-XPG3/string.h/conform): Likewise.
12282         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
12283         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
12284         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
12285         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
12286         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
12287         (test-xfail-XPG3/sys/types.h/conform): Likewise.
12288         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
12289         (test-xfail-XPG3/termios.h/conform): Likewise.
12290         (test-xfail-XPG3/time.h/conform): Likewise.
12291         (test-xfail-XPG3/unistd.h/conform): Likewise.
12292         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
12293         (test-xfail-XPG4/fcntl.h/conform): Likewise.
12294         (test-xfail-XPG4/langinfo.h/conform): Likewise.
12295         (test-xfail-XPG4/netdb.h/conform): Likewise.
12296         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
12297         (test-xfail-XPG4/signal.h/conform): Likewise.
12298         (test-xfail-XPG4/stdio.h/conform): Likewise.
12299         (test-xfail-XPG4/stdlib.h/conform): Likewise.
12300         (test-xfail-XPG4/stropts.h/conform): Likewise.
12301         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
12302         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
12303         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
12304         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
12305         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
12306         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
12307         (test-xfail-XPG4/sys/time.h/conform): Likewise.
12308         (test-xfail-XPG4/sys/types.h/conform): Likewise.
12309         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
12310         (test-xfail-XPG4/termios.h/conform): Likewise.
12311         (test-xfail-XPG4/ucontext.h/conform): Likewise.
12312         (test-xfail-XPG4/unistd.h/conform): Likewise.
12313         (test-xfail-XPG4/utmpx.h/conform): Likewise.
12314         (test-xfail-POSIX/sched.h/conform): Likewise.
12315         (test-xfail-POSIX/signal.h/conform): Likewise.
12316         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
12317         (test-xfail-POSIX/tar.h/conform): Likewise.
12318         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
12319         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
12320         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12321         (test-xfail-UNIX98/netdb.h/conform): Likewise.
12322         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
12323         (test-xfail-UNIX98/sched.h/conform): Likewise.
12324         (test-xfail-UNIX98/signal.h/conform): Likewise.
12325         (test-xfail-UNIX98/stdio.h/conform): Likewise.
12326         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
12327         (test-xfail-UNIX98/stropts.h/conform): Likewise.
12328         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
12329         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
12330         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
12331         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
12332         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
12333         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
12334         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
12335         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
12336         (test-xfail-UNIX98/unistd.h/conform): Likewise.
12337         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
12338         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
12339         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
12340         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
12341         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
12342         (test-xfail-XOPEN2K/math.h/conform): Likewise.
12343         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12344         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
12345         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
12346         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
12347         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
12348         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
12349         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
12350         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
12351         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
12352         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
12353         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
12354         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
12355         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
12356         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
12357         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
12358         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
12359         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
12360         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
12361         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
12362         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
12363         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
12364         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
12365         (test-xfail-POSIX2008/signal.h/conform): Likewise.
12366         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
12367         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
12368         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
12369         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
12370         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
12371         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
12372         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
12373         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
12374         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
12375         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
12376         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
12377         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
12378         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
12379         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
12380         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
12381         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
12382         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
12383         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
12384         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
12385         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
12386         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12387         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
12388         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
12389         (conformtest-cc-flags): Likewise.
12390         ($(conformtest-header-tests): New target.
12391         * conform/check-header-lists.sh: New file.
12392         * conform/run-conformtest.sh: Remove.
12394         * conform/conformtest.pl: Allow ' and \ in values given for
12395         constants.
12396         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
12397         inclusion.
12398         [POSIX] (sys/types.h): Likewise.
12399         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
12400         inclusion.
12401         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
12402         inclusion.
12403         * conform/data/signal.h-data (SIGIO): Remove expectation.
12404         [XPG3] (SIGBUS): Do not expect.
12405         [POSIX || XPG3] (SIGPOLL): Likewise.
12406         [POSIX || XPG3] (SIGPROF): Likewise.
12407         [POSIX || XPG3] (SIGSYS): Likewise.
12408         [XPG3] (SIGTRAP): Likewise.
12409         [POSIX || XPG3] (SIGURG): Likewise.
12410         [POSIX || XPG3] (SIGVTALRM): Likewise.
12411         [POSIX || XPG3] (SIGXCPU): Likewise.
12412         [POSIX || XPG3] (SIGXFSZ): Likewise.
12413         [POSIX] (SA_SIGINFO): Expect.
12414         [XPG3] (siginfo_t): Do not expect type or contents.
12415         [POSIX] (si_pid): Do not expect element.
12416         [POSIX] (si_uid): Likewise.
12417         [POSIX] (si_addr): Likewise.
12418         [POSIX] (si_status): Likewise.
12419         [POSIX] (si_band): Likewise.
12420         [XPG4] (si_value): Likewise.
12421         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
12422         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
12423         [POSIX || XPG3] (ILL_ILLADR): Likewise.
12424         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
12425         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
12426         [POSIX || XPG3] (ILL_PRVREG): Likewise.
12427         [POSIX || XPG3] (ILL_COPROC): Likewise.
12428         [POSIX || XPG3] (ILL_BADSTK): Likewise.
12429         [POSIX || XPG3] (FPE_INTDIV): Likewise.
12430         [POSIX || XPG3] (FPE_INTOVF): Likewise.
12431         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
12432         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
12433         [POSIX || XPG3] (FPE_FLTUND): Likewise.
12434         [POSIX || XPG3] (FPE_FLTRES): Likewise.
12435         [POSIX || XPG3] (FPE_FLTINV): Likewise.
12436         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
12437         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
12438         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
12439         [POSIX || XPG3] (BUS_ADRALN): Likewise.
12440         [POSIX || XPG3] (BUS_ADRERR): Likewise.
12441         [POSIX || XPG3] (BUS_OBJERR): Likewise.
12442         [POSIX || XPG3] (CLD_EXITED): Likewise.
12443         [POSIX || XPG3] (CLD_KILLED): Likewise.
12444         [POSIX || XPG3] (CLD_DUMPED): Likewise.
12445         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
12446         [POSIX || XPG3] (CLD_STOPPED): Likewise.
12447         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
12448         [POSIX || XPG3] (POLL_IN): Likewise.
12449         [POSIX || XPG3] (POLL_OUT): Likewise.
12450         [POSIX || XPG3] (POLL_MSG): Likewise.
12451         [POSIX || XPG3] (POLL_ERR): Likewise.
12452         [POSIX || XPG3] (POLL_PRI): Likewise.
12453         [POSIX || XPG3] (POLL_HUP): Likewise.
12454         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
12455         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
12456         (SIG*): Do not allow.
12457         [XPG3] (si_*): Likewise.
12458         [XPG3] (SI_*): Likewise.
12459         [XPG3 || XPG4] (sigev_*): Likewise.
12460         [XPG3 || XPG4] (SIGEV_*): Likewise.
12461         [XPG3 || XPG4] (sival_*): Likewise.
12462         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
12463         [POSIX || XPG3] (BUS_*): Likewise.
12464         [POSIX || XPG3] (CLD_*): Likewise.
12465         [POSIX || XPG3] (FPE_*): Likewise.
12466         [POSIX || XPG3] (ILL_*): Likewise.
12467         [POSIX || XPG3] (POLL_*): Likewise.
12468         [POSIX || XPG3] (SEGV_*): Likewise.
12469         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
12470         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
12471         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
12472         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
12473         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
12474         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
12475         Specify type and value.
12476         (TVERSLEN): Likewise.
12477         (REGTYPE): Likewise.
12478         (AREGTYPE): Likewise.
12479         (LNKTYPE): Likewise.
12480         (SYMTYPE): Likewise.
12481         (CHRTYPE): Likewise.
12482         (BLKTYPE): Likewise.
12483         (DIRTYPE): Likewise.
12484         (FIFOTYPE): Likewise.
12485         (CONTTYPE): Likewise.
12486         (TSUID): Likewise.
12487         (TSGID): Likewise.
12488         (TSVTX): Likewise.
12489         (TUREAD): Likewise.
12490         (TUWRITE): Likewise.
12491         (TUEXEC): Likewise.
12492         (TGREAD): Likewise.
12493         (TGWRITE): Likewise.
12494         (TGEXEC): Likewise.
12495         (TOREAD): Likewise.
12496         (TOWRITE): Likewise.
12497         (TOEXEC): Likewise.
12498         [POSIX] (TSVTX): Expect constant.
12500 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
12502         * Makefile (tests): Change dependencies to ....
12503         (tests-special): ... additions to this variable.
12504         (tests): Depend on $(tests-special).
12505         * Makerules (check-abi-list): New variable.
12506         (check-abi): Depend on $(check-abi-list).
12507         [$(subdir) = elf] (tests-special): Add
12508         $(objpfx)check-abi-libc.out.
12509         [$(build-shared) = yes && subdir] (tests-special): Add
12510         $(check-abi-list).
12511         [$(build-shared) = yes && subdir] (tests): Do not depend on
12512         check-abi.
12513         * Rules (tests): Depend on $(tests-special).
12514         (xtests): Depend on $(xtests-special).
12515         * catgets/Makefile (tests): Change dependencies to ....
12516         (tests-special): ... additions to this variable.
12517         * conform/Makefile (tests): Change dependencies to ....
12518         (tests-special): ... additions to this variable.
12519         * elf/Makefile (tests): Change dependencies to ....
12520         (tests-special): ... additions to this variable.
12521         * grp/Makefile (tests): Change dependencies to ....
12522         (tests-special): ... additions to this variable.
12523         * iconv/Makefile (xtests): Change dependencies to ....
12524         (xtests-special): ... additions to this variable.
12525         * iconvdata/Makefile (tests): Change dependencies to ....
12526         (tests-special): ... additions to this variable.
12527         * intl/Makefile (tests): Change dependencies to ....
12528         (tests-special): ... additions to this variable.  Also add
12529         $(objpfx)tst-gettext.out.
12530         * io/Makefile (tests): Change dependencies to ....
12531         (tests-special): ... additions to this variable.
12532         * libio/Makefile (tests): Change dependencies to ....
12533         (tests-special): ... additions to this variable.
12534         * malloc/Makefile (tests): Change dependencies to ....
12535         (tests-special): ... additions to this variable.
12536         * misc/Makefile (tests): Change dependencies to ....
12537         (tests-special): ... additions to this variable.
12538         * nptl/Makefile (tests): Change dependencies to ....
12539         (tests-special): ... additions to this variable.
12540         * nptl_db/Makefile (tests): Change dependencies to ....
12541         (tests-special): ... additions to this variable.
12542         * posix/Makefile (tests): Change dependencies to ....
12543         (tests-special): ... additions to this variable.
12544         (xtests): Change dependencies to ....
12545         (xtests-special): ... additions to this variable.
12546         * resolv/Makefile (tests): Change dependencies to ....
12547         (tests-special): ... additions to this variable.
12548         (xtests): Change dependencies to ....
12549         (xtests-special): ... additions to this variable.
12550         * stdio-common/Makefile (tests): Change dependencies to ....
12551         (tests-special): ... additions to this variable.
12552         (do-tst-unbputc): Remove target.
12553         (do-tst-printf): Likewise.
12554         * stdlib/Makefile (tests): Change dependencies to ....
12555         (tests-special): ... additions to this variable.
12556         * string/Makefile (tests): Change dependencies to ....
12557         (tests-special): ... additions to this variable.
12558         * sysdeps/x86/Makefile (tests): Change dependencies to ....
12559         (tests-special): ... additions to this variable.
12561         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
12562         whole file.
12563         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
12564         whole file.
12565         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
12566         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
12568         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
12569         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
12570         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
12571         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
12572         * conform/data/libgen.h-data [XPG3]: Likewise.
12573         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
12574         * conform/data/ndbm.h-data [XPG3]: Likewise.
12575         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12576         * conform/data/netdb.h-data [XPG3]: Likewise.
12577         * conform/data/netinet/in.h-data [XPG3]: Likewise.
12578         * conform/data/poll.h-data [XPG3]: Likewise.
12579         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
12580         * conform/data/strings.h-data [XPG3]: Likewise.
12581         * conform/data/stropts.h-data [XPG3]: Likewise.
12582         * conform/data/sys/mman.h-data [XPG3]: Likewise.
12583         * conform/data/sys/resource.h-data [XPG3]: Likewise.
12584         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
12585         Likewise.
12586         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
12587         * conform/data/sys/time.h-data [XPG3]: Likewise.
12588         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
12589         * conform/data/sys/uio.h-data [XPG3]: Likewise.
12590         * conform/data/sys/un.h-data [XPG3]: Likewise.
12591         * conform/data/syslog.h-data [XPG3]: Likewise.
12592         * conform/data/ucontext.h-data [XPG3]: Likewise.
12593         * conform/data/utmpx.h-data [XPG3]: Likewise.
12594         * conform/data/varargs.h-data [UNIX98]: Enable file.
12596         * manual/Makefile (INSTALL_INFO): Remove variable setting.
12598         * math/libm-test.inc (struct test_f_f_data): Move expected results
12599         into structure for each rounding mode.
12600         (struct test_ff_f_data): Likewise.
12601         (struct test_ff_f_data_nexttoward): Likewise.
12602         (struct test_fi_f_data): Likewise.
12603         (struct test_fl_f_data): Likewise.
12604         (struct test_if_f_data): Likewise.
12605         (struct test_fff_f_data): Likewise.
12606         (struct test_c_f_data): Likewise.
12607         (struct test_f_f1_data): Likewise.
12608         (struct test_fF_f1_data): Likewise.
12609         (struct test_ffI_f1_data): Likewise.
12610         (struct test_c_c_data): Likewise.
12611         (struct test_cc_c_data): Likewise.
12612         (struct test_f_i_data): Likewise.
12613         (struct test_ff_i_data): Likewise.
12614         (struct test_f_l_data): Likewise.
12615         (struct test_f_L_data): Likewise.
12616         (struct test_fFF_11_data): Likewise.
12617         (RM_): New macro.
12618         (RM_FE_DOWNWARD): Likewise.
12619         (RM_FE_TONEAREST): Likewise.
12620         (RM_FE_TOWARDZERO): Likewise.
12621         (RM_FE_UPWARD): Likewise.
12622         (RUN_TEST_LOOP_f_f): Update references to expected results.
12623         (RUN_TEST_LOOP_2_f): Likewise.
12624         (RUN_TEST_LOOP_fff_f): Likewise.
12625         (RUN_TEST_LOOP_c_f): Likewise.
12626         (RUN_TEST_LOOP_f_f1): Likewise.
12627         (RUN_TEST_LOOP_fF_f1): Likewise.
12628         (RUN_TEST_LOOP_fI_f1): Likewise.
12629         (RUN_TEST_LOOP_ffI_f1): Likewise.
12630         (RUN_TEST_LOOP_c_c): Likewise.
12631         (RUN_TEST_LOOP_cc_c): Likewise.
12632         (RUN_TEST_LOOP_f_i): Likewise.
12633         (RUN_TEST_LOOP_f_i_tg): Likewise.
12634         (RUN_TEST_LOOP_ff_i_tg): Likewise.
12635         (RUN_TEST_LOOP_f_b): Likewise.
12636         (RUN_TEST_LOOP_f_b_tg): Likewise.
12637         (RUN_TEST_LOOP_f_l): Likewise.
12638         (RUN_TEST_LOOP_f_L): Likewise.
12639         (RUN_TEST_LOOP_fFF_11): Likewise.
12640         * math/gen-libm-test.pl (parse_args): Output four copies of
12641         expected results for each test.
12643         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12644         (__ASSUME_UTIMES): Remove.
12645         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12646         (__ASSUME_UTIMES): Likewise.
12648         * math/gen-auto-libm-tests.c: Update comment on output format.
12649         (output_for_one_input_case): Generate before-rounding and
12650         after-rounding information as conditions on output flags not
12651         floating-point format.
12652         * math/auto-libm-test-out: Regenerated.
12653         * math/gen-libm-test.pl (cond_value): New function.
12654         (or_cond_value): Use cond_value.
12655         (generate_testfile): Handle conditional exceptions.
12657 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
12659         * math/libm-test.inc (max_valid_error): New variable.
12660         (init_max_error): Take new argument specifying whether function
12661         results are exactly determined.  Set max_valid_error and bound
12662         other variables for errors based on this argument.
12663         (set_max_error): Do not record results above max_valid_error.
12664         (check_float_internal): Only accept errors of up to 0.5ulps if
12665         also at most max_valid_error.
12666         (START): Take new argument EXACT and pass it to init_max_error.
12667         (acos_test): Update call to START.
12668         (acos_test_tonearest): Likewise.
12669         (acos_test_towardzero): Likewise.
12670         (acos_test_downward): Likewise.
12671         (acos_test_upward): Likewise.
12672         (acosh_test): Likewise.
12673         (asin_test): Likewise.
12674         (asin_test_tonearest): Likewise.
12675         (asin_test_towardzero): Likewise.
12676         (asin_test_downward): Likewise.
12677         (asin_test_upward): Likewise.
12678         (asinh_test): Likewise.
12679         (atan_test): Likewise.
12680         (atanh_test): Likewise.
12681         (atan2_test): Likewise.
12682         (cabs_test): Likewise.
12683         (cacos_test): Likewise.
12684         (cacosh_test): Likewise.
12685         (carg_test): Likewise.
12686         (casin_test): Likewise.
12687         (casinh_test): Likewise.
12688         (catan_test): Likewise.
12689         (catanh_test): Likewise.
12690         (cbrt_test): Likewise.
12691         (ccos_test): Likewise.
12692         (ccosh_test): Likewise.
12693         (ceil_test): Likewise.
12694         (cexp_test): Likewise.
12695         (cimag_test): Likewise.
12696         (clog_test): Likewise.
12697         (clog10_test): Likewise.
12698         (conj_test): Likewise.
12699         (copysign_test): Likewise.
12700         (cos_test): Likewise.
12701         (cos_test_tonearest): Likewise.
12702         (cos_test_towardzero): Likewise.
12703         (cos_test_downward): Likewise.
12704         (cos_test_upward): Likewise.
12705         (cosh_test): Likewise.
12706         (cosh_test_tonearest): Likewise.
12707         (cosh_test_towardzero): Likewise.
12708         (cosh_test_downward): Likewise.
12709         (cosh_test_upward): Likewise.
12710         (cpow_test): Likewise.
12711         (cproj_test): Likewise.
12712         (creal_test): Likewise.
12713         (csin_test): Likewise.
12714         (csinh_test): Likewise.
12715         (csqrt_test): Likewise.
12716         (ctan_test): Likewise.
12717         (ctan_test_tonearest): Likewise.
12718         (ctan_test_towardzero): Likewise.
12719         (ctan_test_downward): Likewise.
12720         (ctan_test_upward): Likewise.
12721         (ctanh_test): Likewise.
12722         (ctanh_test_tonearest): Likewise.
12723         (ctanh_test_towardzero): Likewise.
12724         (ctanh_test_downward): Likewise.
12725         (ctanh_test_upward): Likewise.
12726         (erf_test): Likewise.
12727         (erfc_test): Likewise.
12728         (exp_test): Likewise.
12729         (exp_test_tonearest): Likewise.
12730         (exp_test_towardzero): Likewise.
12731         (exp_test_downward): Likewise.
12732         (exp_test_upward): Likewise.
12733         (exp10_test): Likewise.
12734         (exp10_test_tonearest): Likewise.
12735         (exp10_test_towardzero): Likewise.
12736         (exp10_test_downward): Likewise.
12737         (exp10_test_upward): Likewise.
12738         (pow10_test): Likewise.
12739         (exp2_test): Likewise.
12740         (expm1_test): Likewise.
12741         (expm1_test_tonearest): Likewise.
12742         (expm1_test_towardzero): Likewise.
12743         (expm1_test_downward): Likewise.
12744         (expm1_test_upward): Likewise.
12745         (fabs_test): Likewise.
12746         (fdim_test): Likewise.
12747         (floor_test): Likewise.
12748         (fma_test): Likewise.
12749         (fma_test_towardzero): Likewise.
12750         (fma_test_downward): Likewise.
12751         (fma_test_upward): Likewise.
12752         (fmax_test): Likewise.
12753         (fmin_test): Likewise.
12754         (fmod_test): Likewise.
12755         (fpclassify_test): Likewise.
12756         (frexp_test): Likewise.
12757         (hypot_test): Likewise.
12758         (ilogb_test): Likewise.
12759         (isfinite_test): Likewise.
12760         (finite_test): Likewise.
12761         (isgreater_test): Likewise.
12762         (isgreaterequal_test): Likewise.
12763         (isinf_test): Likewise.
12764         (isless_test): Likewise.
12765         (islessequal_test): Likewise.
12766         (islessgreater_test): Likewise.
12767         (isnan_test): Likewise.
12768         (isnormal_test): Likewise.
12769         (issignaling_test): Likewise.
12770         (isunordered_test): Likewise.
12771         (j0_test): Likewise.
12772         (j1_test): Likewise.
12773         (jn_test): Likewise.
12774         (ldexp_test): Likewise.
12775         (lgamma_test): Likewise.
12776         (gamma_test): Likewise.
12777         (lrint_test): Likewise.
12778         (lrint_test_tonearest): Likewise.
12779         (lrint_test_towardzero): Likewise.
12780         (lrint_test_downward): Likewise.
12781         (lrint_test_upward): Likewise.
12782         (llrint_test): Likewise.
12783         (llrint_test_tonearest): Likewise.
12784         (llrint_test_towardzero): Likewise.
12785         (llrint_test_downward): Likewise.
12786         (llrint_test_upward): Likewise.
12787         (log_test): Likewise.
12788         (log10_test): Likewise.
12789         (log1p_test): Likewise.
12790         (log2_test): Likewise.
12791         (logb_test): Likewise.
12792         (logb_test_downward): Likewise.
12793         (lround_test): Likewise.
12794         (llround_test): Likewise.
12795         (modf_test): Likewise.
12796         (nearbyint_test): Likewise.
12797         (nextafter_test): Likewise.
12798         (nexttoward_test): Likewise.
12799         (pow_test): Likewise.
12800         (pow_test_tonearest): Likewise.
12801         (pow_test_towardzero): Likewise.
12802         (pow_test_downward): Likewise.
12803         (pow_test_upward): Likewise.
12804         (remainder_test): Likewise.
12805         (drem_test): Likewise.
12806         (remainder_test_tonearest): Likewise.
12807         (drem_test_tonearest): Likewise.
12808         (remainder_test_towardzero): Likewise.
12809         (drem_test_towardzero): Likewise.
12810         (remainder_test_downward): Likewise.
12811         (drem_test_downward): Likewise.
12812         (remainder_test_upward): Likewise.
12813         (drem_test_upward): Likewise.
12814         (remquo_test): Likewise.
12815         (rint_test): Likewise.
12816         (rint_test_tonearest): Likewise.
12817         (rint_test_towardzero): Likewise.
12818         (rint_test_downward): Likewise.
12819         (rint_test_upward): Likewise.
12820         (round_test): Likewise.
12821         (scalb_test): Likewise.
12822         (scalbn_test): Likewise.
12823         (scalbln_test): Likewise.
12824         (signbit_test): Likewise.
12825         (sin_test): Likewise.
12826         (sin_test_tonearest): Likewise.
12827         (sin_test_towardzero): Likewise.
12828         (sin_test_downward): Likewise.
12829         (sin_test_upward): Likewise.
12830         (sincos_test): Likewise.
12831         (sinh_test): Likewise.
12832         (sinh_test_tonearest): Likewise.
12833         (sinh_test_towardzero): Likewise.
12834         (sinh_test_downward): Likewise.
12835         (sinh_test_upward): Likewise.
12836         (sqrt_test): Likewise.
12837         (sqrt_test_tonearest): Likewise.
12838         (sqrt_test_towardzero): Likewise.
12839         (sqrt_test_downward): Likewise.
12840         (sqrt_test_upward): Likewise.
12841         (tan_test): Likewise.
12842         (tan_test_tonearest): Likewise.
12843         (tan_test_towardzero): Likewise.
12844         (tan_test_downward): Likewise.
12845         (tan_test_upward): Likewise.
12846         (tanh_test): Likewise.
12847         (tgamma_test): Likewise.
12848         (trunc_test): Likewise.
12849         (y0_test): Likewise.
12850         (y1_test): Likewise.
12851         (yn_test): Likewise.
12852         (significand_test): Likewise.
12854         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
12855         individual tests in comment.
12856         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
12857         (prev_max_error): New variable.
12858         (prev_real_max_error): Likewise.
12859         (prev_imag_max_error): Likewise.
12860         (compare_ulp_data): Don't refer to test names in comment.
12861         (find_test_ulps): Remove function.
12862         (find_function_ulps): Likewise.
12863         (find_complex_function_ulps): Likewise.
12864         (init_max_error): Take function name as argument.  Look up ulps
12865         for that function.
12866         (print_ulps): Remove function.
12867         (print_max_error): Use prev_max_error instead of calling
12868         find_function_ulps.
12869         (print_complex_max_error): Use prev_real_max_error and
12870         prev_imag_max_error instead of calling find_complex_function_ulps.
12871         (check_float_internal): Take max_ulp parameter instead of calling
12872         find_test_ulps.  Don't call print_ulps.
12873         (check_float): Update call to check_float_internal.
12874         (check_complex): Update calls to check_float_internal.
12875         (START): Pass argument to init_max_error.
12876         * math/gen-libm-test.pl (%results): Don't include "kind"
12877         information.
12878         (parse_ulps): Don't handle ulps of individual tests.
12879         (print_ulps_file): Likewise.
12880         (output_ulps): Likewise.
12881         * math/README.libm-test: Update.
12882         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
12883         individual tests.
12884         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
12885         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
12886         * sysdeps/arm/libm-test-ulps: Likewise.
12887         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
12888         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
12889         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
12890         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
12891         * sysdeps/microblaze/libm-test-ulps: Likewise.
12892         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
12893         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12894         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
12895         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
12896         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
12897         * sysdeps/sh/libm-test-ulps: Likewise.
12898         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
12899         * sysdeps/tile/libm-test-ulps: Likewise.
12900         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12902 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
12904         * math/libm-test.inc (print_complex_max_error): Check separately
12905         whether real and imaginary errors are within allowed range and
12906         pass 0 to print_complex_function_ulps instead of value within
12907         allowed range.
12909 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12911         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
12912         formatting.
12913         (get_handles_fopen): Likewise.
12914         (do_write_test): Likewise.
12916         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
12918         * libio/fileops.c (do_ftell): Use cached offset when
12919         available.
12920         * libio/iofwide.c (do_ftell_wide): Likewise.
12921         * libio/iofdopen.c (_IO_new_fdopen): Don't use
12922         _IO_file_attach.
12923         * libio/wfileops.c (_IO_fwide): Don't cache offset.
12925         [BZ #16532]
12926         * libio/libioP.h (get_file_offset): New function.
12927         * libio/fileops.c (get_file_offset): Likewise.
12928         (do_ftell): Likewise.
12929         (_IO_new_file_seekoff): Split out ftell logic.
12930         * libio/wfileops.c (do_ftell_wide): Likewise.
12931         (_IO_wfile_seekoff): Split out ftell logic.
12932         * libio/tst-ftell-active-handler.c: New test case.
12933         * libio/Makefile (tests): Add it.
12935 2014-03-03  Roland McGrath  <roland@hack.frob.com>
12937         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
12938         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
12940 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
12942         [BZ #16639]
12943         * nscd/connections.c (nscd_init): Call do_exit.
12944         (start_threads): Call do_exit and notify_parent.
12945         (begin_drop_privileges): Call do_exit.
12946         (finish_drop_privileges): Likewise.
12947         * nscd/selinux.c (preserve_capabilities): Likewise.
12948         (install_real_capabilities): Likewise.
12949         (nscd_selinux_enabled): Likewise.
12950         (avc_create_thread): Likewise.
12951         (avc_alloc_lock): Likewise.
12952         (nscd_avc_init): Likewise.
12953         * nscd/nscd.c (parent_fd): New static variable.
12954         (main): Create a pipe between parent and child processes.
12955         Skip closing parent_fd.
12956         (monitor_child): New function.
12957         (do_exit): Likewise.
12958         (notify_parent): Likewise.
12959         * nscd/nscd.h (notify_parent): Likewise.
12960         (do_exit): Likewise.
12962 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
12964         * malloc/malloc.c (__libc_calloc): Revert last change.
12966 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12970 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12972         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
12973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
12974         implementation.
12975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12976         (__libc_ifunc_impl_list): Likewise.
12977         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
12978         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
12979         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
12980         * string/strrchr.c: Define STRRCHR.
12982 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
12984         * benchtest/bench-strtok.c (simple_strtok): Delete.
12985         (strtok_string): Use as benchmark.
12986         * string/strtok (STRTOK): New macro.
12988 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
12990         * manual/threads.texi: Add header and standard comments to all
12991         functions.
12993         * elf/dl-lookup.c (check_match): New function.
12994         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
12995         (do_lookup_x): Remove nested function check_match. Use non-nested
12996         function check_match.
12998 2014-02-28  Roland McGrath  <roland@hack.frob.com>
13000         * csu/Makefile (generated, before-compile): Use += rather than =.
13001         * catgets/Makefile (generated, generated-dirs): Likewise.
13002         * debug/Makefile (generated): Likewise.
13003         * dlfcn/Makefile (generated): Likewise.
13004         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
13005         * iconvdata/Makefile (before-compile, generated): Likewise.
13006         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
13007         * libio/Makefile (generated): Likewise.
13008         * malloc/Makefile (generated): Likewise.
13009         * manual/Makefile (generated, generated-dirs): Likewise.
13010         * misc/Makefile (generated): Likewise.
13011         * posix/Makefile (generated): Likewise.
13012         * resolv/Makefile (generated): Likewise.
13013         * sunrpc/Makefile (generated, generated-dirs): Likewise.
13014         * timezone/Makefile (generated, generated-dirs): Likewise.
13016         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
13018 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13020         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
13021         power8 implementation.
13022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
13023         file: POWER8 llround ifunc implementation.
13024         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
13025         (__lllround): Add POWER8 implementation.
13026         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
13027         POWER8 llround implementation.
13029         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
13030         power8 implementation.
13031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
13032         file: POWER8 llrint ifunc implementation.
13033         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
13034         Add POWER8 implementation.
13035         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
13036         POWER8 llrint implementation.
13038         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
13039         power8 implementation.
13040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
13041         file: POWER8 finite ifunc implementation.
13042         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
13043         Add POWER8 implementation.
13044         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
13045         Likewise.
13046         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
13047         POWER8 finite implementation.
13048         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
13050         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
13051         power8 implementation.
13052         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
13053         file: POWER8 isinf ifunc implementation.
13054         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
13055         POWER8 implementation.
13056         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
13057         Likewise.
13058         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
13059         isinf implementation.
13060         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
13062         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
13063         (INIT_ARCH): Add hwcap2 initialization.
13064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
13065         power8 implementation.
13066         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
13067         file: POWER8 isnan ifunc implementation.
13068         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
13069         POWER8 implementation.
13070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
13071         Likewise.
13072         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
13073         isnan implementation.
13074         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
13076 2014-02-27  Joey Ye  <joey.ye@arm.com>
13078         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13079         (_FP_NANFRAC_Q): Set to zero.
13081 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13083         [BZ #16623]
13084         * math/auto-libm-test-in: New test inputs.
13085         * math/auto-libm-test-out: Regenerate.
13086         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
13087         and DA.
13088         (__cos): Likewise.
13089         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
13091 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
13093         * scripts/evaluate-test.sh: Take new argument indicating whether
13094         failure is expected.
13095         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
13096         indicating whether failure is expected.
13097         * conform/Makefile (test-xfail-run-conformtest): New variable.
13098         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
13099         level.
13100         * posix/Makefile (test-xfail-annexc): New variable.
13101         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
13103 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
13105         * argp/Makefile: Include Makeconfig immediately after defining
13106         subdir.
13107         * assert/Makefile: Likewise.
13108         * benchtests/Makefile: Likewise.
13109         * catgets/Makefile: Likewise.
13110         * conform/Makefile: Likewise.
13111         * crypt/Makefile: Likewise.
13112         * csu/Makefile: Likewise.
13113         (all): Remove target.
13114         * ctype/Makefile: Include Makeconfig immediately after defining
13115         subdir.
13116         * debug/Makefile: Likewise.
13117         * dirent/Makefile: Likewise.
13118         * dlfcn/Makefile: Likewise.
13119         * gmon/Makefile: Likewise.
13120         * gnulib/Makefile: Likewise.
13121         * grp/Makefile: Likewise.
13122         * gshadow/Makefile: Likewise.
13123         * hesiod/Makefile: Likewise.
13124         * hurd/Makefile: Likewise.
13125         (all): Remove target.
13126         * iconvdata/Makefile: Include Makeconfig immediately after
13127         defining subdir.
13128         * inet/Makefile: Likewise.
13129         * intl/Makefile: Likewise.
13130         * io/Makefile: Likewise.
13131         * libio/Makefile: Likewise.
13132         (all): Remove target.
13133         * locale/Makefile: Include Makeconfig immediately after defining
13134         subdir.
13135         * login/Makefile: Likewise.
13136         * mach/Makefile: Likewise.
13137         (all): Remove target.
13138         * malloc/Makefile: Include Makeconfig immediately after defining
13139         subdir.
13140         (all): Remove target.
13141         * manual/Makefile: Include Makeconfig immediately after defining
13142         subdir.
13143         * math/Makefile: Likewise.
13144         * misc/Makefile: Likewise.
13145         * nis/Makefile: Likewise.
13146         * nss/Makefile: Likewise.
13147         * po/Makefile: Likewise.
13148         (all): Remove target.
13149         * posix/Makefile: Include Makeconfig immediately after defining
13150         subdir.
13151         * pwd/Makefile: Likewise.
13152         * resolv/Makefile: Likewise.
13153         * resource/Makefile: Likewise.
13154         * rt/Makefile: Likewise.
13155         * setjmp/Makefile: Likewise.
13156         * shadow/Makefile: Likewise.
13157         * signal/Makefile: Likewise.
13158         * socket/Makefile: Likewise.
13159         * soft-fp/Makefile: Likewise.
13160         * stdio-common/Makefile: Likewise.
13161         * stdlib/Makefile: Likewise.
13162         * streams/Makefile: Likewise.
13163         * string/Makefile: Likewise.
13164         * sunrpc/Makefile: Likewise.
13165         (all): Remove target.
13166         * sysvipc/Makefile: Include Makeconfig immediately after defining
13167         subdir.
13168         * termios/Makefile: Likewise.
13169         * time/Makefile: Likewise.
13170         * timezone/Makefile: Likewise.
13171         (all): Remove target.
13172         * wcsmbs/Makefile: Include Makeconfig immediately after defining
13173         subdir.
13174         * wctype/Makefile: Likewise.
13176 2014-02-26  Steve Ellcey  <sellcey@mips.com>
13178         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
13179         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
13180         (libc_feholdexcept_setround_mips): Ditto.
13181         (libc_feholdsetround): New.
13182         (libc_feholdsetroundf): New.
13183         (libc_feholdsetroundl): New.
13184         (libc_feupdateenv_test_mips): New.
13185         (libc_feupdateenv_test): New.
13186         (libc_feupdateenv_testf): New.
13187         (libc_feupdateenv_testl): New.
13188         (libc_feresetround): New.
13189         (libc_feresetroundf): New.
13190         (libc_feresetroundl): New.
13191         (libc_fetestexcept_mips): New.
13192         (libc_fetestexcept): New.
13193         (libc_fetestexceptf): New.
13194         (libc_fetestexceptl): New.
13195         (HAVE_RM_CTX): New.
13196         (libc_feholdexcept_setround_mips_ctx): New.
13197         (libc_feholdexcept_setround_ctx): New.
13198         (libc_feholdexcept_setroundf_ctx): New.
13199         (libc_feholdexcept_setroundl_ctx): New.
13200         (libc_fesetenv_mips_ctx): New.
13201         (libc_fesetenv_ctx): New.
13202         (libc_fesetenv_ctxf): New.
13203         (libc_fesetenv_ctxl): New.
13204         (libc_feupdateenv_mips_ctx): New.
13205         (libc_feupdateenv_ctx): New.
13206         (libc_feupdateenvf_ctx): New.
13207         (libc_feupdateenvl_ctx): New.
13208         (libc_feholdsetround_mips_ctx): New.
13209         (libc_feholdsetround_ctx): New.
13210         (libc_feholdsetroundf_ctx): New.
13211         (libc_feholdsetroundl_ctx): New.
13212         (libc_feresetround_mips_ctx): New.
13213         (libc_feresetround_ctx): New.
13214         (libc_feresetroundf_ctx): New.
13215         (libc_feresetroundl_ctx): New.
13217 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
13219         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
13221         * manual/ipc.texi: New file.
13222         * manual/Makefile (chapters): Add ipc.
13223         * manual/job.texi: Add "Inter-Process Communication" to next.
13224         * manual/process.texi: Add "Inter-Process Communication" to prev.
13226 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13230 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
13232         * malloc/malloc.c (__libc_calloc): Simplify implementation.
13234         * manual/arith.texi: Fix spaces after sentences.
13235         * manual/charset.texi: Likewise.
13236         * manual/errno.texi: Likewise.
13237         * manual/install.texi: Likewise.
13238         * manual/llio.texi: Likewise.
13239         * manual/locale.texi: Likewise.
13240         * manual/maint.texi: Likewise.
13241         * manual/math.texi: Likewise.
13242         * manual/memory.texi: Likewise.
13243         * manual/message.texi: Likewise.
13244         * manual/probes.texi: Likewise.
13245         * manual/resource.texi: Likewise.
13246         * manual/signal.texi: Likewise.
13247         * manual/socket.texi: Likewise.
13248         * manual/stdio.texi: Likewise.
13249         * manual/string.texi: Likewise.
13250         * manual/time.texi: Likewise.
13251         * manual/users.texi: Likewise.
13253 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
13255         [BZ #16632]
13256         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
13257         _DEFAULT_SOURCE is defined.
13259 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
13260             Carlos O'Donell  <carlos@redhat.com>
13262         [BZ #16613]
13263         * elf/dl-tls.c (_dl_count_modids): New function.
13264         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
13265         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
13266         audit library and increment generation counter.
13267         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
13268         * elf/tst-audit9.c: New file.
13269         * elf/tst-auditmod9a.c: New file.
13270         * elf/tst-auditmod9b.c: New file.
13271         * elf/Makefile: Add rules to build and run tst-audit9.
13273 2014-02-25  Florian Weimer  <fweimer@redhat.com>
13275         [BZ #15347]
13276         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
13278 2014-02-25  Will Newton  <will.newton@linaro.org>
13280         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
13281         (__longjmp): Restore sp and lr before restoring callee
13282         saved registers.  Add longjmp and longjmp_target
13283         SystemTap probe point.
13284         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
13285         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
13286         Define to zero to match jmpbuf layout.
13287         * sysdeps/arm/setjmp.S: Include stap-probe.h.
13288         (__sigsetjmp): Save sp and lr before saving callee
13289         saved registers.  Add setjmp SystemTap probe point.
13291 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
13293         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13295 2014-02-24  Andreas Schwab  <schwab@suse.de>
13297         [BZ #15804]
13298         * elf/pldd.c (wait_for_ptrace_stop): New function.
13299         (main): Call it after attaching.
13301 2014-02-22  Roland McGrath  <roland@hack.frob.com>
13303         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
13304         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
13305         Versions files is now verboten.
13306         * hurd/Versions (libc: GLIBC_2.0):
13307         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
13308         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
13309         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
13310         * mach/Versions: Likewise.
13312         * csu/Versions: Remove unused %include.
13313         * resolv/Versions: Likewise.
13315 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
13317         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
13318         ($(objpfx)check-local-headers.out): Likewise.
13319         ($(objpfx)begin-end-check.out): Likewise.
13320         * Makerules (check-abi-%.out): Likewise.
13321         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
13322         ($(objpfx)test2.cat): Likewise.
13323         ($(objpfx)de/libc.cat): Likewise.
13324         ($(objpfx)test-gencat.out): Likewise.
13325         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
13326         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
13327         ($(objpfx)noload-mem): Likewise.
13328         ($(objpfx)tst-pathopt.out): Likewise.
13329         ($(objpfx)tst-rtld-load-self.out): Likewise.
13330         ($(objpfx)tst-array1-cmp.out): Likewise.
13331         ($(objpfx)tst-array1-static-cmp.out): Likewise.
13332         ($(objpfx)tst-array2-cmp.out): Likewise.
13333         ($(objpfx)tst-array3-cmp.out): Likewise.
13334         ($(objpfx)tst-array4-cmp.out): Likewise.
13335         ($(objpfx)tst-array5-cmp.out): Likewise.
13336         ($(objpfx)tst-array5-static-cmp.out): Likewise.
13337         ($(objpfx)check-textrel.out): Likewise.
13338         ($(objpfx)check-execstack.out): Likewise.
13339         ($(objpfx)check-localplt.out): Likewise.
13340         ($(objpfx)order2-cmp.out): Likewise.
13341         ($(objpfx)tst-leaks1-mem): Likewise.
13342         ($(objpfx)tst-leaks1-static-mem): Likewise.
13343         ($(objpfx)tst-initorder-cmp.out): Likewise.
13344         ($(objpfx)tst-initorder2-cmp.out): Likewise.
13345         ($(objpfx)tst-unused-dep.out): Likewise.
13346         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
13347         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
13348         * iconv/Makefile (test-iconvconfig): Likewise.
13349         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
13350         ($(objpfx)iconv-test.out): Likewise.
13351         ($(objpfx)tst-tables.out): Likewise.
13352         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
13353         ($(objpfx)tst-gettext.out): Likewise.
13354         ($(objpfx)tst-translit.out): Likewise.
13355         ($(objpfx)tst-gettext2.out): Likewise.
13356         ($(objpfx)tst-gettext4.out): Likewise.
13357         ($(objpfx)tst-gettext6.out): Likewise.
13358         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
13359         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
13360         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
13361         ($(objpfx)tst-fopenloc-mem.out): Likewise.
13362         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
13363         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
13364         * posix/Makefile ($(objpfx)globtest.out): Likewise.
13365         ($(objpfx)wordexp-tst.out): Likewise.
13366         ($(objpfx)annexc.out): Likewise.
13367         ($(objpfx)tst-fnmatch-mem): Likewise.
13368         ($(objpfx)bug-regex2-mem): Likewise.
13369         ($(objpfx)bug-regex14-mem): Likewise.
13370         ($(objpfx)bug-regex21-mem): Likewise.
13371         ($(objpfx)bug-regex31-mem): Likewise.
13372         ($(objpfx)tst-vfork3-mem): Likewise.
13373         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13374         ($(objpfx)tst-pcre-mem): Likewise.
13375         ($(objpfx)tst-boost-mem): Likewise.
13376         ($(objpfx)tst-getconf.out): Likewise.
13377         ($(objpfx)bug-ga2-mem): Likewise.
13378         ($(objpfx)bug-glob2-mem): Likewise.
13379         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
13380         ($(objpfx)mtrace-tst-leaks2): Likewise.
13381         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
13382         ($(objpfx)tst-printf.out): Likewise.
13383         ($(objpfx)tst-setvbuf1.out): Likewise.
13384         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
13385         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
13386         ($(objpfx)tst-fmtmsg.out): Likewise.
13387         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
13388         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
13390         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
13391         * bits/sigaction.h [__USE_MISC]: Likewise.
13392         * bits/waitstatus.h: Update #endif comments.
13393         * ctype/ctype.h: Likewise.
13394         * dirent/dirent.h: Likewise.
13395         [__USE_MISC]: Remove redundant conditionals.
13396         * grp/grp.h: Update #endif comments.
13397         [__USE_GNU]: Remove redundant conditionals.
13398         [__USE_MISC]: Likewise.
13399         * inet/netinet/in.h [__USE_GNU]: Likewise.
13400         * io/sys/stat.h [__USE_MISC]: Likewise.
13401         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
13402         * libio/bits/stdio.h: Update #endif comments.
13403         [__USE_MISC]: Remove redundant conditionals.
13404         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
13405         * libio/stdio.h: Update #endif comments.
13406         [__USE_MISC]: Remove redundant conditionals.
13407         * math/bits/math-finite.h [__USE_MISC]: Likewise.
13408         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
13409         * math/math.h: Update #else and #endif comments.
13410         [__USE_MISC]: Remove redundant conditionals.
13411         * misc/sys/uio.h: Update #endif comments.
13412         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
13413         * posix/glob.h [__USE_MISC]: Likewise.
13414         * posix/sys/types.h: Update #endif comments.
13415         [__USE_MISC]: Remove redundant conditionals.
13416         * posix/sys/wait.h: Update #endif comments.
13417         [__USE_MISC]: Remove redundant conditionals.
13418         * posix/unistd.h: Update #endif comments.
13419         [__USE_MISC]: Remove redundant conditionals.
13420         * pwd/pwd.h [__USE_GNU]: Likewise.
13421         [__USE_MISC]: Likewise.
13422         * resolv/netdb.h [__USE_GNU]: Likewise.
13423         * signal/signal.h: Update #endif comments.
13424         [__USE_MISC]: Remove redundant conditionals.
13425         * stdlib/stdlib.h: Update #else and #endif comments.
13426         [__USE_MISC]: Remove redundant conditionals.
13427         [__USE_GNU]: Likewise.
13428         * string/bits/string2.h [__USE_MISC]: Likewise.
13429         * string/string.h: Update #endif comments.
13430         [__USE_MISC]: Remove redundant conditionals.
13431         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
13432         Likewise.
13433         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
13434         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
13435         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
13436         Likewise.
13437         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
13438         Likewise.
13439         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
13440         comments.
13441         [__USE_MISC]: Remove redundant conditionals.
13442         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
13443         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
13444         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
13445         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
13446         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
13447         Likewise.
13448         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
13449         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
13450         Likewise.
13451         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
13452         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
13453         Likewise.
13454         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
13455         Likewise.
13456         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
13457         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
13458         Likewise.
13459         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
13460         Likewise.
13461         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
13462         * sysdeps/x86/bits/string.h: Update #endif comments.
13463         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
13464         conditionals.
13465         * time/sys/time.h: Update #endif comments.
13466         * time/time.h: Likewise.
13467         [__USE_MISC]: Remove redundant conditionals.
13469 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
13471         [BZ #16600]
13472         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
13474 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
13476         * Versions.def (librt): Add GLIBC_2.17.
13478 2014-02-21  Adam Conrad  <adconrad@0c3.net>
13480         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
13481         synonym for _SYS_AUXV_H to allow direct inclusion.
13482         * sysdeps/sparc/bits/hwcap.h: Likewise.
13483         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
13484         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
13485         * sysdeps/sparc/sysdep.h: Likewise.
13487 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
13489         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
13491 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
13493         * benchtests/bench-strrchr.c: Print length instead of position.
13495 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
13497         [BZ #16611]
13498         * sysdeps/unix/sysv/linux/kernel-features.h
13499         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
13500         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
13501         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
13502         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
13503         Likewise.
13504         [__i386__ || __powerpc__ || __sh__ || __sparc__]
13505         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13506         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
13507         (__ASSUME_SENDMMSG): Define instead of using previous
13508         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
13509         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13510         (__ASSUME_SENDMMSG_SYSCALL): Define.
13511         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13512         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
13513         Likewise.
13514         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13515         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13516         Likewise.
13517         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13518         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13519         Likewise.
13520         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
13521         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13522         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13523         [__ASSUME_SENDMMSG]: Change conditionals to
13524         [__ASSUME_SENDMMSG_SOCKETCALL].
13525         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13526         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
13527         Define.
13528         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13529         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
13530         Likewise.
13531         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
13532         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
13533         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
13534         [!__ASSUME_SENDMMSG]: Change conditional to
13535         [!__ASSUME_SENDMMSG_SOCKETCALL].
13536         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13537         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13538         Define.
13540         [BZ #16610]
13541         * sysdeps/unix/sysv/linux/kernel-features.h
13542         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
13543         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
13544         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
13545         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
13546         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13547         [__i386__ || __sparc__]
13548         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13549         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
13550         (__ASSUME_RECVMMSG): Define instead of using previous
13551         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
13552         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13553         (__ASSUME_RECVMMSG_SYSCALL): Define.
13554         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13555         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13556         Likewise.
13557         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13558         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13559         Likewise.
13560         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13561         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13562         Likewise.
13563         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
13564         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13565         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13566         [__ASSUME_RECVMMSG]: Change condition to
13567         [__ASSUME_RECVMMSG_SOCKETCALL].
13568         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13569         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13570         Define.
13571         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
13572         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13573         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13574         Likewise.
13575         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
13576         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
13577         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
13578         [!__ASSUME_RECVMMSG]: Change condition to
13579         [!__ASSUME_RECVMMSG_SOCKETCALL].
13580         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13581         (__ASSUME_RECVMMSG_SYSCALL): Define.
13583         [BZ #16609]
13584         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
13585         __powerpc__ || __s390__ || __sh__ || __sparc__]
13586         (__ASSUME_SOCKETCALL): Define.
13587         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
13588         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
13589         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
13590         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
13591         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13592         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
13593         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
13594         (__ASSUME_ACCEPT4): Define instead of using previous
13595         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
13596         __powerpc__ || __sparc__ || __s390__)] condition.
13597         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13598         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13599         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
13600         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13601         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13602         [!__ASSUME_ACCEPT4]: Change condition to
13603         [!__ASSUME_ACCEPT4_SOCKETCALL].
13604         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13605         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
13606         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
13607         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13608         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
13609         __ASSUME_ACCEPT4_SYSCALL.
13610         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
13611         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
13612         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13613         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
13614         __ASSUME_ACCEPT4_SYSCALL.
13615         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
13616         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
13617         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
13618         [__ASSUME_ACCEPT4]: Change condition to
13619         [__ASSUME_ACCEPT4_SOCKETCALL].
13620         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13621         (__ASSUME_SOCKETCALL): Define.
13622         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
13623         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13624         (__ASSUME_SOCKETCALL): Define.
13625         (__ASSUME_ACCEPT4): Remove.
13626         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
13627         Define.
13628         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13629         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
13630         Likewise.
13631         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13632         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
13634         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
13635         macro.
13636         (HWCAP_ARM_LPAE): Likewise.
13637         (HWCAP_ARM_EVTSTRM): Likewise.
13638         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
13639         Add vpfd32, lpae and evtstrm.
13640         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
13641         Increase to 22.
13643 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
13645         * math/auto-libm-test-in: Add tests of clog10.
13646         * math/auto-libm-test-out: Regenerated.
13647         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
13648         * sysdeps/i386/fpu/libm-test-ulps: Update.
13649         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13651 2014-02-18  Andreas Schwab  <schwab@suse.de>
13653         [BZ #16574]
13654         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
13655         Store non-zero if the second buffer was newly allocated.
13656         (send_dg): Likewise.
13657         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
13658         to send_vc and send_dg.
13659         (res_nsend): Pass NULL for ansp2_malloced.
13660         * resolv/res_query.c (__libc_res_nquery): Add parameter
13661         answerp2_malloced and pass it down to __libc_res_nsend.
13662         (res_nquery): Pass additional NULL to __libc_res_nquery.
13663         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
13664         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
13665         second answer buffer if answerp2_malloced was set.
13666         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
13667         (__libc_res_nquerydomain): Add parameter
13668         answerp2_malloced and pass it down to __libc_res_nquery.
13669         (res_nquerydomain): Pass additional NULL to
13670         __libc_res_nquerydomain.
13671         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
13672         additional NULL to __libc_res_nsend and __libc_res_nquery.
13673         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
13674         additional NULL to __libc_res_nsearch.
13675         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
13676         parameter of __libc_res_nsearch to check for separately allocated
13677         second buffer.
13678         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
13679         __libc_res_nquery.
13680         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
13681         additional NULL to __libc_res_nquery.
13682         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
13683         __libc_res_nsearch.
13684         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
13685         * include/resolv.h: Update prototypes of __libc_res_nquery,
13686         __libc_res_nsearch, __libc_res_nsend.
13688 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
13690         * math/auto-libm-test-in: Add tests of fma.
13691         * math/auto-libm-test-out: Regenerated.
13692         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
13693         (fma_towardzero_test_data): Likewise.
13694         (fma_downward_test_data): Likewise.
13695         (fma_upward_test_data): Likewise.
13696         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
13697         mpc_mode.
13698         (rounding_modes): Add values for new field.
13699         (func_calc_method): Add value mpfr_fff_f.
13700         (func_calc_desc): Add mpfr_fff_f union field.
13701         (test_function): Add field exact_args.
13702         (FUNC): Add macro argument EXACT_ARGS.
13703         (FUNC_mpfr_f_f): Update call to FUNC.
13704         (FUNC_mpfr_f_f): Likewise.
13705         (FUNC_mpfr_ff_f): Likewise.
13706         (FUNC_mpfr_if_f): Likewise.
13707         (FUNC_mpc_c_f): Likewise.
13708         (FUNC_mpc_c_c): Likewise.
13709         (test_functions): Add fma.  Update calls to FUNC.
13710         (handle_input_arg): Add argument exact_args.
13711         (add_test): Update call to handle_input_arg.
13712         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
13713         (output_for_one_input_case): Update call to calc_generic_results.
13714         Recalculate exact zero results in each rounding mode.
13716         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
13717         non-negative before setting low bit.
13718         * math/auto-libm-test-in: Mark one asin test possibly having
13719         spurious underflow.
13720         * math/auto-libm-test-out: Regenerated.
13721         * sysdeps/i386/fpu/libm-test-ulps: Update.
13722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13724 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
13726         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
13727         * sysdeps/unix/sysv/linux/microblaze: Move directory from
13728         ports/sysdeps/unix/sysv/linux/microblaze.
13729         * README: Add missing listing for microblaze*-*-linux-gnu.
13731 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
13733         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
13734         duplicate code
13736 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
13738         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
13739         * sysdeps/unix/sysv/linux/ia64: Move directory from
13740         ports/sysdeps/unix/sysv/linux/ia64.
13741         * README: Update listing for ia64-*-linux-gnu.
13743 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
13744             Joseph Myers  <joseph@codesourcery.com>
13746         * Makeconfig (test-name): New variable.
13747         (evaluate-test): Likewise.
13748         * Makerules (do-test-clean): Remove .test-result files.
13749         (common-mostlyclean): Likewise.
13750         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
13751         * scripts/evaluate-test.sh: New file.
13753 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
13755         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
13756         separate $(objpfx)tst-fopenloc-cmp.out and
13757         $(objpfx)tst-fopenloc-mem.out targets.
13758         (tests): Update dependencies.
13759         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
13760         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
13761         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
13762         (tst-rxspencer-no-utf8-ARGS): New variable.
13763         (tst-rxspencer-no-utf8-ENV): Likewise.
13764         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
13765         instead of $(objpfx)tst-rxspencer-mem.
13766         ($(objpfx)tst-rxspencer-mem): Change target to
13767         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
13768         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
13769         * posix/tst-rxspencer-no-utf8.c: New file.
13771         * elf/Makefile ($(objpfx)order.out): Remove rule.
13772         [$(run-built-tests) = yes] (tests): Depend on
13773         $(objpfx)order-cmp.out.
13774         ($(objpfx)order-cmp.out): New rule.
13775         [$(run-built-tests) = yes] (tests): Depend on
13776         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
13777         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
13778         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
13779         $(objpfx)tst-array5-static-cmp.out.
13780         ($(objpfx)tst-array1.out): Remove rule.
13781         ($(objpfx)tst-array1-cmp.out): New rule.
13782         ($(objpfx)tst-array1-static.out): Remove rule.
13783         ($(objpfx)tst-array1-static-cmp.out): New rule.
13784         ($(objpfx)tst-array2.out): Remove rule.
13785         ($(objpfx)tst-array2-cmp.out): New rule.
13786         ($(objpfx)tst-array3.out): Remove rule.
13787         ($(objpfx)tst-array3-cmp.out): New rule.
13788         ($(objpfx)tst-array4.out): Remove rule.
13789         ($(objpfx)tst-array4-cmp.out): New rule.
13790         ($(objpfx)tst-array5.out): Remove rule.
13791         ($(objpfx)tst-array5-cmp.out): New rule.
13792         ($(objpfx)tst-array5-static.out): Remove rule.
13793         ($(objpfx)tst-array5-static-cmp.out): New rule.
13794         [$(run-built-tests) = yes] (tests): Depend on
13795         $(objpfx)order2-cmp.out.
13796         ($(objpfx)order2.out): Remove rule.
13797         ($(objpfx)order2-cmp.out): New rule.
13798         ($(objpfx)tst-initorder.out): Remove rule.
13799         [$(run-built-tests) = yes] (tests): Depend on
13800         $(objpfx)tst-initorder-cmp.out.
13801         ($(objpfx)tst-initorder-cmp.out): New rule.
13802         ($(objpfx)tst-initorder2.out): Remove rule.
13803         [$(run-built-tests) = yes] (tests): Depend on
13804         $(objpfx)tst-initorder2-cmp.out.
13805         ($(objpfx)tst-initorder2-cmp.out): New rule.
13806         [$(run-built-tests) = yes] (tests): Depend on
13807         $(objpfx)tst-unused-dep-cmp.out.
13808         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
13809         ($(objpfx)tst-unused-dep-cmp.out): New rule.
13810         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
13811         on $(objpfx)tst-setvbuf1-cmp.out.
13812         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
13813         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
13814         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
13815         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
13816         ($(objpfx)tst-svc.out): Remove rule.
13817         ($(objpfx)tst-svc-cmp.out): New rule.
13819 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
13821         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
13822         * ctype/ctype.h [__USE_MISC]: Likewise.
13823         * dirent/dirent.h [__USE_MISC]: Likewise.
13824         * grp/grp.h [__USE_MISC]: Likewise.
13825         * io/fcntl.h [__USE_MISC]: Likewise.
13826         * io/sys/stat.h [__USE_MISC]: Likewise.
13827         * libio/stdio.h [__USE_MISC]: Likewise.
13828         * posix/unistd.h [__USE_MISC]: Likewise.
13829         * pwd/pwd.h [__USE_MISC]: Likewise.
13830         * stdlib.h [__USE_MISC]: Likewise.
13831         * string/bits/string2.h [__USE_MISC]: Likewise.
13832         * string/string.h [__USE_MISC]: Likewise.
13833         * time/time.h [__USE_MISC]: Likewise.
13835 2014-02-13  Andreas Schwab  <schwab@suse.de>
13837         [BZ #16574]
13838         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
13839         second answer buffer if it was separately allocated.
13841 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
13843         * sysdeps/mips/math-tests.h: Include <features.h>.
13844         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13845         (ROUNDING_TESTS_long_double): Do not define.
13846         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
13847         (EXCEPTION_TESTS_long_double): Likewise.
13848         * sysdeps/mips/mips64/libm-test-ulps: Update.
13850         * include/features.h (__USE_BSD): Remove macro definitions.
13851         (__USE_SVID): Likewise.
13852         (_BSD_SOURCE): Likewise.
13853         (_SVID_SOURCE): Likewise.
13854         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
13855         from definition of _DEFAULT_SOURCE.
13856         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
13857         [_DEFAULT_SOURCE].
13858         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
13859         * bits/mman.h [__USE_BSD]: Likewise.
13860         * bits/termios.h [__USE_BSD]: Likewise.
13861         * bits/waitstatus.h [__USE_BSD]: Likewise.
13862         * ctype/ctype.h [__USE_SVID]: Likewise.
13863         * dirent/dirent.h [__USE_BSD]: Likewise.
13864         * grp/grp.h [__USE_SVID]: Likewise.
13865         [__USE_BSD]: Likewise.
13866         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
13867         * io/fcntl.h [__USE_BSD]: Likewise.
13868         * io/ftw.h [__USE_BSD]: Likewise.
13869         * io/sys/stat.h [__USE_BSD]: Likewise.
13870         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
13871         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
13872         * libio/stdio.h [__USE_SVID]: Likewise.
13873         [__USE_BSD]: Likewise.
13874         * math/math.h [__USE_SVID]: Likewise.
13875         [__USE_BSD]: Likewise.
13876         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
13877         * misc/bits/syslog.h [__USE_BSD]: Likewise.
13878         * misc/search.h [__USE_SVID]: Likewise.
13879         * misc/sys/mman.h [__USE_BSD]: Likewise.
13880         * misc/sys/syslog.h [__USE_BSD]: Likewise.
13881         * misc/sys/uio.h [__USE_BSD]: Likewise.
13882         * posix/bits/unistd.h [__USE_BSD]: Likewise.
13883         * posix/glob.h [__USE_BSD]: Likewise.
13884         * posix/regex.h [__USE_BSD]: Likewise.
13885         * posix/sys/types.h [__USE_BSD]: Likewise.
13886         [__USE_SVID]: Likewise.
13887         * posix/sys/utsname.h [__USE_SVID]: Likewise.
13888         * posix/sys/wait.h [__USE_BSD]: Likewise.
13889         [__USE_SVID]: Likewise.
13890         * posix/unistd.h [__USE_BSD]: Likewise.
13891         [__USE_SVID]: Likewise.
13892         * pwd/pwd.h [__USE_SVID]: Likewise.
13893         * resolv/netdb.h [__USE_BSD]: Likewise.
13894         * setjmp/setjmp.h [__USE_BSD]: Likewise.
13895         * signal/signal.h [__USE_BSD]: Likewise.
13896         [__USE_SVID]: Likewise.
13897         * socket/sys/socket.h [__USE_BSD]: Likewise.
13898         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
13899         * stdlib/stdlib.h [__USE_BSD]: Likewise.
13900         [__USE_SVID]: Likewise.
13901         * string/bits/string2.h [__USE_BSD]: Likewise.
13902         [__USE_SVID]: Likewise.
13903         * string/bits/string3.h [__USE_BSD]: Likewise.
13904         * string/endian.h [__USE_BSD]: Likewise.
13905         * string/string.h [__USE_SVID]: Likewise.
13906         [__USE_BSD]: Likewise.
13907         * string/strings.h [__USE_BSD]: Likewise.
13908         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
13909         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
13910         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
13911         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
13912         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
13913         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
13914         Likewise.
13915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
13916         Likewise.
13917         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
13918         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
13919         Likewise.
13920         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
13921         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
13922         Likewise.
13923         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
13924         Likewise.
13925         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
13926         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
13927         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
13928         Likewise.
13929         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
13930         Likewise.
13931         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
13932         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
13933         * termios/termios.h [__USE_BSD]: Likewise.
13934         * time/sys/time.h [__USE_BSD]: Likewise.
13935         * time/time.h [__USE_BSD]: Likewise.
13936         [__USE_SVID]: Likewise.
13938         * Makefile (subdir_targets): Remove subdir_lint.out.
13940         * stdio-common/Makefile (do-tst-unbputc): Remove target.
13941         (do-tst-printf): Likewise.
13942         (tests): Depend directly on $(objpfx)tst-unbputc.out and
13943         $(objpfx)tst-printf.out.
13945         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
13947         * Makerules (check-abi-%): Change target to
13948         $(objpfx)check-abi-%.out.
13949         (check-abi target): Update dependencies.
13950         (check-abi-pattern variable): Redirect output of diff to $@.
13951         (check-abi variable): Likewise.
13952         * elf/Makefile (check-abi): Update dependencies.
13954         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
13955         unused.
13956         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
13957         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
13958         subnormal range.
13959         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
13960         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
13961         value has largest subnormal exponent.
13962         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
13963         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
13964         * sysdeps/aarch64/soft-fp/sfp-machine.h
13965         (_FP_TININESS_AFTER_ROUNDING): New macro.
13966         * sysdeps/alpha/soft-fp/sfp-machine.h
13967         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13968         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13969         Likewise.
13970         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
13971         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13972         * sysdeps/mips/soft-fp/sfp-machine.h
13973         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13974         * sysdeps/powerpc/soft-fp/sfp-machine.h
13975         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13976         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13977         Likewise.
13978         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
13979         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13980         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
13981         (_FP_TININESS_AFTER_ROUNDING): Likewise.
13982         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
13983         Likewise.
13985 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
13987         [BZ #16545]
13988         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
13989         model 1.
13991 2014-02-12  Richard Henderson  <rth@redhat.com>
13993         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
13994         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
13995         * sysdeps/unix/sysv/linux/alpha: Move directory from
13996         ports/sysdeps/unix/sysv/linux/alpha.
13997         * README: Update listing for alpha-*-linux-gnu.
13999 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
14001         * include/features.h: Update comment documenting feature test
14002         macros.
14003         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
14004         _DEFAULT_SOURCE.
14005         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
14006         (_SVID_SOURCE): Likewise.
14007         (_DEFAULT_SOURCE): Update description of default features.
14008         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
14009         with _GNU_SOURCE.
14010         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
14011         (S_ISVTX): Likewise.
14012         * manual/math.texi (Mathematical Constants): Likewise.
14013         * manual/signal.texi (Interrupted Primitives): Likewise.
14014         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
14015         * math/test-matherr.c (_SVID_SOURCE): Do not define.
14016         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
14017         Don't refer to _SVID_SOURCE in warning text.
14019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14021         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
14022         already defined.
14023         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
14024         * sysdeps/mips/dl-lookup.c: Remove.
14025         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
14027 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14029         [BZ #16447]
14030         * math/auto-libm-test-in: Add testcase for expl.
14031         * math/auto-libm-test-out: Regenerate.
14032         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
14033         calculation of unsafe.
14034         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
14036 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14038         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
14039         * sysdeps/unix/sysv/linux/aarch64: Move directory from
14040         ports/sysdeps/unix/sysv/linux/aarch64.
14041         * README: Update listing for aarch64*-*-linux-gnu.
14043 2014-02-11  Will Newton  <will.newton@linaro.org>
14045         * manual/probes.texi (Mathematical Function Probes): Use
14046         "triggered" instead of "hit".
14048         * manual/probes.texi (Internal Probes): Add documentation
14049         of setjmp, longjmp and longjmp_target probes.
14051         * include/stap-probe.h: Add comment about probe argument
14052         format.
14054         * malloc/mtrace.c (attribute_hidden): Remove unused macro
14055         definition.  (tr_where, tr_freehook, tr_mallochook,
14056         tr_reallochook, tr_memalignhook): Use ANSI protoype.
14058 2014-02-11  David S. Miller  <davem@davemloft.net>
14060         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
14061         processing int_tests.
14063 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
14065         * sysdeps/mips: Move directory from ports/sysdeps/mips.
14066         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
14067         * sysdeps/unix/sysv/linux/mips: Move directory from
14068         ports/sysdeps/unix/sysv/linux/mips.
14069         * README: Update listing for mips-*-linux-gnu and
14070         mips64-*-linux-gnu.
14072 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
14074         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
14075         * sysdeps/unix/sysv/linux/m68k: Move directory from
14076         ports/sysdeps/unix/sysv/linux/m68k.
14077         * README: Update listing for m68k-*-linux-gnu.
14079 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
14081         * sysdeps/tile: Move directory from ports/sysdeps/tile.
14082         * sysdeps/unix/sysv/linux/generic: Move directory from
14083         ports/sysdeps/unix/sysv/linux/generic.
14084         * sysdeps/unix/sysv/linux/tile: Move directory from
14085         ports/sysdeps/unix/sysv/linux/tile.
14086         * README: Update listing for tile*-*-linux-gnu.
14088 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
14090         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
14091         __builtin_expect.
14092         * benchtests/bench-memmem.c (simple_memmem): Likewise.
14093         * catgets/open_catalog.c (__open_catalog): Likewise.
14094         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
14095         * debug/confstr_chk.c: Likewise.
14096         * debug/fread_chk.c (__fread_chk): Likewise.
14097         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
14098         * debug/getgroups_chk.c: Likewise.
14099         * debug/mbsnrtowcs_chk.c: Likewise.
14100         * debug/mbsrtowcs_chk.c: Likewise.
14101         * debug/mbstowcs_chk.c: Likewise.
14102         * debug/memcpy_chk.c: Likewise.
14103         * debug/memmove_chk.c: Likewise.
14104         * debug/mempcpy_chk.c: Likewise.
14105         * debug/memset_chk.c: Likewise.
14106         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
14107         * debug/strcat_chk.c (__strcat_chk): Likewise.
14108         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
14109         * debug/strncat_chk.c (__strncat_chk): Likewise.
14110         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
14111         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
14112         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
14113         * debug/wcpncpy_chk.c: Likewise.
14114         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
14115         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
14116         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
14117         * debug/wcsncpy_chk.c: Likewise.
14118         * debug/wcsnrtombs_chk.c: Likewise.
14119         * debug/wcsrtombs_chk.c: Likewise.
14120         * debug/wcstombs_chk.c: Likewise.
14121         * debug/wmemcpy_chk.c: Likewise.
14122         * debug/wmemmove_chk.c: Likewise.
14123         * debug/wmempcpy_chk.c: Likewise.
14124         * debug/wmemset_chk.c: Likewise.
14125         * dirent/scandirat.c (SCANDIRAT): Likewise.
14126         * dlfcn/dladdr1.c (dladdr1): Likewise.
14127         * dlfcn/dladdr.c (dladdr): Likewise.
14128         * dlfcn/dlclose.c (dlclose_doit): Likewise.
14129         * dlfcn/dlerror.c (__dlerror): Likewise.
14130         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
14131         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
14132         * dlfcn/dlopen.c (dlopen_doit): Likewise.
14133         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
14134         * dlfcn/dlsym.c (dlsym_doit): Likewise.
14135         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
14136         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
14137         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
14138         Likewise.
14139         * elf/dl-conflict.c: Likewise.
14140         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
14141         * elf/dl-dst.h: Likewise.
14142         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
14143         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
14144         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
14145         * elf/dl-init.c (call_init, _dl_init): Likewise.
14146         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
14147         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
14148         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
14149         Likewise.
14150         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
14151         Likewise.
14152         * elf/dl-minimal.c (__libc_memalign): Likewise.
14153         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
14154         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14155         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
14156         * elf/dl-sym.c (do_sym): Likewise.
14157         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
14158         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
14159         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
14160         * elf/dl-writev.h (_dl_writev): Likewise.
14161         * elf/ldconfig.c (search_dir): Likewise.
14162         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
14163         (dl_main): Likewise.
14164         * elf/setup-vdso.h (setup_vdso): Likewise.
14165         * grp/compat-initgroups.c (compat_call): Likewise.
14166         * grp/fgetgrent.c (fgetgrent): Likewise.
14167         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
14168         * grp/putgrent.c (putgrent): Likewise.
14169         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
14170         Likewise.
14171         * hurd/hurdinit.c: Likewise.
14172         * iconvdata/8bit-gap.c (struct): Likewise.
14173         * iconvdata/ansi_x3.110.c : Likewise.
14174         * iconvdata/big5.c : Likewise.
14175         * iconvdata/big5hkscs.c : Likewise.
14176         * iconvdata/cp1255.c: Likewise.
14177         * iconvdata/cp1258.c : Likewise.
14178         * iconvdata/cp932.c : Likewise.
14179         * iconvdata/euc-cn.c: Likewise.
14180         * iconvdata/euc-jisx0213.c : Likewise.
14181         * iconvdata/euc-jp.c: Likewise.
14182         * iconvdata/euc-jp-ms.c : Likewise.
14183         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
14184         * iconvdata/gb18030.c : Likewise.
14185         * iconvdata/gbbig5.c (const): Likewise.
14186         * iconvdata/gbgbk.c: Likewise.
14187         * iconvdata/gbk.c : Likewise.
14188         * iconvdata/ibm1364.c : Likewise.
14189         * iconvdata/ibm930.c : Likewise.
14190         * iconvdata/ibm932.c: Likewise.
14191         * iconvdata/ibm933.c : Likewise.
14192         * iconvdata/ibm935.c : Likewise.
14193         * iconvdata/ibm937.c : Likewise.
14194         * iconvdata/ibm939.c : Likewise.
14195         * iconvdata/ibm943.c: Likewise.
14196         * iconvdata/iso_11548-1.c: Likewise.
14197         * iconvdata/iso-2022-cn.c : Likewise.
14198         * iconvdata/iso-2022-cn-ext.c : Likewise.
14199         * iconvdata/iso-2022-jp-3.c: Likewise.
14200         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
14201         * iconvdata/iso-2022-kr.c : Likewise.
14202         * iconvdata/iso646.c (gconv_end): Likewise.
14203         * iconvdata/iso_6937-2.c : Likewise.
14204         * iconvdata/iso_6937.c : Likewise.
14205         * iconvdata/iso8859-1.c: Likewise.
14206         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
14207         * iconvdata/shift_jisx0213.c : Likewise.
14208         * iconvdata/sjis.c : Likewise.
14209         * iconvdata/t.61.c : Likewise.
14210         * iconvdata/tcvn5712-1.c : Likewise.
14211         * iconvdata/tscii.c: Likewise.
14212         * iconvdata/uhc.c : Likewise.
14213         * iconvdata/unicode.c (gconv_end): Likewise.
14214         * iconvdata/utf-16.c (gconv_end): Likewise.
14215         * iconvdata/utf-32.c (gconv_end): Likewise.
14216         * iconvdata/utf-7.c (base64): Likewise.
14217         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
14218         * iconv/gconv_close.c (__gconv_close): Likewise.
14219         * iconv/gconv_open.c (__gconv_open): Likewise.
14220         * iconv/gconv_simple.c (internal_ucs4_loop_single)
14221         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
14222         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
14223         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
14224         (ucs4le_internal_loop_single): Likewise.
14225         * iconv/iconv.c (iconv): Likewise.
14226         * iconv/iconv_close.c: Likewise.
14227         * iconv/loop.c (SINGLE): Likewise.
14228         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
14229         * include/atomic.h: Likewise.
14230         * inet/inet6_option.c (option_alloc): Likewise.
14231         * intl/bindtextdom.c (set_binding_values): Likewise.
14232         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
14233         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
14234         * intl/localealias.c (read_alias_file): Likewise.
14235         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
14236         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
14237         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
14238         * libio/fmemopen.c (fmemopen): Likewise.
14239         * libio/iofgets.c (_IO_fgets): Likewise.
14240         * libio/iofgets_u.c (fgets_unlocked): Likewise.
14241         * libio/iofgetws.c (fgetws): Likewise.
14242         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
14243         * libio/iogetdelim.c (_IO_getdelim): Likewise.
14244         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
14245         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
14246         * locale/findlocale.c (_nl_find_locale): Likewise.
14247         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
14248         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
14249         Likewise.
14250         * locale/setlocale.c (setlocale): Likewise.
14251         * login/programs/pt_chown.c (main): Likewise.
14252         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
14253         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
14254         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
14255         (mmap, mmap64, mremap, munmap): Likewise.
14256         * math/e_exp2l.c: Likewise.
14257         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
14258         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
14259         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
14260         * math/s_catan.c (__catan): Likewise.
14261         * math/s_catanf.c (__catanf): Likewise.
14262         * math/s_catanh.c (__catanh): Likewise.
14263         * math/s_catanhf.c (__catanhf): Likewise.
14264         * math/s_catanhl.c (__catanhl): Likewise.
14265         * math/s_catanl.c (__catanl): Likewise.
14266         * math/s_ccosh.c (__ccosh): Likewise.
14267         * math/s_ccoshf.c (__ccoshf): Likewise.
14268         * math/s_ccoshl.c (__ccoshl): Likewise.
14269         * math/s_cexp.c (__cexp): Likewise.
14270         * math/s_cexpf.c (__cexpf): Likewise.
14271         * math/s_cexpl.c (__cexpl): Likewise.
14272         * math/s_clog10.c (__clog10): Likewise.
14273         * math/s_clog10f.c (__clog10f): Likewise.
14274         * math/s_clog10l.c (__clog10l): Likewise.
14275         * math/s_clog.c (__clog): Likewise.
14276         * math/s_clogf.c (__clogf): Likewise.
14277         * math/s_clogl.c (__clogl): Likewise.
14278         * math/s_csin.c (__csin): Likewise.
14279         * math/s_csinf.c (__csinf): Likewise.
14280         * math/s_csinh.c (__csinh): Likewise.
14281         * math/s_csinhf.c (__csinhf): Likewise.
14282         * math/s_csinhl.c (__csinhl): Likewise.
14283         * math/s_csinl.c (__csinl): Likewise.
14284         * math/s_csqrt.c (__csqrt): Likewise.
14285         * math/s_csqrtf.c (__csqrtf): Likewise.
14286         * math/s_csqrtl.c (__csqrtl): Likewise.
14287         * math/s_ctan.c (__ctan): Likewise.
14288         * math/s_ctanf.c (__ctanf): Likewise.
14289         * math/s_ctanh.c (__ctanh): Likewise.
14290         * math/s_ctanhf.c (__ctanhf): Likewise.
14291         * math/s_ctanhl.c (__ctanhl): Likewise.
14292         * math/s_ctanl.c (__ctanl): Likewise.
14293         * math/w_pow.c: Likewise.
14294         * math/w_powf.c: Likewise.
14295         * math/w_powl.c: Likewise.
14296         * math/w_scalb.c (sysv_scalb): Likewise.
14297         * math/w_scalbf.c (sysv_scalbf): Likewise.
14298         * math/w_scalbl.c (sysv_scalbl): Likewise.
14299         * misc/error.c (error_tail): Likewise.
14300         * misc/pselect.c (__pselect): Likewise.
14301         * nis/nis_callback.c (__nis_create_callback): Likewise.
14302         * nis/nis_call.c (__nisfind_server): Likewise.
14303         * nis/nis_creategroup.c (nis_creategroup): Likewise.
14304         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
14305         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
14306         * nis/nis_getservlist.c (nis_getservlist): Likewise.
14307         * nis/nis_lookup.c (nis_lookup): Likewise.
14308         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
14309         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
14310         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
14311         * nis/nis_xdr.c (xdr_endpoint): Likewise.
14312         * nis/nss_compat/compat-grp.c (getgrent_next_file)
14313         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
14314         * nis/nss_compat/compat-initgroups.c (add_group)
14315         (internal_getgrent_r): Likewise.
14316         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
14317         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
14318         * nis/nss_compat/compat-spwd.c (getspent_next_file)
14319         (internal_getspnam_r): Likewise.
14320         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
14321         (_nss_nis_getaliasbyname_r): Likewise.
14322         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
14323         (_nss_nis_getntohost_r): Likewise.
14324         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
14325         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
14326         (_nss_nis_getgrgid_r): Likewise.
14327         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
14328         (internal_nis_gethostent_r, internal_gethostbyname2_r)
14329         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
14330         (_nss_nis_gethostbyname4_r): Likewise.
14331         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
14332         (initgroups_netid): Likewise.
14333         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
14334         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
14335         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
14336         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
14337         (_nss_nis_getprotobynumber_r): Likewise.
14338         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
14339         (_nss_nis_getsecretkey): Likewise.
14340         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
14341         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
14342         (_nss_nis_getpwuid_r): Likewise.
14343         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
14344         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
14345         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
14346         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
14347         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
14348         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
14349         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
14350         Likewise.
14351         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
14352         (_nss_nisplus_getntohost_r): Likewise.
14353         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
14354         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
14355         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
14356         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
14357         Likewise.
14358         * nis/nss_nisplus/nisplus-initgroups.c
14359         (_nss_nisplus_initgroups_dyn): Likewise.
14360         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
14361         (_nss_nisplus_getnetbyaddr_r): Likewise.
14362         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
14363         (_nss_nisplus_getprotobynumber_r): Likewise.
14364         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
14365         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
14366         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
14367         Likewise.
14368         * nis/nss_nisplus/nisplus-service.c
14369         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
14370         (_nss_nisplus_getservbyport_r): Likewise.
14371         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
14372         (_nss_nisplus_getspnam_r): Likewise.
14373         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
14374         Likewise.
14375         * nscd/aicache.c (addhstaiX): Likewise.
14376         * nscd/cache.c (cache_search, prune_cache): Likewise.
14377         * nscd/connections.c (register_traced_file, send_ro_fd)
14378         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
14379         (main_loop_epoll): Likewise.
14380         * nscd/grpcache.c (addgrbyX): Likewise.
14381         * nscd/hstcache.c (addhstbyX): Likewise.
14382         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14383         * nscd/mem.c (gc, mempool_alloc): Likewise.
14384         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
14385         (addinnetgrX): Likewise.
14386         * nscd/nscd-client.h (__nscd_acquire_maplock)
14387         (__nscd_drop_map_ref): Likewise.
14388         * nscd/nscd_getai.c (__nscd_getai): Likewise.
14389         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
14390         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
14391         Likewise.
14392         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
14393         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
14394         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
14395         (__nscd_get_map_ref): Likewise.
14396         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
14397         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
14398         Likewise.
14399         * nscd/pwdcache.c (addpwbyX): Likewise.
14400         * nscd/selinux.c (preserve_capabilities): Likewise.
14401         * nscd/servicescache.c (addservbyX): Likewise.
14402         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
14403         * posix/fnmatch.c (fnmatch): Likewise.
14404         * posix/getopt.c (_getopt_internal_r): Likewise.
14405         * posix/glob.c (glob, glob_in_dir): Likewise.
14406         * posix/wordexp.c (exec_comm_child): Likewise.
14407         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
14408         (getanswer_r, gaih_getanswer_slice): Likewise.
14409         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
14410         * resolv/res_init.c: Likewise.
14411         * resolv/res_mkquery.c (res_nmkquery): Likewise.
14412         * resolv/res_query.c (__libc_res_nquery): Likewise.
14413         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
14414         Likewise.
14415         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
14416         * stdio-common/perror.c (perror): Likewise.
14417         * stdio-common/printf_fp.c (___printf_fp): Likewise.
14418         * stdio-common/tmpnam.c (tmpnam): Likewise.
14419         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
14420         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
14421         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
14422         Likewise.
14423         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
14424         * stdlib/putenv.c (putenv): Likewise.
14425         * stdlib/setenv.c (__add_to_environ): Likewise.
14426         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
14427         * stdlib/strtol_l.c (INTERNAL): Likewise.
14428         * string/memmem.c (memmem): Likewise.
14429         * string/strerror.c (strerror): Likewise.
14430         * string/strnlen.c (__strnlen): Likewise.
14431         * string/test-memmem.c (simple_memmem): Likewise.
14432         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
14433         * sunrpc/pm_getport.c (__get_socket): Likewise.
14434         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
14435         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
14436         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
14437         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
14438         Likewise.
14439         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
14440         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14441         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
14442         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
14443         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
14444         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
14445         Likewise.
14446         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
14447         Likewise.
14448         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
14449         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
14450         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
14451         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14452         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
14453         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
14454         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14455         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
14456         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
14457         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
14458         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
14459         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
14460         Likewise.
14461         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
14462         Likewise.
14463         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
14464         Likewise.
14465         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
14466         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
14467         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
14468         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
14469         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
14470         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
14471         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
14472         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
14473         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
14474         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
14475         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
14476         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
14477         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
14478         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
14479         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14480         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14481         Likewise.
14482         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
14483         Likewise.
14484         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
14485         Likewise.
14486         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
14487         Likewise.
14488         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14489         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14490         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
14491         Likewise.
14492         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
14493         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
14494         * sysdeps/posix/opendir.c (__opendirat): Likewise.
14495         * sysdeps/posix/sleep.c: Likewise.
14496         * sysdeps/posix/tempname.c: Likewise.
14497         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
14498         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
14499         Likewise.
14500         * sysdeps/powerpc/powerpc32/dl-machine.h
14501         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
14502         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
14503         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
14504         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
14505         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
14506         Likewise.
14507         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
14508         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
14509         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14510         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
14511         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
14512         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
14513         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
14514         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
14515         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14516         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
14517         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
14518         (elf_machine_lazy_rel): Likewise.
14519         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
14520         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
14521         (elf_machine_lazy_rel): Likewise.
14522         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
14523         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
14524         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
14525         * sysdeps/unix/grantpt.c (grantpt): Likewise.
14526         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
14527         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
14528         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
14529         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
14530         Likewise.
14531         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14532         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14533         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
14534         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
14535         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14536         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14537         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
14538         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
14539         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
14540         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
14541         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
14542         Likewise.
14543         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
14544         (__posix_fallocate64_l64): Likewise.
14545         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
14546         (posix_fallocate): Likewise.
14547         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
14548         Likewise.
14549         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
14550         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
14551         (getifaddrs_internal): Likewise.
14552         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
14553         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
14554         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14555         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
14556         * sysdeps/unix/sysv/linux/posix_fallocate64.c
14557         (__posix_fallocate64_l64): Likewise.
14558         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
14559         Likewise.
14560         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
14561         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
14562         (__get_clockfreq): Likewise.
14563         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
14564         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
14565         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
14566         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14567         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14568         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
14569         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
14570         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
14571         Likewise.
14572         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
14573         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
14574         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
14575         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
14576         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
14577         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
14578         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
14581         (posix_fallocate): Likewise.
14582         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14583         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14584         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
14585         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
14586         (elf_machine_rela, elf_machine_rela_relative)
14587         (elf_machine_lazy_rel): Likewise.
14588         * time/asctime.c (asctime_internal): Likewise.
14589         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
14590         * time/tzset.c (__tzset_parse_tz): Likewise.
14591         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
14592         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
14593         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
14594         * wcsmbs/wcsmbsload.h: Likewise.
14596         [BZ #15894]
14597         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
14599         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
14600         (arena_get2): Remove THREAD_STATS conditionals.
14601         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
14602         (__malloc_stats, int): Likewise.
14604 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
14606         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
14607         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
14609         * manual/setjmp.texi: Fix typos/grammar errors.
14611         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
14612         Only return early when n is <= 0.  Delete unused return statement.
14614         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
14615         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
14616         * debug/tst-longjmp_chk3.c: New file.
14618         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
14619         (test_main): Replace code with set_fortify_handler call.
14620         * debug/test-strcpy_chk.c: Likewise.
14621         * debug/tst-chk1.c: Likewise.
14622         * debug/tst-longjmp_chk.c: Likewise.
14623         * test-skeleton.c: Include fcntl.h & paths.h
14624         (set_fortify_handler): Define.
14626         * debug/tst-longjmp_chk.c: Add header comment and include
14627         ../test-skeleton.c.
14628         (do_test): Mark static.
14629         (TEST_FUNCTION): Define.
14631         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
14632         (IP_PMTUDISC_INTERFACE): Likewise.
14633         (IP_MULTICAST_IF): Likewise.
14634         (IP_MULTICAST_TTL): Likewise.
14635         (IP_MULTICAST_LOOP): Likewise.
14636         (IP_ADD_MEMBERSHIP): Likewise.
14637         (IP_DROP_MEMBERSHIP): Likewise.
14638         (IP_UNBLOCK_SOURCE): Likewise.
14639         (IP_BLOCK_SOURCE): Likewise.
14640         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
14641         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
14642         (IP_MSFILTER): Likewise.
14643         (MCAST_JOIN_GROUP): Likewise.
14644         (MCAST_BLOCK_SOURCE): Likewise.
14645         (MCAST_UNBLOCK_SOURCE): Likewise.
14646         (MCAST_LEAVE_GROUP): Likewise.
14647         (MCAST_JOIN_SOURCE_GROUP): Likewise.
14648         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
14649         (MCAST_MSFILTER): Likewise.
14650         (IP_MULTICAST_ALL): Likewise.
14651         (IP_UNICAST_IF): Likewise.
14653         * timezone/Makefile: Delete $(have-ksh) check.
14654         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
14655         * timezone/tzselect.ksh: Add +x mode bits.
14657         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
14658         (ANON_INODE_FS_MAGIC): Likewise.
14659         (BDEVFS_MAGIC): Likewise.
14660         (BINFMTFS_MAGIC): Likewise.
14661         (BTRFS_TEST_MAGIC): Likewise.
14662         (CRAMFS_MAGIC_WEND): Likewise.
14663         (DEBUGFS_MAGIC): Likewise.
14664         (ECRYPTFS_SUPER_MAGIC): Likewise.
14665         (EXT3_SUPER_MAGIC): Likewise.
14666         (EXT4_SUPER_MAGIC): Likewise.
14667         (FUTEXFS_SUPER_MAGIC): Likewise.
14668         (HOSTFS_SUPER_MAGIC): Likewise.
14669         (HUGETLBFS_MAGIC): Likewise.
14670         (MINIX3_SUPER_MAGIC): Likewise.
14671         (MTD_INODE_FS_MAGIC): Likewise.
14672         (NILFS_SUPER_MAGIC): Likewise.
14673         (OPENPROM_SUPER_MAGIC): Likewise.
14674         (PIPEFS_MAGIC): Likewise.
14675         (PSTOREFS_MAGIC): Likewise.
14676         (QNX6_SUPER_MAGIC): Likewise.
14677         (RAMFS_MAGIC): Likewise.
14678         (REISERFS_SUPER_MAGIC_STRING): Likewise.
14679         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
14680         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
14681         (SECURITYFS_MAGIC): Likewise.
14682         (SELINUX_MAGIC): Likewise.
14683         (SMACK_MAGIC): Likewise.
14684         (SOCKFS_MAGIC): Likewise.
14685         (SQUASHFS_MAGIC): Likewise.
14686         (STACK_END_MAGIC): Likewise.
14687         (TMPFS_MAGIC): Likewise.
14688         (USBDEVICE_SUPER_MAGIC): Likewise.
14689         (V9FS_MAGIC): Likewise.
14690         (XENFS_SUPER_MAGIC): Likewise.
14691         (CRAMFS_MAGIC): Fix typo in comment.
14692         (EXT2_SUPER_MAGIC): Update comment.
14693         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
14695 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
14697         * sysdeps/arm: Move directory from ports/sysdeps/arm.
14698         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
14699         * sysdeps/unix/sysv/linux/arm: Move directory from
14700         ports/sysdeps/unix/sysv/linux/arm.
14701         * README: Update listing for arm-*-linux-gnueabi.
14703         * README: Remove mention of am33.
14705 2014-02-07  Roland McGrath  <roland@hack.frob.com>
14707         * bits/sigset.h (__sigemptyset): Use a statement expression rather
14708         than the comma operator, to avoid "rhs of comma has no effect"
14709         compiler warnings.
14710         (__sigfillset, __sigandset, __sigorset): Likewise.
14711         * include/signal.h (__sigemptyset): Likewise.
14712         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
14714 2014-02-07  Allan McRae  <allan@archlinux.org>
14716         * version.h (RELEASE): Set to "development".
14717         (VERSION): Set to "2.19.90"
14718         * NEWS: Add 2.20 section.
14720 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
14722         [BZ #16529]
14723         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
14725 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
14727         * manual/contrib.texi: Update entry for Carlos O'Donell,
14728         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
14730 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
14732         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
14734         * sysdeps/unix/sysv/linux/kernel-features.h
14735         [__LINUX_KERNEL_VERSION >= 0x020621]
14736         (__ASSUME_PROC_PID_TASK_COMM): Define.
14738 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14740         [BZ #16398]
14741         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
14742         conversion when destination buffer does not have enough space.
14743         * libio/tst-ftell-partial-wide.c: New test case.
14744         * libio/Makefile (tests): Add tst-ftell-partial-wide.
14746         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
14747         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
14748         Leonard and Allan McRae.
14750 2014-02-04  David S. Miller  <davem@davemloft.net>
14752         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
14753         32-bit.
14755 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
14758         New file
14759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
14760         New file
14761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
14762         New file.
14763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
14764         New file.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
14766         New file.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
14768         New file.
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
14770         New file.
14771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
14772         New file.
14773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
14774         New file.
14775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
14776         New file.
14777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
14778         New file.
14779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
14780         New file.
14781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
14782         New file.
14784 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14786         * nptl/shlib-versions: Change powerpc*le start to 2.17.
14787         * shlib-versions: Likewise.
14789 2014-02-04  Roland McGrath  <roland@hack.frob.com>
14790             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14792         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
14793         (abilist-pattern): New variable, set to %-le.abilist.
14795         * Makerules (abilist-pattern): New variable.
14796         (vpath): Use $(abilist-pattern) in place of %.abilist.
14797         (check-abi-% pattern rule): Likewise.
14798         (check-abi, update-abi): Likewise.
14800 2014-02-04  Eric Wong  <normalperson@yhbt.net>
14802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14804 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
14806         * manual/startup.texi: Add next, previous, and top entries for
14807         the `Program Arguments' and `Environment Variables' nodes.
14809 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
14811         * manual/macros.texi: Add comments before MTASC-safety macros.
14813         * manual/users.texi: Document MTASC-safety properties.
14815         * manual/threads.texi (pthread_key_create, pthread_key_delete)
14816         (pthread_getspecific, pthread_setspecific): Format with
14817         @deftypefun, and add @safety note.
14818         * manual/signal.texi: Move comments that analyze the above
14819         functions to their home place.
14821 2014-02-03  Allan McRae  <allan@archlinux.org>
14823         * po/sl.po: Update Slovenian translation from translation project.
14825 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
14827         * manual/time.texi (timegm): Add missing blank after @c.
14828         Reported by Joseph Myers <joseph@codesourcery.com>.
14830 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
14832         * manual/check-safety.sh: New.
14833         * manual/Makefile ($(objpfx)stamp-summary): Run it.
14835         * manual/terminal.texi: Document MTASC-safety properties.
14837         * manual/filesys.texi: Document MTASC-safety properties.
14839         * manual/errno.texi: Document MTASC-safety properties.
14841         * manual/intro.texi: Document safety identifiers and
14842         conditionals.
14844         * manual/string.texi (wcstok): Fix prototype.
14845         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
14847         * manual/time.texi: Document MTASC-safety properties.
14849         * manual/string.texi: Document MTASC-safety properties.
14851         * manual/threads.texi: Document MTASC-safety properties.
14853         * manual/stdio.texi: Document MTASC-safety properties.
14855         * manual/syslog.texi: Document MTASC-safety properties.
14857         * manual/sysinfo.texi: Document MTASC-safety properties.
14859         * manual/startup.texi: Document MTASC-safety properties.
14861         * manual/socket.texi: Document MTASC-safety properties.
14863         * manual/signal.texi: Document MTASC-safety properties.
14865 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
14867         * manual/setjmp.texi: Document MTASC-safety properties.
14869         * manual/search.texi: Document MTASC-safety properties.
14871         * manual/resource.texi: Document MTASC-safety properties.
14873         * manual/process.texi: Document MTASC-safety properties.
14875         * manual/platform.texi: Document MTASC-safety properties.
14877         * manual/pipe.texi: Document MTASC-safety properties.
14879         * manual/pattern.texi: Document MTASC-safety properties.
14881         * manual/message.texi: Document MTASC-safety properties.
14883         [BZ #12751]
14884         * manual/memory.texi: Document MTASC-safety properties.
14886         * manual/math.texi: Document MTASC-safety properties.
14888         * manual/locale.texi: Document MTASC-safety properties.
14890         * manual/llio.texi: Document MTASC-safety properties.
14892         * manual/libdl.texi: New.
14894         * manual/lang.texi: Document MTASC-safety properties.
14896         * manual/job.texi: Document MTASC-safety properties.
14898         * manual/getopt.texi: Document MTASC-safety properties.
14900         * manual/ctype.texi: Document MTASC-safety properties.
14902 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
14904         [BZ #16046]
14905         * csu/libc-tls.c (static_map): Remove variable.
14906         (__libc_setup_tls): Use main executable's link map for TLS data.
14907         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
14908         casing for LM_ID_BASE and GL(dl_nns).
14909         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
14910         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
14911         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
14912         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
14913         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
14914         member.
14915         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
14916         l_phnum members.
14918 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
14920         * manual/debug.texi: Document MTASC-safety properties.
14922 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
14924         [BZ #16510]
14925         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
14926         of __x86_64__ when disabling x87 inline functions.
14928 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
14930         * manual/charset.texi: Document MTASC-safety properties.
14932         * manual/crypt.texi: Document MTASC-safety properties.
14934         * manual/conf.texi: Document MTASC-safety properties.
14936         * manual/arith.texi: Document MTASC-safety properties.
14938         * manual/argp.texi: Document MTASC-safety properties.
14940         * manual/macros.texi: Introduce macros to document multi
14941         thread, asynchronous signal and asynchronous cancellation
14942         safety properties.
14943         * manual/intro.texi: Introduce the properties themselves.
14945 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14947         * sysdeps/sh/sh4/Makefile: New file.
14949 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
14951         * math/gen-libm-test.pl ($srcdir): New variable.
14952         ($auto_input): Use it.
14954 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14956         [BZ #16506]
14957         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
14958         access beyond array bounds when parsing netgroups file.
14960         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
14961         the old buffer before realloc.
14963 2014-01-27  Allan McRae  <allan@archlinux.org>
14965         * po/fr.po: Update French translation from translation project.
14967 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14969         * sysdeps/sh/libm-test-ulps: Regenerate.
14971 2014-01-24  David S. Miller  <davem@davemloft.net>
14973         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
14975 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14977         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
14978         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
14980 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14982         [BZ #16474]
14983         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
14984         string pointers after reallocation.
14986 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14988         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
14989         __SH4A__ instead of __SH_FPU_ANY__.
14991 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
14993         * sysdeps/sh/fpu_control.h: New file.
14994         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
14995         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
14996         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
14997         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
14998         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
14999         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
15000         * sysdeps/sh/sys/ucontext.h: Remove.
15001         * sysdeps/sh/sys: Remove directory.
15003 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15005         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
15006         s390/sys/ucontext.h.
15007         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
15008         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
15010 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
15012         [BZ #15605]
15013         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
15015 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15017         [BZ#16431]
15018         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15019         Adjust the vDSO correctly for internal calls.
15020         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15022 2014-01-20  Allan McRae  <allan@archlinux.org>
15024         * po/ca.po: Update Catalan translation from translation project.
15026 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
15028         * sysdeps/s390/sotruss-lib.c: New file.
15030 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15032         [BZ#16430]
15033         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
15034         (__GI___gettimeofday): Alias for a different internal symbol to avoid
15035         local calls issues by not having a PLT stub required for IFUNC calls.
15036         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
15038 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
15040         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
15041         * math/test-fpucw-static.c: Likewise.
15043 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
15045         [BZ #16453]
15046         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
15048 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15050         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
15051         implementation for powerpc.
15053 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
15055         [BZ #14782]
15056         * sysdeps/posix/system.c (__libc_system): Do not enable
15057         asynchronous cancellation.
15059 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15061         [BZ #16427]
15062         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
15063         handling only for numbers special also in the IEEE case.
15065 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15067         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15069 2014-01-11  Allan McRae  <allan@archlinux.org>
15071         * po/bg.po: Update Bulgarian translation from translation project.
15073         * po/de.po: Update German translation from translation project.
15075 2014-01-10  Roland McGrath  <roland@hack.frob.com>
15077         * sysdeps/generic/gcc-compat.h: New file.
15079 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15081         * benchtests/asin-inputs: Correct slow inputs.
15082         * benchtests/acos-inputs: Likewise.
15084 2014-01-10  Allan McRae  <allan@archlinux.org>
15086         * po:sv.po: Update Swedish translation from translation project.
15088         * po/vi.po: Update Vietnamese translation from translation project.
15090         * po/eo.po: Update Esperanto translation from translation project.
15092         * po/cs.po: Update Czech translation from translation project.
15094         * po/nl.po: Update Dutch translation from translation project.
15096         * po/pl.po: Update Polish translation from translation project.
15098         * po/ru.po: Update Russian translation from translation project.
15100         * po/uk.po: Update Ukrainian translation from translation project.
15102 2014-01-08  Brooks Moses  <bmoses@google.com>
15104         * elf/dl-load.c: Fix comment typo.
15106 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
15108         * po/header.pot: Rename to...
15109         * po/pot.header: ... this.
15110         * po/Makefile: Use pot.header.
15112 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
15113             Maxim Kuvyrkov  <maxim@kugelworks.com>
15115         [BZ #16394]
15116         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
15117         SRC and DEST against LEN.
15119 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15121         [BZ #16414]
15122         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
15123         implementation.
15124         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
15126 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15130 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
15132         [BZ #16408]
15133         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
15134         for large positive arguments.
15136 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
15138         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15140         * math/auto-libm-test-in: Mark various tests with
15141         xfail-rounding:ldbl-128ibm.
15142         * math/auto-libm-test-out: Regenerated.
15144         [BZ #16407]
15145         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
15146         Increase overflow threshold.
15148 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
15150         [BZ #14286]
15151         * stdio-common/vfprintf.c: Check for integer overflow.
15153 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15155         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
15156         the first argument and return value of __tls_get_addr_internal.
15158 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15160         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
15161         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
15163 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15165         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
15166         * sysdeps/s390/rtld-global-offsets.sym: New file.
15167         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
15168         GLIBC_2.19 symbol.
15169         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
15170         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
15171         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
15172         ... this.
15173         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
15174         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
15175         ... this.
15176         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15177         Regenerate.
15178         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15179         Regenerate.
15180         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
15181         halfs of GPRs for high_gprs contexts.
15182         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
15183         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
15184         field.
15185         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
15186         uc_flags field.
15187         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
15188         64 bit versions:
15189         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
15190         for high GPRs (uc_high_gprs) and for future extensions
15191         (__reserved).
15192         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
15193         for future extensions (__reserved).
15194         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
15195         64 bit versions:
15196         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
15197         SC_HIGHGPRS offset definition.
15198         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
15199         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
15201         * Versions.def: Add GLIBC_2.19 for libpthread.
15202         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
15203         siglongjmp for libpthread with GLIBC_2.19 symver.
15204         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
15205         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
15206         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
15207         * sysdeps/s390/__longjmp.c: New file.
15208         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
15209         * sysdeps/s390/longjmp.c: New file.
15210         * sysdeps/s390/setjmp.S: New file.
15211         * sysdeps/s390/sigjmp.S: New file.
15212         * sysdeps/s390/v1-longjmp.c: New file.
15213         * sysdeps/s390/v1-setjmp.h: New file.
15214         * sysdeps/s390/v1-sigjmp.c: New file.
15215         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
15216         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
15217         GLIBC_2.19 version.
15218         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
15219         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
15220         versioned symbols for ____longjmp_chk.
15221         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
15222         Likewise.
15223         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
15224         Regenerate.
15225         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
15226         Regenerate.
15227         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
15228         Regenerate.
15229         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
15230         Regenerate.
15231         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
15232         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
15233         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
15234         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
15235         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
15236         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
15237         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
15238         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
15239         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
15240         * sysdeps/s390/rtld-__longjmp.c: New file.
15241         * sysdeps/s390/rtld-setjmp.S: New file.
15243 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
15245         [BZ #16400]
15246         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15247         Return -__logl (x) for small positive arguments without evaluating
15248         a polynomial.
15250 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
15252         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
15253         Rename to ...
15254         (__ptrace_peeksiginfo_args): ... this.
15255         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
15256         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
15257         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
15259 2014-01-06  Allan McRae  <allan@archlinux.org>
15261         * inet/netinet/in.h: Fix typo in comment.
15263 2014-01-05  Andreas Jaeger  <aj@suse.de>
15265         * sysdeps/i386/fpu/libm-test-ulps: Update.
15267 2014-01-05  Allan McRae  <allan@archlinux.org>
15269         * po/libc.pot: Regenerated.
15271         * malloc/memusagestat.c: Fix gettext call formatting.
15273 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
15275         * nscd/nscd.c: Improve usage() output.
15277 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
15279         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
15280         * sysdeps/unix/sysv/linux/configure: Regenerated.
15281         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
15282         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
15284 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15286         [BZ #16390]
15287         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
15288         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
15290 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15292         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
15293         extra tokens at end of #undef directive.
15294         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
15295         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
15296         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
15298 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
15300         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
15302         * math/auto-libm-test-in: Mark various tests with
15303         xfail-rounding:ldbl-128ibm.
15304         * math/auto-libm-test-out: Regenerated.
15306 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
15308         [BZ #16386]
15309         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
15310         numbers with subnormal high part when calculating exponent.
15312         [BZ #16385]
15313         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
15314         fabs.
15316         [BZ #16384]
15317         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
15318         M_LN2l.
15319         (__ieee754_acoshl): Use __log1pl not __log1p.
15321 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
15323         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
15324         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
15325         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
15326         (grow_heap, heap_trim, _int_new_arena, get_free_list)
15327         (reused_arena, arena_get2): Convert to GNU style.
15328         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
15329         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
15330         (memalign_check, __malloc_set_state): Likewise.
15331         * malloc/mallocbug.c (main): Likewise.
15332         * malloc/malloc.c (__malloc_assert, malloc_init_state)
15333         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
15334         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
15335         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
15336         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
15337         (__posix_memalign, malloc_info): Likewise.
15338         * malloc/malloc.h: Likewise.
15339         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
15340         (mallochook, memalignhook, reallochook, mabort): Likewise.
15341         * malloc/mcheck.h: Likewise.
15342         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
15343         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
15344         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
15345         * malloc/morecore.c (__default_morecore): Likewise.
15346         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
15347         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
15348         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
15349         (print_and_abort): Likewise.
15350         * malloc/obstack.h: Likewise.
15351         * malloc/set-freeres.c (__libc_freeres): Likewise.
15352         * malloc/tst-mallocstate.c (main): Likewise.
15353         * malloc/tst-mtrace.c (main): Likewise.
15354         * malloc/tst-realloc.c (do_test): Likewise.
15356 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
15358         [BZ #16366]
15359         * nscd/netgroupcache.c (do_notfound): New function.
15360         (addgetnetgrentX): Use it.
15362         [BZ # 16365]
15363         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
15364         NSS_STATUS_NOTFOUND.
15366 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
15368         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
15369         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15371 2014-01-01  Allan McRae  <allan@archlinux.org>
15373         * scripts/update-copyrights: Update configure input file suffix.
15375         * NEWS: Update copyright year.
15376         * catgets/gencat.c: Likewise.
15377         * csu/version.c: Likewise.
15378         * debug/catchsegv.sh: Likewise.
15379         * debug/pcprofiledump.c: Likewise.
15380         * debug/xtrace.sh: Likewise.
15381         * elf/ldconfig.c: Likewise.
15382         * elf/ldd.bash.in: Likewise.
15383         * elf/pldd.c: Likewise.
15384         * elf/sotruss.ksh: Likewise.
15385         * elf/sprof.c: Likewise.
15386         * iconv/iconv_prog.c: Likewise.
15387         * iconv/iconvconfig.c: Likewise.
15388         * locale/programs/locale.c: Likewise.
15389         * locale/programs/localedef.c: Likewise.
15390         * login/programs/pt_chown.c: Likewise.
15391         * malloc/memusage.sh: Likewise.
15392         * malloc/memusagestat.c: Likewise.
15393         * malloc/mtrace.pl: Likewise.
15394         * manual/libc.texinfo: Likewise.
15395         * nscd/nscd.c: Likewise.
15396         * nss/getent.c: Likewise.
15397         * nss/makedb.c: Likewise.
15398         * posix/getconf.c: Likewise.
15399         * scripts/test-installation.pl: Likewise.
15401         * All files with FSF copyright notices: Update copyright dates
15402         using scripts/update-copyrights.
15403         * intl/plural.c: Regenerated.
15404         * locale/programs/charmap-kw.h: Likewise.
15405         * locale/programs/locfile-kw.h: Likewise.
15407 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
15409         * sysdeps/unix/sysv/linux/configure: Regenerated.
15410         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
15411         the linux/fanotify.h header.
15412         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
15413         HAVE_LINUX_FANOTIFY_H is defined.
15415 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
15417         * benchtests/cos-inputs: New inputs.
15418         * benchtests/sin-inputs: Likewise.
15420         * benchtests/atan-inputs: New inputs. Fix name of multiple
15421         precision fallback inputs.
15423         * benchtests/atanh-inputs: New inputs.
15424         * benchtests/tanh-inputs: Likewise.
15426         * benchtests/acosh-inputs: New inputs.
15427         * benchtests/asinh-inputs: Likewise.
15429         * benchtests/cosh-inputs: New inputs.
15430         * benchtests/sinh-inputs: Likewise.
15432         * benchtests/acos-inputs: Add more inputs.
15433         * benchtests/asin-inputs: Likewise.
15435 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
15437         [BZ #16375]
15438         * manual/arith.texi: Fix spelling.
15439         * manual/charset.texi: Likewise.
15440         * manual/errno.texi: Likewise.
15441         * manual/filesys.texi: Likewise.
15442         * manual/lang.texi: Likewise.
15443         * manual/llio.texi: Likewise.
15444         * manual/locale.texi: Likewise.
15445         * manual/message.texi: Likewise.
15446         * manual/resource.texi: Likewise.
15447         * manual/search.texi: Likewise.
15448         * manual/setjmp.texi: Likewise.
15449         * manual/stdio.texi: Likewise.
15450         * manual/string.texi: Likewise.
15451         * manual/sysinfo.texi: Likewise.
15452         * manual/time.texi: Likewise.
15454 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
15456         * po/sl.po: New file.
15458 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
15460         * .gitignore: Add core/.gdbinit/.gdb_history.
15462 2013-12-27  Allan McRae  <allan@archlinux.org>
15464         [BZ #16369]
15465         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
15466         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
15468 2013-12-24  Brooks Moses  <bmoses@google.com>
15470         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
15471         all compilers that claim C++98 compliance, not just GCC.
15472         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
15473         Likewise.
15475 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15477         * NEWS: Restore accidentally deleted bug-fix entries.
15479 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
15480             Ondřej Bílka  <neleai@seznam.cz>
15482         [BZ #15073]
15483         * malloc/malloc.c (_int_free): Perform sanity check only if we
15484         have_lock.
15486 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
15488         [BZ #12986]
15489         * manual/stdio.texi (String Input Conversions): Clarify that character
15490         classes are not supported.
15492 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15494         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15496 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
15498         [BZ #16337]
15499         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
15500         Calculate results for small negative arguments directly rather
15501         than using reflection formula with special underflow handling.
15503         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
15504         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
15505         sysdeps/unix/bsd/bsd4.4/syscalls.list.
15506         (fchflags): Likewise.
15507         (revoke): Likewise.
15508         (setlogin): Likewise.
15509         (sigaltstack): Likewise.
15510         (wait4): Likewise.
15511         (sigblock): Remove.
15512         (sigsetmask): Likewise.
15513         (wait3): Likewise.
15514         (waitpid): Likewise.
15515         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
15516         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
15517         file.
15518         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
15519         * sysdeps/unix/bsd/Makefile: ... here.
15520         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
15521         * sysdeps/unix/bsd/Versions: ... here.
15522         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
15523         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
15524         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
15525         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
15526         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
15527         * sysdeps/unix/bsd/sigblock.c: ... here.
15528         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
15529         * sysdeps/unix/bsd/sigsetmask.c: ... here.
15530         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
15531         * sysdeps/unix/bsd/sigvec.c: ... here.
15532         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
15533         * sysdeps/unix/bsd/tcdrain.c: ... here.
15534         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
15535         * sysdeps/unix/bsd/tcgetattr.c: ... here.
15536         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
15537         * sysdeps/unix/bsd/tcsetattr.c: ... here.
15538         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
15539         * sysdeps/unix/bsd/wait.c: ... here.
15540         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
15541         * sysdeps/unix/bsd/wait3.c: ... here.
15542         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
15543         * sysdeps/unix/bsd/waitpid.c: ... here.
15545 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
15547         [BZ #16356]
15548         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
15549         round-to-nearest for [!USE_AS_EXPM1L].
15550         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
15551         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
15552         more tests of exp and exp10.  Expect some exp10 tests to miss
15553         exceptions or fail in directed rounding modes.
15554         * math/auto-libm-test-out: Regenerated.
15555         * math/libm-test.inc (exp10_tonearest_test_data): New array.
15556         (exp10_test_tonearest): New function.
15557         (exp10_towardzero_test_data): New array.
15558         (exp10_test_towardzero): New function.
15559         (exp10_downward_test_data): New array.
15560         (exp10_test_downward): New function.
15561         (exp10_upward_test_data): New array.
15562         (exp10_test_upward): New function.
15563         (main): Call the new functions.
15564         * sysdeps/i386/fpu/libm-test-ulps: Update.
15565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15567 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
15569         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15570         asinh, atan, atan2, atanh, cbrt, cos and cosh.
15571         * math/auto-libm-test-out: Regenerated.
15572         * math/libm-test.inc (acosh_test_data): Add more tests.
15573         (atanh_test_data): Likewise.
15574         (ceil_test_data): Likewise.
15575         (copysign_test_data): Likewise.
15576         * sysdeps/i386/fpu/libm-test-ulps: Update.
15577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15579         * timezone/checktab.awk: Update from tzcode 2013i.
15580         * timezone/private.h: Likewise.
15581         * timezone/scheck.c: Likewise.
15582         * timezone/tzfile.h: Likewise.
15583         * timezone/tzselect.ksh: Likewise.
15584         * timezone/zdump.c: Likewise.
15585         * timezone/zic.c: Likewise.
15587         * math/auto-libm-test-in: Add tests of cpow.
15588         * math/auto-libm-test-out: Regenerated.
15589         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
15590         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15591         mpc_cc_c.
15592         (func_calc_desc): Add mpc_cc_c union field.
15593         (test_functions): Add cpow.
15594         (special_fill_2pi): New function.
15595         (special_real_inputs): Add 2pi.
15596         (calc_generic_results): Handle mpc_cc_c.
15597         * sysdeps/i386/fpu/libm-test-ulps: Update.
15598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15600         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
15601         csqrt, ctan and ctanh.
15602         * math/auto-libm-test-out: Regenerated.
15603         * math/libm-test.inc (TEST_COND_x86_64): New macro.
15604         (TEST_COND_x86): Likewise.
15605         (ccos_test_data): Use AUTO_TESTS_c_c.
15606         (ccosh_test_data): Likewise.
15607         (cexp_test_data): Likewise.
15608         (clog_test_data): Likewise.
15609         (csqrt_test_data): Likewise.
15610         (ctan_test_data): Likewise.
15611         (ctan_tonearest_test_data): Likewise.
15612         (ctan_towardzero_test_data): Likewise.
15613         (ctan_downward_test_data): Likewise.
15614         (ctan_upward_test_data): Likewise.
15615         (ctanh_test_data): Likewise.
15616         (ctanh_tonearest_test_data): Likewise.
15617         (ctanh_towardzero_test_data): Likewise.
15618         (ctanh_downward_test_data): Likewise.
15619         (ctanh_upward_test_data): Likewise.
15620         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15621         mpc_c_c.
15622         (func_calc_desc): Add mpc_c_c union field.
15623         (FUNC_mpc_c_c): New macro.
15624         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
15625         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
15626         ctanh.
15627         (special_fill_min_subnorm_p120): New function.
15628         (special_real_inputs): Add min_subnorm_p120.
15629         (calc_generic_results): Handle mpc_c_c.
15630         * sysdeps/i386/fpu/libm-test-ulps: Update.
15631         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15633 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
15635         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
15636         (do_sin_slow): New functions.
15637         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
15638         (cslow2, csloww1, csloww2): Use the new functions.
15640         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
15641         Use M to change sign of result instead of X.  Assume X is
15642         positive.
15643         (csloww1): Likewise.
15644         (__sin): Adjust.
15645         (__cos): Adjust.
15647         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
15648         arguments A and DA.
15649         (__sin): Adjust.
15650         (__cos): Likewise.
15652         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
15653         (__cos): Likewise.
15654         (sloww1): Don't adjust sign of DX.
15655         (csloww1): Likewise.
15656         (sloww2): Use X directly and don't adjust sign of DX.
15657         (csloww2): Likewise.
15659 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15661         * math/auto-libm-test-in: Add tests of cabs and carg.
15662         * math/auto-libm-test-out: Regenerated.
15663         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
15664         (carg_test_data): Likewise.
15665         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15666         mpc_c_f.
15667         (func_calc_desc): Add mpc_c_f union field.
15668         (test_functions): Add cabs and carg.
15669         (calc_generic_results): Handle mpc_c_f.
15671         * sysdeps/powerpc/powerpc32/libgcc-compat.S
15672         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
15673         as a macro and a compat symbol.
15674         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
15675         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
15676         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
15677         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
15678         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
15679         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
15680         not use .hidden.
15681         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
15682         Likewise.
15683         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
15684         Likewise.
15685         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
15686         Likewise.
15687         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
15688         Likewise.
15689         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
15690         Likewise.
15691         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
15692         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
15693         from GLIBC_2.3.2.
15695 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15699 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15701         * manual/texinfo.tex: Update to version 2013-11-26.10 with
15702         trailing whitespace removed.
15703         * scripts/config.guess: Update to version 2013-11-29.
15704         * scripts/config.sub: Update to version 2013-10-01.
15706         * math/auto-libm-test-in: Add tests of sincos.
15707         * math/auto-libm-test-out: Regenerated.
15708         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
15709         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15710         mpfr_f_11.
15711         (func_calc_desc): Add mpfr_f_11 union field.
15712         (test_functions): Add sincos.
15713         (calc_generic_results): Handle mpfr_f_11.
15714         * sysdeps/i386/fpu/libm-test-ulps: Update.
15715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15717 2013-12-19  Andreas Schwab  <schwab@suse.de>
15719         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
15720         CALL_MCOUNT.
15721         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
15722         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
15723         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
15725 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
15727         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
15728         * sysdeps/i386/fpu/libm-test-ulps: Update.
15729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15731         [BZ #16293]
15732         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
15733         round-to-nearest mode when using frndint.
15734         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
15735         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15736         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
15737         Likewise.
15738         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
15739         sinh test to fail.
15740         * math/auto-libm-test-out: Regenerated.
15741         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
15742         (TEST_COND_x86): Likewise.
15743         (expm1_tonearest_test_data): New array.
15744         (expm1_test_tonearest): New function.
15745         (expm1_towardzero_test_data): New array.
15746         (expm1_test_towardzero): New function.
15747         (expm1_downward_test_data): New array.
15748         (expm1_test_downward): New function.
15749         (expm1_upward_test_data): New array.
15750         (expm1_test_upward): New function.
15751         (main): Run the new test functions.
15752         * sysdeps/i386/fpu/libm-test-ulps: Update.
15753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15755         * include/features.h: Update comment documenting feature test
15756         macros.  Mention _DEFAULT_SOURCE in comment.
15757         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
15758         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
15759         _BSD_SOURCE and _SVID_SOURCE.
15760         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
15761         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
15762         !_SVID_SOURCE]: Likewise.
15763         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15764         (__USE_POSIX_IMPLICITLY): Define.
15765         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15766         (_POSIX_SOURCE): Undefine and redefine.
15767         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
15768         (_POSIX_C_SOURCE): Likewise.
15769         * manual/creature.texi (_DEFAULT_SOURCE): Document.
15770         (Feature Test Macros): Update documentation of default features.
15772 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15774         * benchtests/Makefile: Add bench-strtok.
15775         * benchtests/bench-strtok.c: New file: strtok benchtest.
15777 2013-12-19  Allan McRae  <allan@archlinux.org>
15779         * manual/install.texi: Suppress menu for plain text output.
15780         * INSTALL: Regenerated.
15782 2013-12-18  Brooks Moses  <bmoses@google.com>
15784         [BZ #15846]
15785         * misc/getauxval.c: Include errno.h.
15786         (__getauxval): Set errno to ENOENT if the requested type is not
15787         found.
15788         * misc/sys/auxv.h (getauxval): Document that it may set errno;
15789         don't declare with __attribute_const__.
15790         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
15791         * manual/startup.texi: Document that getauxval sets errno.
15793 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15795         * math/auto-libm-test-in: Add tests of jn and yn.
15796         * math/auto-libm-test-out: Regenerated.
15797         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
15798         (yn_test_data): Likewise.
15799         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15800         mpfr_if_f.
15801         (func_calc_desc): Add mpfr_if_f union field.
15802         (FUNC_mpfr_if_f): New macro.
15803         (test_functions): Add jn and yn.
15804         (calc_generic_results): Assert type of second input for
15805         mpfr_ff_f.  Handle mpfr_if_f.
15806         (output_for_one_input_case): Disable all checking for arguments
15807         fitting floating-point types in case of an integer argument.
15808         * sysdeps/i386/fpu/libm-test-ulps: Update.
15809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
15812         Don't expect fegetround reference in libm.so.
15814 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15816         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
15817         $(config-cflags-nofma).
15819 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
15821         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
15822         * math/auto-libm-test-out: Regenerated.
15824         [BZ #16338]
15825         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
15826         to determine exponent and adjust argument to have exponent of -1.
15827         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
15828         log2.
15829         * math/auto-libm-test-out: Regenerated.
15830         * sysdeps/i386/fpu/libm-test-ulps: Update.
15831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15833 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
15835         * manual/probes.texi: Remove cases when per-thread arenas are
15836         disabled.
15838 2013-12-18  Andreas Schwab  <schwab@suse.de>
15840         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
15841         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
15842         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
15843         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
15844         * sysdeps/i386/i686/multiarch/Makefile: Update.
15845         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
15847 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15849         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
15850         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
15852 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
15854         [BZ #15968]
15855         Support TZ transition times < 00:00:00.
15856         This is needed for version-3 tz-format files; it supports time
15857         stamps past 2037 for America/Godthab (the only entry in the tz
15858         database for which this change is relevant).
15859         * manual/time.texi (TZ Variable): Document transition times
15860         from -167:59:59 through -00:00:01.
15861         * time/tzset.c (tz_rule): Time of day is now signed.
15862         (__tzset_parse_tz): Parse negative time of day.
15864         Document TZ transition times >= 25:00:00.
15865         * manual/time.texi (TZ Variable): Document transition times from
15866         25:00:00 through 167:59:59.  These are already supported, and this
15867         support will help with version-3 tz-format files.
15869         * manual/time.texi (TZ Variable): Modernize North America example
15870         to reflect current (i.e., 2007-and-later) daylight saving rules.
15872         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
15874 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15876         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
15877         * sysdeps/unix/bsd/bits/stat.h: Likewise.
15878         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
15879         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
15880         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
15881         * sysdeps/unix/bsd/bsdstat.h: Likewise.
15882         * sysdeps/unix/bsd/clock.c: Likewise.
15883         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
15884         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
15885         * sysdeps/unix/bsd/init-posix.c: Likewise.
15886         * sysdeps/unix/bsd/poll.c: Likewise.
15887         * sysdeps/unix/bsd/ptsname.c: Likewise.
15888         * sysdeps/unix/bsd/seekdir.c: Likewise.
15889         * sysdeps/unix/bsd/setegid.c: Likewise.
15890         * sysdeps/unix/bsd/seteuid.c: Likewise.
15891         * sysdeps/unix/bsd/setgid.c: Likewise.
15892         * sysdeps/unix/bsd/setrgid.c: Likewise.
15893         * sysdeps/unix/bsd/setruid.c: Likewise.
15894         * sysdeps/unix/bsd/setsid.c: Likewise.
15895         * sysdeps/unix/bsd/setuid.c: Likewise.
15896         * sysdeps/unix/bsd/sigaction.c: Likewise.
15897         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
15898         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
15899         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
15900         * sysdeps/unix/bsd/telldir.c: Likewise.
15901         * sysdeps/unix/bsd/times.c: Likewise.
15902         * sysdeps/unix/bsd/usleep.c: Likewise.
15904         * misc/Makefile (install-lib): Remove libbsd-compat.a.
15905         ($(objpfx)libbsd-compat.a): Remove rule.
15907         * include/features.h (__FAVOR_BSD): Do not define.
15908         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
15909         features conflicting with POSIX.
15910         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
15911         (_BSD_SOURCE): Remove description of not being a subset of other
15912         feature test macros.
15913         * manual/job.texi (getpgrp): Do not document BSD version.
15914         (getpgid): Do not document by reference to BSD getpgrp.
15915         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
15916         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
15917         * signal/signal.h [__FAVOR_BSD]: Likewise.
15918         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
15919         instead of making contents conditional on [__FAVOR_BSD].
15920         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
15922 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15926 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
15928         [BZ #16314]
15929         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
15930         values below 2**-450, not 2**-500.
15931         * math/auto-libm-test-in: Don't allow spurious underflow from
15932         hypot.
15933         * math/auto-libm-test-out: Regenerated.
15935         [BZ #16316]
15936         [BZ #16330]
15937         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
15938         values of ha and hb and sort them after adjusting subnormal
15939         arguments.
15940         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15941         Likewise.
15942         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
15943         values of ea and eb and sort them after adjusting subnormal
15944         arguments.
15945         * math/auto-libm-test-in: Do not expect some hypot tests of
15946         subnormals to fail.  Add more hypot tests.
15947         * math/auto-libm-test-out: Regenerated.
15949 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
15951         [BZ #13304]
15952         * sysdeps/sh/s_fma.c: New file.
15953         * sysdeps/sh/s_fmaf.c: New file.
15954         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
15955         version.
15956         * sysdeps/sh/Implies: Add sh/soft-fp.
15958 2013-12-16  Roland McGrath  <roland@hack.frob.com>
15960         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
15961         level of indirection to members `objname', `errstring', `malloced'.
15962         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
15963         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
15964         it as the __longjmp argument (just pass 1 instead).
15965         (_dl_catch_error): Initialize C with argument pointers and address of
15966         volatile local ERRCODE rather than copying values out of C at return.
15968 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
15970         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
15971         * math/auto-libm-test-out: Regenerated.
15972         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
15973         (hypot_test_data): Likewise.
15974         (pow_test_data): Likewise.
15975         (pow_tonearest_test_data): Likewise.
15976         * math/gen-auto-libm-tests.c (func_calc_method): Add value
15977         mpfr_ff_f.
15978         (func_calc_desc): Add mpfr_ff_f union field.
15979         (FUNC_mpfr_ff_f): New macro.
15980         (test_functions): Add atan2, hypot and pow.
15981         (special_fill_min): New function.
15982         (special_fill_minus_min): Likewise.
15983         (special_fill_min_subnorm): Likewise.
15984         (special_fill_minus_min_subnorm): Likewise.
15985         (special_real_inputs): Add min, -min, min_subnorm and
15986         -min_subnorm.
15987         (calc_generic_results): Handle mpfr_ff_f.
15988         * sysdeps/i386/fpu/libm-test-ulps: Update.
15989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15991 2013-12-16  Will Newton  <will.newton@linaro.org>
15993         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
15994         (Aligned Memory Blocks): Add documentation for aligned_alloc
15995         and suggest it as an alternative to posix_memalign.
15996         (Hooks for Malloc): Document __memalign_hook is also called
15997         for aligned_alloc.  (Summary of Malloc): Add summary for
15998         aligned alloc.  Document __memalign_hook is also called
15999         for aligned_alloc.
16001 2013-12-16  Will Newton  <will.newton@linaro.org>
16003         * manual/memory.texi (Malloc Examples): Clarify default
16004         alignment documentation.  Suggest posix_memalign rather
16005         than memalign or valloc.
16006         (Aligned Memory Blocks): Remove suggestion to use memalign
16007         or valloc.  Remove obsolete comment about BSD.
16008         Document memalign errno values and mark the function obsolete.
16009         Document posix_memalign returned error codes.  Mark valloc
16010         as obsolete.  (Hooks for Malloc): __memalign_hook is also
16011         called for posix_memalign and valloc.
16012         (Summary of Malloc): Add posix_memalign to function summary.
16013         __memalign_hook is also called for posix_memalign and valloc.
16015 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16017         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
16018         TAYLOR_SIN.
16019         (__sin): Adjust.
16020         (__cos): Likewise.
16021         (sloww): Use mynumber union.  Expand ternary operator into
16022         if-else statements.
16023         (cslow): use mynumber union.
16025 2013-12-16  Allan McRae  <allan@archlinux.org>
16027         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
16028         * configure: Regenerated.
16030         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
16032         [BZ #14120]
16033         * configure.ac: Added --enable-maintainer-mode. Check for
16034         autoconf when enabled.
16035         * configure: Regenerated.
16037         * nscd/nscd.service: New file.
16038         * nscd/nscd.tmpfiles: New file.
16040 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
16042         [BZ #12100]
16043         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
16044         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
16045         * sysdeps/x86_64/multiarch/strstr.c: ... here.
16046         (strstr): Add __strstr_sse2_unaligned ifunc.
16047         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
16048         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
16049         (strcasestr): Remove __strcasestr_sse42 ifunc.
16050         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
16051         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16052         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
16054 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16056         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
16057         * sysdeps/sh/bits/fenv.h: ... here.
16058         * sysdeps/sh/sh4/fpu/bits: Remove directory.
16060 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16062         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
16064         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
16065         hypotf multiarch implementations.
16066         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
16067         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
16068         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
16069         multiarch hypot for PPC64.
16070         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
16071         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
16072         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
16073         multiarch hypotf for PPC64.
16075         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
16076         modff multiarch implementations.
16077         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
16078         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
16079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
16080         multiarch modf for PPC64.
16081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
16082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
16083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
16084         multiarch modff for PPC64.
16086         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
16087         and logl multiarch implementations.
16088         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
16089         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
16090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
16091         multiarch logb for PPC64.
16092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
16093         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
16094         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
16095         multiarch logb for PPC64.
16096         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
16097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
16098         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
16099         multiarch logb for PPC64.
16101         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
16102         isinff multiarch implementation.
16103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
16104         file.
16105         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
16106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
16107         multiarch isinf for PPC64.
16108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
16109         file.
16110         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
16111         multiarch isinff for PPC64.
16113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
16114         finitef multiarch implementation.
16115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
16116         file.
16117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
16118         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
16119         multiarch finite for PPC64.
16120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
16121         file.
16122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
16123         multiarch finitef for PPC64.
16125         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
16126         lrint multiarch implementation.
16127         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
16128         file.
16129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
16130         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
16131         multiarch llrint for PPC64.
16132         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
16133         multiarch lrint for PPC64.
16135         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
16136         copysignf multiarch implementation.
16137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
16138         file.
16139         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
16140         file.
16141         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
16142         multiarch copysign for PPC64.
16143         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
16144         multiarch copysignf for PPC64.
16146         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
16147         multiarch implementation.
16148         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
16149         file.
16150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
16151         file.
16152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
16153         file.
16154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
16155         file.
16156         multiarch llround for PPC64.
16157         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
16158         multiarch trunc for PPC64.
16159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
16160         multiarch truncf for PPC64.
16162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
16163         multiarch implementation.
16164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
16165         file.
16166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
16167         file.
16168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
16169         file.
16170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
16171         file.
16172         multiarch llround for PPC64.
16173         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
16174         multiarch round for PPC64.
16175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
16176         multiarch roundf for PPC64.
16178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
16179         multiarch implementation.
16180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
16181         file.
16182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
16183         file.
16184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
16185         file.
16186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
16187         file.
16188         multiarch llround for PPC64.
16189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
16190         multiarch floor for PPC64.
16191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
16192         multiarch floorf for PPC64.
16194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
16195         multiarch implementation.
16196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
16197         file.
16198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
16199         file.
16200         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
16201         file.
16202         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
16203         file.
16204         multiarch llround for PPC64.
16205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
16206         multiarch ceil for PPC64.
16207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
16208         multiarch ceilf for PPC64.
16210         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16211         multiarch implementation.
16212         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
16213         file.
16214         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
16215         file.
16216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
16217         file.
16218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
16219         multiarch llround for PPC64.
16220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
16221         multiarch lround for PPC64.
16223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16224         multiarch implementation.
16225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
16226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
16227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
16228         file.
16229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
16230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
16231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
16232         multiarch isnan for PPC64.
16233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
16234         multiarch isnanf for PPC64.
16236         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
16237         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
16238         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
16239         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
16240         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
16241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
16243         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
16244         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
16245         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
16246         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
16248         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
16249         multiarch implementations.
16250         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16251         (__libc_ifunc_impl_list): Likewise.
16252         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16253         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
16254         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
16255         multiarch stpcpy for PPC64.
16257         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
16258         multiarch implementations.
16259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16260         (__libc_ifunc_impl_list): Likewise.
16261         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
16262         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
16263         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
16264         multiarch strcpy for PPC64.
16266         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
16267         redefine function name.
16268         (_wordcopy_fwd_dest_aligned): Likewise.
16269         (_wordcopy_bwd_aligned): Likewise.
16270         (_wordcopy_bwd_dest_aligned): Likewise.
16271         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
16272         multiarch implementations.
16273         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16274         (__libc_ifunc_impl_list): Likewise.
16275         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
16276         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
16277         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
16278         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
16279         multiarch wcscpy for PPC64.
16281         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
16282         multiarch implementations.
16283         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16284         (__libc_ifunc_impl_list): Likewise.
16285         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
16286         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
16287         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
16288         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
16289         multiarch wcscpy for PPC64.
16291         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
16292         multiarch implementations.
16293         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16294         (__libc_ifunc_impl_list): Likewise.
16295         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
16296         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
16297         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
16298         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
16299         multiarch wcsrchr for PPC64.
16301         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
16302         multiarch implementations.
16303         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16304         (__libc_ifunc_impl_list): Likewise.
16305         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
16306         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
16307         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
16308         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
16309         multiarch wcschr for PPC64.
16311         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
16312         multiarch implementations.
16313         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16314         (__libc_ifunc_impl_list): Likewise.
16315         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
16316         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
16317         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
16318         multiarch strchrnul for PPC64.
16320         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
16321         implementations.
16322         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16323         (__libc_ifunc_impl_list): Likewise.
16324         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
16325         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
16326         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
16327         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
16328         strchr for PPC64.
16330         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
16331         implementations.
16332         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16333         (__libc_ifunc_impl_list): Likewise.
16334         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
16335         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
16336         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
16337         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
16338         strncmp for PPC64.
16340         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
16341         multiarch implementations.
16342         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16343         (__libc_ifunc_impl_list): Likewise.
16344         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
16345         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
16346         strncasecmp for PPC64.
16347         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
16348         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
16349         multiarch strncasecmp_l for PPC64.
16351         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
16352         multiarch implementations.
16353         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16354         (__libc_ifunc_impl_list): Likewise.
16355         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
16356         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
16357         multiarch strcasecmp for PPC64.
16358         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
16359         file.
16360         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
16361         multiarch strcasecmp_l for PPC64.
16363         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
16364         implementations.
16365         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16366         (__libc_ifunc_impl_list): Likewise.
16367         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
16368         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
16369         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
16370         strnlen for PPC64.
16372         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
16373         implementations.
16374         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16375         (__libc_ifunc_impl_list): Likewise.
16376         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
16377         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
16378         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
16379         strlen for PPC64.
16381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
16382         implementations.
16383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16384         (__libc_ifunc_impl_list): Likewise.
16385         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
16386         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
16387         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
16388         rawmemrchr for PPC64.
16390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
16391         implementation.
16392         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16393         (__libc_ifunc_impl_list): Likewise.
16394         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
16395         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
16396         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
16397         memrchr for PPC64.
16399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
16400         implementation.
16401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16402         (__libc_ifunc_impl_list): Likewise.
16403         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
16404         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
16405         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
16406         memchr for PPC64.
16408         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
16409         implementation.
16410         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16411         (__libc_ifunc_impl_list): Likewise.
16412         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
16413         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
16414         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
16415         mempcpy for PPC64.
16417         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
16418         avoid cretion of __bzero symbol.
16419         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
16420         Likewise.
16421         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
16422         Likewise.
16423         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
16424         Likewise.
16425         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
16426         multiarch implementations.
16427         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16428         (__libc_ifunc_impl_list): Likewise.
16429         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16430         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
16431         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
16432         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
16433         bzero for PPC32.
16434         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
16435         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
16436         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
16437         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
16438         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
16439         memset for PPC64.
16440         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
16442         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
16443         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
16444         implementations.
16445         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16446         (__libc_ifunc_impl_list): Likewise.
16447         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
16448         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
16449         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
16450         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
16451         memcmp for PPC64.
16453         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
16454         multiarch for POWER/PPC64.
16455         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
16456         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
16457         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
16458         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
16459         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
16460         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
16461         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
16462         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
16463         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
16464         memcpy for PPC64.
16466         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
16467         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
16468         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
16469         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
16470         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
16471         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
16472         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
16473         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
16474         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
16475         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
16476         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
16477         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
16478         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16479         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
16480         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
16481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
16482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
16483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
16484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
16485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
16486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
16487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
16489 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16491         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
16493 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16495         * benchtests/Makefile (bench): Add exp2 and log2.
16496         (LDLIBS-bench-exp2): Add -lm.
16497         (LDLIBS-bench-log2): Likewise.
16498         * benchtests/exp2-inputs: New inputs file.
16499         * benchtests/log2-inputs: New inputs file.
16500         * benchtests/log-inputs: Add new inputs.
16501         * benchtests/tan-inputs: Likewise.
16503 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
16505         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
16506         definition...
16507         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
16508         (csloww2): ... from here.
16510         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
16511         instead of structures.
16512         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
16513         (POLYNOMIAL): Likewise.
16514         (TAYLOR_SLOW): Likewise.
16515         (__sin): Likewise.
16516         (__cos): Likewise.
16517         (slow1): Likewise.
16518         (slow2): Likewise.
16519         (sloww): Likewise.
16520         (sloww1); Likewise.
16521         (sloww2): Likewise.
16522         (bsloww1): Likewise.
16523         (bsloww2): Likewise.
16524         (cslow2): Likewise.
16525         (csloww): Likewise.
16526         (csloww1): Likewise.
16527         (csloww2): Likewise.
16529 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
16531         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
16532         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
16533         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
16534         * malloc/hooks.c (realloc_check): Likewise.
16536         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
16537         * malloc/arena.c: Remove PER_THREAD conditional.
16538         [!PER_THREAD]: Remove code.
16539         (ptmalloc_unlock_all2): Likewise.
16540         (ptmalloc_init): Likewise.
16541         (_int_new_arena): Likewise.
16542         (arena_get2): Likewise.
16543         * malloc/hooks.c (__malloc_get_state): Likewise.
16544         (__malloc_set_state): Likewise.
16545         * malloc/malloc.c: Likewise.
16546         (struct malloc_state): Likewise.
16547         (struct malloc_par): Likewise.
16548         (__libc_realloc): Likewise.
16549         (__libc_mallopt): Likewise.
16551 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16553         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
16555 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
16557         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
16558         macro to a function.  Check for zero perturb_byte.
16559         (_int_malloc, _int_free): Remove zero perturb_byte checks.
16561         * malloc/malloc.c: (force_reg): Remove.
16562         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
16563         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
16564         force_reg by atomic_forced_read.
16565         * malloc/arena.c (ptmalloc_init): Likewise.
16566         * malloc/hooks.c (top_check): Likewise.
16568 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16570         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16572 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
16574         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16576 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
16578         * math/auto-libm-test-in: Add tests of lgamma.
16579         * math/auto-libm-test-out: Regenerated.
16580         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
16581         (M_LOG_2_SQRT_PIl): Likewise.
16582         (lgamma_test_data): Use AUTO_TESTS_f_f1.
16583         * math/gen-auto-libm-tests.c (func_calc_method): Add value
16584         mpfr_f_f1.
16585         (func_calc_desc): Add mpfr_f_f1 union field.
16586         (ARGS1): New macro.
16587         (ARGS2): Likewise.
16588         (ARGS3): Likewise.
16589         (ARGS4): Likewise.
16590         (RET1): Likewise.
16591         (RET2): Likewise.
16592         (CALC): Likewise.
16593         (FUNC): Likewise.
16594         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
16595         (test_functions): Add lgamma.
16596         (calc_generic_results): Handle mpfr_f_f1.
16597         * sysdeps/i386/fpu/libm-test-ulps: Update.
16598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16600 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16602         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
16603         __mpn_add_n for PowerPC64/POWER7.
16604         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
16605         __mpn_sub_n for PowerPC64/POWER7.
16607         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
16608         __mpn_addmul_1 for PowerPC64.
16609         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
16610         __mpn_submul_1 for PowerPC64.
16611         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
16612         for PowerPC64.
16613         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
16614         for PowerPC64.
16616 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
16618         [BZ #15089]
16619         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
16621 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16623         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
16625         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
16626         add multiarch folders.
16627         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
16628         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
16629         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
16630         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
16631         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
16632         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
16633         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
16634         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
16635         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
16636         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
16637         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
16638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
16639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
16640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
16641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
16642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
16643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
16645         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16646         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
16647         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
16648         New file.
16649         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
16650         New file.
16651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
16652         multiarch __ieee754_hypot for PowerPC32.
16653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
16654         New file.
16655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
16656         New file.
16657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
16658         multiarch __ieee754_hypotf for PowerPC32.
16660         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
16661         long_double_symbol only if __logbl is defined.
16662         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
16663         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
16664         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
16665         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
16666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
16667         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
16668         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
16669         path for implementation.
16670         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
16671         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
16672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
16673         logb, and logbl multiarch implementations for PowerPC32.
16674         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
16675         file.
16676         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
16677         file.
16678         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
16679         multiarch logb for PowerPC32.
16680         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
16681         file.
16682         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
16683         file.
16684         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
16685         multiarch logbf for PowerPC32.
16686         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
16687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
16688         file.
16689         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
16690         multiarch logbl implementation for PowerPC32.
16692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
16693         and modff multiarch implementations.
16694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
16695         New file.
16696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
16697         New file.
16698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
16699         multiarch modf for PowerPC32.
16700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
16701         New file.
16702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
16703         New file.
16704         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
16705         multiarch modff for PowerPC32.
16707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
16708         and lrintf multiarch implementations.
16709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
16710         New file.
16711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
16712         New file.
16713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
16714         multiarch lrint for PowerPC32.
16715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
16716         file: multiarch lrintf for PowerPC32.
16718         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
16719         and lroundf multiarch implementations.
16720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
16721         New file.
16722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
16723         New file.
16724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
16725         New file.
16726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
16727         multiarch lround for PowerPC32.
16728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
16729         file: multiarch lroundf for PowerPC32.
16731         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
16732         copysign and copysignf multiarch implementations.
16733         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
16734         New file.
16735         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
16736         New file.
16737         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
16738         file: multiarch copysign for PowerPC32.
16739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
16740         file: multiarch copysignf for PowerPC32.
16742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
16743         and truncf multiarch implementations.
16744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
16745         New file.
16746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
16747         file.
16748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
16749         multiarch trunc for PowerPC32.
16750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
16751         New file.
16752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
16753         New file.
16754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
16755         multiarch truncf for PowerPC32.
16757         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
16758         and roundf multiarch implementations.
16759         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
16760         New file.
16761         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
16762         file.
16763         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
16764         multiarch round for PowerPC32.
16765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
16766         New file.
16767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
16768         New file.
16769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
16770         multiarch roundf for PowerPC32.
16772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
16773         and floorf multiarch implementations.
16774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
16775         New file.
16776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
16777         file.
16778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
16779         multiarch floor for PowerPC32.
16780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
16781         New file.
16782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
16783         New file.
16784         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
16785         multiarch floorf for PowerPC32.
16787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
16788         and ceilf multiarch implementations.
16789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
16790         New file.
16791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
16792         file.
16793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
16794         multiarch ceil for PowerPC32.
16795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
16796         New file.
16797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
16798         file.
16799         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
16800         multiarch ceilf for PowerPC32.
16802         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
16803         is defined.
16804         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
16805         FINITEF is defined.
16806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
16807         and finitef multiarch implementations.
16808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
16809         New file.
16810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
16811         file.
16812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
16813         multiarch finite for PowerPC32.
16814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
16815         New file.
16816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
16817         file: multiarch finitef for PowerPC32.
16819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
16820         and isinff multiarch implementations.
16821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
16822         file.
16823         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
16824         file.
16825         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
16826         multiarch isinf for PowerPC32.
16827         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
16828         New file.
16829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
16830         multiarch isinff for PowerPC32.
16832         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
16833         alias when __isnan is defined.
16834         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
16835         and isnanf multiarch implementations.
16836         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
16837         file.
16838         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
16839         file.
16840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
16841         file.
16842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
16843         file.
16844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
16845         multiarch isnan for PowerPC32.
16846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
16847         New file.
16848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
16849         New file.
16850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
16851         multiarch isnanf for PowerPC32.
16853         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
16854         and sqrtf multiarch implementations.
16855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
16856         file.
16857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
16858         file.
16859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
16860         multiarch sqrt for PowerPC32.
16861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
16862         file.
16863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
16864         file.
16865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
16866         multiarch sqrtf for PowerPC32.
16868         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
16869         and llroundf multiarch implementations.
16870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
16871         New file.
16872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
16873         New file.
16874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
16875         New file.
16876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
16877         file: multiarch llround for PowerPC32.
16878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
16879         file: multiarch llroundf for PowerPC32.
16881         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
16882         multiarch PowerPC32 fpu implementations.
16883         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
16884         New file.
16885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
16886         New file.
16887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
16888         multiarch llrint for PowerPC32.
16889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
16890         New file.
16891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
16892         New file.
16893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
16894         file.
16896         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
16898         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
16899         file.
16900         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
16901         file.
16902         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
16903         file.
16904         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
16905         multiarch wordcopy for PPC32.
16906         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16907         wordcopy objects.
16908         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16909         (__libc_ifunc_impl_list): Likewise.
16910         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
16911         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
16912         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
16913         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
16914         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
16915         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
16917         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
16918         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
16919         file.
16920         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
16921         file.
16922         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
16923         file.
16924         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
16925         multiarch wcscpy for PPC32.
16926         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
16927         multiarch objects.
16928         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16929         (__libc_ifunc_impl_list): Likewise.
16930         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16931         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16932         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
16933         sysdeps/powerpc/power6/wcscpy.c.
16935         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
16936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
16937         file.
16938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
16939         file.
16940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
16941         file.
16942         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
16943         multiarch wcsrchr for PPC32.
16944         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16945         multiarch objects.
16946         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16947         (__libc_ifunc_impl_list): Likewise.
16948         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
16949         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
16950         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
16951         sysdeps/powerpc/power6/wcsrchr.c.
16953         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
16954         file.
16955         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
16956         file.
16957         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
16958         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
16959         multiarch wcschr for PPc32.
16960         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
16961         multiarch objects.
16962         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16963         (__libc_ifunc_impl_list): Likewise.
16964         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
16965         * sysdeps/powerpc/power6/wcschr.c: ... to here.
16966         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
16967         sysdeps/powerpc/power6/wcschr.c.
16969         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
16970         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
16971         file.
16972         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
16973         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
16974         file: multiarch strchr for PPC32.
16975         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
16976         multiarch objects.
16977         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16978         (__libc_ifunc_impl_list): Likewise.
16980         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
16981         name.
16982         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
16983         file.
16984         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
16985         file.
16986         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
16987         multiarch strchrnul for PPC32.
16988         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
16989         multiarch objects.
16990         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
16991         (__libc_ifunc_impl_list): Likewise.
16993         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
16994         file.
16995         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
16996         multiarch strncasecmp for PPC32.
16997         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
16998         file.
16999         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
17000         multiarch strncasecmp_l for PPC32.
17001         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
17002         strncasecmp multiarch objects.
17003         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17004         (__libc_ifunc_impl_list): Likewise.
17006         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
17007         file.
17008         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
17009         multiarch strncasecmp for PPC32.
17010         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
17011         New file.
17012         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
17013         multiarch strcasecmp_l for PPC32.
17014         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
17015         multiarch objects.
17016         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17017         (__libc_ifunc_impl_list): Likewise.
17019         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
17020         file.
17021         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
17022         file.
17023         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
17024         multiarch strncmp for PPC32.
17025         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
17026         multiarch objects.
17027         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17028         (__libc_ifunc_impl_list): Likewise.
17030         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17031         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
17032         file.
17033         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
17034         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
17035         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
17036         multiarch objects.
17037         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17038         (__libc_ifunc_impl_list): Likewise.
17040         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
17041         file.
17042         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
17043         file.
17044         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
17045         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
17046         multiarch objects.
17047         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17048         (__libc_ifunc_impl_list): Likewise.
17050         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
17051         file.
17052         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
17053         file.
17054         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
17055         multiarch rawmemchr for PPC32.
17056         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
17057         multiarch objects.
17058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17059         (__libc_ifunc_impl_list): Likewise.
17061         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17062         file.
17063         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
17064         file.
17065         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
17066         file: memrchr multiarch for PPC32.
17067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
17068         multiarch objects.
17069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
17070         (__libc_ifunc_impl_list): Likewise.
17072         * string/memchr.c (__memchr): Using macro to redefine symbol name.
17073         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
17074         file.
17075         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
17076         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
17077         multiarch memchr for PPC32.
17078         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
17079         multiarch objects.
17080         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17081         (__libc_ifunc_impl_list): Likewise.
17083         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17084         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
17085         file.
17086         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
17087         file.
17088         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
17089         file: multiarch mempcpy for PPC32.
17090         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
17091         multiarch objects.
17092         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17093         (__libc_ifunc_impl_list): Likewise.
17095         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
17096         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
17097         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
17098         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
17099         multiarch bzero for PPC32.
17100         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
17101         file.
17102         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
17103         file.
17104         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
17105         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
17106         file: multiarch memset for PPC32.
17107         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
17108         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
17109         memset multiarch objects.
17110         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17111         (__libc_ifunc_impl_list): Likewise.
17113         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
17114         file.
17115         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
17116         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
17117         memcmp for PPC32.
17118         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
17119         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
17120         multiarch objects.
17121         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17122         (__libc_ifunc_impl_list): Likewise.
17124         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
17125         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
17126         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
17127         file.
17128         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
17129         file.
17130         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
17131         file.
17132         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
17133         multiarch memcpy for PPC32.
17134         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
17135         multiarch objects.
17136         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
17137         (__libc_ifunc_impl_list): Likewise.
17139         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
17140         support multiarch for POWER/PPC32.
17141         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
17142         Likewise.
17143         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
17144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
17145         Implies file to make multiarch folder appers before the fpu and
17146         default folder for power4 configuration.
17148 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17150         * scripts/bench.pl: Append volatile keyword to type.
17152 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17154         * sysdeps/sh/sotruss-lib.c: New file.
17155         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
17157 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17159         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17161 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
17163         [BZ #6810]
17164         * math/w_tgamma.c: Include <errno.h>.
17165         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
17166         * math/w_tgammaf.c: Include <errno.h>.
17167         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
17168         * math/w_tgammal.c: Include <errno.h>.
17169         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
17170         * math/auto-libm-test-in: Do not allow missing errno on tgamma
17171         underflow.  Add more tgamma tests.
17172         * math/auto-libm-test-out: Regenerated.
17173         * sysdeps/i386/fpu/libm-test-ulps: Update.
17174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17176         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
17177         sin, sinh, tan, tanh, tgamma, y0 and y1.
17178         * math/auto-libm-test-out: Regenerated.
17179         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17180         (TEST_COND_x86): Likewise.
17181         (M_E2l): Remove macro.
17182         (M_E3l): Likewise.
17183         (M_2_SQRT_PIl): Likewise.
17184         (M_SQRT_PIl): Likewise.
17185         (M_1_DIV_El): Likewise.
17186         (log_test_data): Use AUTO_TESTS_f_f.
17187         (log10_test_data): Likewise.
17188         (log1p_test_data): Likewise.
17189         (log2_test_data): Likewise.
17190         (sin_test_data): Likewise.
17191         (sin_tonearest_test_data): Likewise.
17192         (sin_towardzero_test_data): Likewise.
17193         (sin_downward_test_data): Likewise.
17194         (sin_upward_test_data): Likewise.
17195         (sinh_test_data): Likewise.
17196         (sinh_tonearest_test_data): Likewise.
17197         (sinh_towardzero_test_data): Likewise.
17198         (sinh_downward_test_data): Likewise.
17199         (sinh_upward_test_data): Likewise.
17200         (tan_test_data): Likewise.
17201         (tan_tonearest_test_data): Likewise.
17202         (tan_towardzero_test_data): Likewise.
17203         (tan_downward_test_data): Likewise.
17204         (tan_upward_test_data): Likewise.
17205         (tanh_test_data): Likewise.
17206         (tgamma_test_data): Likewise.
17207         (y0_test_data): Likewise.
17208         (y1_test_data): Likewise.
17209         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
17210         (special_real_inputs): Add pi/4.
17211         * sysdeps/i386/fpu/libm-test-ulps: Update.
17212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17214 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17216         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
17217         "longjmp_target" static probes.
17218         (__longjmp): Rename to __longjmp_symbol.
17219         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
17220         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
17221         on which longjmp to generate.
17222         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
17223         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
17224         probe.
17225         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17226         (__sigjmp_save): Rename to __sigjmp_save_symbol.
17227         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
17228         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
17229         and __sigjmp_save_symbol based on which sigsetjmp to generated.
17230         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
17231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
17232         __longjmp_symbol based on which __longjmp to generate.
17233         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
17234         probe.
17235         (setjmp): Rename to setjmp_symbol.
17236         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17237         (_setjmp): Rename to _setjmp_symbol.
17238         (__sigsetjmp): Rename to __sigsetjmp_symbol.
17239         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
17240         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
17241         which setjmp to generate.
17242         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
17243         "longjmp_target" static probes.
17245 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17247         * benchtests/README: Add note about output arguments.
17248         * benchtests/bench-sincos.c: Remove file.
17249         * benchtests/sincos-inputs: New file.
17250         * scripts/bench.pl: Identify output arguments and define
17251         static variables for them.
17253         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
17255         [BZ #15941]
17256         * Makefile (INSTALL): Add install-plain.texi as the primary
17257         dependency.
17258         * manual/install-plain.texi: New file.
17259         * manual/install.texi: Include node directive only for
17260         non-plaintext output.
17262 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
17264         * stdlib/longlong.h: Update from GCC.
17266         [BZ #6807]
17267         [BZ #15901]
17268         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
17269         * math/w_j0f.c (y0f): Likewise.
17270         * math/w_j0l.c (__y0l): Likewise.
17271         * math/w_j1.c (y1): Likewise.
17272         * math/w_j1f.c (y1f): Likewise.
17273         * math/w_j1l.c (__y1l): Likewise
17274         * math/w_jn.c (yn): Likewise.
17275         * math/w_jnf.c (ynf): Likewise.
17276         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
17277         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
17278         value for Bessel function domain errors outside _SVID_ mode.
17279         Adjust sign of return value for yn (negative integer, 0).
17280         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
17281         by zero in return for negative x and set sign appropriately for
17282         negative n.
17283         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
17284         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
17285         * math/libm-test.inc (y0_test_data): Add more tests and adjust
17286         expectations in error cases.
17287         (y1_test_data): Likewise.
17288         (yn_test_data): Likewise.
17289         * sysdeps/i386/fpu/libm-test-ulps: Update.
17290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17292 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17294         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
17295         "64" to "64-v1".  Add "64-v2".
17296         (abi-64-options): Rename to ...
17297         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
17298         (abi-64-condition): Rename to ...
17299         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
17300         (abi-64-ld-soname): Rename to ...
17301         (abi-64-v1-ld-soname): ... this.
17302         (abi-64-v2-options): Define.
17303         (abi-64-v2-condition): Likewise.
17304         (abi-64-v2-ld-soname): Likewise.
17305         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
17306         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
17307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
17308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
17309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
17311 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17312             Alan Modra  <amodra@gmail.com>
17314         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
17315         New versions for use with the ELFv2 ABI.
17316         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
17317         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
17318         declaration.
17319         (struct La_ppc64v2_retval): Likewise.
17320         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
17321         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
17322         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
17323         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
17324         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
17325         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
17326         Do not save or restore CR.
17327         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
17328         (_dl_profile_resolve): Do no save or restore CR.  Support extended
17329         return values for ELFv2 ABI.  Fix location of FPR return registers.
17330         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
17331         updated values for _CALL_ELF == 2.
17332         (La_regs, La_retval, int_retval): Likewise.
17334 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17336         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
17337         (FRAME_MIN_SIZE_PARM): Likewise.
17338         (FRAME_BACKCHAIN): Likewise.
17339         (FRAME_CR_SAVE): Likewise.
17340         (FRAME_LR_SAVE): Likewise.
17341         (FRAME_TOC_SAVE): Likewise.
17342         (FRAME_PARM_SAVE): Likewise.
17343         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
17344         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
17345         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17346         (call_mcount_parm_offset): New macro.
17347         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
17348         (PROF): Use symbolic stack frame offsets.
17349         (TAIL_CALL_SYSCALL_ERROR): Likewise.
17350         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
17351         Redefine in terms of FRAME_MIN_SIZE.
17352         (_dl_runtime_resolve): Use symbolic stack frame offsets.
17353         (_dl_profile_resolve): Likewise.  Update comment.
17354         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
17355         symbols stack frame offsets.
17356         (__sigsetjmp): Likewise.
17357         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
17358         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
17359         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
17360         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
17363         (FRAME_BACKCHAIN): Remove.
17364         (FRAME_CR_SAVE): Likewise.
17365         (FRAME_LR_SAVE): Likewise.
17366         (FRAME_COMPILER_DW): Likewise.
17367         (FRAME_LINKER_DW): Likewise.
17368         (FRAME_TOC_SAVE): Likewise.
17369         (FRAME_PARM_SAVE): Likewise.
17370         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
17371         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
17372         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
17373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
17374         (CHECK_SP): Use symbolic stack frame offsets.
17375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
17376         zone" instead of caller's parameter save area for temp storage.
17377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
17378         Likewise.  Also, use symbolic stack frame offsets.
17379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
17380         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
17381         our own stack frame instead of the caller's.
17382         (__socket): Use symbolic stack frame offsets.
17384 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17385             Alan Modra  <amodra@gmail.com>
17387         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
17388         Define.
17389         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
17390         (PPC64_LOCAL_ENTRY_OFFSET): Define.
17391         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
17392         New function.
17393         (elf_machine_fixup_plt): Call it.
17394         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
17395         reloc arguments.
17396         (elf_machine_rela): Update call to elf_machine_plt_conflict.
17397         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17398         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
17399         r2 before calling target.
17401 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17402             Alan Modra  <amodra@gmail.com>
17404         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
17405         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
17406         versions of macros to support ELFv2 ABI.
17407         (LOCALENTRY): New macro.
17408         (ENTRY, EALIGN): Use it.
17409         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
17410         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
17411         fall through into ENTRY entry point.
17412         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
17413         Only define if _CALL_ELF != 2.
17415         (elf_machine_matches_host): Verify ABI version matches.
17416         (RTLD_START): Use LOCALENTRY.
17417         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
17418         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
17419         (PLT_ENTRY_WORDS): New macro.
17420         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
17421         (elf_machine_runtime_setup): Support ELFv2 ABI.
17422         (elf_machine_fixup_plt): Likewise.
17423         (elf_machine_plt_conflict): Likewise.
17424         (resolve_ifunc): Likewise.
17425         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17426         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
17427         Likewise.
17428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
17429         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
17430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17431         (makecontext): Support ELFv2 ABI.
17432         * elf/elf.h (EF_PPC64_ABI): Define.
17434 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17436         * sysdeps/powerpc/powerpc64/sysdep.h
17437         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
17438         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
17439         (ENTRY) [ASSEMBLER]: ... but instead here ...
17440         (EALIGN) [ASSEMBLER]: ... and here.
17441         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
17442         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
17443         (ENTRY_2) [!ASSEMBLER]: Use it.
17444         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
17445         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
17446         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
17447         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
17448         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
17449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
17450         Use PPC64_LOAD_FUNCPTR.
17452         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
17454 2013-12-04  Alan Modra  <amodra@gmail.com>
17456         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
17457         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
17458         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
17459         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
17461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
17462         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
17463         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
17464         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
17465         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
17466         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
17468 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
17470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
17471         (__makecontext): Fix incorrect CFI when backtracing out of
17472         context created via makecontext.
17473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
17474         (__setcontext): Fix incorrect CFI during switch to new context.
17475         (__novec_setcontext): Likewise.
17477 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17479         [BZ #4772]
17480         * time/strptime_l.c (__strptime_internal): Allow modifiers
17481         in strptime.
17482         * time/tst-strptime.c (day_tests): Add testcase.
17484 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
17486         * scripts/bench.pl: Skip over blank lines.
17488 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
17490         [BZ #926]
17491         * manual/time.texi (Calendar Time): Clarify what timezone functions
17492         use.
17494 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17496         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17498 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
17500         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
17501         implementation.
17502         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
17503         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
17504         * debug/memset_chk.c (__memset_chk): Likewise.
17505         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
17506         * debug/strncpy_chk.c: Likewise.
17508 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17510         [BZ #15268]
17511         [BZ #15425]
17512         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
17513         (__ieee754_exp): For possibly underflowing results, check size of
17514         result and force underflow exception if required.
17515         * math/auto-libm-test-in: Add more tests of exp.
17516         * math/auto-libm-test-out: Regenerated.
17517         * sysdeps/i386/fpu/libm-test-ulps: Update.
17518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17520         [BZ #16283]
17521         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
17522         * math/w_exp2f.c (__exp2f): Likewise.
17523         * math/w_exp2l.c (__exp2l): Likewise.
17524         * math/auto-libm-test-in: Do not allow missing errno on exp2
17525         underflow.
17526         * math/auto-libm-test-out: Regenerated.
17528 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
17530         [BZ #16274]
17531         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
17532         handle filename validation.
17533         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
17534         (do_open): Delete.
17536 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
17538         [BZ #6786]
17539         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
17540         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
17541         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
17542         <float.h>.
17543         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
17544         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
17545         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17546         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
17547         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17548         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
17549         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
17550         * math/auto-libm-test-in: Don't allow missing errno from erfc.
17551         Add more erfc tests.
17552         * math/auto-libm-test-out: Regenerated.
17553         * sysdeps/i386/fpu/libm-test-ulps: Update.
17554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17556         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
17557         exp2, expm1, j0 and j1.
17558         * math/auto-libm-test-out: Regenerated.
17559         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
17560         (erfc_test_data): Likewise.
17561         (exp_test_data): Likewise.
17562         (exp_tonearest_test_data): Likewise.
17563         (exp_towardzero_test_data): Likewise.
17564         (exp_downward_test_data): Likewise.
17565         (exp_upward_test_data): Likewise.
17566         (exp10_test_data): Likewise.
17567         (exp2_test_data): Likewise.
17568         (expm1_test_data): Likewise.
17569         (j0_test_data): Likewise.
17570         (j1_test_data): Likewise.
17571         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
17572         (input_flag_type): Add flag_xfail_rounding.
17573         (input_flags): Add xfail-rounding.
17574         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
17575         (output_for_one_input_case): Handle flag_xfail_rounding.
17576         * sysdeps/i386/fpu/libm-test-ulps: Update.
17577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17579 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
17581         [BZ #16289]
17582         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
17583         division by 0.
17585 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17587         [BZ #16195]
17588         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
17589         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
17590         (STAP_PROBE0): New macro.
17591         (STAP_PROBE1): Likewise.
17592         (STAP_PROBE2): Likewise.
17593         (STAP_PROBE3): Likewise.
17594         (STAP_PROBE4): Likewise.
17596 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
17598         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
17600 2013-12-02  Steve Ellcey  <sellcey@mips.com>
17602         * benchtests/Makefile (bench): Add sqrt.
17603         (LDLIBS-bench-sqrt): New.
17604         * benchtests/sqrt-input: New.
17606 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
17608         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
17609         (GAIH_EAI): Likewise.
17610         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
17611         (gaih_inet): Likewise.
17612         (getaddrinfo): Don't use GAIH_EAI.
17614         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
17615         (struct gaih): Remove definition.
17617 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17619         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
17620         Use HERRNOP directly.
17622 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17626 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
17628         * math/gen-auto-libm-tests.c (test_functions): Add more
17629         single-argument functions.
17630         (special_fill_pi_2): New function.
17631         (special_fill_minus_pi_2): Likewise.
17632         (special_fill_pi_6): Likewise.
17633         (special_fill_minus_pi_6): Likewise.
17634         (special_fill_pi_3): Likewise.
17635         (special_fill_2pi_3): Likewise.
17636         (special_fill_e): Likewise.
17637         (special_fill_1_e): Likewise.
17638         (special_fill_e_minus_1): Likewise.
17639         (special_real_inputs): Add more special inputs.
17640         (output_for_one_input_case): Do not require ERANGE on underflow to
17641         zero if round-to-nearest result does not underflow to zero, unless
17642         exact results required.
17643         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
17644         atan, atanh, cbrt, cos and cosh.
17645         * math/auto-libm-test-out: Regenerated.
17646         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
17647         (acos_tonearest_test_data): Likewise.
17648         (acos_towardzero_test_data): Likewise.
17649         (acos_downward_test_data): Likewise.
17650         (acos_upward_test_data): Likewise.
17651         (acosh_test_data): Likewise.
17652         (asin_test_data): Likewise.
17653         (asin_tonearest_test_data): Likewise.
17654         (asin_towardzero_test_data): Likewise.
17655         (asin_upward_test_data): Likewise.
17656         (asinh_test_data): Likewise.
17657         (atan_test_data): Likewise.
17658         (atanh_test_data): Likewise.
17659         (cbrt_test_data): Likewise.
17660         (cos_test_data): Likewise.
17661         (cos_tonearest_test_data): Likewise.
17662         (cos_towardzero_test_data): Likewise.
17663         (cos_downward_test_data): Likewise.
17664         (cos_upward_test_data): Likewise.
17665         (cosh_test_data): Likewise.
17666         (cosh_tonearest_test_data): Likewise.
17667         (cosh_towardzero_test_data): Likewise.
17668         (cosh_downward_test_data): Likewise.
17669         (cosh_upward_test_data): Likewise.
17670         * sysdeps/i386/fpu/libm-test-ulps: Update.
17671         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17673 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
17675         [BZ #6787]
17676         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
17677         * math/w_exp10f.c (__exp10f): Likewise.
17678         * math/w_exp10l.c (__exp10l): Likewise.
17679         * math/libm-test.inc (exp10_test_data): Add more tests and expect
17680         errno settings in existing tests.
17682         [BZ #14032]
17683         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
17684         precision control set to double precision.
17685         * sysdeps/i386/fpu/w_sqrt.c: New file.
17686         * math/auto-libm-test-in: Add more tests.
17687         * math/auto-libm-test-out: Update.
17689         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
17690         (sqrt_test_tonearest): New function.
17691         (sqrt_towardzero_test_data): New variable.
17692         (sqrt_test_towardzero): New function.
17693         (sqrt_downward_test_data): New variable.
17694         (sqrt_test_downward): New function.
17695         (sqrt_upward_test_data): New variable.
17696         (sqrt_test_upward): New function.
17697         (main): Call the new functions.
17699         * math/gen-auto-libm-tests.c: New file.
17700         * math/auto-libm-test-in: Likewise.
17701         * math/auto-libm-test-out: New generated file.
17702         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
17703         variables.
17704         (%beautify): Add generated representations of zero.
17705         (top level): Set $auto_input and call parse_auto_input.
17706         (beautify): Remove trailing "f" from hex float constants.
17707         (parse_args): Handle XFAIL_TEST.
17708         (convert_condition): New function.
17709         (or_value): Likewise.
17710         (or_cond_value): Likewise.
17711         (generate_testfile): Handle AUTO_TESTS_* lines.
17712         (parse_auto_input): New function.
17713         * math/libm-test.inc (XFAIL_TEST): New macro.
17714         (ERRNO_UNCHANGED): Update value.
17715         (ERRNO_EDOM): Likewise.
17716         (ERRNO_ERANGE): Likewise.
17717         (IGNORE_RESULT): Likewise.
17718         (TEST_COND_flt_32): New macro.
17719         (TEST_COND_dbl_64): Likewise.
17720         (TEST_COND_ldbl_96_intel): Likewise.
17721         (TEST_COND_ldbl_96_m68k): Likewise.
17722         (TEST_COND_ldbl_128): Likewise.
17723         (TEST_COND_ldbl_128ibm): Likewise.
17724         (TEST_COND_long32): Likewise.
17725         (TEST_COND_long64): Likewise.
17726         (TEST_COND_before_rounding): Likewise.
17727         (TEST_COND_after_rounding): Likewise.
17728         (enable_test): Handle XFAIL_TEST flag.
17729         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
17730         with finite results.
17731         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
17732         auto-libm-test-out.
17734 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17735             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17737         [BZ #16214]
17738         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
17739         __tls_get_addr_internal instead of __tls_get_offset in order to
17740         avoid GOT pointer dependency.  Make rtld export
17741         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
17742         __tls_get_addr since we are a __tls_get_offset platform.
17743         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
17744         GOT pointer being set up before.
17745         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
17747 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
17749         * manual/math.texi (Errors in Math Functions): Document accuracy
17750         goals.
17752         [BZ #15004]
17753         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
17754         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
17755         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
17756         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
17757         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
17758         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
17759         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
17760         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
17761         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
17762         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
17763         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
17764         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
17765         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
17766         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
17767         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
17768         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
17770         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
17771         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
17772         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
17773         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
17774         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
17775         Likewise.
17776         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
17777         Likewise.
17778         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
17779         Likewise.
17780         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
17781         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
17782         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
17783         atomic-feupdateenv and flt-rounds.
17784         * sysdeps/powerpc/nofpu/Versions (libc): Add
17785         __atomic_feholdexcept, __atomic_feclearexcept,
17786         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
17787         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
17788         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
17789         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
17790         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
17791         here.
17792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
17793         Update.
17795         * manual/arith.texi (FP Exceptions): Document that exceptions may
17796         not be raised when matherr is used.
17797         (Math Error Reporting): Document overflow in directed rounding
17798         modes.  Document that errno may not be set when finite values are
17799         returned on overflow.  Document intent to set errno on underflow
17800         only for underflow to zero.
17802         [BZ #16271]
17803         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
17804         round-to-nearest then adjust result for other rounding modes.
17805         * include/fenv.h (fegetround): Use libm_hidden_proto.
17806         * math/fegetround.c (fegetround): Use libm_hidden_def.
17807         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
17808         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
17809         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
17810         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
17811         Likewise.
17812         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
17813         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
17814         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
17815         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
17817 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17819         [BZ #16077]
17820         * nss/Versions (libnss_files): Add
17821         _nss_files_gethostbyname3_r.
17822         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
17823         New function.
17824         (HOST_DB_LOOKUP): Remove macro.
17825         (_nss_files_gethostbyname_r): Implement function without the
17826         HOST_DB_LOOKUP macro.
17827         (_nss_files_gethostbyname2_r): Likewise.
17829 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
17831         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
17833 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
17835         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
17836         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
17837         warning.
17839 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17841         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
17842         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
17843         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
17844         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
17845         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
17846         __fe_nomask_env_priv and attribute_hidden.
17847         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
17848         (libc_feupdateenv_test_ppc): Likewise.
17849         (libc_feresetround_ppc): Likewise.
17850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
17851         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
17852         compat_symbol macro.
17853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
17854         (__fe_nomask_env): Likewise.
17855         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
17857 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17859         * string/Makefile: Remove ifunc tests.
17860         * string/test-string.h: Define TEST_IFUNC.
17861         * string/test-bcopy-ifunc.c: Remove.
17862         * string/test-bzero-ifunc.c: Likewise.
17863         * string/test-memccpy-ifunc.c: Likewise.
17864         * string/test-memchr-ifunc.c: Likewise.
17865         * string/test-memcmp-ifunc.c: Likewise.
17866         * string/test-memcpy-ifunc.c: Likewise.
17867         * string/test-memmem-ifunc.c: Likewise.
17868         * string/test-memmove-ifunc.c: Likewise.
17869         * string/test-mempcpy-ifunc.c: Likewise.
17870         * string/test-memrchr-ifunc.c: Likewise.
17871         * string/test-memset-ifunc.c: Likewise.
17872         * string/test-rawmemchr-ifunc.c: Likewise.
17873         * string/test-stpcpy-ifunc.c: Likewise.
17874         * string/test-stpncpy-ifunc.c: Likewise.
17875         * string/test-strcasecmp-ifunc.c: Likewise.
17876         * string/test-strcasestr-ifunc.c: Likewise.
17877         * string/test-strcat-ifunc.c: Likewise.
17878         * string/test-strchr-ifunc.c: Likewise.
17879         * string/test-strchrnul-ifunc.c: Likewise.
17880         * string/test-strcmp-ifunc.c: Likewise.
17881         * string/test-strcpy-ifunc.c: Likewise.
17882         * string/test-strcspn-ifunc.c: Likewise.
17883         * string/test-strlen-ifunc.c: Likewise.
17884         * string/test-strncasecmp-ifunc.c: Likewise.
17885         * string/test-strncat-ifunc.c: Likewise.
17886         * string/test-strncmp-ifunc.c: Likewise.
17887         * string/test-strncpy-ifunc.c: Likewise.
17888         * string/test-strnlen-ifunc.c: Likewise.
17889         * string/test-strpbrk-ifunc.c: Likewise.
17890         * string/test-strrchr-ifunc.c: Likewise.
17891         * string/test-strspn-ifunc.c: Likewise.
17892         * string/test-strstr-ifunc.c: Likewise.
17894 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17896         * benchtests/Makefile: Remove ifunc tests.
17897         * benchtests/bench-string.h: Define TEST_IFUNC.
17898         * benchtests/bench-bcopy-ifunc.c: Remove.
17899         * benchtests/bench-bzero-ifunc.c: Likewise.
17900         * benchtests/bench-memccpy-ifunc.c: Likewise.
17901         * benchtests/bench-memchr-ifunc.c: Likewise.
17902         * benchtests/bench-memcmp-ifunc.c: Likewise.
17903         * benchtests/bench-memcpy-ifunc.c: Likewise.
17904         * benchtests/bench-memmem-ifunc.c: Likewise.
17905         * benchtests/bench-memmove-ifunc.c: Likewise.
17906         * benchtests/bench-mempcpy-ifunc.c: Likewise.
17907         * benchtests/bench-memrchr-ifunc.c: Likewise.
17908         * benchtests/bench-memset-ifunc.c: Likewise.
17909         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
17910         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
17911         * benchtests/bench-stpcpy-ifunc.c: Likewise.
17912         * benchtests/bench-stpncpy-ifunc.c: Likewise.
17913         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
17914         * benchtests/bench-strcasestr-ifunc.c: Likewise.
17915         * benchtests/bench-strcat-ifunc.c: Likewise.
17916         * benchtests/bench-strchr-ifunc.c: Likewise.
17917         * benchtests/bench-strchrnul-ifunc.c: Likewise.
17918         * benchtests/bench-strcmp-ifunc.c: Likewise.
17919         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
17920         * benchtests/bench-strcpy-ifunc.c: Likewise.
17921         * benchtests/bench-strcspn-ifunc.c: Likewise.
17922         * benchtests/bench-strlen-ifunc.c: Likewise.
17923         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
17924         * benchtests/bench-strncat-ifunc.c: Likewise.
17925         * benchtests/bench-strncmp-ifunc.c: Likewise.
17926         * benchtests/bench-strncpy-ifunc.c: Likewise.
17927         * benchtests/bench-strnlen-ifunc.c: Likewise.
17928         * benchtests/bench-strpbrk-ifunc.c: Likewise.
17929         * benchtests/bench-strrchr-ifunc.c: Likewise.
17930         * benchtests/bench-strsep-ifunc.c: Likewise.
17931         * benchtests/bench-strspn-ifunc.c: Likewise.
17932         * benchtests/bench-strstr-ifunc.c: Likewise.
17934 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17936         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
17938 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
17940         * resolv/netdb.h: Use __glibc_reserved instead __unused.
17941         * rt/aio.h: Likewise.
17942         * sysdeps/gnu/bits/utmp.h: Likewise.
17943         * sysdeps/gnu/bits/utmpx.h: Likewise.
17944         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
17945         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
17946         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
17947         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
17948         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
17949         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
17950         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
17951         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
17952         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
17953         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
17954         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
17955         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
17956         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
17957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
17958         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
17959         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
17960         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
17961         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
17962         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
17963         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
17964         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
17965         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
17966         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
17967         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
17968         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
17969         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
17970         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
17971         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
17972         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
17973         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
17974         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
17975         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
17976         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
17977         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
17978         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
17979         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
17980         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
17981         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
17982         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
17983         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
17984         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
17985         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
17987 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
17989         [BZ #16245]
17990         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
17991         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
17993 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
17995         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
17996         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
17997         Likewise.
17999 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18001         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
18002         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
18003         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
18004         (__fesetround): Remove define.
18005         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
18006         rounding and exceptions handling.
18007         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
18008         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
18009         (__fe_nomask_env): Likewise.
18010         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
18011         __fegetround instead of fegetround.
18012         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18013         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
18015 2013-11-21  Roland McGrath  <roland@hack.frob.com>
18017         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
18018         it's there.
18020         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
18022 2013-11-21  Meador Inge  <meadori@codesourcery.com>
18024         [BZ #11157]
18025         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
18026         (encrypt_r): Likewise.
18027         * malloc/obstack.h (obstack_free): Likewise.
18028         * posix/unistd.h (encrypt): Likewise.
18030 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
18032         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
18033         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
18034         DL_CALL_DT_FINI() that call the functions directly.
18035         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
18036         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
18037         * elf/dl-fini.c: Likewise.
18039 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
18041         * malloc/hooks.c (memalign_check): Add alignment rounding.
18042         * malloc/malloc.c (_mid_memalign): New function.
18043         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
18044         Implement by calling _mid_memalign.
18045         * manual/probes.texi (Memory Allocation Probes): Remove
18046         memory_valloc_retry and memory_pvalloc_retry.
18048 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18050         * locale/programs/locarchive.c (open_archive): Add const
18051         qualifier to ARCHIVEFNAME and copy default fname to
18052         DEFAULT_FNAME.
18054         [BZ #15601]
18055         * libio/tst-widetext.input: Rename Oriya to Odia.
18056         * locale/iso-639.def: Likewise.
18058         * manual/probes.texi (Mathematical Function Probes): Add
18059         documentation for sin, cos, asin and acos probes.
18060         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
18061         (__sin32): Add slowasin probe.
18062         (__cos32): Add slowacos probe.
18063         (__mpsin): Add slowsin probe.
18064         (__mpcos): Add slowcos probe.
18066 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
18068         [BZ #15483]
18069         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
18070         thread-local __sim_exceptions_thread and global
18071         __sim_exceptions_global.
18072         (__sim_disabled_exceptions): Change to thread-local
18073         __sim_disabled_exceptions_thread and global
18074         __sim_disabled_exceptions_global.
18075         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18076         and global __sim_round_mode_global.
18077         (__simulate_exceptions): Use thread-local floating-point state and
18078         set global state from it as needed.
18079         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
18080         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
18081         __sim_round_mode_thread.
18082         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
18083         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
18084         and global __sim_exceptions_global.
18085         (__sim_disabled_exceptions): Change to thread-local
18086         __sim_disabled_exceptions_thread and global
18087         __sim_disabled_exceptions_global.
18088         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
18089         and global __sim_round_mode_global.
18090         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
18091         (SIM_SET_GLOBAL): Likewise.
18092         * sysdeps/powerpc/soft-fp/sfp-machine.h
18093         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
18094         __sim_round_mode_thread.
18095         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
18096         __sim_disabled_exceptions_thread.
18097         (__sim_exceptions): Change to __sim_exceptions_thread.
18098         (__sim_disabled_exceptions): Change to
18099         __sim_disabled_exceptions_thread.
18100         (__sim_round_mode): Change to __sim_round_mode_thread.
18101         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
18102         thread-local floating-point state and set global state from it as
18103         needed.
18104         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
18105         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
18106         (__sim_disabled_exceptions): Remove extern declaration.
18107         (feenableexcept): Use thread-local floating-point state and set
18108         global state from it as needed.
18109         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
18110         extern declaration.
18111         (__sim_disabled_exceptions): Likewise.
18112         (__sim_round_mode): Likewise.
18113         (__fegetenv): Use thread-local floating-point state.
18114         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
18115         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
18116         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
18117         floating-point state and set global state from it as needed.
18118         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
18119         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
18120         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
18121         Likewise.
18122         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
18123         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
18124         Likewise.
18125         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
18126         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
18127         Use __sim_round_mode_thread.
18128         * math/test-fenv-tls.c: New file.
18129         * math/Makefile (tests): Add test-fenv-tls.
18130         ($(objpfx)test-fenv-tls): Depend on
18131         $(common-objpfx)nptl/libpthread.so.
18133 2013-11-19  Andreas Schwab  <schwab@suse.de>
18135         * locale/programs/locale.c (show_info): Decode wordarray elements.
18136         * locale/categories.def (LC_MONETARY): Add element for
18137         _NL_MONETARY_CRNCYSTR.
18138         * locale/C-monetary.c (conversion_rate): New variable.
18139         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
18140         element.
18142 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
18144         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
18145         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
18147 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
18149         * elf/Makefile (tst-auxv): New test.
18150         * elf/tst-auxv.c: New
18151         * elf/rtld.c (dl_main): Adjust AT_EXECFN
18153 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
18155         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
18156         (hidden_proto): Caller changed.
18157         (hidden_tls_proto): New macro.
18158         (libc_hidden_tls_proto): Likewise.
18159         (rtld_hidden_tls_proto): Likewise.
18160         (libm_hidden_tls_proto): Likewise.
18161         (libresolv_hidden_tls_proto): Likewise.
18162         (librt_hidden_tls_proto): Likewise.
18163         (libdl_hidden_tls_proto): Likewise.
18164         (libnss_files_hidden_tls_proto): Likewise.
18165         (libnsl_hidden_tls_proto): Likewise.
18166         (libnss_nisplus_hidden_tls_proto): Likewise.
18167         (libutil_hidden_tls_proto): Likewise.
18169 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
18171         [BZ #10253]
18172         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
18173         (decompose_rpath): Defer expansion to fillin_rpath.
18174         (_dl_init_paths): Pass linkmap to fillin_rpath.
18176 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18178         * benchtests/Makefile: Add strsep.
18179         * benchtests/bench-strsep.c: New file: strsep benchtest.
18180         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
18182 2013-11-18  Andreas Schwab  <schwab@suse.de>
18184         * locale/programs/locale.c (show_info) [case byte]: Check for
18185         '\377' instead of '\177'.
18186         * locale/C-monetary.c (not_available): Always use "\377".
18187         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
18188         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
18189         detect unavailable sign_posn locale elements.
18190         * locale/localeconv.c (__localeconv): For grouping and
18191         mon_grouping handle "\177" and "\377" like no grouping.
18192         (INT_ELEM): New macro.  Use it to set all numeric members.
18193         * locale/programs/ld-monetary.c (monetary_read)
18194         <tok_mon_grouping>: Normalize single -1 to the empty string.
18195         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
18196         Likewise.
18198 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18200         [BZ #16055]
18201         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
18202         when we match (nil).
18203         * stdio-common/tst-sscanf.c (struct test): Add testcase.
18205 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
18207         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
18208         (NO_TEST_INLINE): Update value.
18209         (ERRNO_UNCHANGED): Likewise.
18210         (ERRNO_EDOM): Likewise.
18211         (ERRNO_ERANGE): Likewise.
18212         (IGNORE_RESULT): Likewise.
18213         (check_float_internal): Check signs of NaN results if
18214         TEST_NAN_SIGN used.
18215         (check_complex): Pass TEST_NAN_SIGN flag through to second
18216         check_float_internal call.
18217         (copysign_test_data): Add tests with quiet NaNs as second
18218         argument.  Use TEST_NAN_SIGN.
18219         (fabs_test_data): Add test of negative quiet NaN argument.  Use
18220         TEST_NAN_SIGN.
18221         (signbit_test_data): Add tests of quiet NaN argument.
18222         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
18224         * math/gen-libm-test.pl (show_exceptions): Take extra argument
18225         $ignore_result.
18226         (parse_args): Handle function results specified as IGNORE.
18227         * math/libm-test.inc (IGNORE_RESULT): New macro.
18228         (check_float_internal): Do not check numerical result if flag
18229         IGNORE_RESULT set.
18230         (check_complex): Pass through IGNORE_RESULT to second
18231         check_float_internal call.
18232         (check_int): Do not check numerical result if flag IGNORE_RESULT
18233         set.
18234         (check_long): Likewise.
18235         (check_bool): Likewise.
18236         (check_longlong): Likewise.
18237         (lrint_test_data): Add tests of infinite and NaN arguments.
18238         (lrint_tonearest_test_data): Likewise.
18239         (lrint_towardzero_test_data): Likewise.
18240         (lrint_downward_test_data): Likewise.
18241         (lrint_upward_test_data): Likewise.
18242         (llrint_test_data): Likewise.
18243         (llrint_tonearest_test_data): Likewise.
18244         (llrint_towardzero_test_data): Likewise.
18245         (llrint_downward_test_data): Likewise.
18246         (llrint_upward_test_data): Likewise.
18247         (lround_test_data): Likewise.
18248         (llround_test_data): Likewise.
18250         * math/libm-test.inc (NO_TEST_INLINE): New macro.
18251         (ERRNO_UNCHANGED): Update value.
18252         (ERRNO_EDOM): Likewise.
18253         (ERRNO_ERANGE): Likewise.
18254         (NO_TEST_INLINE_FLOAT): New macro.
18255         (NO_TEST_INLINE_DOUBLE): Likewise.
18256         (enable_test): New function.
18257         (RUN_TEST_f_f): Check enable_test before running test.
18258         (RUN_TEST_2_f): Likewise.
18259         (RUN_TEST_fff_f): Likewise.
18260         (RUN_TEST_c_f): Likewise.
18261         (RUN_TEST_f_f1): Likewise.
18262         (RUN_TEST_fF_f1): Likewise.
18263         (RUN_TEST_fI_f1): Likewise.
18264         (RUN_TEST_ffI_f1): Likewise.
18265         (RUN_TEST_c_c): Likewise.
18266         (RUN_TEST_cc_c): Likewise.
18267         (RUN_TEST_f_i): Likewise.
18268         (RUN_TEST_f_i_tg): Likewise.
18269         (RUN_TEST_ff_i_tg): Likewise.
18270         (RUN_TEST_f_b): Likewise.
18271         (RUN_TEST_f_b_tg): Likewise.
18272         (RUN_TEST_f_l): Likewise.
18273         (RUN_TEST_f_L): Likewise.
18274         (RUN_TEST_fFF_11): Likewise.
18275         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
18276         conditionals.
18277         (cosh_test_data): Likewise.
18278         (exp_test_data): Likewise.
18279         (expm1_test_data): Likewise.
18280         (hypot_test_data): Likewise.
18281         (pow_test_data): Likewise.
18282         (sinh_test_data): Likewise.
18283         (tanh_test_data): Likewise.
18284         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
18285         flags argument.
18287         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
18288         tests with quiet NaN input and output.
18289         (acosh_test_data): Likewise.
18290         (asin_test_data): Likewise.
18291         (asinh_test_data): Likewise.
18292         (atan_test_data): Likewise.
18293         (atanh_test_data): Likewise.
18294         (atan2_test_data): Likewise.
18295         (cbrt_test_data): Likewise.
18296         (cos_test_data): Likewise.
18297         (cosh_test_data): Likewise.
18298         (erf_test_data): Likewise.
18299         (erfc_test_data): Likewise.
18300         (exp_test_data): Likewise.
18301         (exp10_test_data): Likewise.
18302         (exp2_test_data): Likewise.
18303         (expm1_test_data): Likewise.
18304         (hypot_test_data): Likewise.
18305         (j0_test_data): Likewise.
18306         (j1_test_data): Likewise.
18307         (jn_test_data): Likewise.
18308         (lgamma_test_data): Likewise.
18309         (log_test_data): Likewise.
18310         (log10_test_data): Likewise.
18311         (log1p_test_data): Likewise.
18312         (log2_test_data): Likewise.
18313         (pow_test_data): Likewise.
18314         (scalb_test_data): Likewise.
18315         (sin_test_data): Likewise.
18316         (sincos_test_data): Likewise.
18317         (sinh_test_data): Likewise.
18318         (tan_test_data): Likewise.
18319         (tanh_test_data): Likewise.
18320         (tgamma_test_data): Likewise.
18321         (y0_test_data): Likewise.
18322         (y1_test_data): Likewise.
18323         (yn_test_data): Likewise.
18325         [BZ #16167]
18326         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
18327         argument being NaN and avoid computations with second argument in
18328         that case.
18329         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
18330         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
18331         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
18333 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
18335         * locale/iso-639.def: Add Chitwani Tharu (the).
18337 2013-11-14  Andreas Schwab  <schwab@suse.de>
18339         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
18340         word instead of empty string.
18342 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18345         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
18346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18347         (__fe_nomask_env): Likewise.
18349 2013-11-13  Steve Ellcey  <sellcey@mips.com>
18351         * benchtests/bench-timing.h: Include time.h.
18353 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
18355         [BZ #15997]
18356         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
18357         to 3.4.0 for x32.
18358         * sysdeps/unix/sysv/linux/configure: Regenerated.
18360 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
18362         [BZ #16151]
18363         * stdlib/strtod_l.c (round_and_return): Do not consider
18364         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
18365         exponent one less than half the least subnormal exponent.
18366         * stdlib/test-strtod-round-data: Add more tests.
18367         * stdlib/tst-strtod-round.c (tests): Regenerated.
18369 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18371         [BZ #14143]
18372         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
18373         (__fe_mask_env): Likewise.
18374         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
18375         libm_hidden_proto and add function prototype.
18376         (__fe_mask_env): Add function prototype.
18377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18378         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
18379         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18380         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
18381         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18382         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
18384 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18386         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
18387         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
18389 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18391         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
18392         of htab_find_slot().
18394 2013-11-11  David S. Miller  <davem@davemloft.net>
18396         [BZ #16150]
18397         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
18398         symbol in the non-vis3 case in static builds.
18399         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
18400         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
18401         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
18402         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
18404 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
18406         [BZ #387]
18407         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
18408         it is empty.
18410 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18412         * benchtests/Makefile: Add bench-strtod.
18413         * benchtests/bench-strtod.c: New file: strtod benchtest
18415 2013-11-11  Andreas Schwab  <schwab@suse.de>
18417         [BZ #16153]
18418         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
18419         terminating NUL in key length.
18421 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18423         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18424         Add artificial ODP entry for vDSO symbol for PPC64.
18425         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
18426         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
18428 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
18430         [BZ #15374]
18431         * nss/getent.c (services_keys): Recognize services starting with digit.
18433 2013-11-06  David S. Miller  <davem@davemloft.net>
18435         [BZ #15985]
18436         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
18437         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
18439 2013-11-06  Will Newton  <will.newton@linaro.org>
18441         * manual/memory.texi (Malloc Examples): Remove register
18442         keyword from examples.
18444 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
18446         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
18448 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
18450         [BZ #6981]
18451         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
18452         depending on [__GCC_IEC_559 > 0].
18453         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
18454         depending on [__GCC_IEC_559_COMPLEX > 0].
18456 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
18458         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
18459         to iso-639.def.
18461 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
18463         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
18465 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
18467         [BZ #16112]
18468         * malloc/malloc (malloc_info): Do not handle first bin as
18469         special case.
18471 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
18473         * locale/iso-639.def: Add Central Nahuatl (nhn).
18475 2013-11-01  Bruno Haible  <bruno@clisp.org>
18477         [BZ #7003]
18478         * manual/math.texi (BSD Random): Specify range upper bound as
18479         in POSIX.
18481 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
18483         * locale/iso-639.def: Add Meadow Mari (mhr).
18485 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
18487         [BZ #14752], [BZ #15763]
18488         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
18489         Validate name.
18490         * rt/tst_shm.c: Add test for escaping directory.
18492 2013-10-31  Andreas Schwab  <schwab@suse.de>
18494         [BZ #15917]
18495         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
18496         followed by 'x' as part of digit sequence.
18497         * stdio-common/tst-sscanf.c (double_tests2): New tests.
18499 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
18501         [BZ #16037]
18502         * configure.ac: allow GNU Make 4.0 and greater.
18503         * configure: Regenerated.
18505 2013-10-30  Will Newton  <will.newton@linaro.org>
18507         [BZ #16038]
18508         * malloc/hooks.c (memalign_check): Limit alignment to the
18509         maximum representable power of two.
18510         * malloc/malloc.c (__libc_memalign): Likewise.
18511         * malloc/tst-memalign.c (do_test): Add test for very
18512         large alignment values.
18513         * malloc/tst-posix_memalign.c (do_test): Likewise.
18515 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18517         [BZ #11087]
18518         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
18519         (munmap_chunk): Likewise.
18520         (mremap_chunk): Likewise.
18522 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
18524         [BZ #15799]
18525         * stdlib/div.c (div): Remove obsolete code.
18526         * stdlib/ldiv.c (ldiv): Likewise.
18527         * stdlib/lldiv.c (lldiv): Likewise.
18529 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
18531         [BZ #16071]
18532         * nss/nss_files/files-XXX.c (get_contents_ret): New
18533         enumerator.
18534         (get_contents): New function.
18535         (internal_getent): Use it.  Expand size of LINEBUFLEN.
18537 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
18539         * configure.in: Moved to ...
18540         * configure.ac: ... here. Change reference to configure.in
18541         to configure.ac.
18542         * sysdeps/arm/preconfigure.ac: ... here.
18543         configure.in to configure.ac.
18544         * sysdeps/gnu/configure.in: Moved to ...
18545         * sysdeps/gnu/configure.ac: ... here.
18546         * sysdeps/i386/configure.in: Moved to ...
18547         * sysdeps/i386/configure.ac: ... here.
18548         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
18549         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
18550         * sysdeps/mach/configure.in: Moved to ...
18551         * sysdeps/mach/configure.ac: ... here.
18552         * sysdeps/mach/hurd/configure.in: Moved to ...
18553         * sysdeps/mach/hurd/configure.ac: ... here.
18554         * sysdeps/powerpc/configure.in: Moved to ...
18555         * sysdeps/powerpc/configure.ac: ... here.
18556         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
18557         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
18558         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
18559         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
18560         * sysdeps/s390/s390-32/configure.in: Moved to ...
18561         * sysdeps/s390/s390-32/configure.ac: ... here.
18562         * sysdeps/s390/s390-64/configure.in: Moved to ...
18563         * sysdeps/s390/s390-64/configure.ac: ... here.
18564         * sysdeps/sh/configure.in: Moved to ...
18565         * sysdeps/sh/configure.ac: ... here.
18566         * sysdeps/sparc/configure.in: Moved to ...
18567         * sysdeps/sparc/configure.ac: ... here.
18568         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
18569         * sysdeps/unix/sysv/linux/configure.ac: ... here.
18570         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
18571         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
18572         * sysdeps/x86_64/configure.in: Moved to ...
18573         * sysdeps/x86_64/configure.ac: ... here.
18574         * sysdeps/x86_64/preconfigure.in: Moved to ...
18575         * sysdeps/x86_64/preconfigure.ac: ... here.
18576         * aclocal.m4: Change reference to configure.in to configure.ac.
18577         * config.h.in: Likewise.
18578         * manual/install.texi: Likewise.
18579         * manual/maint.texi: Likewise.
18580         * Makefile: Likewise.
18581         * malloc/Makefile: Likewise.
18582         * nscd/Makefile: Likewise.
18583         * Makeconfig: Change reference to configure.in and
18584         preconfigure.in to configure.ac and preconfigure.ac
18585         respectively.
18586         * INSTALL: Regenerated.
18587         * configure: Likewise.
18588         * sysdeps/gnu/configure: Likewise.
18589         * sysdeps/i386/configure: Likewise.
18590         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
18591         * sysdeps/mach/configure: Likewise.
18592         * sysdeps/mach/hurd/configure: Likewise.
18593         * sysdeps/powerpc/configure: Likewise.
18594         * sysdeps/powerpc/powerpc32/configure: Likewise.
18595         * sysdeps/powerpc/powerpc64/configure: Likewise.
18596         * sysdeps/s390/s390-32/configure: Likewise.
18597         * sysdeps/s390/s390-64/configure: Likewise.
18598         * sysdeps/sh/configure: Likewise.
18599         * sysdeps/sparc/configure: Likewise.
18600         * sysdeps/unix/sysv/linux/configure: Likewise.
18601         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
18602         * sysdeps/x86_64/configure: Likewise.
18603         * sysdeps/x86_64/preconfigure: Likewise.
18605 2013-10-29  Andreas Schwab  <schwab@suse.de>
18607         * stdio-common/Makefile (tst-swscanf-ENV): Define.
18609 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18611         * benchtests/pow-inputs: Add new inputs.
18613         * benchtests/exp-inputs: Add new inputs.
18615         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
18616         conditional check for return value.
18617         (__cos32): Likewise.
18619 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18621         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
18622         to provide a boost for large inputs with word alignment.
18623         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
18624         implementation based on optimized PPC64 strcpy.
18625         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
18626         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
18627         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
18628         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
18630 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18632         [BZ #2801]
18633         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
18635 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18637         [BZ #14876]
18638         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
18639         * time/tst-strptime.c (day_tests): Add testcase.
18641 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
18643         [BZ #14029]
18644         * manual/pattern.texi: Acknowledge that fnmatch can fail.
18646 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
18648         [BZ #16074]
18649         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
18650         MAP_FAILED on error.
18652 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18654         [BZ #16072]
18655         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
18656         heap for large requests.
18658 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
18660         [BZ #9954]
18661         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
18662         result if the result has no associated interface.
18663         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
18664         interface for all 127.X.Y.Z addresses.
18666 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
18668         * locale/iso-639.def: Add Ligurian (lij)
18670 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
18672         [BZ #15825]
18673         * sunrpc/rpc_main.c: Document rpcgen -5.
18675 2013-10-19  Michael Stahl  <mstahl@redhat.com>
18677         * elf/rtld.c (do_preload): Print the reason why preloading failed.
18679 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18681         [BZ #10278]
18682         * posix/glob.c: Match only directories when trailing slash is present.
18683         * posix/tst-gnuglob.c (my_opendir): Do not open files.
18684         (main): Add testcase.
18686 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
18688         [BZ #15670]
18689         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
18691 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
18693         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
18694         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
18695         AUTH_DES and cindex for FIPS 140-2.
18696         (DES Encryption): Add cindex FIPS 46-3.
18698         * locale/locarchive.h (struct locarhandle): Add fname.
18699         * locale/programs/localedef.c (main): Pass ARGV[remaining]
18700         if an optional argument was specified to --list-archive,
18701         otherwise NULL.
18702         * locale/programs/locarchive.c (show_archive_content): Take new
18703         argument fname and pass it via ah.fname to open_archive.
18704         * locale/programs/localedef.h: Update decl.
18705         (open_archive): If AH->fname is non-null, open that file
18706         rather than the default file name, and don't ignore ENOENT.
18707         (create_archive): Set AH.fname to NULL.
18708         (delete_locales_from_archive): Likewise.
18709         (add_locales_to_archive): Likewise.
18710         * locale/programs/locfile.c (write_all_categories): Likewise.
18712 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
18713             Aldy Hernandez  <aldyh@redhat.com>
18715         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
18716         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
18717         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
18718         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
18719         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
18720         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
18721         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
18722         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
18723         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
18724         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
18725         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
18726         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
18727         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
18728         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
18729         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
18730         Likewise.
18731         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
18732         Likewise.
18733         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
18734         Likewise.
18735         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
18736         Likewise.
18737         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
18738         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
18739         Likewise.
18740         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
18741         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
18742         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
18743         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
18744         Likewise.
18745         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
18746         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
18747         * sysdeps/powerpc/preconfigure: Likewise.
18748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
18749         Likewise.
18750         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
18751         Replace contents of file by #include of <fenv_libc.h>.
18752         * sysdeps/powerpc/soft-fp/sfp-machine.h
18753         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
18754         and <sys/prctl.h>.
18755         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
18756         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
18757         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
18758         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
18759         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
18760         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
18761         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
18762         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
18763         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
18764         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
18765         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
18766         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
18767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18768         Allow copysignl PLT reference to be missing.
18770 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
18771             Joseph Myers  <joseph@codesourcery.com
18773         [BZ #15948]
18774         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
18775         single character.
18776         (add_to_tablewc): Assert sequence of wide characters is nonempty.
18778 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
18780         * elf/tst-tls-dlinfo.c: Don't include tls.h.
18781         * elf/tst-tls1.c: Likewise.
18782         * elf/tst-tls10.h: Likewise.
18783         * elf/tst-tls14.c: Likewise.
18784         * elf/tst-tls2.c: Likewise.
18785         * elf/tst-tls3.c: Likewise.
18786         * elf/tst-tls4.c: Likewise.
18787         * elf/tst-tls5.c: Likewise.
18788         * elf/tst-tls6.c: Likewise.
18789         * elf/tst-tls7.c: Likewise.
18790         * elf/tst-tls8.c: Likewise.
18791         * elf/tst-tls9.c: Likewise.
18792         * elf/tst-tlsmod1.c: Likewise.
18793         * elf/tst-tlsmod13.c: Likewise.
18794         * elf/tst-tlsmod13a.c: Likewise.
18795         * elf/tst-tlsmod14a.c: Likewise.
18796         * elf/tst-tlsmod16a.c: Likewise.
18797         * elf/tst-tlsmod16b.c: Likewise.
18798         * elf/tst-tlsmod2.c: Likewise.
18799         * elf/tst-tlsmod3.c: Likewise.
18800         * elf/tst-tlsmod4.c: Likewise.
18801         * elf/tst-tlsmod5.c: Likewise.
18802         * elf/tst-tlsmod6.c: Likewise.
18804 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
18806         [BZ #12486]
18807         * malloc/malloc.c: remove checks for statistics.
18809 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18811         [BZ #15277]
18812         * inet/inet_net.c (inet_network): Detect additional invalid strings.
18813         * inet/tst-network.c: Add testcase.
18815 2013-10-17  Andreas Schwab  <schwab@suse.de>
18817         [BZ #15218]
18818         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
18819         to determine canonical name.
18821 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
18823         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
18824         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
18825         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
18826         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
18827         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
18828         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
18829         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
18830         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
18831         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
18832         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
18833         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
18834         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
18835         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
18836         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
18837         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
18838         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
18839         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
18840         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
18841         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
18842         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
18843         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
18844         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
18845         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
18846         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
18847         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
18848         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
18849         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
18850         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
18851         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
18852         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
18853         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
18854         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
18855         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
18856         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
18857         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
18858         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
18859         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
18860         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
18861         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
18862         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
18863         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
18864         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
18865         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
18866         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
18867         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
18868         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
18869         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
18870         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
18871         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
18872         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
18873         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
18874         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
18875         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
18876         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
18877         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
18878         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
18879         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
18880         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
18882 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
18884         [BZ #16041]
18885         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
18886         make result into a quiet NaN.
18888 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
18890         * soft-fp/adddf3.c: Fix horizontal whitespace.
18891         * soft-fp/addsf3.c: Likewise.
18892         * soft-fp/addtf3.c: Likewise.
18893         * soft-fp/divdf3.c: Likewise.
18894         * soft-fp/divsf3.c: Likewise.
18895         * soft-fp/divtf3.c: Likewise.
18896         * soft-fp/double.h: Likewise.
18897         * soft-fp/eqdf2.c: Likewise.
18898         * soft-fp/eqsf2.c: Likewise.
18899         * soft-fp/eqtf2.c: Likewise.
18900         * soft-fp/extenddftf2.c: Likewise.
18901         * soft-fp/extended.h: Likewise.
18902         * soft-fp/extendsfdf2.c: Likewise.
18903         * soft-fp/extendsftf2.c: Likewise.
18904         * soft-fp/extendxftf2.c: Likewise.
18905         * soft-fp/fixdfdi.c: Likewise.
18906         * soft-fp/fixdfsi.c: Likewise.
18907         * soft-fp/fixdfti.c: Likewise.
18908         * soft-fp/fixsfdi.c: Likewise.
18909         * soft-fp/fixsfsi.c: Likewise.
18910         * soft-fp/fixsfti.c: Likewise.
18911         * soft-fp/fixtfdi.c: Likewise.
18912         * soft-fp/fixtfsi.c: Likewise.
18913         * soft-fp/fixtfti.c: Likewise.
18914         * soft-fp/fixunsdfdi.c: Likewise.
18915         * soft-fp/fixunsdfsi.c: Likewise.
18916         * soft-fp/fixunsdfti.c: Likewise.
18917         * soft-fp/fixunssfdi.c: Likewise.
18918         * soft-fp/fixunssfsi.c: Likewise.
18919         * soft-fp/fixunssfti.c: Likewise.
18920         * soft-fp/fixunstfdi.c: Likewise.
18921         * soft-fp/fixunstfsi.c: Likewise.
18922         * soft-fp/fixunstfti.c: Likewise.
18923         * soft-fp/floatdidf.c: Likewise.
18924         * soft-fp/floatdisf.c: Likewise.
18925         * soft-fp/floatditf.c: Likewise.
18926         * soft-fp/floatsidf.c: Likewise.
18927         * soft-fp/floatsisf.c: Likewise.
18928         * soft-fp/floatsitf.c: Likewise.
18929         * soft-fp/floattidf.c: Likewise.
18930         * soft-fp/floattisf.c: Likewise.
18931         * soft-fp/floattitf.c: Likewise.
18932         * soft-fp/floatundidf.c: Likewise.
18933         * soft-fp/floatundisf.c: Likewise.
18934         * soft-fp/floatunditf.c: Likewise.
18935         * soft-fp/floatunsidf.c: Likewise.
18936         * soft-fp/floatunsisf.c: Likewise.
18937         * soft-fp/floatunsitf.c: Likewise.
18938         * soft-fp/floatuntidf.c: Likewise.
18939         * soft-fp/floatuntisf.c: Likewise.
18940         * soft-fp/floatuntitf.c: Likewise.
18941         * soft-fp/fmadf4.c: Likewise.
18942         * soft-fp/fmasf4.c: Likewise.
18943         * soft-fp/fmatf4.c: Likewise.
18944         * soft-fp/gedf2.c: Likewise.
18945         * soft-fp/gesf2.c: Likewise.
18946         * soft-fp/getf2.c: Likewise.
18947         * soft-fp/ledf2.c: Likewise.
18948         * soft-fp/lesf2.c: Likewise.
18949         * soft-fp/letf2.c: Likewise.
18950         * soft-fp/muldf3.c: Likewise.
18951         * soft-fp/mulsf3.c: Likewise.
18952         * soft-fp/multf3.c: Likewise.
18953         * soft-fp/negdf2.c: Likewise.
18954         * soft-fp/negsf2.c: Likewise.
18955         * soft-fp/negtf2.c: Likewise.
18956         * soft-fp/op-1.h: Likewise.
18957         * soft-fp/op-2.h: Likewise.
18958         * soft-fp/op-4.h: Likewise.
18959         * soft-fp/op-8.h: Likewise.
18960         * soft-fp/op-common.h: Likewise.
18961         * soft-fp/quad.h: Likewise.
18962         * soft-fp/single.h: Likewise.
18963         * soft-fp/soft-fp.h: Likewise.
18964         * soft-fp/sqrtdf2.c: Likewise.
18965         * soft-fp/sqrtsf2.c: Likewise.
18966         * soft-fp/sqrttf2.c: Likewise.
18967         * soft-fp/subdf3.c: Likewise.
18968         * soft-fp/subsf3.c: Likewise.
18969         * soft-fp/subtf3.c: Likewise.
18970         * soft-fp/truncdfsf2.c: Likewise.
18971         * soft-fp/trunctfdf2.c: Likewise.
18972         * soft-fp/trunctfsf2.c: Likewise.
18973         * soft-fp/trunctfxf2.c: Likewise.
18974         * soft-fp/unorddf2.c: Likewise.
18975         * soft-fp/unordsf2.c: Likewise.
18976         * soft-fp/unordtf2.c: Likewise.
18978 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
18980         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
18981         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
18983 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
18985         * elf/dl-libc.c: Clear initfini list after freeing.
18987 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
18989         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
18990         * soft-fp/addsf3.c: Likewise.
18991         * soft-fp/addtf3.c: Likewise.
18992         * soft-fp/divdf3.c: Likewise.
18993         * soft-fp/divsf3.c: Likewise.
18994         * soft-fp/divtf3.c: Likewise.
18995         * soft-fp/double.h: Likewise.
18996         * soft-fp/eqdf2.c: Likewise.
18997         * soft-fp/eqsf2.c: Likewise.
18998         * soft-fp/eqtf2.c: Likewise.
18999         * soft-fp/extenddftf2.c: Likewise.
19000         * soft-fp/extended.h: Likewise.
19001         * soft-fp/extendsfdf2.c: Likewise.
19002         * soft-fp/extendsftf2.c: Likewise.
19003         * soft-fp/extendxftf2.c: Likewise.
19004         * soft-fp/fixdfdi.c: Likewise.
19005         * soft-fp/fixdfsi.c: Likewise.
19006         * soft-fp/fixdfti.c: Likewise.
19007         * soft-fp/fixsfdi.c: Likewise.
19008         * soft-fp/fixsfsi.c: Likewise.
19009         * soft-fp/fixsfti.c: Likewise.
19010         * soft-fp/fixtfdi.c: Likewise.
19011         * soft-fp/fixtfsi.c: Likewise.
19012         * soft-fp/fixtfti.c: Likewise.
19013         * soft-fp/fixunsdfdi.c: Likewise.
19014         * soft-fp/fixunsdfsi.c: Likewise.
19015         * soft-fp/fixunsdfti.c: Likewise.
19016         * soft-fp/fixunssfdi.c: Likewise.
19017         * soft-fp/fixunssfsi.c: Likewise.
19018         * soft-fp/fixunssfti.c: Likewise.
19019         * soft-fp/fixunstfdi.c: Likewise.
19020         * soft-fp/fixunstfsi.c: Likewise.
19021         * soft-fp/fixunstfti.c: Likewise.
19022         * soft-fp/floatdidf.c: Likewise.
19023         * soft-fp/floatdisf.c: Likewise.
19024         * soft-fp/floatditf.c: Likewise.
19025         * soft-fp/floatsidf.c: Likewise.
19026         * soft-fp/floatsisf.c: Likewise.
19027         * soft-fp/floatsitf.c: Likewise.
19028         * soft-fp/floattidf.c: Likewise.
19029         * soft-fp/floattisf.c: Likewise.
19030         * soft-fp/floattitf.c: Likewise.
19031         * soft-fp/floatundidf.c: Likewise.
19032         * soft-fp/floatundisf.c: Likewise.
19033         * soft-fp/floatunsidf.c: Likewise.
19034         * soft-fp/floatunsisf.c: Likewise.
19035         * soft-fp/floatuntidf.c: Likewise.
19036         * soft-fp/floatuntisf.c: Likewise.
19037         * soft-fp/floatuntitf.c: Likewise.
19038         * soft-fp/fmadf4.c: Likewise.
19039         * soft-fp/fmasf4.c: Likewise.
19040         * soft-fp/fmatf4.c: Likewise.
19041         * soft-fp/gedf2.c: Likewise.
19042         * soft-fp/gesf2.c: Likewise.
19043         * soft-fp/getf2.c: Likewise.
19044         * soft-fp/ledf2.c: Likewise.
19045         * soft-fp/lesf2.c: Likewise.
19046         * soft-fp/letf2.c: Likewise.
19047         * soft-fp/muldf3.c: Likewise.
19048         * soft-fp/mulsf3.c: Likewise.
19049         * soft-fp/multf3.c: Likewise.
19050         * soft-fp/negdf2.c: Likewise.
19051         * soft-fp/negsf2.c: Likewise.
19052         * soft-fp/negtf2.c: Likewise.
19053         * soft-fp/op-1.h: Likewise.
19054         * soft-fp/op-2.h: Likewise.
19055         * soft-fp/op-4.h: Likewise.
19056         * soft-fp/op-8.h: Likewise.
19057         * soft-fp/op-common.h: Likewise.
19058         * soft-fp/quad.h: Likewise.
19059         * soft-fp/single.h: Likewise.
19060         * soft-fp/soft-fp.h: Likewise.
19061         * soft-fp/sqrtdf2.c: Likewise.
19062         * soft-fp/sqrtsf2.c: Likewise.
19063         * soft-fp/sqrttf2.c: Likewise.
19064         * soft-fp/subdf3.c: Likewise.
19065         * soft-fp/subsf3.c: Likewise.
19066         * soft-fp/subtf3.c: Likewise.
19067         * soft-fp/truncdfsf2.c: Likewise.
19068         * soft-fp/trunctfdf2.c: Likewise.
19069         * soft-fp/trunctfsf2.c: Likewise.
19070         * soft-fp/trunctfxf2.c: Likewise.
19071         * soft-fp/unorddf2.c: Likewise.
19072         * soft-fp/unordsf2.c: Likewise.
19073         * soft-fp/unordtf2.c: Likewise.
19075 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
19077         [BZ #15672]
19078         * misc/error.c (error_tail): Fix possible buffer overflow.
19080 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
19082         [BZ #13028]
19083         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
19084         address.
19086 2013-10-14  P. J. McDermott  <pj@pehjota.net>
19088         [BZ #832]
19089         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
19090         testing pipefail option.
19092 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19094         * soft-fp/double.h: Indent preprocessor directives inside #if.
19095         * soft-fp/extended.h: Likewise.
19096         * soft-fp/op-2.h: Likewise.
19097         * soft-fp/op-4.h: Likewise.
19098         * soft-fp/op-common.h: Likewise.
19099         * soft-fp/quad.h: Likewise.
19100         * soft-fp/single.h: Likewise.
19101         * soft-fp/soft-fp.h: Likewise.
19103 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
19105         * iconv/iconv_prog.c: Fix typos.
19106         * stdio-common/psiginfo-data.h: Likewise.
19108 2013-10-12   Reuben Thomas <rrt@sc3d.org>
19110         [BZ #15764]
19111         * locale/setlocale.c: Fix typo.
19113 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #16036]
19116         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
19117         signaling NaN arguments.
19118         * soft-fp/unordsf2.c (__unordsf2): Likewise.
19119         * soft-fp/unordtf2.c (__unordtf2): Likewise.
19121         [BZ #14910]
19122         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
19123         unordered operands.
19124         * soft-fp/gesf2.c (__gesf2): Likewise.
19125         * soft-fp/getf2.c (__getf2): Likewise.
19126         * soft-fp/ledf2.c (__ledf2): Likewise.
19127         * soft-fp/lesf2.c (__lesf2): Likewise.
19128         * soft-fp/letf2.c (__letf2): Likewise.
19130         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
19131         * soft-fp/eqsf2.c (__eqsf2): Likewise.
19132         * soft-fp/eqtf2.c (__eqtf2): Likewise.
19133         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
19134         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
19135         * soft-fp/fixdfti.c (__fixdfti): Likewise.
19136         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
19137         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
19138         * soft-fp/fixsfti.c (__fixsfti): Likewise.
19139         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
19140         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
19141         * soft-fp/fixtfti.c (__fixtfti): Likewise.
19142         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
19143         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
19144         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
19145         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
19146         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
19147         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
19148         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
19149         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
19150         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
19151         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
19152         * soft-fp/floatdisf.c (__floatdisf): Likewise.
19153         * soft-fp/floatsisf.c (__floatsisf): Likewise.
19154         * soft-fp/floattidf.c (__floattidf): Likewise.
19155         * soft-fp/floattisf.c (__floattisf): Likewise.
19156         * soft-fp/floattitf.c (__floattitf): Likewise.
19157         * soft-fp/floatundidf.c (__floatundidf): Likewise.
19158         * soft-fp/floatundisf.c (__floatundisf): Likewise.
19159         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
19160         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
19161         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
19162         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
19163         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
19164         * soft-fp/gesf2.c (__gesf2): Likewise.
19165         * soft-fp/getf2.c (__getf2): Likewise.
19166         * soft-fp/ledf2.c (__ledf2): Likewise.
19167         * soft-fp/lesf2.c (__lesf2): Likewise.
19168         * soft-fp/letf2.c (__letf2): Likewise.
19170         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
19171         Undefine and redefine.
19172         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
19173         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
19174         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
19175         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
19176         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19177         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
19178         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19179         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
19180         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19181         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
19182         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19183         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
19184         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19185         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
19186         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
19188         [BZ #16032]
19189         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
19190         without decrementing exponent if mantissa >= that for the
19191         denominator, not >.
19192         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
19193         denominator, not >.  Decrement exponent in < case instead of
19194         incrementing in >= case.
19195         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
19196         without decrementing exponent if mantissa >= that for the
19197         denominator, not >.
19199         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
19200         computing saturated result for unsigned overflow.
19202 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19203             Jeff Law  <law@redhat.com>
19205         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
19206         (atan2Mp): Add systemtap probe marker.
19207         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
19208         (__ieee754_log): Add systemtap probe marker.
19209         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
19210         (atanMp): Add systemtap probe marker.
19211         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
19212         (tanMp): Add systemtap probe marker.
19213         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
19214         (__slowexp): Add systemtap probe marker.
19215         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
19216         (__slowpow): Add systemtap probe marker.
19217         * manual/probes.texi: Document probes.
19219 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
19221         [BZ #15362]
19222         * libio/fileops.c (_IO_new_file_write): Return count of bytes
19223         written.
19224         (_IO_new_file_xsputn): Don't return EOF if nothing has been
19225         written.
19226         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
19227         written to buffer but not flushed.
19228         * libio/iofwrite_u.c:  Likewise.
19229         * libio/iopadn.c:  Return bytes returned even if EOF was
19230         encountered.
19231         * libio/iowpadn.c:  Likewise.
19232         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
19233         if _IO_padn does not write the whole buffer.
19234         [!COMPILE_WPRINTF] (PAD): Likewise.
19236 2013-10-10  David S. Miller  <davem@davemloft.net>
19238         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
19239         directory block.
19241 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19243         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
19244         instead of FSF address.
19245         * soft-fp/fixdfti.c: Likewise.
19246         * soft-fp/fixsfti.c: Likewise.
19247         * soft-fp/fixtfti.c: Likewise.
19248         * soft-fp/fixunsdfti.c: Likewise.
19249         * soft-fp/fixunssfti.c: Likewise.
19250         * soft-fp/fixunstfti.c: Likewise.
19251         * soft-fp/floattidf.c: Likewise.
19252         * soft-fp/floattisf.c: Likewise.
19253         * soft-fp/floattitf.c: Likewise.
19254         * soft-fp/floatuntidf.c: Likewise.
19255         * soft-fp/floatuntisf.c: Likewise.
19256         * soft-fp/floatuntitf.c: Likewise.
19257         * soft-fp/trunctfxf2.c: Likewise.
19259         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
19260         * soft-fp/fixdfti.c: Likewise.
19261         * soft-fp/fixsfti.c: Likewise.
19262         * soft-fp/fixtfti.c: Likewise.
19263         * soft-fp/fixunsdfti.c: Likewise.
19264         * soft-fp/fixunssfti.c: Likewise.
19265         * soft-fp/fixunstfti.c: Likewise.
19266         * soft-fp/floattidf.c: Likewise.
19267         * soft-fp/floattisf.c: Likewise.
19268         * soft-fp/floattitf.c: Likewise.
19269         * soft-fp/floatuntidf.c: Likewise.
19270         * soft-fp/floatuntisf.c: Likewise.
19271         * soft-fp/floatuntitf.c: Likewise.
19272         * soft-fp/trunctfxf2.c: Likewise.
19274 2013-10-10  David S. Miller  <davem@davemloft.net>
19276         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19278 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
19280         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19281         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
19282         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
19283         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
19284         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
19285         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
19286         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
19288         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
19289         for NaNs before doing comparisons on argument.
19290         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
19291         Likewise.
19293 2013-10-10  Will Newton  <will.newton@linaro.org>
19295         * malloc/hooks.c (memalign_check): Ensure the value of bytes
19296         passed to _int_memalign does not overflow.
19298 2013-10-10  Torvald Riegel  <triegel@redhat.com>
19300         * scripts/bench.pl: Add include-sources directive.
19301         * benchtests/README: Update documentation.
19303 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
19305         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
19306         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
19307         instead of FP_INIT_ROUNDMODE.
19308         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
19309         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
19311         [BZ #16034]
19312         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
19313         copy class of input value.
19314         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
19315         not handle exceptions.
19316         * soft-fp/negsf2.c (__negsf2): Likewise.
19317         * soft-fp/negtf2.c (__negtf2): Likewise.
19318         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
19320 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
19322         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
19323         semicolon.  From Linux kernel.
19325 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
19327         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
19329 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
19331         [BZ #156]
19332         * manual/socket.texi: Added statement about buffer
19333         for gethostbyname2_r.
19335 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
19337         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
19338         Use .p2align directive instead, throughout.
19339         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19340         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
19341         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19342         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19343         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19344         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
19345         * sysdeps/x86_64/strchr.S: Likewise.
19346         * sysdeps/x86_64/strrchr.S: Likewise.
19348 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
19350         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
19352         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
19354         * sysdeps/generic/math_private.h (__mpsin1): Remove
19355         declaration.
19356         (__mpcos1): Likewise.
19357         (__mpsin): New argument __range_reduce.
19358         (__mpcos): Likewise.
19359         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19360         (slow): Use __mpsin and __mpcos.
19361         (slow1): Likewise.
19362         (slow2): Likewise.
19363         (sloww): Likewise.
19364         (sloww1): Likewise.
19365         (sloww2): Likewise.
19366         (bsloww): Likewise.
19367         (bsloww1): Likewise.
19368         (bsloww2): Likewise.
19369         (cslow2): Likewise.
19370         (csloww): Likewise.
19371         (csloww1): Likewise.
19372         (csloww2): Likewise.
19373         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
19374         range_reduce.  Merge in __mpsin1.
19375         (__mpcos): Likewise.
19376         (__mpsin1): Remove.
19377         (__mpcos1): Likewise.
19379 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
19381         * locale/loadlocale.c (_nl_intern_locale_data): Use
19382         LOCFILE_ALIGNED_P.
19383         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
19384         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
19385         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
19386         obstack data is appropriately aligned.
19387         (obstack_int32_grow_fast): Likewise.
19388         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
19389         * locale/programs/locfile.c (add_locale_uint32): Likewise.
19390         (add_locale_uint32_array): Likewise.
19392 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
19394         * benchtests/Makefile: Remove ARGLIST and RET variables.
19395         ($(objpfx)bench-%.c): Pass only function name to the script.
19396         * benchtests/README: Update documentation.
19397         * benchtests/acos-inputs: Add new directives.
19398         * benchtests/acosh-inputs: Likewise.
19399         * benchtests/asin-inputs: Likewise.
19400         * benchtests/asinh-inputs: Likewise.
19401         * benchtests/atan-inputs: Likewise.
19402         * benchtests/atanh-inputs: Likewise.
19403         * benchtests/cos-inputs: Likewise.
19404         * benchtests/cosh-inputs: Likewise.
19405         * benchtests/exp-inputs: Likewise.
19406         * benchtests/log-inputs: Likewise.
19407         * benchtests/pow-inputs: Likewise.
19408         * benchtests/rint-inputs: Likewise.
19409         * benchtests/sin-inputs: Likewise.
19410         * benchtests/sinh-inputs: Likewise.
19411         * benchtests/tan-inputs: Likewise.
19412         * benchtests/tanh-inputs: Likewise.
19413         * scripts/bench.pl: Add support for new directives.
19415 2013-10-07  Alan Modra  <amodra@gmail.com>
19417         * README: Fix careless merge.
19419 2013-10-05  Alan Modra  <amodra@gmail.com>
19421         * NEWS: Mention powerpc64le support and bugs fixed.
19422         * README: Both big-endian and little-endian powerpc64 supported.
19424 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19426         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
19427         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
19428         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
19429         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
19431 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
19433         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
19434         match prototype.
19436 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
19438         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
19439         Move -mhard-float appending from
19440         ports/sysdeps/powerpc/powerpc32/Makefile.
19441         [$(with-fp) = yes] (ASFLAGS): Likewise.
19442         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
19443         * sysdeps/powerpc/nofpu: Move directory from
19444         ports/sysdeps/powerpc/nofpu.
19445         * sysdeps/powerpc/soft-fp: Move directory from
19446         ports/sysdeps/powerpc/soft-fp.
19447         * sysdeps/powerpc/powerpc32/405: Move directory from
19448         ports/sysdeps/powerpc/powerpc32/405.
19449         * sysdeps/powerpc/powerpc32/440: Move directory from
19450         ports/sysdeps/powerpc/powerpc32/440.
19451         * sysdeps/powerpc/powerpc32/464: Move directory from
19452         ports/sysdeps/powerpc/powerpc32/464.
19453         * sysdeps/powerpc/powerpc32/476: Move directory from
19454         ports/sysdeps/powerpc/powerpc32/476.
19455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
19456         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
19457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
19458         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
19459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
19460         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
19461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
19462         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
19463         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
19464         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
19465         * README: Update for powerpc-*-linux-gnu software floating point
19466         support in libc.
19468         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
19469         case to powerpc/powerpc32*.
19470         * sysdeps/unix/sysv/linux/configure: Regenerated.
19472         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
19473         (_FPU_MASK_OM): Define as 0x04.
19474         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
19475         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
19476         0x00c10080.
19477         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
19478         0x0000003c.
19479         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
19481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
19482         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19483         getcontext_e500.
19484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
19485         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
19486         setcontext_e500.
19487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
19488         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
19489         and setcontext_e500.
19491 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
19493         * locale/iso-3166.def: Update iso-1366.def and related occurrences
19495 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
19497         * manual/threads.texi (Default Thread Attributes): Fix typo.
19499 2013-10-04  Will Newton  <will.newton@linaro.org>
19501         * malloc/Makefile: Add tst-memalign.
19502         * malloc/tst-memalign.c: New file.
19504         * malloc/tst-posix_memalign.c: Add comments.
19505         (do_test): Add comments and call free on all potentially
19506         allocated pointers. Add space after cast.
19508         * malloc/tst-pvalloc.c: Add comments.
19509         (do_test): Add comments and call free on all potentially
19510         allocated pointers. Remove duplicate check for NULL pointer.
19511         Add space after cast.
19513         * malloc/tst-valloc.c: Add comments.
19514         (do_test): Add comments and call free on all potentially
19515         allocated pointers. Remove duplicate check for NULL pointer.
19516         Add space after cast.
19518 2013-10-04  Alan Modra  <amodra@gmail.com>
19520         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19521         Use stdint types in rather than __attribute__((mode())).
19522         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19524 2013-10-04  Alan Modra  <amodra@gmail.com>
19526         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19527         Correct handling of unaligned relocs for little-endian.
19528         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19530 2013-10-04  Alan Modra  <amodra@gmail.com>
19532         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
19533         * configure: Regenerate.
19534         * nptl/shlib-versions: Powerpc*le starts at 2.18.
19535         * shlib-versions: Likewise.
19537 2013-10-04  Alan Modra  <amodra@gmail.com>
19539         * string/tester.c (test_memrchr): Increment reported test cycle.
19541 2013-10-04  Alan Modra  <amodra@gmail.com>
19543         * string/test-memcpy.c (do_one_test): When reporting errors, print
19544         string address and don't overrun end of string.
19546 2013-10-04  Alan Modra  <amodra@gmail.com>
19548         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
19549         insrdi.  Make better use of reg selection to speed exit slightly.
19550         Schedule entry path a little better.  Remove useless "are we done"
19551         checks on entry to main loop.  Handle wrapping around zero address.
19552         Correct main loop count.  Handle single left-over word from main
19553         loop inline rather than by using loop_small.  Remove extra word
19554         case in loop_small caused by wrong loop count.  Add little-endian
19555         support.
19556         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19557         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
19558         cache hint.
19559         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19560         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
19561         support.  Avoid rlwimi.
19562         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
19564 2013-10-04  Alan Modra  <amodra@gmail.com>
19566         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
19567         insrdi.  Formatting.
19568         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
19569         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
19570         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
19571         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
19572         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
19573         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
19575 2013-10-04  Alan Modra  <amodra@gmail.com>
19577         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
19578         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19579         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
19580         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
19581         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19582         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19583         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19584         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
19585         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
19586         use of regs.  Use power7 mtocrf.  Tidy function tails.
19588 2013-10-04  Alan Modra  <amodra@gmail.com>
19590         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
19591         Formatting.  Consistently use rXXX register defines or rN defines.
19592         Use early exit labels that avoid restoring unused non-volatile regs.
19593         Make cr field use more consistent with rWORDn compares.  Rename
19594         regs used as shift registers for unaligned loop, using rN defines
19595         for short lifetime/multiple use regs.
19596         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19597         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
19598         addi 1,1,64 to pop stack frame.  Simplify return value code.
19599         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19601 2013-10-04  Alan Modra  <amodra@gmail.com>
19603         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
19604         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
19605         rather than rlwimi.
19606         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
19607         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
19608         little-endian support.  Correct typos.
19609         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
19610         rather than rlwimi.
19611         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
19612         in loop and entry code to keep "and." results.
19613         (strchr): Add little-endian support.  Comment.  Move cntlzd
19614         earlier in tail.
19615         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
19617 2013-10-04  Alan Modra  <amodra@gmail.com>
19619         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
19620         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
19621         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
19622         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
19624 2013-10-04  Alan Modra  <amodra@gmail.com>
19626         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
19627         (rTMP): Define as r11.
19628         (strcmp): Add little-endian support.  Optimise tail.
19629         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
19630         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19631         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19632         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19633         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19634         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19635         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19637 2013-10-04  Alan Modra  <amodra@gmail.com>
19639         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
19640         little-endian support.  Remove unnecessary "are we done" tests.
19641         Handle "s" wrapping around zero and extremely large "size".
19642         Correct main loop count.  Handle single left-over word from main
19643         loop inline rather than by using small_loop.  Correct comments.
19644         Delete "zero" tail, use "end_max" instead.
19645         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
19647 2013-10-04  Alan Modra  <amodra@gmail.com>
19649         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
19650         support.  Don't branch over align.
19651         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
19652         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
19653         support.  Rearrange tmp reg use to suit.  Comment.
19654         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
19656 2013-10-04  Alan Modra  <amodra@gmail.com>
19658         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
19660 2013-10-04  Alan Modra  <amodra@gmail.com>
19662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
19663         conditional form of branch and link when obtaining pc.
19664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
19666 2013-10-04  Alan Modra  <amodra@gmail.com>
19668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
19669         HIWORD/LOWORD.
19670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
19671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
19673 2013-10-04  Alan Modra  <amodra@gmail.com>
19675         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
19676         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
19677         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
19678         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
19679         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
19680         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
19681         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
19682         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
19683         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
19684         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
19686 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19687             Alistair Popple <alistair@ozlabs.au.ibm.com>
19688             Alan Modra <amodra@gmail.com>
19690         [BZ #15723]
19691         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
19692         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
19693         _dl_hwcap access for little-endian.
19694         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
19695         destroy vmx regs when saving unaligned.
19696         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
19697         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
19698         destroy vmx regs when saving unaligned.
19700 2013-10-04  Alan Modra  <amodra@gmail.com>
19702         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
19703         Don't use a union to pack hi/low value.
19705 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19707         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
19708         for little-endian.
19709         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
19710         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
19711         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
19712         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
19713         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
19715 2013-10-04  Alan Modra  <amodra@gmail.com>
19717         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
19718         constants to usual value for .cst8 section, and remove redundant
19719         high address load.
19720         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
19721         constant for 0x1p52.  Load little-endian words of double from
19722         correct stack offsets.
19724 2013-10-04  Alan Modra  <amodra@gmail.com>
19726         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
19727         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
19728         words of double from correct stack offsets.
19729         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
19730         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
19731         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
19732         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
19733         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
19734         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
19735         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
19736         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
19737         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
19738         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
19739         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
19740         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
19741         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
19742         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
19743         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
19744         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
19745         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
19747 2013-10-04  Alan Modra  <amodra@gmail.com>
19749         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
19750         64-bit int/double union.
19751         (_FPU_SETCW): Likewise.
19752         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
19753         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
19755 2013-10-04  Alan Modra  <amodra@gmail.com>
19757         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
19758         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
19760 2013-10-04  Alan Modra  <amodra@gmail.com>
19762         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
19763         use vector int constants.
19764         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
19766 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19768         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
19769         array with long long.
19770         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
19771         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
19772         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
19773         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
19774         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
19775         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
19776         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
19777         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
19778         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
19779         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
19780         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
19781         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
19782         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
19784 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
19786         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
19787         (__signbit): Likewise.  Correct for little-endian.
19788         (__signbitl): Call __signbit.
19789         (lrint): Correct for little-endian.
19790         (lrintf): Call lrint.
19792 2013-10-04  Alan Modra  <amodra@gmail.com>
19794         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
19795         union 32-bit int array member with 64-bit int array.
19796         (t515, tm256): Double rather than long double.
19797         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
19799 2013-10-04  Alan Modra  <amodra@gmail.com>
19801         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
19802         Delete.
19803         (IEEE854_LONG_DOUBLE_BIAS): Delete.
19804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
19805         version of math_ldbl.h.
19807 2013-10-04  Alan Modra  <amodra@gmail.com>
19809         [BZ #15734], [BZ #15735]
19810         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
19811         all uses of ieee875 long double macros and unions.  Simplify test
19812         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
19813         ldbl_extract_mantissa value for ix,iy exponents.  Properly
19814         normalize after ldbl_extract_mantissa, and don't add hidden bit
19815         already handled.  Don't treat low word of ieee854 mantissa like
19816         low word of IBM long double and mask off bit when testing for
19817         zero.
19818         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
19819         all uses of ieee875 long double macros and unions.  Simplify tests
19820         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
19821         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
19822         two1022, instead use their values.  Recognise that tests for large
19823         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
19824         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
19825         Rewrite all uses of ieee875 long double macros and unions.  Simplify
19826         test for 0.0L and nan.  Correct negation.
19827         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
19828         ieee875 long double macros and unions.  Correct output for large
19829         magnitude x.  Correct absolute value calculation.
19830         (__erfcl): Likewise.
19831         * math/libm-test.inc: Add tests for errors discovered in IBM long
19832         double versions of fmodl, remainderl, erfl and erfcl.
19834 2013-10-04  Alan Modra  <amodra@gmail.com>
19836         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
19837         all uses of ieee854 long double macros and unions.  Simplify tests
19838         for long doubles that are fully specified by the high double.
19839         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
19840         Likewise.
19841         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
19842         Remove dead code too.
19843         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
19844         (__ieee754_ynl): Likewise.
19845         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
19846         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
19847         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
19848         Remove dead code too.
19849         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
19850         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
19851         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19852         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
19853         Simplify.
19854         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
19855         Simplify.
19856         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
19857         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
19858         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
19859         Comment on variable precision.
19860         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
19861         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19862         Likewise.
19863         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
19864         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
19865         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
19866         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
19867         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
19869 2013-10-04  Alan Modra  <amodra@gmail.com>
19871         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
19872         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
19873         all uses of ieee854 long double macros and unions.
19874         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
19875         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19876         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
19877         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
19878         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
19879         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
19880         Likewise.
19881         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
19882         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
19883         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
19884         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
19885         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
19886         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
19887         Simplify sign and nan test too.
19888         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
19889         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
19890         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
19891         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
19892         Likewise.
19893         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
19894         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
19895         Likewise.
19896         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19897         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
19898         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
19899         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
19900         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
19901         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
19903 2013-10-04  Alan Modra  <amodra@gmail.com>
19905         * stdio-common/printf_size.c (__printf_size): Don't use
19906         union ieee854_long_double in fpnum union.
19907         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
19908         signbit macro to retrieve sign from long double.
19909         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
19910         retrieve sign from long double.
19911         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
19912         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
19913         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
19914         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
19915         * math/test-misc.c (main): Don't use union ieee854_long_double.
19917 2013-10-04  Alan Modra  <amodra@gmail.com>
19919         [BZ #15680]
19920         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
19921         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
19922         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
19923         calculation.  Remove unnecessary test for denormal exponent.
19924         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
19925         Correct handling of denormals.  Avoid undefined shift behaviour.
19926         Correct normalisation of low mantissa when low double is denormal.
19927         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
19928         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
19929         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
19930         Correct normalisation of low mantissa.  Test for overflow of high
19931         mantissa and normalise.
19932         (ldbl_nearbyint): Use more readable constant for two52.
19933         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
19934         (__mpn_construct_long_double): Fix test for overflow of high
19935         mantissa and correct normalisation.  Avoid undefined shift.
19937 2013-10-04  Alan Modra  <amodra@gmail.com>
19939         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
19940         (union ibm_extended_long_double): Define as an array of ieee754_double.
19941         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
19942         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
19943         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
19944         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19945         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19946         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
19947         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
19948         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19949         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
19950         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
19951         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
19953 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
19955         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
19956         page size instead of calling getpagesize.
19958         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
19959         (LOCFILE_ALIGN_MASK): Likewise.
19960         (LOCFILE_ALIGN_UP): Likewise.
19961         (LOCFILE_ALIGNED_P): Likewise.
19962         * locale/programs/ld-collate.c (collate_output): Use the new
19963         macros instead of __alignof__ (int32_t).
19964         * locale/weight.h (findidx): Likewise.
19966 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
19968         [BZ #431]
19969         * manual/string.texi: Fix strncat and wcsncat.
19971 2013-10-03  Brooks Moses  <bmoses@google.com>
19973         [BZ #15915]
19974         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
19975         * Makerules: ...here, and adjust associated comments.
19977 2013-10-02  Will Newton  <will.newton@linaro.org>
19979         * malloc/Makefile: Add tst-pvalloc.
19980         * malloc/tst-pvalloc.c: New file.
19982 2013-10-02  Will Newton  <will.newton@linaro.org>
19984         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
19985         improve test coverage.
19987 2013-10-02  Will Newton  <will.newton@linaro.org>
19989         * malloc/Makefile: Add tst-posix_memalign.
19990         * malloc/tst-posix_memalign.c: New file.
19992 2013-10-01  Eric Blake  <eblake@redhat.com>
19994         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
19995         Use __THROWNL rather than __THROW on static functions.
19997 2013-09-30  Petr Machata  <pmachata@redhat.com>
19999         * elf/elf.h (R_AARCH64_ABS16): New macro.
20000         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
20001         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
20002         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
20003         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
20004         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
20005         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
20006         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
20007         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
20008         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
20009         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
20010         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
20011         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
20012         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
20013         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
20014         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
20015         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
20016         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
20017         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
20018         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
20019         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
20020         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
20021         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
20022         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
20023         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
20024         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
20025         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
20026         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
20027         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
20028         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
20029         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
20030         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
20031         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
20032         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
20033         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
20034         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
20035         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
20036         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
20037         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
20038         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
20039         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
20040         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
20041         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
20042         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
20043         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
20044         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
20045         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
20046         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
20047         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
20048         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
20049         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
20050         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
20051         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
20052         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
20053         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
20054         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
20055         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
20056         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
20057         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
20058         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
20059         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
20060         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
20061         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
20062         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
20063         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
20064         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
20065         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
20066         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
20067         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
20068         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
20069         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
20070         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
20071         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
20072         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
20073         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
20074         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
20075         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
20076         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
20077         (R_AARCH64_TLSDESC_LDR): Likewise.
20078         (R_AARCH64_TLSDESC_ADD): Likewise.
20079         (R_AARCH64_TLSDESC_CALL): Likewise.
20081 2013-09-30  Andreas Schwab  <schwab@suse.de>
20083         [BZ #15048]
20084         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
20085         the nss database lookup.
20086         * nscd/initgrcache.c (addinitgroupsX): Likewise.
20087         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20089 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
20091         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
20093 2013-09-28  P. J. McDermott  <pj@pehjota.net>
20095         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
20096         ${Bash-specific parameter/pattern/string} parameter expansion.
20097         * sysdeps/unix/make-syscalls.sh: Likewise.
20099 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20101         * sysdeps/sh/stackguard-macros.h: New file.
20103 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
20105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
20106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
20107         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
20108         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
20109         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
20110         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
20112 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20114         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
20115         Fix thread ID register.
20117 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
20119         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
20120         [POSIX || UNIX98]: Require rather than permitting all symbols from
20121         <time.h>.
20122         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
20123         element of struct sched_param.
20124         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
20125         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
20126         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
20127         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
20128         constant.
20130 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
20132         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
20133         argument calculation.
20135 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20137         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
20138         Expect macro.
20139         [POSIX] (pthread_attr_t): Do not require type.
20140         [POSIX] (pthread_cond_t): Likewise.
20141         [POSIX] (pthread_condattr_t): Likewise.
20142         [POSIX] (pthread_key_t): Likewise.
20143         [POSIX] (pthread_mutex_t): Likewise.
20144         [POSIX] (pthread_mutexattr_t): Likewise.
20145         [POSIX] (pthread_once_t): Likewise.
20146         [POSIX] (pthread_t): Likewise.
20147         [POSIX-based standards] (pthread_atfork): Expect function.
20149 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
20150             Richard Sandiford  <richard@codesourcery.com>
20152         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
20153         (swap_endianness_p): New extern variable.
20154         (set_big_endian): New inline function.
20155         (maybe_swap_uint32): Likewise.
20156         (maybe_swap_uint32_array): Likewise.
20157         (maybe_swap_uint32_obstack): Likewise.
20158         * locale/programs/locfile.c: Include <stdbool.h>.
20159         (swap_endianness_p): New variable.
20160         (add_locale_uint32): Call maybe_swap_uint32.
20161         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
20162         (write_locale_data): Call maybe_swap_uint32_array.
20163         * locale/programs/ld-collate.c (obstack_int32_grow): Call
20164         maybe_swap_uint32.
20165         (obstack_int32_grow_fast): Likewise.
20166         (output_weightwc): Call maybe_swap_uint32_obstack.
20167         (collate_output): Likewise.
20168         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
20169         (OPT_LITTLE_ENDIAN): Likewise.
20170         (options): Add --little-endian and --big-endian options.
20171         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
20172         * locale/programs/locarchive.c: Include "locfile.h".
20173         (GET): New macro.
20174         (SET): Likewise.
20175         (INC): Likewise.
20176         (create_archive): Use the new macros to access fields of
20177         structures directly mapped from or written to locale archives.
20178         (oldlocrecentcmp): Likewise.
20179         (enlarge_archive): Likewise.
20180         (insert_name): Likewise.
20181         (add_alias): Likewise.
20182         (add_locale): Likewise.
20183         (delete_locales_from_archive): Likewise.
20184         (show_archive_content): Likewise.
20185         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
20186         locale data.
20188 2013-09-24  Roland McGrath  <roland@hack.frob.com>
20190         * manual/freemanuals.texi: Updated from (newly) canonical copy at
20191         http://www.gnu.org/doc/freemanuals.texi.
20192         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
20194 2013-09-24  Will Newton  <will.newton@linaro.org>
20196         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
20197         macro.
20199 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
20201         * locale/hashval.h (compute_hashval): Interpret bytes of key as
20202         unsigned char.
20204 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
20206         * manual/threads.texi (POSIX Threads): Fix a typo.
20208 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
20210         [BZ #14547]
20211         * string/tst-strcoll-overflow.c: New test case.
20212         * string/Makefile (xtests): Add tst-strcoll-overflow.
20213         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
20214         cache if string sizes may cause integer overflow.
20216         [BZ #14547]
20217         * string/strcoll_l.c (coll_seq): New members rule, idx,
20218         save_idx and back_us.
20219         (get_next_seq_nocache): New function.
20220         (do_compare_nocache): New function.
20221         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
20222         when malloc fails.
20224 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
20226         [BZ #15754]
20227         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
20228         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
20229         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
20231         [BZ #15754]
20232         * elf/Makefile (tests): Add tst-ptrguard1.
20233         (tests-static): Add tst-ptrguard1-static.
20234         (tst-ptrguard1-ARGS): Define.
20235         (tst-ptrguard1-static-ARGS): Define.
20236         * elf/tst-ptrguard1.c: New file.
20237         * elf/tst-ptrguard1-static.c: New file.
20238         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
20239         * sysdeps/i386/stackguard-macros.h: Likewise.
20240         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
20241         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
20242         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
20243         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
20244         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
20245         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
20247 2013-09-23  Hector Marco  <hecmargi@upv.es>
20248             Ismael Ripoll  <iripoll@disca.upv.es>
20249             Carlos O'Donell  <carlos@redhat.com>
20251         [BZ #15754]
20252         * sysdeps/generic/stackguard-macros.h: Define
20253         __pointer_chk_guard_local and POINTER_CHK_GUARD.
20254         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
20255         Define __pointer_chk_guard_local.
20256         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
20257         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
20259 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
20261         [BZ #15859]
20262         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
20264 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
20266         * include/string.h (__ffs): Declare as hidden.
20267         * string/ffs.c (__ffs): Define as hidden.
20268         * sysdeps/i386/ffs.c (__ffs): Likewise.
20269         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
20270         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
20271         * sysdeps/s390/ffs.c (__ffs): Likewise.
20272         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
20274 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
20276         * NEWS: Mention malloc probes.
20278         * malloc/arena.c (new_heap): New memory_heap_new probe.
20279         (grow_heap): New memory_heap_more probe.
20280         (shrink_heap): New memory_heap_less probe.
20281         (heap_trim): New memory_heap_free probe.
20282         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
20283         (systrim): New memory_sbrk_less probe.
20284         * manual/probes.texi: Document them.
20286         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
20287         * manual/probes.texi: Document it.
20289         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
20290         (__libc_realloc): Add memory_realloc_retry probe.
20291         (__libc_memalign): Add memory_memalign_retry probe.
20292         (__libc_valloc): Add memory_valloc_retry probe.
20293         (__libc_pvalloc): Add memory_pvalloc_retry probe.
20294         (__libc_calloc): Add memory_calloc_retry probe.
20295         * manual/probes.texi: Document them.
20297         * malloc/arena.c (get_free_list): Add probe
20298         memory_arena_reuse_free_list.
20299         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
20300         and memory_arena_reuse.
20301         (arena_get2) [!PER_THREAD]: Likewise.
20302         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
20303         memory_arena_reuse_realloc.
20304         * manual/probes.texi: Document them.
20306         * malloc/malloc.c (__libc_free): Add
20307         memory_mallopt_free_dyn_thresholds probe.
20308         (__libc_mallopt): Add multiple memory_mallopt probes.
20309         * manual/probes.texi: Document them.
20311         * malloc/malloc.c: Include stap-probe.h.
20312         (__libc_mallopt): Add memory_mallopt probe.
20313         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
20314         * manual/probes.texi: New.
20315         * manual/Makefile (chapters): Add probes.
20316         * manual/threads.texi: Set next node.
20318 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
20320         [BZ #15963, #13985]
20321         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
20322         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
20323         Add `Chinese' to `nan' entry name.
20325 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20327         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
20328         (POLYNOMIAL): Likewise.
20329         (TAYLOR_SINCOS): Likewise.
20330         (TAYLOR_SLOW): Likewise.
20331         (__sin): Use TAYLOR_SINCOS.
20332         (__cos): Likewise.
20333         (slow): Use TAYLOR_SLOW.
20334         (sloww): Likewise.
20335         (bsloww): Likewise.
20336         (csloww): Likewise.
20338 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
20340         * stdlib/strtod_l.c: Fix buffer overrun.
20342 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20344         * benchtests/Makefile (bench): Add sincos.
20345         * benchtests/bench-sincos.c: New file.
20347         * math/libm-test.inc (cos_test_data): New test inputs.
20348         (sin_test_data): Likewise.
20350         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
20351         macro.
20352         (__sin): Use it.
20353         (__cos): Likewise.
20354         (slow1): Likewise.
20355         (slow2): Likewise.
20356         (sloww1): Likewise.
20357         (sloww2): Likewise.
20358         (bsloww1): Likewise.
20359         (bsloww2): Likewise.
20360         (cslow2): Likewise.
20361         (csloww1): Likewise.
20362         (csloww2): Likewise.
20364         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
20365         function.
20366         (__sin): Use it.
20367         (__cos): Likewise.
20369         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
20370         gotos.
20371         (__cos): Likewise.
20373 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
20375         * config.h.in (HAVE_MIPS_NAN2008): New macro.
20376         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
20377         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
20378         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
20379         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
20380         * elf/cache.c (print_entry): Handle the new cache flags.
20382 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20383             Aldy Hernandez  <aldyh@redhat.com>
20385         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
20386         Change condition to [_SOFT_FLOAT].
20387         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
20388         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
20389         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
20390         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
20391         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
20392         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
20393         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
20394         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
20395         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
20396         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
20397         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
20398         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
20399         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
20400         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
20401         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
20402         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
20403         declaration.
20405 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
20407         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
20408         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20409         (__longjmp): Use LOAD_GP to load saved GPRs.
20410         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
20411         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
20412         (__sigsetjmp): Use SAVE_GP to save GPRs.
20414         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
20415         Do not append -msoft-float.
20416         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
20418 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20420         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
20422 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
20424         [BZ #15966]
20425         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
20426         (_FPU_GETCW): Use initial "__" on variable and field names but not
20427         on macro parameter name.
20428         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
20429         parentheses around reference to macro parameter.
20431 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
20433         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
20434         prototype.
20435         (ctype_startup): Use uint32_t in cast and sizeof for
20436         ctype->charnames.
20438 2013-09-11  Jia Liu  <proljc@gmail.com>
20440         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
20441         __daddr_t_defined.
20442         [__FreeBSD__]: Likewise.
20444 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
20446         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20447         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
20448         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
20449         (strchr): Remove __strchr_sse42 ifunc selection.
20450         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
20451         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
20453 2013-09-11  Will Newton  <will.newton@linaro.org>
20455         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
20456         parameter to RES. Remove hardcoded 1000 value.
20457         * benchtests/bench-skeleton.c (main): Pass RES parameter
20458         to TIMING_INIT and multiply result by 1000.
20460 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20462         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20464 2013-09-11  Andreas Schwab  <schwab@suse.de>
20466         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
20467         if not defined.
20468         (O_TMPFILE) [__USE_GNU]: Define.
20469         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
20470         Define.
20472 2013-09-11  Will Newton  <will.newton@linaro.org>
20474         [BZ #15857]
20475         * malloc/malloc.c (__libc_memalign): Check the value of bytes
20476         does not overflow.
20478 2013-09-11  Will Newton  <will.newton@linaro.org>
20480         [BZ #15856]
20481         * malloc/malloc.c (__libc_valloc): Check the value of bytes
20482         does not overflow.
20484 2013-09-11  Will Newton  <will.newton@linaro.org>
20486         [BZ #15855]
20487         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
20488         does not overflow.
20490 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
20492         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
20493         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20494         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20495         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20496         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20498 2013-09-10  Allan McRae  <allan@archlinux.org>
20500         [BZ #15748]
20501         * manual/arith.texi (Parsing of Floats): Clarify
20502         cross-reference.
20504         [BZ #15849]
20505         * manual/install.texi (Running make install): Mention
20506         --enable-pt-chown.
20507         * INSTALL: Regenerated.
20509 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
20511         * csu/init-first.c (_init): Remove the !SHARED condition around
20512         FPU control word initialization.
20513         * elf/dl-support.c (_dl_fpu_control): New variable.
20514         (_dl_aux_init) <AT_FPUCW>: Initialize it.
20515         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
20516         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
20517         * math/test-fpucw-static.c: New file.
20518         * math/test-fpucw-ieee.c: New file.
20519         * math/test-fpucw-ieee-static.c: New file.
20520         * math/Makefile (tests): Add `test-fpucw-ieee' and
20521         `$(tests-static)'.
20522         (tests-static): New variable.
20523         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
20524         dependency to...
20525         [($(build-shared),yes)]
20526         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
20527         ... this.
20528         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
20529         New dependency.
20531 2013-09-09  Allan McRae  <allan@archlinux.org>
20533         [BZ #15939]
20534         * manual/string.texi (Collation Functions): Fix typo in
20535         strcoll example.
20536         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
20538         [BZ #15893]
20539         * stdlib/isomac.c (get_null_defines): Fix memory leak.
20541         [BZ #15892]
20542         * libio/memstream.c (open_memstream): Fix memory leak.
20543         * libio/wmemstream.c (open_wmemstream): Likewise.
20545         [BZ #15895]
20546         * nscd/netgroupcache.c: Fix nesting of ifdefs.
20548 2013-09-09  Will Newton  <will.newton@linaro.org>
20550         * malloc/Makefile: Add tst-realloc to tests.
20551         * malloc/tst-realloc.c: New file.
20553 2013-09-09  Allan McRae  <allan@archlinux.org>
20555         [BZ #15844]
20556         * COPYING: Update from GNU website to fix FSF address.
20557         * COPYING.LIB: Likewise.
20559 2013-09-06  David S. Miller  <davem@davemloft.net>
20561         * po/zh_TW.po: Update Chinese (traditional) translation from
20562         translation project.
20564 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
20565             Joseph Myers  <joseph@codesourcery.com>
20567         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
20568         "localeinfo.h".
20569         (obstack_chunk_alloc): New macro.
20570         (obstack_chunk_free): Likewise.
20571         (record_offset): New function.
20572         (init_locale_data): Likewise.
20573         (align_locale_data): Likewise.
20574         (add_locale_empty): Likewise.
20575         (add_locale_raw_data): Likewise.
20576         (add_locale_raw_obstack): Likewise.
20577         (add_locale_string): Likewise.
20578         (add_locale_wstring): Likewise.
20579         (add_locale_uint32): Likewise.
20580         (add_locale_uint32_array): Likewise.
20581         (add_locale_char): Likewise.
20582         (start_locale_structure): Likewise.
20583         (end_locale_structure): Likewise.
20584         (start_locale_prelude): Likewise.
20585         (end_locale_prelude): Likewise.
20586         (write_locale_data): Take locale_file structure rather than an
20587         iovec.
20588         * locale/programs/locfile.h: Include "obstack.h".
20589         (struct locale_file): Change to store locale file contents instead
20590         of header.
20591         (init_locale_data): New prototype.
20592         (align_locale_data): Likewise.
20593         (add_locale_empty): Likewise.
20594         (add_locale_raw_data): Likewise.
20595         (add_locale_raw_obstack): Likewise.
20596         (add_locale_string): Likewise.
20597         (add_locale_wstring): Likewise.
20598         (add_locale_uint32): Likewise.
20599         (add_locale_uint32_array): Likewise.
20600         (add_locale_char): Likewise.
20601         (start_locale_structure): Likewise.
20602         (end_locale_structure): Likewise.
20603         (start_locale_prelude): Likewise.
20604         (end_locale_prelude): Likewise.
20605         (write_locale_data): Update prototype.
20606         * locale/programs/3level.h (struct TABLE): Remove result field.
20607         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
20608         Use new locale_file interface.
20609         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
20610         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
20611         * locale/programs/ld-address.c (address_output): Use new
20612         locale_file interface.
20613         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
20614         NO_ADD_LOCALE.
20615         (collate_finish): Don't call collseq_table_finalize.
20616         (collate_output): Use new locale_file interface.
20617         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
20618         in file.
20619         (NO_FINALIZE): Change to NO_ADD_LOCALE.
20620         (TABLE): Move defines earlier in file.
20621         (ELEMENT): Likewise.
20622         (DEFAULT): Likewise.
20623         (wctrans_table_add): Move macro and inline function earlier in
20624         file.
20625         (struct wctype_table): Move type earlier in file.
20626         (add_locale_wctype_table): New static prototype.
20627         (struct locale_ctype_t): Use logical types instead of struct iovec
20628         pointers for members.
20629         (ctype_output): Use new locale_file interface.
20630         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
20631         new locale_file interface.
20632         (allocate_arrays): Update for use of new locale_file interface.
20633         * locale/programs/ld-identification.c (identification_output): Use
20634         new locale_file interface.
20635         * locale/programs/ld-measurement.c (measurement_output): Likewise.
20636         * locale/programs/ld-messages.c (messages_output): Likewise.
20637         * locale/programs/ld-monetary.c (monetary_output): Likewise.
20638         * locale/programs/ld-name.c (name_output): Likewise.
20639         * locale/programs/ld-numeric.c (numeric_output): Likewise.
20640         * locale/programs/ld-paper.c (paper_output): Likewise.
20641         * locale/programs/ld-telephone.c (telephone_output): Likewise.
20642         * locale/programs/ld-time.c (time_output): Likewise.
20644 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20646         * benchtests/Makefile: Add memrchr benchmark.
20647         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
20648         benchmark as memrchr.
20649         * benchtests/bench-memrchr-ifunc.c: New file.
20650         * benchtests/bench-memrchr.c: New file.
20652 2013-09-06   Will Newton  <will.newton@linaro.org>
20654         * benchtests/Makefile (string-bench): Add memcpy.
20656 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
20657             Cong Wang  <amwang@redhat.com>
20659         [BZ #15850]
20660         * sysdeps/unix/sysv/linux/bits/in.h
20661         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
20662         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
20663         before __USE_KERNEL_IPV6_DEFS uses.
20664         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
20665         IPPROTO_BEETPH.
20666         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
20667         sockaddr_in6, or ipv6_mreq.
20669 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20671         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
20672         memory access for final bytes in some large inputs.
20673         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
20675 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20677         * string/test-memrchr.c: New file.
20678         * string/test-memrchr-ifunc.c: New file.
20679         * string/Makefile: Add new memrchr testcase.
20681 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
20683         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
20684         fanotify_init returns EPERM.
20686 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20688         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
20689         errors.
20690         (top level): Treat second token from macro or constant entries for
20691         allowed headers as allowed.
20692         * include/complex.h: Condition internal declarations on
20693         [!_ISOMAC].
20694         * include/fenv.h: Condition include of <stdbool.h> and internal
20695         declarations on [!_ISOMAC].
20697 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
20699         [BZ #15923]
20700         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
20702 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
20704         * configure.in (--enable-versioning): Remove configure option.
20705         (libc_cv_asm_symver_directive): Remove configure test.
20706         (libc_cv_ld_version_script_option): Likewise.
20707         (VERSIONING): Remove variable and AC_SUBST.
20708         (DO_VERSIONING): Remove AC_DEFINE.
20709         * configure: Regenerated.
20710         * config.h.in (DO_VERSIONING): Remove macro.
20711         * Makerules [$(versioning) = yes]: Change conditionals to
20712         [$(build-shared) = yes].
20713         * config.make.in (versioning): Remove variable.
20714         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
20715         [$(build-shared) = yes].
20716         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
20717         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
20718         * elf/Makefile [$(versioning) = yes]: Change conditionals to
20719         [$(build-shared) = yes].
20720         * extra-lib.mk [$(versioning) = yes]: Likewise.
20721         * hurd/Makefile [$(versioning) = yes]: Likewise.
20722         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
20723         [SHARED].
20724         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
20725         [SHARED].
20726         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20727         [SHARED && !NO_HIDDEN].
20728         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
20729         [SHARED].
20730         [SHARED && DO_VERSIONING]: Likewise..
20731         * libio/Makefile [$(versioning) = yes]: Change conditionals to
20732         [$(build-shared) = yes].
20733         * manual/install.texi (--disable-versioning): Remove
20734         documentation.
20735         * INSTALL: Regenerated.
20736         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
20737         to [SHARED].
20738         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
20739         [$(build-shared) = yes].
20740         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
20741         * sysdeps/i386/i686/multiarch/strstr-c.c
20742         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
20743         [SHARED && !NO_HIDDEN].
20744         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
20745         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
20746         * sysdeps/powerpc/powerpc32/dl-machine.c
20747         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
20748         * sysdeps/powerpc/powerpc32/sysdep.h
20749         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
20750         to [SHARED && PIC && !NO_HIDDEN].
20751         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
20752         conditional to [SHARED].
20754 2013-09-04   Will Newton  <will.newton@linaro.org>
20756         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
20757         * benchtests/bench-string.h: Include bench-timing.h instead
20758         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
20759         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
20760         call to HP_TIMING_DIFF_INIT.
20761         * benchtests/bench-memccpy.c: Use bench-timing.h macros
20762         instead of hp-timing.h macros.
20763         * benchtests/bench-memchr.c: Likewise.
20764         * benchtests/bench-memcmp.c: Likewise.
20765         * benchtests/bench-memcpy.c: Likewise.
20766         * benchtests/bench-memmem.c: Likewise.
20767         * benchtests/bench-memmove.c: Likewise.
20768         * benchtests/bench-memset.c: Likewise.
20769         * benchtests/bench-rawmemchr.c: Likewise.
20770         * benchtests/bench-strcasecmp.c: Likewise.
20771         * benchtests/bench-strcasestr.c: Likewise.
20772         * benchtests/bench-strcat.c: Likewise.
20773         * benchtests/bench-strchr.c: Likewise.
20774         * benchtests/bench-strcmp.c: Likewise.
20775         * benchtests/bench-strcpy.c: Likewise.
20776         * benchtests/bench-strcpy_chk.c: Likewise.
20777         * benchtests/bench-strlen.c: Likewise.
20778         * benchtests/bench-strncasecmp.c: Likewise.
20779         * benchtests/bench-strncat.c: Likewise.
20780         * benchtests/bench-strncmp.c: Likewise.
20781         * benchtests/bench-strncpy.c: Likewise.
20782         * benchtests/bench-strnlen.c: Likewise.
20783         * benchtests/bench-strpbrk.c: Likewise.
20784         * benchtests/bench-strrchr.c: Likewise.
20785         * benchtests/bench-strspn.c: Likewise.
20786         * benchtests/bench-strstr.c: Likewise.
20788 2013-09-04  Will Newton  <will.newton@linaro.org>
20790         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
20792 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
20794         [BZ #15427]
20795         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20796         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
20797         * math/libm-test.inc (lgamma_test_data): Add more tests.
20798         * sysdeps/i386/fpu/libm-test-ulps: Update.
20799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20801 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
20803         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
20804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20805         Add ifunc.
20806         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
20807         Add strcmp-sse2-unaligned
20808         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
20810 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20812         * Versions.def (libc): Add GLIBC_2.19.
20814 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
20816         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
20817         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
20819 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
20821         [BZ #14155]
20822         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
20823         intermediate calculations in recurrence.
20824         (__ieee754_ynf): Likewise.
20825         * math/libm-test.inc (jn_test_data): Do not allow spurious
20826         underflow exception.  Add more tests.
20827         (yn_test_data): Add more tests.
20828         * sysdeps/i386/fpu/libm-test-ulps: Update.
20829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
20833         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
20835 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20837         * csu/init-first.c: Fix then/than typos.
20838         * locale/programs/ld-collate.c: Likewise.
20839         * locale/programs/linereader.h: Likewise.
20840         * manual/charset.texi: Likewise.
20841         * manual/filesys.texi: Likewise.
20842         * manual/stdio.texi: Likewise.
20843         * manual/string.texi: Likewise.
20844         * stdlib/fmtmsg.c: Likewise.
20845         * sysdeps/i386/stpncpy.S: Likewise.
20846         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20847         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
20848         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
20849         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20851 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
20853         * elf/dl-open.c: Fix typos.
20854         * iconvdata/gbbig5.c: Likewise.
20855         * iconvdata/iso-2022-jp.c: Likewise.
20856         * iconv/gconv_int.h: Likewise.
20857         * iconv/loop.c: Likewise.
20858         * nis/rpcsvc/nis.h: Likewise.
20859         * resolv/ns_name.c: Likewise.
20860         * stdio-common/vfscanf.c: Likewise.
20861         * streams/stropts.h: Likewise.
20862         * sunrpc/rpc_thread.c: Likewise.
20863         * sysdeps/i386/strpbrk.S: Likewise.
20864         * sysdeps/ieee754/k_standard.c: Likewise.
20865         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
20866         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
20867         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
20868         * sysdeps/mach/hurd/profil.c: Likewise.
20869         * sysdeps/s390/dl-procinfo.h: Likewise.
20870         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
20871         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
20872         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
20873         * sysdeps/x86_64/dl-trampoline.S: Likewise.
20874         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
20876 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
20878         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
20879         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
20881 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
20883         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
20884         aix specific files.
20885         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
20886         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
20887         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
20888         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
20889         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
20890         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
20891         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
20892         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
20894 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20895             Roland McGrath  <roland@hack.frob.com>
20897         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
20898         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
20900 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20902         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
20903         __executable_start symbol instead of _start.
20905 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
20907         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
20908         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
20909         Move macros to...
20910         * sysdeps/gnu/ldsodefs.h: ... this new file.
20912         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
20913         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
20914         instead of ELFOSABI_LINUX.
20916         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
20917         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
20918         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
20919         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
20920         Likewise.
20921         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
20922         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
20923         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
20924         Likewise.
20925         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
20926         (ibm_extended_long_double): Add ieee_nan member.
20927         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
20928         (do_test): New function.
20930         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
20931         TEST_TRUNC.
20932         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
20933         functions, renamed from truncdfsf_test, trunctfsf_test,
20934         trunctfdf_test.
20935         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
20936         functions.
20937         (do_test): Run all these.
20939 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
20941         * argp/argp-help.c: Fix typos.
20942         * argp/argp-parse.c: Likewise.
20943         * debug/backtracesyms.c: Likewise.
20944         * elf/elf.h: Likewise.
20945         * malloc/malloc.c: Likewise.
20946         * nis/nis_print.c: Likewise.
20947         * resolv/res_comp.c: Likewise.
20948         * stdlib/stdlib.h: Likewise.
20949         * sunrpc/clnt_tcp.c: Likewise.
20950         * sunrpc/clnt_udp.c: Likewise.
20951         * sunrpc/clnt_unix.c: Likewise.
20952         * sysdeps/unix/bsd/ptsname.c: Likewise.
20953         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
20954         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
20955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
20956         Likewise.
20957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
20958         Likewise.
20959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
20960         Likewise.
20961         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
20963 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20965         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
20966         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
20968 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
20970         [BZ #15897]
20971         * dlfcn/Makefile (tests): Add bug-dl-leaf.
20972         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
20973         ($(objpfx)bug-dl-leaf): New rule.
20974         ($(objpfx)bug-dl-leaf.so): Likewise.
20975         ($(objpfx)bug-dl-leaf.out): Likewise.
20976         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
20977         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
20978         * dlfcn/bug-dl-leaf.c: New test.
20979         * dlfcn/bug-dl-leaf-lib.c: Likewise.
20980         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
20981         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
20982         (dlclose): Likewise.
20983         (dlmopen): Likewise.
20985 2013-08-27  Roland McGrath  <roland@hack.frob.com>
20987         * include/netdb.h [!_ISOMAC]:
20988         Don't include <tls.h>.
20989         (h_errno, __libc_h_errno): Move declaration and macros out of
20990         [_LIBC_REENTRANT].
20992         * include/resolv.h [_RESOLV_H_]:
20993         Don't include <tls.h>.
20994         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
20995         * resolv/res_libc.c: Don't include <tls.h>.
20996         (_res): Use __attribute__ ((nocommon)) in place of
20997         __attribute__ ((section (".bss"))).
20999         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
21000         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
21002         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
21004         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
21005         only under [SIOCGIFCONF && SIOCGIFNETMASK].
21007         * resolv/res_mkquery.c: Include <sys/time.h>.
21009         * inet/ifreq.c: Moved to ...
21010         * sysdeps/unix/ifreq.c: ... here.
21011         * inet/ifreq.c: New file, true stub version.
21013         * socket/sa_len.c: New file.
21014         * socket/Makefile (aux): Add it.
21015         * sysdeps/unix/sysv/linux/Makefile
21016         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
21017         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
21018         and #include <socket/sa_len.c>.
21019         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
21020         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
21022         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
21023         * bits/socket.h: ... here.
21025         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
21026         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
21027         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
21029 2013-08-27  Andreas Schwab  <schwab@suse.de>
21031         [BZ #15736]
21032         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
21033         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
21034         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
21035         * string/test-strcasecmp.c (test_main): Run tests in several
21036         locales.
21037         * string/test-strncasecmp.c (test_main): Likewise.
21039         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
21040         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
21041         to __strcasecmp_nonascii and __strncasecmp_nonascii.
21042         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
21043         (__strncasecmp_ssse3) [PIC]: Likewise.
21045 2013-08-26  Roland McGrath  <roland@hack.frob.com>
21047         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
21049         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
21050         instead of explicitly declaring xdecrypt.
21051         * nis/nss_nis/nis-publickey.c: Likewise.
21053 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21055         [BZ #15890]
21056         * nscd/aicache.c: Include res_hconf.h.
21057         (addhstaiX): Initialize res_hconf.
21059 2013-08-26  Andreas Schwab  <schwab@suse.de>
21061         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
21062         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
21064 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21066         * nscd/aicache.c (addhstaiX): Fix indentation.
21068 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
21070         * configure.ac: Quote $build_pt_chown test.
21071         * configure: Regenerated.
21073 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
21075         [BZ #15532]
21076         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
21077         * math/s_cexpf.c (__cexpf): Likewise.
21078         * math/s_cexpl.c (__cexpl): Likewise.
21079         * math/libm-test.inc (cexp_test_data): Correct expected return
21080         value for NaN + i0.  Add another test.
21082 2013-08-22  David S. Miller  <davem@davemloft.net>
21084         * po/ca.po: Update Catalan translation from translation project.
21085         * po/uk.po: Add Ukrainian translations from translation project.
21087 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
21089         [BZ #15797]
21090         * math/s_fdim.c (__fdim): Check for infinite arguments if result
21091         is infinite, not alongside NaN test.
21092         * math/s_fdimf.c (__fdimf): Likewise.
21093         * math/s_fdiml.c (__fdiml): Likewise.
21094         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
21095         errno is unchanged.
21097 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
21099         * argp/argp-help.c: Fix typos.
21100         * crypt/speeds.c: Likewise.
21101         * csu/check_fds.c: Likewise.
21102         * elf/dl-load.c: Likewise.
21103         * elf/dl-open.c: Likewise.
21104         * elf/reldep3.c: Likewise.
21105         * elf/reldep.c: Likewise.
21106         * elf/sprof.c: Likewise.
21107         * iconv/iconv_charmap.c: Likewise.
21108         * iconv/skeleton.c: Likewise.
21109         * iconv/strtab.c: Likewise.
21110         * io/lockf64.c: Likewise.
21111         * libio/libioP.h: Likewise.
21112         * resolv/gai_notify.c: Likewise.
21113         * resolv/ns_name.c: Likewise.
21114         * resolv/ns_samedomain.c: Likewise.
21115         * resolv/res_send.c: Likewise.
21116         * stdlib/random.c: Likewise.
21117         * sunrpc/rpc/xdr.h: Likewise.
21118         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
21119         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
21120         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
21121         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
21122         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
21123         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
21124         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
21125         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
21126         * sysdeps/mach/hurd/check_fds.c: Likewise.
21127         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21128         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21129         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21130         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21131         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21132         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21133         * sysdeps/pthread/aio_notify.c: Likewise.
21134         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
21135         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
21136         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
21137         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
21138         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21140 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21142         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
21143         version if bit_Slow_SSE4_2 is set.
21144         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
21145         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
21147 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21149         [BZ #15867]
21150         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
21151         trampoline stack frame information.
21152         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
21153         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
21154         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
21155         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
21156         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
21157         * sysdeps/unix/sysv/linux/powerpc/init-first.c
21158         (_libc_vdso_platform_setup): Initialize the signal trampolines.
21159         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21160         sa_flags value.
21161         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
21162         interrupting a syscall and set with option SA_SIGINFO.
21164 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21166         [BZ #15531]
21167         * math/s_cproj.c (__cproj): Only return an infinity if one part of
21168         argument is infinite.
21169         * math/s_cprojf.c (__cprojf): Likewise.
21170         * math/s_cprojl.c (__cprojl): Likewise.
21171         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
21172         * math/libm-test.inc (cproj_test_data): Add more tests.
21174         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
21176         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
21177         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
21178         size.  Use __ffs to determine corresponding shift.
21180 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
21181             Roland McGrath  <roland@hack.frob.com>
21183         * Makefile (INSTALL): Remove trailing blank lines from output of
21184         makeinfo.
21186 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21188         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
21189         Align 32 bit compat elf_greg to 8 bytes.
21191 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
21193         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
21195 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21197         * string/strcoll_l.c (coll_seq): New structure.
21198         (get_next_seq_cached): New function.
21199         (get_next_seq): New function.
21200         (do_compare): New function.
21201         (STRCOLL): Use GNU style definition.  Simplify implementation
21202         by using get_next_seq, get_next_seq_cached and do_compare.
21204 2013-08-16  Florian Weimer  <fweimer@redhat.com>
21206         [BZ #14699]
21207         CVE-2013-4237
21208         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
21209         member.
21210         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21211         member.
21212         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
21213         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
21214         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
21215         conditional.
21216         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
21217         GETDENTS_64BIT_ALIGNED.
21218         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
21219         * manual/filesys.texi (Reading/Closing Directory): Document
21220         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
21221         strongly.
21222         * manual/conf.texi (Limits for Files): Add portability note to
21223         NAME_MAX, PATH_MAX.
21224         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
21226 2013-08-13  Andreas Schwab  <schwab@suse.de>
21228         [BZ #15749]
21229         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
21230         of fabs.
21231         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
21232         LDBL_MAX_EXP >= 16384]: Add tests for it.
21234 2013-08-12  David S. Miller  <davem@davemloft.net>
21236         * version.h (RELEASE): Set to "development".
21237         (VERSION): Set to "2.18.90".
21238         * NEWS: Add 2.19 section.
21240 2013-08-03  David S. Miller  <davem@davemloft.net>
21242         * po/ko.po: Update Korean translation from translation project.
21244 2013-08-01  David S. Miller  <davem@davemloft.net>
21246         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
21247         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
21248         Bilka.
21250 2013-07-30  David S. Miller  <davem@davemloft.net>
21252         * po/fr.po: Update French translation from translation project.
21254 2013-07-28  David S. Miller  <davem@davemloft.net>
21256         * po/cs.po: Update Czech translation from translation project.
21258         * po/sv.po: Update Swedish translation from translation project.
21260 2013-07-27  David S. Miller  <davem@davemloft.net>
21262         * po/eo.po: Update Esperanto translation from translation project.
21264         * po/vi.po: Update Vietnamese translation from translation project.
21266         * po/de.po: Update German translation from translation project.
21268 2013-07-26  David S. Miller  <davem@davemloft.net>
21270         * po/bg.po: Update Bulgarian translation from translation project.
21272         * po/nl.po: Update Dutch translation from translation project.
21273         * po/pl.po: Update Polish translation from translation project.
21274         * po/ru.po: Update Russian translation from translation project.
21276 2013-07-24  David S. Miller  <davem@davemloft.net>
21278         * po/libc.pot: Update.
21280 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21282         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
21283         variable page size.
21284         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
21285         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
21286         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
21288 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21290         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
21292 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
21293             Andreas Schwab  <schwab@suse.de>
21294             Roland McGrath  <roland@hack.frob.com>
21295             Joseph Myers  <joseph@codesourcery.com>
21296             Carlos O'Donell  <carlos@redhat.com>
21298         [BZ #15755]
21299         * config.h.in: Define HAVE_PT_CHOWN.
21300         * config.make.in (build-pt-chown): New variable.
21301         * configure.in (--enable-pt_chown): New configure option.
21302         * configure: Regenerate.
21303         * login/Makefile: Include Makeconfig.  Build pt_chown only if
21304         build-pt-chown is enabled.
21305         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
21306         pt_chown to fix pty ownership.
21307         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
21308         CLOSE_ALL_FDS.
21309         * manual/install.texi (Configuring and compiling): Mention
21310         --enable-pt_chown. Add @findex for grantpt.
21311         * INSTALL: Regenerate.
21313 2013-07-20  David S. Miller  <davem@davemloft.net>
21315         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
21316         difference between 32-bit and 64-bit.
21318 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
21320         [BZ #15711]
21321         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
21322         Avoid system header dependency with -ffreestanding.
21323         ($(objpfx)bits/syscall%d): Likewise.
21325 2013-07-13  David S. Miller  <davem@davemloft.net>
21327         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
21328         underflows from atanl/atan2l due to bug 15319.
21329         (casinh_test_data): Likewise.
21331 2013-07-07  David S. Miller  <davem@davemloft.net>
21333         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21335 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
21337         * sysdeps/i386/fpu/libm-test-ulps: Update.
21338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21340 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21342         * configure.in (--enable-lock-elision): Fix message text.
21343         * INSTALL: Regenerate.
21344         * configure: Regenerate.
21346 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21348         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21350 2013-07-03  Andreas Jaeger  <aj@suse.de>
21352         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
21353         define.
21354         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
21355         (ptrace_peeksiginfo_args): Add.
21356         (__ptrace_peeksiginfo_flags): Add.
21357         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
21358         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
21359         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
21361 2013-07-03  Allan McRae  <allan@archlinux.org>
21363         * sysdeps/i386/fpu/libm-test-ulps: Update.
21365 2013-07-02  David S. Miller  <davem@davemloft.net>
21367         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21369 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
21371         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21373 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21375         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21378 2013-07-02  Andi Kleen <ak@linux.intel.com>
21380         * config.h.in (ENABLE_LOCK_ELISION): Add.
21381         * configure.in (--enable-lock-elision): Add option.
21382         * manual/install.texi: Document --enable lock elision.
21383         * configure: Regenerate
21384         * INSTALL: Regenerate.
21386 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
21388         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
21389         SSE4.2 strcasecmp for libc.a.
21390         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
21392 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
21394         [BZ #13304]
21395         * soft-fp/op-common.h (_FP_FMA): New macro.
21396         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
21397         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
21398         (_FP_MUL_MEAT_1_imm): ... here.
21399         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
21400         (_FP_MUL_MEAT_1_wide): ... here.
21401         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
21402         (_FP_MUL_MEAT_1_hard): ... here.
21403         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
21404         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
21405         (_FP_MUL_MEAT_2_wide): ... here.
21406         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
21407         (_FP_MUL_MEAT_2_wide_3mul): ... here.
21408         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
21409         (_FP_MUL_MEAT_2_gmp): ... here.
21410         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
21411         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
21412         (_FP_MUL_MEAT_4_wide): ... here.
21413         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
21414         (_FP_MUL_MEAT_4_gmp): ... here.
21415         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
21416         (_FP_WFRACBITS_DW_S): Likewise.
21417         (_FP_WFRACXBITS_DW_S): Likewise.
21418         (_FP_HIGHBIT_DW_S): Likewise.
21419         (FP_FMA_S): Likewise.
21420         (_FP_FRAC_HIGH_DW_S): Likewise.
21421         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
21422         (_FP_WFRACBITS_DW_D): Likewise.
21423         (_FP_WFRACXBITS_DW_D): Likewise.
21424         (_FP_HIGHBIT_DW_D): Likewise.
21425         (FP_FMA_D): Likewise.
21426         (_FP_FRAC_HIGH_DW_D): Likewise.
21427         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
21428         (_FP_WFRACBITS_DW_E): Likewise.
21429         (_FP_WFRACXBITS_DW_E): Likewise.
21430         (_FP_HIGHBIT_DW_E): Likewise.
21431         (FP_FMA_E): Likewise.
21432         (_FP_FRAC_HIGH_DW_E): Likewise.
21433         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
21434         (_FP_WFRACBITS_DW_Q): Likewise.
21435         (_FP_WFRACXBITS_DW_Q): Likewise.
21436         (_FP_HIGHBIT_DW_Q): Likewise.
21437         (FP_FMA_Q): Likewise.
21438         (_FP_FRAC_HIGH_DW_Q): Likewise.
21439         * soft-fp/fmasf4.c: New file.
21440         * soft-fp/fmadf4.c: Likewise.
21441         * soft-fp/fmatf4.c: Likewise.
21443 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
21446         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
21447         Silvermont.
21448         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
21449         macro.
21450         (index_Slow_SSE4_2): Likewise.
21451         (index_Prefer_PMINUB_for_stringop): Likewise.
21452         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
21453         bit_Slow_SSE4_2 is set.
21454         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
21455         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21457 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21459         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
21460         rtld_global._dl_hwcap2.
21461         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
21462         POWER8.
21463         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
21464         POWER8 feature descriptions defined in _dl_hwcap2.
21465         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
21466         string handling for POWER8 feature bits.
21467         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
21468         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
21469         _dl_powerpc_cap_flags.
21470         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
21471         * sysdeps/powerpc/rtld-global-offsets.sym
21472         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
21473         _dl_hwcap2 in the rtld_global_ro structure.
21475 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21477         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
21478         hardware capabilities in support of AT_HWCAP2.
21479         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
21480         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
21481         GLRO(dl_hwcap2).
21482         (_dl_show_auxv): Add support for calling _dl_procinfo to display
21483         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
21484         explicitly the unknown a_type display mechanism is used.
21485         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
21486         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
21487         struct member.
21488         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
21489         to macro prototype for AT_HWCAP2 support.
21490         * sysdeps/i386/dl-procinfo.h: Likewise.
21491         * sysdeps/s390/dl-procinfo.h: Likewise.
21492         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
21493         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
21494         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
21495         return -1 for unknown a_type display fallback.
21496         * sysdeps/sparc/dl-procinfo.h: Likewise.
21497         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
21498         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
21500 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
21502         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
21503         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
21505 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
21507         [BZ #12492]
21508         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
21509         mprotect making __stack_prot writable.
21511 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
21512             Joseph Myers  <joseph@codesourcery.com>
21514         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
21515         as being properly aligned.
21517 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
21519         * dlfcn/modstatic5.c: New file.
21520         * dlfcn/tststatic5.c: New file.
21521         * dlfcn/Makefile (tests): Add tststatic5.
21522         (tests-static): Likewise.
21523         (modules-names): Add modstatic5.
21524         (tststatic5-ENV): New variable.
21525         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
21527         [BZ #15022]
21528         * elf/dl-support.c (_dl_main_map): New variable.
21529         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
21530         (_dl_nns, _dl_load_adds): Set to 1.
21531         (_dl_initial_searchlist): Refer to _dl_main_map.
21532         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
21533         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
21534         call to _dl_get_origin.
21535         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
21536         around call_map.
21537         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
21538         * dlfcn/modstatic3.c: New file.
21539         * dlfcn/tststatic3.c: New file.
21540         * dlfcn/tststatic4.c: New file.
21541         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
21542         (tests-static): Likewise.
21543         (modules-names): Add modstatic3.
21544         (tststatic3-ENV, tststatic4-ENV): New variables.
21545         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
21546         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
21548 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
21550         * configure.in (CC): Require GCC version 4.4 or later.
21551         * configure: Regenerated.
21552         * manual/install.texi (Tools for Compilation): Update GCC version
21553         requirement.
21554         * INSTALL: Regenerated.
21556 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21558         [BZ #15674]
21559         * string/test-memcmp.c (check2): New.
21560         (main): Call check2.
21562         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
21564 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
21566         [BZ #15022]
21567         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
21568         over to...
21569         (dl_open_worker) [!SHARED]: ... here.
21571 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21573         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
21575 2013-06-25  Richard Henderson  <rth@redhat.com>
21577         * locale/programs/locarchive.c: Include <libc-internal.h>
21579 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
21581         * manual/texinfo.tex: Update to version 2013-06-21.17, with
21582         trailing whitespace removed.
21584 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21586         [BZ #10283]
21587         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
21588         * locale/programs/locarchive.c: Include libc-mmap.h.
21589         (prepare_address_space): Take two new outputs (the mmap base and len).
21590         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
21591         values.
21592         (create_archive): Declare new mmap base and len values for
21593         prepare_address_space, and store the result in ah.
21594         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
21595         (enlarge_archive): If ah->mmap_base is not NULL, use that and
21596         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21597         Declare new mmap base and len values for
21598         prepare_address_space, and store the result in new_ah.
21599         (open_archive): Declare new mmap base and len values for
21600         prepare_address_space, and store the result in ah.
21601         (close_archive): If ah->mmap_base is not NULL, use that and
21602         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
21603         * sysdeps/generic/libc-mmap.h: New file.
21605 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
21607         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
21608         (ALIGN_UP): Likewise.
21609         (PTR_ALIGN_DOWN): Likewise.
21610         (PTR_ALIGN_UP): Likewise.
21612 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21614         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
21615         entry mapped to PPC_PLATFORM_POWER8.
21616         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
21617         POWER8.
21618         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
21619         (_dl_string_platform): Add case for exporting platform position for
21620         POWER8.
21621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
21622         search path to sysdeps/powerpc/powerpc32/power8 directory.
21623         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
21624         search path to sysdeps/powerpc/powerpc64/power8 directory.
21625         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
21626         power7 directories.
21627         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
21628         power7 directories.
21630 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
21632         * INSTALL: Regenerate.
21634         * nscd/connections.c (nscd_init): Fix comment.
21636 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
21638         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
21640         [BZ #15667]
21641         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
21642         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
21644 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21646         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
21647         DL_DST_REQ_STATIC.
21648         (DL_DST_REQ_STATIC): Remove macro.
21650 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
21652         [BZ #7006]
21653         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
21654         with a shift of 0 bits.
21656 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
21658         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
21659         $(tststatic-ENV).
21661 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21663         [BZ #15655]
21664         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
21666 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21668         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
21669         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
21670         accepts -fno-tree-loop-distribute-patterns.
21671         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
21672         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
21673         recursive call.
21674         * string/memset.c (memset): Likewise.
21675         * string/test-memmove.c (simple_memmove): Disable loop transformation
21676         to library calls.
21677         * string/test-memset.c (simple_memset): Likewise.
21678         * benchtests/bench-memmove.c (simple_memmove): Likewise.
21679         * benchtests/bench-memset.c (simple_memset): Likewise.
21680         * configure: Regenerated.
21682 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
21684         * math/test-misc.c (main): Ignore fesetround failure when failures
21685         of subsequent rounding tests would be ignored.
21687         [BZ #15654]
21688         * math/fedisblxcpt.c (fedisableexcept): Return 0.
21689         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
21690         * math/fegetenv.c (__fegetenv): Return 0.
21691         * math/fegetexcept.c (fegetexcept): Return 0.
21692         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
21693         FE_TONEAREST.
21694         * math/feholdexcpt.c (feholdexcept): Return 0.
21695         * math/fesetenv.c (__fesetenv): Return 0.
21696         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
21697         argument FE_TONEAREST.
21698         * math/feupdateenv.c (__feupdateenv): Return 0.
21699         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
21701 2013-06-18  Roland McGrath  <roland@hack.frob.com>
21703         * elf/rtld-Rules (rtld-compile-command.S): New variable.
21704         (rtld-compile-command.s, rtld-compile-command.c): New variables.
21705         ($(objpfx)rtld-%.os rules): Use them.
21707 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21709         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
21710         fields.
21712 2013-06-17  Roland McGrath  <roland@hack.frob.com>
21714         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
21715         length of target pattern, then descending length of dependency pattern.
21716         * configure.in (AWK): Require gawk 3.1.2 or newer.
21717         * manual/install.texi (Tools for Compilation): Say that we do.
21718         * configure: Regenerated.
21720         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
21721         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
21722         * scripts/sysd-rules.awk: ... this new script.
21723         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
21724         than a glob-style pattern.
21726 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
21728         * math/test-misc.c (main): Do not treat incorrectly rounded
21729         conversions as failure unless ROUNDING_TESTS passes.
21731 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
21733         [BZ #15631]
21734         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
21735         restore exception state around main square root computation, then
21736         check for inexactness explicitly.
21738         * math/libm-test.inc (fma_test_data): Add another test.
21740 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
21742         * manual/threads.texi (Non-POSIX Extensions): New document
21743         node.  Document pthread_getattr_default_np and
21744         pthread_setattr_default_np.
21746         * Versions.def (libpthread): Add GLIBC_2.18.
21747         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
21748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
21749         Likewise.
21750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
21751         Likewise.
21752         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21753         Likewise.
21754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21755         Likewise.
21756         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
21757         Likewise.
21758         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
21759         Likewise.
21760         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
21761         Likewise.
21762         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
21763         Likewise.
21764         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21765         Likewise.
21767 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21770         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
21772 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
21773             H.J. Lu  <hjl.tools@gmail.com>
21775         [BZ #15627]
21776         * sysdeps/x86_64/rtld-memset.c: Remove file.
21777         * sysdeps/x86_64/rtld-memset.S: New file.
21779 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
21781         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
21782         (test_in_one_mode): Take arguments for whether the rounding mode
21783         is supported for each floating-point type.
21784         (do_test): Pass new arguments to test_in_one_mode using
21785         ROUNDING_TESTS.
21787 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21789         * posix/tst-waitid.c (do_test): Distinguish different instances of
21790         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
21791         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
21792         before entering the kernel for waitpid.
21794 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21796         * NEWS: Fix note on clock function precision.  Text by Roland
21797         McGrath.
21799 2013-06-13  Roland McGrath  <roland@hack.frob.com>
21801         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
21802         it into place only when and if the sanity check passes.
21804 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
21806         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
21807         output for whether conversion result is exact.  Take argument
21808         indicating whether type is IBM long double.
21809         (round_for_all): Change need_exact field to ibm_ld.
21810         * stdlib/tst-strtod-round.c (struct exactness): New type.
21811         (struct test): Change bool ld_ok field to struct exactness exact.
21812         (TEST): Update all definitions for change to field.
21813         (tests): Regenerate array contents.
21814         (test_in_one_mode): Take pointer to new field instead of old ld_ok
21815         field value.  Check for IBM long double here.
21816         (do_test): Update calls to test_in_one_mode.
21818 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
21820         [BZ #12515]
21821         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
21822         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
21824 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21826         [BZ #15605]
21827         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
21828         generated by the compiler on loop optimizations.
21829         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
21830         general definitions.
21832 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
21834         * math/bug-nextafter.c: Include <math-tests.h>.
21835         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21836         the relevant type.
21837         * math/bug-nexttoward.c: Include <math-tests.h>.
21838         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21839         the relevant type.
21840         * math/test-misc.c: Include <math-tests.h>.
21841         (main): Only test for exceptions if EXCEPTION_TESTS is true for
21842         the relevant type.
21844 2013-06-12  Andreas Jaeger  <aj@suse.de>
21846         * po/ia.po: Update Interlingua translation from translation
21847         project.
21849 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
21851         * include/fenv.h: Include stdbool.h.
21852         (struct rm_ctx): New structure.
21853         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
21854         Define macro.
21855         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
21856         (SET_RESTORE_ROUNDF): Likewise.
21857         (SET_RESTORE_ROUNDL): Likewise.
21858         (SET_RESTORE_ROUND_NOEX): Likewise.
21859         (SET_RESTORE_ROUND_NOEXF): Likewise.
21860         (SET_RESTORE_ROUND_NOEXL): Likewise.
21861         (SET_RESTORE_ROUND_53BIT): Likewise.
21862         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
21863         (libc_feresetround_noexf_ctx): Likewise.
21864         (libc_feresetround_noexl_ctx): Likewise.
21865         (libc_feholdsetround_53bit_ctx): Likewise.
21866         (libc_feresetround_53bit_ctx): Likewise.
21867         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
21868         (libc_feholdexcept_setround_sse_ctx): New function.
21869         (libc_fesetenv_sse_ctx): Likewise.
21870         (libc_feupdateenv_sse_ctx): Likewise.
21871         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
21872         (libc_feholdexcept_setround_387_ctx): Likewise.
21873         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
21874         (libc_feholdsetround_387_prec_ctx): Likewise.
21875         (libc_feholdsetround_387_ctx): Likewise.
21876         (libc_feholdsetround_387_53bit_ctx): Likewise.
21877         (libc_feholdsetround_sse_ctx): Likewise.
21878         (libc_feresetround_sse_ctx): Likewise.
21879         (libc_feresetround_387_ctx): Likewise.
21880         (libc_feupdateenv_387_ctx): Likewise.
21881         (libc_feholdexcept_setroundf_ctx): Define macro.
21882         (libc_fesetenvf_ctx): Likewise.
21883         (libc_feupdateenvf_ctx): Likewise.
21884         (libc_feholdsetroundf_ctx): Likewise.
21885         (libc_feresetroundf_ctx): Likewise.
21886         (libc_feholdexcept_setround_ctx): Likewise.
21887         (libc_fesetenv_ctx): Likewise.
21888         (libc_feupdateenv_ctx): Likewise.
21889         (libc_feholdsetround_ctx): Likewise.
21890         (libc_feresetround_ctx): Likewise.
21891         (libc_feholdexcept_setroundl_ctx): Likewise.
21892         (libc_feupdateenvl_ctx): Likewise.
21893         (libc_feholdsetroundl_ctx): Likewise.
21894         (libc_feresetroundl_ctx): Likewise.
21895         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
21896         (libc_feresetround_53bit_ctx): Likewise.
21898 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21900         * locale/iso-639.def: Convert to UTF-8.
21902 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
21904         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
21905         (EXCEPTION_TESTS_double): Likewise.
21906         (EXCEPTION_TESTS_long_double): Likewise.
21907         (EXCEPTION_TESTS): Likewise.
21908         * math/libm-test.inc (test_exceptions): Only test exceptions if
21909         EXCEPTION_TESTS (FLOAT).
21911 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21913         * benchtests/Makefile (string-bench): Add strcpy_chk and
21914         stpcpy_chk.
21915         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
21916         * benchtests/bench-stpcpy_chk.c: New file.
21917         * benchtests/bench-strcpy_chk-ifunc.c: New file.
21918         * benchtests/bench-strcpy_chk.c: New file.
21919         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
21920         code.
21921         (do_test): Likewise.
21923 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
21925         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
21926         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
21927         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
21928         with tabs where appropriate.
21929         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
21930         dl-procinfo.h.
21931         [PPC_PLATFORM_PPC440]: Likewise.
21932         [PPC_PLATFORM_PPC464]: Likewise.
21933         [PPC_PLATFORM_PPC476]: Likewise.
21934         (_dl_string_platform): Add support for detecting ppc405, ppc440,
21935         ppc464, and ppc476 platform strings merging from ports/
21936         dl-procinfo.h.
21938 2013-06-11  Andreas Schwab  <schwab@suse.de>
21940         [BZ #14991]
21941         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
21942         (from_ucs4_idx): Regenerate.
21943         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
21944         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
21945         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
21946         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
21947         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
21948         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
21949         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
21950         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
21951         from FROM_LOOP and TO_LOOP specific macros.
21952         (BODY): Handle combining characters.
21953         * iconvdata/BIG5HKSCS.irreversible: Update.
21954         * iconvdata/BIG5HKSCS.precomposed: New file.
21955         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
21956         characters.
21957         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
21959 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21961         * include/sys/time.h: Fix indentation and add copyright header.
21963         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
21964         (do_test): Likewise.
21965         * string/test-memchr.c (do_one_test): Likewise.
21966         (do_test): Likewise.
21967         * string/test-memcmp.c (do_one_test): Likewise.
21968         (do_test): Likewise.
21969         * string/test-memcpy.c (do_one_test): Likewise.
21970         (do_test): Likewise.
21971         * string/test-memmem.c (do_one_test): Likewise.
21972         (do_test): Likewise.
21973         (do_random_tests): Likewise.
21974         * string/test-memmove.c (do_one_test): Likewise.
21975         (do_test): Likewise.
21976         * string/test-memset.c (do_one_test): Likewise.
21977         (do_test): Likewise.
21978         * string/test-rawmemchr.c (do_one_test): Likewise.
21979         (do_test): Likewise.
21980         * string/test-strcasecmp.c (do_one_test): Likewise.
21981         (do_test): Likewise.
21982         * string/test-strcasestr.c (do_one_test): Likewise.
21983         (do_test): Likewise.
21984         * string/test-strcat.c (do_one_test): Likewise.
21985         (do_test): Likewise.
21986         * string/test-strchr.c (do_one_test): Likewise.
21987         (do_test): Likewise.
21988         * string/test-strcmp.c (do_one_test): Likewise.
21989         (do_test): Likewise.
21990         * string/test-strcpy.c (do_one_test): Likewise.
21991         (do_test): Likewise.
21992         * string/test-string.h: Likewise.
21993         (test_init): Likewise.
21994         * string/test-strlen.c (do_one_test): Likewise.
21995         (do_test): Likewise.
21996         * string/test-strncasecmp.c (do_one_test): Likewise.
21997         (do_test): Likewise.
21998         * string/test-strncat.c (do_one_test): Likewise.
21999         (do_test): Likewise.
22000         * string/test-strncmp.c (do_one_test): Likewise.
22001         (do_test_limit): Likewise.
22002         (do_test): Likewise.
22003         * string/test-strncpy.c (do_one_test): Likewise.
22004         (do_test): Likewise.
22005         * string/test-strnlen.c (do_one_test): Likewise.
22006         (do_test): Likewise.
22007         * string/test-strpbrk.c (do_one_test): Likewise.
22008         (do_test): Likewise.
22009         * string/test-strrchr.c (do_one_test): Likewise.
22010         (do_test): Likewise.
22011         * string/test-strspn.c (do_one_test): Likewise.
22012         (do_test): Likewise.
22013         * string/test-strstr.c (do_one_test): Likewise.
22014         (do_test): Likewise.
22016         * benchtests/Makefile (string-bench): Add string benchmarks.
22017         * benchtests/bench-bcopy-ifunc.c: New file.
22018         * benchtests/bench-bcopy.c: New file.
22019         * benchtests/bench-bzero-ifunc.c: New file.
22020         * benchtests/bench-bzero.c: New file.
22021         * benchtests/bench-memccpy-ifunc.c: New file.
22022         * benchtests/bench-memccpy.c: New file.
22023         * benchtests/bench-memchr-ifunc.c: New file.
22024         * benchtests/bench-memchr.c: New file.
22025         * benchtests/bench-memcmp-ifunc.c: New file.
22026         * benchtests/bench-memcmp.c: New file.
22027         * benchtests/bench-memmem-ifunc.c: New file.
22028         * benchtests/bench-memmem.c: New file.
22029         * benchtests/bench-memmove-ifunc.c: New file.
22030         * benchtests/bench-memmove.c: New file.
22031         * benchtests/bench-mempcpy-ifunc.c: New file.
22032         * benchtests/bench-mempcpy.c: New file.
22033         * benchtests/bench-memset-ifunc.c: New file.
22034         * benchtests/bench-memset.c: New file.
22035         * benchtests/bench-rawmemchr-ifunc.c: New file.
22036         * benchtests/bench-rawmemchr.c: New file.
22037         * benchtests/bench-stpcpy-ifunc.c: New file.
22038         * benchtests/bench-stpcpy.c: New file.
22039         * benchtests/bench-stpncpy-ifunc.c: New file.
22040         * benchtests/bench-stpncpy.c: New file.
22041         * benchtests/bench-strcasecmp-ifunc.c: New file.
22042         * benchtests/bench-strcasecmp.c: New file.
22043         * benchtests/bench-strcasestr-ifunc.c: New file.
22044         * benchtests/bench-strcasestr.c: New file.
22045         * benchtests/bench-strcat-ifunc.c: New file.
22046         * benchtests/bench-strcat.c: New file.
22047         * benchtests/bench-strchr-ifunc.c: New file.
22048         * benchtests/bench-strchr.c: New file.
22049         * benchtests/bench-strchrnul-ifunc.c: New file.
22050         * benchtests/bench-strchrnul.c: New file.
22051         * benchtests/bench-strcmp-ifunc.c: New file.
22052         * benchtests/bench-strcmp.c: New file.
22053         * benchtests/bench-strcpy-ifunc.c: New file.
22054         * benchtests/bench-strcpy.c: New file.
22055         * benchtests/bench-strcspn-ifunc.c: New file.
22056         * benchtests/bench-strcspn.c: New file.
22057         * benchtests/bench-strlen-ifunc.c: New file.
22058         * benchtests/bench-strlen.c: New file.
22059         * benchtests/bench-strncasecmp-ifunc.c: New file.
22060         * benchtests/bench-strncasecmp.c: New file.
22061         * benchtests/bench-strncat-ifunc.c: New file.
22062         * benchtests/bench-strncat.c: New file.
22063         * benchtests/bench-strncmp-ifunc.c: New file.
22064         * benchtests/bench-strncmp.c: New file.
22065         * benchtests/bench-strncpy-ifunc.c: New file.
22066         * benchtests/bench-strncpy.c: New file.
22067         * benchtests/bench-strnlen-ifunc.c: New file.
22068         * benchtests/bench-strnlen.c: New file.
22069         * benchtests/bench-strpbrk-ifunc.c: New file.
22070         * benchtests/bench-strpbrk.c: New file.
22071         * benchtests/bench-strrchr-ifunc.c: New file.
22072         * benchtests/bench-strrchr.c: New file.
22073         * benchtests/bench-strspn-ifunc.c: New file.
22074         * benchtests/bench-strspn.c: New file.
22075         * benchtests/bench-strstr-ifunc.c: New file.
22076         * benchtests/bench-strstr.c: New file.
22078         * benchtests/Makefile: Disable parallel execution of targets.
22079         (string-bench): Add memcpy.
22080         (benchset): New variable to store a list of benchmark sets.
22081         (bench-func): Renamed from bench.
22082         (bench-set): New target.
22083         (bench): Depend on bench-func and bench-set.
22084         * benchtests/README: Add section on benchmark sets.
22085         * benchtests/bench-memcpy-ifunc.c: New file.
22086         * benchtests/bench-memcpy.c: New file.
22087         * benchtests/bench-string.h: New file.
22089 2013-06-11  Andreas Schwab  <schwab@suse.de>
22091         [BZ #15577]
22092         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
22093         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
22094         values in the triple.
22095         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
22096         terminator in the group key.
22098 2013-06-11  Andreas Jaeger  <aj@suse.de>
22100         * po/zh_TW.po: Update Chinese (traditional) translation from
22101         translation project.
22103 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22105         * include/time.h (__clock_gettime): Add libc_hidden_proto.
22106         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
22107         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
22108         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
22109         (clock_getcpuclockid): Likewise.
22110         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
22111         Add weak_alias and libc_hidden_def.
22112         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
22113         * rt/clock_gettime.c (clock_gettime): Rename to
22114         __clock_gettime.  Add weak_alias and libc_hidden_def.
22115         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
22116         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
22117         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
22118         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
22119         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
22120         Likewise.
22121         * rt/clock_settime.c (clock_settime): Rename to
22122         __clock_settime.  Add weak_alias and libc_hidden_def.
22123         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
22125 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
22127         * mach/err_boot.sub: Remove trailing whitespace.
22128         * mach/err_ipc.sub: Likewise.
22129         * mach/err_mach.sub: Likewise.
22131         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
22132         (ROUNDING_TESTS_double): Likewise.
22133         (ROUNDING_TESTS_long_double): Likewise.
22134         (ROUNDING_TESTS): Likewise.
22135         * math/libm-test.inc: Include <math-tests.h>.
22136         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
22137         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
22138         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
22139         (IF_ROUND_INIT_FE_UPWARD): Likewise.
22141 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
22143         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
22144         of assigning.
22146 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
22148         * sysdeps/gnu/errlist.awk: Do not generate space at end of
22149         otherwise empty TRANS lines.
22150         * sysdeps/gnu/errlist.c: Regenerated.
22152         * catgets/gencat.c (error_print): Use (void) in function
22153         definition.
22154         * crypt/crypt_util.c (__init_des): Likewise.
22155         * crypt/speeds.c (Stop): Likewise.
22156         (main): Likewise.
22157         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
22158         * inet/ruserpass.c (token): Likewise.
22159         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
22160         * intl/localealias.c (extend_alias_table): Likewise.
22161         * intl/plural-exp.c (init_germanic_plural): Likewise.
22162         * libio/fcloseall.c (__fcloseall): Likewise.
22163         * libio/genops.c (_IO_flush_all): Likewise.
22164         (_IO_flush_all_linebuffered): Likewise.
22165         (_IO_cleanup): Likewise.
22166         (_IO_iter_begin): Likewise.
22167         (_IO_iter_end): Likewise.
22168         (_IO_list_lock): Likewise.
22169         (_IO_list_unlock): Likewise.
22170         (_IO_list_resetlock): Likewise.
22171         * libio/getchar.c (getchar): Likewise.
22172         * libio/getchar_u.c (getchar_unlocked): Likewise.
22173         * libio/getwchar.c (getwchar): Likewise.
22174         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
22175         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
22176         * login/getpt.c (__getpt): Likewise.
22177         * login/tst-utmp.c (main): Likewise.
22178         * malloc/hooks.c (__malloc_check_init): Likewise.
22179         * malloc/malloc.c (__malloc_stats): Likewise.
22180         * malloc/mtrace.c (tr_break): Likewise.
22181         (mtrace): Likewise.
22182         (muntrace): Likewise.
22183         * misc/fstab.c (endfsent): Likewise.
22184         * misc/getclktck.c (__getclktck): Likewise.
22185         * misc/getdtsz.c (__getdtablesize): Likewise.
22186         * misc/gethostid.c (gethostid): Likewise.
22187         * misc/getpagesize.c (__getpagesize): Likewise.
22188         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
22189         (__get_nprocs): Likewise.
22190         (__get_phys_pages): Likewise.
22191         (__get_avphys_pages): Likewise.
22192         * misc/getttyent.c (getttyent): Likewise.
22193         (setttyent): Likewise.
22194         (endttyent): Likewise.
22195         * misc/getusershell.c (getusershell): Likewise.
22196         (endusershell): Likewise.
22197         (setusershell): Likewise.
22198         (initshells): Likewise.
22199         * misc/hsearch.c (__hdestroy): Likewise.
22200         * misc/sync.c (sync): Likewise.
22201         * misc/syslog.c (closelog_internal): Likewise.
22202         (closelog): Likewise.
22203         * misc/ttyslot.c (ttyslot): Likewise.
22204         * misc/vhangup.c (vhangup): Likewise.
22205         * posix/fork.c (__fork): Likewise.
22206         * posix/getegid.c (__getegid): Likewise.
22207         * posix/geteuid.c (__geteuid): Likewise.
22208         * posix/getgid.c (__getgid): Likewise.
22209         * posix/getpid.c (__getpid): Likewise.
22210         * posix/getppid.c (__getppid): Likewise.
22211         * posix/getuid.c (__getuid): Likewise.
22212         * posix/pause.c (pause): Likewise.
22213         * posix/setpgrp.c (setpgrp): Likewise.
22214         * posix/setsid.c (__setsid): Likewise.
22215         * posix/test-vfork.c (noop): Likewise.
22216         * resolv/gethnamaddr.c (_endhtent): Likewise.
22217         (_gethtent): Likewise.
22218         (ht_endhostent): Likewise.
22219         (gethostent): Likewise.
22220         (dns_service): Likewise.
22221         * stdlib/drand48.c (drand48): Likewise.
22222         * stdlib/lrand48.c (lrand48): Likewise.
22223         * stdlib/mrand48.c (mrand48): Likewise.
22224         * stdlib/rand.c (rand): Likewise.
22225         * stdlib/random.c (__random): Likewise.
22226         * stdlib/setenv.c (clearenv): Likewise.
22227         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
22228         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
22229         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
22230         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
22231         (__get_nprocs): Likewise.
22232         (__get_phys_pages): Likewise.
22233         (__get_avphys_pages): Likewise.
22234         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
22235         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
22236         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
22237         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
22238         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
22239         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
22240         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
22241         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
22242         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
22243         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
22244         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
22245         * sysdeps/mach/hurd/sync.c (sync): Likewise.
22246         * sysdeps/posix/clock.c (clock): Likewise.
22247         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
22248         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
22249         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
22250         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
22251         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
22252         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
22253         (__get_nprocs_conf): Likewise.
22254         (__get_phys_pages): Likewise.
22255         (__get_avphys_pages): Likewise.
22256         * time/clock.c (clock): Likewise.
22257         * time/tzset.c (__tzname_max): Likewise.
22259 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
22261         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
22262         (__bswap_32): Do not use "register".
22263         * crypt/crypt.c (_ufc_doit_r): Likewise.
22264         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
22265         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
22266         * gmon/gmon.c (__monstartup): Likewise.
22267         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
22268         * hurd/hurdmalloc.c (more_memory): Likewise.
22269         (malloc): Likewise.
22270         (free): Likewise.
22271         (realloc): Likewise.
22272         (malloc_fork_prepare): Likewise.
22273         (malloc_fork_parent): Likewise.
22274         (malloc_fork_child): Likewise.
22275         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
22276         (_svcauth_des): Likewise.
22277         * inet/inet_lnaof.c (inet_lnaof): Likewise.
22278         * inet/inet_net.c (inet_network): Likewise.
22279         * inet/inet_netof.c (inet_netof): Likewise.
22280         * inet/rcmd.c (__validuser2_sa): Likewise.
22281         * io/fts.c (fts_open): Likewise.
22282         (fts_load): Likewise.
22283         (fts_close): Likewise.
22284         (fts_read): Likewise.
22285         (fts_children): Likewise.
22286         (fts_build): Likewise.
22287         (fts_stat): Likewise.
22288         (fts_sort): Likewise.
22289         (fts_alloc): Likewise.
22290         (fts_lfree): Likewise.
22291         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
22292         (_IO_file_xsgetn): Likewise.
22293         (_IO_file_xsgetn_mmap): Likewise.
22294         * libio/iofopncook.c (_IO_cookie_read): Likewise.
22295         (_IO_cookie_write): Likewise.
22296         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
22297         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
22298         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
22299         * malloc/obstack.c (_obstack_begin): Likewise.
22300         (_obstack_begin_1): Likewise.
22301         (_obstack_newchunk): Likewise.
22302         (_obstack_allocated_p): Likewise.
22303         (obstack_free): Likewise.
22304         (_obstack_memory_used): Likewise.
22305         * misc/getttyent.c (getttynam): Likewise.
22306         (getttyent): Likewise.
22307         (skip): Likewise.
22308         (value): Likewise.
22309         * misc/getusershell.c (initshells): Likewise.
22310         * misc/syslog.c (__vsyslog_chk): Likewise.
22311         * misc/ttyslot.c (ttyslot): Likewise.
22312         * nis/nis_hash.c (__nis_hash): Likewise.
22313         * posix/fnmatch_loop.c (FCT): Likewise.
22314         * posix/getconf.c (print_all): Likewise.
22315         (main): Likewise.
22316         * posix/getopt.c (exchange): Likewise.
22317         * posix/glob.c (globfree): Likewise.
22318         (prefix_array): Likewise.
22319         (__glob_pattern_type): Likewise.
22320         * resolv/arpa/nameser.h (NS_GET16): Likewise.
22321         (NS_GET32): Likewise.
22322         (NS_PUT16): Likewise.
22323         (NS_PUT32): Likewise.
22324         * resolv/gethnamaddr.c (getanswer): Likewise.
22325         (gethostbyname2): Likewise.
22326         (gethostbyaddr): Likewise.
22327         (_gethtent): Likewise.
22328         (_gethtbyname2): Likewise.
22329         (_gethtbyaddr): Likewise.
22330         * resolv/ns_print.c (dst_s_get_int16): Likewise.
22331         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22332         * resolv/res_init.c (__res_vinit): Likewise.
22333         (net_mask): Likewise.
22334         * resolv/res_mkquery.c (outchar): Likewise.
22335         (PRINT): Likewise.
22336         * stdio-common/printf_fp.c (outchar): Likewise.
22337         (PRINT): Likewise.
22338         * stdio-common/printf_fphex.c (outchar): Likewise.
22339         (PRINT): Likewise.
22340         * stdio-common/printf_size.c (outchar): Likewise.
22341         (PRINT): Likewise.
22342         * stdio-common/test_rdwr.c (main): Likewise.
22343         * stdio-common/tfformat.c (matches): Likewise.
22344         * stdio-common/vfprintf.c (outchar): Likewise.
22345         (printf_unknown): Likewise.
22346         (buffered_vfprintf): Likewise.
22347         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
22348         * stdio-common/xbug.c (AppendToBuffer): Likewise.
22349         (ReadFile): Likewise.
22350         * stdlib/qsort.c (SWAP): Likewise.
22351         (_quicksort): Likewise.
22352         * stdlib/setenv.c (__add_to_environ): Likewise.
22353         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
22354         * stdlib/strtol_l.c (__strtol_l): Likewise.
22355         * stdlib/tst-strtod.c (main): Likewise.
22356         * stdlib/tst-strtol.c (main): Likewise.
22357         * stdlib/tst-strtoll.c (main): Likewise.
22358         * string/bits/string2.h (__strcmp_cc): Likewise.
22359         (__strcmp_cg): Likewise.
22360         (__strcspn_c1): Likewise.
22361         (__strcspn_c2): Likewise.
22362         (__strcspn_c3): Likewise.
22363         (__strspn_c1): Likewise.
22364         (__strspn_c2): Likewise.
22365         (__strspn_c3): Likewise.
22366         (__strsep_1c): Likewise.
22367         (__strsep_2c): Likewise.
22368         (__strsep_3c): Likewise.
22369         * string/memccpy.c (__memccpy): Likewise.
22370         * string/stpcpy.c (__stpcpy): Likewise.
22371         * string/strcmp.c (strcmp): Likewise.
22372         * string/strrchr.c (strrchr): Likewise.
22373         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
22374         Likewise.
22375         * sysdeps/mach/hurd/getcwd.c
22376         (_hurd_canonicalize_directory_name_internal): Likewise.
22377         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
22378         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
22379         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
22380         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
22381         Likewise, in both definitions.
22382         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
22383         definitions.
22384         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
22385         64] (__bswap_64): Likewise.
22386         * time/test_time.c (main): Likewise.
22387         * time/tzfile.c (__tzfile_read): Likewise.
22388         (__tzfile_compute): Likewise.
22389         * time/tzset.c (__tzset_parse_tz): Likewise.
22390         (tzset_internal): Likewise.
22391         (compute_change): Likewise.
22392         * wcsmbs/wcscat.c (__wcscat): Likewise.
22393         * wcsmbs/wcschr.c (wcschr): Likewise.
22394         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
22395         * wcsmbs/wcscspn.c (wcscspn): Likewise.
22396         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
22397         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
22398         * wcsmbs/wcsspn.c (wcsspn): Likewise.
22399         * wcsmbs/wcsstr.c (wcsstr): Likewise.
22400         * wcsmbs/wmemchr.c (wmemchr): Likewise.
22401         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
22402         * wcsmbs/wmemset.c (wmemset): Likewise.
22404 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
22406         * scripts/config.guess: Update to version 2013-05-16.
22407         * scripts/config.sub: Update to version 2013-04-24.
22408         * scripts/install-sh: Update to version 2011-11-20.07.
22409         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
22410         * scripts/move-if-change: Update to version 2012-01-06 07:23.
22412 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
22414         * debug/fgetws_u_chk.c: Fix leading whitespaces.
22415         * elf/sln.c: Likewise.
22416         * hurd/hurd/ioctl.h: Likewise.
22417         * hurd/hurdmalloc.c: Likewise.
22418         * hurd/xattr.c: Likewise.
22419         * include/shlib-compat.h: Likewise.
22420         * inet/ruserpass.c: Likewise.
22421         * libio/iofgets_u.c: Likewise.
22422         * libio/iofgetws_u.c: Likewise.
22423         * locale/programs/ld-identification.c: Likewise.
22424         * locale/programs/ld-time.c: Likewise.
22425         * mach/msg-destroy.c: Likewise.
22426         * nss/nss_files/files-netgrp.c: Likewise.
22427         * resolv/res_data.c: Likewise.
22428         * soft-fp/op-1.h: Likewise.
22429         * soft-fp/op-2.h: Likewise.
22430         * soft-fp/op-4.h: Likewise.
22431         * soft-fp/op-common.h: Likewise.
22432         * stdio-common/printf_fphex.c: Likewise.
22433         * stdlib/strtod_l.c: Likewise.
22434         * sunrpc/rpc/clnt.h: Likewise.
22435         * sysdeps/generic/framestate.c: Likewise.
22436         * sysdeps/i386/bsd-_setjmp.S: Likewise.
22437         * sysdeps/i386/bsd-setjmp.S: Likewise.
22438         * sysdeps/i386/__longjmp.S: Likewise.
22439         * sysdeps/i386/setjmp.S: Likewise.
22440         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22441         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22442         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22443         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22444         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22445         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22446         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22447         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22448         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22449         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
22450         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22451         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22452         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22453         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22454         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22455         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22456         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22457         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
22458         * sysdeps/ieee754/support.c: Likewise.
22459         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
22460         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
22461         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
22462         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
22463         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
22464         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
22465         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
22466         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
22467         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
22468         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
22469         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
22470         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
22471         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
22472         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
22473         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
22474         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
22475         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
22476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
22478 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
22480         * posix/transbug.c: Remove executable mode.
22482 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
22484         * crypt/speeds.c: Remove trailing whitespace.
22485         * dlfcn/default.c: Likewise.
22486         * elf/ifuncdep2.c: Likewise.
22487         * elf/ifuncmain1.c: Likewise.
22488         * elf/ifuncmain1vis.c: Likewise.
22489         * elf/testobj.h: Likewise.
22490         * elf/tst-stackguard1.c: Likewise.
22491         * gmon/sys/gmon.h: Likewise.
22492         * hurd/hurdmsg.c: Likewise.
22493         * hurd/new-fd.c: Likewise.
22494         * hurd/ports-get.c: Likewise.
22495         * iconvdata/ibm1008_420.c: Likewise.
22496         * inet/tst-getni1.c: Likewise.
22497         * inet/tst-getni2.c: Likewise.
22498         * libio/ioungetc.c: Likewise.
22499         * libio/wfiledoalloc.c: Likewise.
22500         * manual/libm-err-tab.pl: Likewise.
22501         * math/w_dremf.c: Likewise.
22502         * misc/ftruncate.c: Likewise.
22503         * posix/bug-glob2.c: Likewise.
22504         * posix/tst-pcre.c: Likewise.
22505         * posix/wait4.c: Likewise.
22506         * resolv/README: Likewise.
22507         * resolv/res_debug.h: Likewise.
22508         * resolv/tst-inet_ntop.c: Likewise.
22509         * setjmp/bug269-setjmp.c: Likewise.
22510         * soft-fp/extended.h: Likewise.
22511         * soft-fp/op-1.h: Likewise.
22512         * soft-fp/op-2.h: Likewise.
22513         * soft-fp/op-4.h: Likewise.
22514         * soft-fp/op-8.h: Likewise.
22515         * soft-fp/testit.c: Likewise.
22516         * stdio-common/bug16.c: Likewise.
22517         * stdlib/random.c: Likewise.
22518         * sunrpc/rpcsvc/rquota.x: Likewise.
22519         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
22520         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22521         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22522         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22523         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22524         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22525         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22526         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22527         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22528         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22529         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22530         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22531         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22532         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22533         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22534         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22535         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22536         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22537         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22538         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22539         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22540         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22541         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
22542         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22543         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22544         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22545         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
22546         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
22547         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22548         * sysdeps/ieee754/s_lib_version.c: Likewise.
22549         * sysdeps/mach/hurd/check_fds.c: Likewise.
22550         * sysdeps/mach/hurd/getsockname.c: Likewise.
22551         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
22552         * sysdeps/mach/hurd/recvfrom.c: Likewise.
22553         * sysdeps/powerpc/bits/link.h: Likewise.
22554         * sysdeps/powerpc/dl-procinfo.c: Likewise.
22555         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
22556         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
22557         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
22558         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
22559         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22560         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
22561         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
22562         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
22563         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
22564         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
22565         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22566         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
22567         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
22568         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
22569         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
22570         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22571         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22572         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
22573         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
22574         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
22575         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
22576         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22577         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22578         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
22579         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22580         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22581         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
22582         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
22583         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22584         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22585         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22586         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22587         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
22588         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
22589         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
22590         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
22591         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22592         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
22593         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
22594         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
22595         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
22596         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
22597         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
22598         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22599         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
22600         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
22601         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22602         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
22603         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
22604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22605         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
22606         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22607         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22608         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
22609         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
22610         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
22611         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22612         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
22613         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
22614         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
22615         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
22616         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
22617         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22618         * sysdeps/powerpc/sysdep.h: Likewise.
22619         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
22620         * sysdeps/s390/s390-64/sub_n.S: Likewise.
22621         * sysdeps/sh/dl-trampoline.S: Likewise.
22622         * sysdeps/sh/memset.S: Likewise.
22623         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
22624         * sysdeps/sh/strlen.S: Likewise.
22625         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
22626         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
22627         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
22628         * sysdeps/sparc/sparc32/rem.S: Likewise.
22629         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
22630         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
22631         * sysdeps/sparc/sparc32/strchr.S: Likewise.
22632         * sysdeps/sparc/sparc32/udiv.S: Likewise.
22633         * sysdeps/sparc/sparc32/urem.S: Likewise.
22634         * sysdeps/sparc/sparc64/add_n.S: Likewise.
22635         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
22636         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
22637         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
22638         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
22639         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
22640         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
22641         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
22642         * sysdeps/unix/bsd/times.c: Likewise.
22643         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
22644         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
22645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
22646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
22647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
22648         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
22649         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
22650         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
22651         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
22652         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
22653         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
22654         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
22655         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
22656         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
22657         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
22658         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22659         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
22660         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
22661         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
22662         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
22663         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
22664         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
22665         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
22666         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
22667         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
22668         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
22669         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
22670         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
22671         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
22672         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
22673         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
22674         * sysdeps/x86_64/strcspn.S: Likewise.
22676 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22678         * locale/C-translit.h: Revert #include <stdint.h> because this is a
22679         generated file.  Regenerate properly from gen-translit.pl.
22680         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
22681         locale/C-translit.h.
22683 2013-06-05  Andreas Schwab  <schwab@suse.de>
22685         [BZ #15100]
22686         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
22687         week as 6 instead of -1.
22688         * time/tst-strptime.c (day_tests): Add test case.
22690 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
22692         * sysdeps/generic/math_private.h
22693         (libc_feholdexcept_setround_53bit): Replace with
22694         libc_feholdsetround_53bit.
22695         (libc_feupdateenv_53bit): Replace with
22696         libc_feresetround_53bit.
22697         (SET_RESTORE_ROUND_53BIT): Adjust.
22699 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
22701         * string/test-strchrnul.c: Add copyright header.
22703         * posix/tst-getaddrinfo4.c: Increase test timeout.
22705 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
22707         [BZ #15536]
22708         * math/libm-test.inc (MAX_EXP): Remove
22709         (MIN_EXP): Define.
22710         (ulp): Use MIN_EXP - MANT_DIG.
22711         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
22713 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
22715         * po/be.po: Revert last change.
22716         * po/zh_CN.po: Likewise.
22717         * po/header.pot: Likewise.
22719 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
22721         * Makefile ($(common-objpfx)linkobj/libc.so): Define
22722         link-libc-deps to empty as target-specific variable.
22723         * Makerules (link-libc-args): New variable.
22724         (libc-for-link): Likewise.
22725         (link-libc-deps): Likewise.
22726         (lib%.so): Depend on $(link-libc-deps).  Link with
22727         $(link-libc-args).
22728         (build-module): Link with $(link-libc-args).
22729         (build-module-asneeded): Likewise.
22730         (build-module-helper-objlist): Filter out $(link-libc-deps) from
22731         list of objects.
22732         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
22733         target-specific variable.
22734         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
22735         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
22736         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
22737         libc.
22738         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
22739         libc and ld.so.
22740         ($(objpfx)libpcprofile.so): Likewise.
22741         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
22742         libc_nonshared.a.
22743         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
22744         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
22745         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
22746         $(link-libc-deps).
22747         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
22748         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
22749         * login/Makefile ($(objpfx)libutil.so): Likewise.
22750         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
22751         * math/Makefile ($(objpfx)libm.so): Likewise.
22752         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
22753         $(objpfx)libnsl.so): Define libc-for-link as target-specific
22754         variable instead of depending directly on libc.
22755         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
22756         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
22757         $(link-libc-deps).
22758         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
22759         libc.
22760         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
22761         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
22762         ($(objpfx)libanl.so): Likewise.
22763         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
22764         ld.so.
22765         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
22766         $(link-libc-deps).
22767         * sysdeps/i386/fpu/Makefile: Remove file.
22768         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
22769         ($(objpfx)libm.so): Remove dependency on ld.so.
22771 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
22773         [BZ # 15553]
22774         * nis/yp_xdr.c (XDRMAXNAME): Define.
22775         (XDRMAXRECORD): Define.
22776         (xdr_domainname): Use XDRMAXNAME.
22777         (xdr_mapname): Likewise.
22778         (xdr_peername): Likewise.
22779         (xdr_keydat): Use XDRMAXRECORD.
22780         (xdr_valdat): Likewise.
22782 2013-05-30  Jeff Law  <law@redhat.com>
22784         [BZ #14256]
22785         * manual/errno.texi (ESTALE): Update to account for more than
22786         just NFS file systems.
22787         * sysdeps/gnu/errlist.c: Regenerated.
22789 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
22791         [BZ #15465]
22792         * elf/Makefile (tests): Add tst-null-argv.
22793         (modules-names):  Add tst-null-argv-lib.
22794         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
22795         (tst-null-argv-ENV): Set environment for tst-null-argv.
22796         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
22797         (RTLD_PROGNAME): New macro.
22798         * elf/tst-null-argv.c: New test case.
22799         * elf/tst-null-argv-lib.c: Library for test case.
22800         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
22801         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
22802         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
22803         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
22804         * elf/dl-init.c (call_init): Likewise.
22805         (_dl_init): Likewise.
22806         * elf/dl-load.c (print_search_path): Likewise.
22807         (_dl_map_object): Likewise.
22808         * elf/dl-lookup.c (do_lookup_x): Likewise.
22809         (add_dependency): Likewise.
22810         (_dl_lookup_symbol_x): Likewise.
22811         (_dl_debug_bindings): Likewise.
22812         * elf/dl-open.c (_dl_show_scope): Likewise.
22813         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
22814         * elf/dl-version.c (match_symbol): Likewise.
22815         (_dl_check_map_versions): Likewise.
22816         * elf/rtld.c (dl_main): Likewise.
22817         (print_unresolved): Use RTLD_PROGNAME.
22818         (print_missing_version): Likewise.
22819         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
22820         (elf_machine_rela): Likewise.
22821         * sysdeps/powerpc/powerpc32/dl-machine.c
22822         (__process_machine_rela): Likewise.
22823         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
22824         Likewise.
22825         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
22826         Likewise.
22827         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
22828         Likewise.
22829         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
22830         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
22831         Likewise.
22832         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
22833         Likewise.
22834         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
22836 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
22838         * po/be.po: Add descriptive title.
22839         * po/zh_CN.po: Likewise.
22840         * po/header.pot: Likewise.
22842 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
22844         * locale/programs/locarchive.c (create_archive): Inlucde fname in
22845         error message.
22846         (enlarge_archive): Likewise.
22848 2013-05-28  Ben North  <ben@redfrontdoor.org>
22850         * manual/arith.texi (frexp): It is the magnitude of the return
22851         value which lies in [0.5, 1), not the return value itself.
22853 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22855         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22857 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
22859         * stdio-common/bug26.c (main): Correct fscanf template.
22861         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
22862         declare _dl_skip_args.
22864         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
22865         Don't declare.
22867         * manual/platform.texi: Add missing @end deftypefun.
22869 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22871         [BZ #15529]
22872         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
22873         bit of mantissa of 2^16382.
22874         * math/libm-test.inc (hypot_test_data): Add more tests.
22876         * math/libm-test.inc: Add drem and pow10 to list of tested
22877         functions.
22878         (pow10_test): New function.
22879         (drem_test): Likewise.
22880         (drem_test_tonearest): Likewise.
22881         (drem_test_towardzero): Likewise.
22882         (drem_test_downward): Likewise.
22883         (drem_test_upward): Likewise.
22884         (main): Call the new functions.
22886         * math/libm-test.inc (finite_test_data): Remove.
22887         (finite_test): Run tests from isfinite_test_data.
22888         (gamma_test_data): Remove.
22889         (gamma_test): Run tests from lgamma_test_data.
22890         * sysdeps/i386/fpu/libm-test-ulps: Update.
22891         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22893 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22895         * manual/platform.texi: Add PowerPC PPR function set documentation.
22896         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
22897         implementation.
22899 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
22901         * math/libm-test.inc (MAX_EXP): Define.
22902         (ULPDIFF): Define.
22903         (ulp): New function.
22904         (check_float_internal): Use ULPDIFF.
22905         (cpow_test): Disable failing test.
22906         (check_ulp): Test ulp() implemetnation.
22907         (main): Call check_ulp before starting tests.
22909 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
22911         * math/gen-libm-test.pl (generate_testfile): Do not handle
22912         START_DATA and END_DATA.
22913         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
22914         END_DATA.
22915         (acos_tonearest_test_data): Likewise.
22916         (acos_towardzero_test_data): Likewise.
22917         (acos_downward_test_data): Likewise.
22918         (acos_upward_test_data): Likewise.
22919         (acosh_test_data): Likewise.
22920         (asin_test_data): Likewise.
22921         (asin_tonearest_test_data): Likewise.
22922         (asin_towardzero_test_data): Likewise.
22923         (asin_downward_test_data): Likewise.
22924         (asin_upward_test_data): Likewise.
22925         (asinh_test_data): Likewise.
22926         (atan_test_data): Likewise.
22927         (atanh_test_data): Likewise.
22928         (atan2_test_data): Likewise.
22929         (cabs_test_data): Likewise.
22930         (cacos_test_data): Likewise.
22931         (cacosh_test_data): Likewise.
22932         (carg_test_data): Likewise.
22933         (casin_test_data): Likewise.
22934         (casinh_test_data): Likewise.
22935         (catan_test_data): Likewise.
22936         (catanh_test_data): Likewise.
22937         (cbrt_test_data): Likewise.
22938         (ccos_test_data): Likewise.
22939         (ccosh_test_data): Likewise.
22940         (ceil_test_data): Likewise.
22941         (cexp_test_data): Likewise.
22942         (cimag_test_data): Likewise.
22943         (clog_test_data): Likewise.
22944         (clog10_test_data): Likewise.
22945         (conj_test_data): Likewise.
22946         (copysign_test_data): Likewise.
22947         (cos_test_data): Likewise.
22948         (cos_tonearest_test_data): Likewise.
22949         (cos_towardzero_test_data): Likewise.
22950         (cos_downward_test_data): Likewise.
22951         (cos_upward_test_data): Likewise.
22952         (cosh_test_data): Likewise.
22953         (cosh_tonearest_test_data): Likewise.
22954         (cosh_towardzero_test_data): Likewise.
22955         (cosh_downward_test_data): Likewise.
22956         (cosh_upward_test_data): Likewise.
22957         (cpow_test_data): Likewise.
22958         (cproj_test_data): Likewise.
22959         (creal_test_data): Likewise.
22960         (csin_test_data): Likewise.
22961         (csinh_test_data): Likewise.
22962         (csqrt_test_data): Likewise.
22963         (ctan_test_data): Likewise.
22964         (ctan_tonearest_test_data): Likewise.
22965         (ctan_towardzero_test_data): Likewise.
22966         (ctan_downward_test_data): Likewise.
22967         (ctan_upward_test_data): Likewise.
22968         (ctanh_test_data): Likewise.
22969         (ctanh_tonearest_test_data): Likewise.
22970         (ctanh_towardzero_test_data): Likewise.
22971         (ctanh_downward_test_data): Likewise.
22972         (ctanh_upward_test_data): Likewise.
22973         (erf_test_data): Likewise.
22974         (erfc_test_data): Likewise.
22975         (exp_test_data): Likewise.
22976         (exp_tonearest_test_data): Likewise.
22977         (exp_towardzero_test_data): Likewise.
22978         (exp_downward_test_data): Likewise.
22979         (exp_upward_test_data): Likewise.
22980         (exp10_test_data): Likewise.
22981         (exp2_test_data): Likewise.
22982         (expm1_test_data): Likewise.
22983         (fabs_test_data): Likewise.
22984         (fdim_test_data): Likewise.
22985         (finite_test_data): Likewise.
22986         (floor_test_data): Likewise.
22987         (fma_test_data): Likewise.
22988         (fma_towardzero_test_data): Likewise.
22989         (fma_downward_test_data): Likewise.
22990         (fma_upward_test_data): Likewise.
22991         (fmax_test_data): Likewise.
22992         (fmin_test_data): Likewise.
22993         (fmod_test_data): Likewise.
22994         (fpclassify_test_data): Likewise.
22995         (frexp_test_data): Likewise.
22996         (gamma_test_data): Likewise.
22997         (hypot_test_data): Likewise.
22998         (ilogb_test_data): Likewise.
22999         (isfinite_test_data): Likewise.
23000         (isgreater_test_data): Likewise.
23001         (isgreaterequal_test_data): Likewise.
23002         (isinf_test_data): Likewise.
23003         (isless_test_data): Likewise.
23004         (islessequal_test_data): Likewise.
23005         (islessgreater_test_data): Likewise.
23006         (isnan_test_data): Likewise.
23007         (isnormal_test_data): Likewise.
23008         (issignaling_test_data): Likewise.
23009         (isunordered_test_data): Likewise.
23010         (j0_test_data): Likewise.
23011         (j1_test_data): Likewise.
23012         (jn_test_data): Likewise.
23013         (ldexp_test_data): Likewise.
23014         (lgamma_test_data): Likewise.
23015         (lrint_test_data): Likewise.
23016         (lrint_tonearest_test_data): Likewise.
23017         (lrint_towardzero_test_data): Likewise.
23018         (lrint_downward_test_data): Likewise.
23019         (lrint_upward_test_data): Likewise.
23020         (llrint_test_data): Likewise.
23021         (llrint_tonearest_test_data): Likewise.
23022         (llrint_towardzero_test_data): Likewise.
23023         (llrint_downward_test_data): Likewise.
23024         (llrint_upward_test_data): Likewise.
23025         (log_test_data): Likewise.
23026         (log10_test_data): Likewise.
23027         (log1p_test_data): Likewise.
23028         (log2_test_data): Likewise.
23029         (logb_test_data): Likewise.
23030         (logb_downward_test_data): Likewise.
23031         (lround_test_data): Likewise.
23032         (llround_test_data): Likewise.
23033         (modf_test_data): Likewise.
23034         (nearbyint_test_data): Likewise.
23035         (nextafter_test_data): Likewise.
23036         (nexttoward_test_data): Likewise.
23037         (pow_test_data): Likewise.
23038         (pow_tonearest_test_data): Likewise.
23039         (pow_towardzero_test_data): Likewise.
23040         (pow_downward_test_data): Likewise.
23041         (pow_upward_test_data): Likewise.
23042         (remainder_test_data): Likewise.
23043         (remainder_tonearest_test_data): Likewise.
23044         (remainder_towardzero_test_data): Likewise.
23045         (remainder_downward_test_data): Likewise.
23046         (remainder_upward_test_data): Likewise.
23047         (remquo_test_data): Likewise.
23048         (rint_test_data): Likewise.
23049         (rint_tonearest_test_data): Likewise.
23050         (rint_towardzero_test_data): Likewise.
23051         (rint_downward_test_data): Likewise.
23052         (rint_upward_test_data): Likewise.
23053         (round_test_data): Likewise.
23054         (scalb_test_data): Likewise.
23055         (scalbn_test_data): Likewise.
23056         (scalbln_test_data): Likewise.
23057         (signbit_test_data): Likewise.
23058         (sin_test_data): Likewise.
23059         (sin_tonearest_test_data): Likewise.
23060         (sin_towardzero_test_data): Likewise.
23061         (sin_downward_test_data): Likewise.
23062         (sin_upward_test_data): Likewise.
23063         (sincos_test_data): Likewise.
23064         (sinh_test_data): Likewise.
23065         (sinh_tonearest_test_data): Likewise.
23066         (sinh_towardzero_test_data): Likewise.
23067         (sinh_downward_test_data): Likewise.
23068         (sinh_upward_test_data): Likewise.
23069         (sqrt_test_data): Likewise.
23070         (tan_test_data): Likewise.
23071         (tan_tonearest_test_data): Likewise.
23072         (tan_towardzero_test_data): Likewise.
23073         (tan_downward_test_data): Likewise.
23074         (tan_upward_test_data): Likewise.
23075         (tanh_test_data): Likewise.
23076         (tgamma_test_data): Likewise.
23077         (trunc_test_data): Likewise.
23078         (y0_test_data): Likewise.
23079         (y1_test_data): Likewise.
23080         (yn_test_data): Likewise.
23081         (significand_test_data): Likewise.
23083         * math/gen-libm-test.pl (@functions): Remove variable.
23084         (generate_testfile): Don't handle START and END lines.
23085         * math/libm-test.inc (START): New macro.
23086         (END): Likewise.
23087         (END_COMPLEX): Likewise.
23088         (acos_test): Use END macro without arguments.
23089         (acos_test_tonearest): Likewise.
23090         (acos_test_towardzero): Likewise.
23091         (acos_test_downward): Likewise.
23092         (acos_test_upward): Likewise.
23093         (acosh_test): Likewise.
23094         (asin_test): Likewise.
23095         (asin_test_tonearest): Likewise.
23096         (asin_test_towardzero): Likewise.
23097         (asin_test_downward): Likewise.
23098         (asin_test_upward): Likewise.
23099         (asinh_test): Likewise.
23100         (atan_test): Likewise.
23101         (atanh_test): Likewise.
23102         (atan2_test): Likewise.
23103         (cabs_test): Likewise.
23104         (cacos_test): Use END_COMPLEX macro without arguments.
23105         (cacosh_test): Likewise.
23106         (carg_test): Use END macro without arguments.
23107         (casin_test): Use END_COMPLEX macro without arguments.
23108         (casinh_test): Likewise.
23109         (catan_test): Likewise.
23110         (catanh_test): Likewise.
23111         (cbrt_test): Use END macro without arguments.
23112         (ccos_test): Use END_COMPLEX macro without arguments.
23113         (ccosh_test): Likewise.
23114         (ceil_test): Use END macro without arguments.
23115         (cexp_test): Use END_COMPLEX macro without arguments.
23116         (cimag_test): Use END macro without arguments.
23117         (clog_test): Use END_COMPLEX macro without arguments.
23118         (clog10_test): Likewise.
23119         (conj_test): Likewise.
23120         (copysign_test): Use END macro without arguments.
23121         (cos_test): Likewise.
23122         (cos_test_tonearest): Likewise.
23123         (cos_test_towardzero): Likewise.
23124         (cos_test_downward): Likewise.
23125         (cos_test_upward): Likewise.
23126         (cosh_test): Likewise.
23127         (cosh_test_tonearest): Likewise.
23128         (cosh_test_towardzero): Likewise.
23129         (cosh_test_downward): Likewise.
23130         (cosh_test_upward): Likewise.
23131         (cpow_test): Use END_COMPLEX macro without arguments.
23132         (cproj_test): Likewise.
23133         (creal_test): Use END macro without arguments.
23134         (csin_test): Use END_COMPLEX macro without arguments.
23135         (csinh_test): Likewise.
23136         (csqrt_test): Likewise.
23137         (ctan_test): Likewise.
23138         (ctan_test_tonearest): Likewise.
23139         (ctan_test_towardzero): Likewise.
23140         (ctan_test_downward): Likewise.
23141         (ctan_test_upward): Likewise.
23142         (ctanh_test): Likewise.
23143         (ctanh_test_tonearest): Likewise.
23144         (ctanh_test_towardzero): Likewise.
23145         (ctanh_test_downward): Likewise.
23146         (ctanh_test_upward): Likewise.
23147         (erf_test): Use END macro without arguments.
23148         (erfc_test): Likewise.
23149         (exp_test): Likewise.
23150         (exp_test_tonearest): Likewise.
23151         (exp_test_towardzero): Likewise.
23152         (exp_test_downward): Likewise.
23153         (exp_test_upward): Likewise.
23154         (exp10_test): Likewise.
23155         (exp2_test): Likewise.
23156         (expm1_test): Likewise.
23157         (fabs_test): Likewise.
23158         (fdim_test): Likewise.
23159         (finite_test): Likewise.
23160         (floor_test): Likewise.
23161         (fma_test): Likewise.
23162         (fma_test_towardzero): Likewise.
23163         (fma_test_downward): Likewise.
23164         (fma_test_upward): Likewise.
23165         (fmax_test): Likewise.
23166         (fmin_test): Likewise.
23167         (fmod_test): Likewise.
23168         (fpclassify_test): Likewise.
23169         (frexp_test): Likewise.
23170         (gamma_test): Likewise.
23171         (hypot_test): Likewise.
23172         (ilogb_test): Likewise.
23173         (isfinite_test): Likewise.
23174         (isgreater_test): Likewise.
23175         (isgreaterequal_test): Likewise.
23176         (isinf_test): Likewise.
23177         (isless_test): Likewise.
23178         (islessequal_test): Likewise.
23179         (islessgreater_test): Likewise.
23180         (isnan_test): Likewise.
23181         (isnormal_test): Likewise.
23182         (issignaling_test): Likewise.
23183         (isunordered_test): Likewise.
23184         (j0_test): Likewise.
23185         (j1_test): Likewise.
23186         (jn_test): Likewise.
23187         (ldexp_test): Likewise.
23188         (lgamma_test): Likewise.
23189         (lrint_test): Likewise.
23190         (lrint_test_tonearest): Likewise.
23191         (lrint_test_towardzero): Likewise.
23192         (lrint_test_downward): Likewise.
23193         (lrint_test_upward): Likewise.
23194         (llrint_test): Likewise.
23195         (llrint_test_tonearest): Likewise.
23196         (llrint_test_towardzero): Likewise.
23197         (llrint_test_downward): Likewise.
23198         (llrint_test_upward): Likewise.
23199         (log_test): Likewise.
23200         (log10_test): Likewise.
23201         (log1p_test): Likewise.
23202         (log2_test): Likewise.
23203         (logb_test): Likewise.
23204         (logb_test_downward): Likewise.
23205         (lround_test): Likewise.
23206         (llround_test): Likewise.
23207         (modf_test): Likewise.
23208         (nearbyint_test): Likewise.
23209         (nextafter_test): Likewise.
23210         (nexttoward_test): Likewise.
23211         (pow_test): Likewise.
23212         (pow_test_tonearest): Likewise.
23213         (pow_test_towardzero): Likewise.
23214         (pow_test_downward): Likewise.
23215         (pow_test_upward): Likewise.
23216         (remainder_test): Likewise.
23217         (remainder_test_tonearest): Likewise.
23218         (remainder_test_towardzero): Likewise.
23219         (remainder_test_downward): Likewise.
23220         (remainder_test_upward): Likewise.
23221         (remquo_test): Likewise.
23222         (rint_test): Likewise.
23223         (rint_test_tonearest): Likewise.
23224         (rint_test_towardzero): Likewise.
23225         (rint_test_downward): Likewise.
23226         (rint_test_upward): Likewise.
23227         (round_test): Likewise.
23228         (scalb_test): Likewise.
23229         (scalbn_test): Likewise.
23230         (scalbln_test): Likewise.
23231         (signbit_test): Likewise.
23232         (sin_test): Likewise.
23233         (sin_test_tonearest): Likewise.
23234         (sin_test_towardzero): Likewise.
23235         (sin_test_downward): Likewise.
23236         (sin_test_upward): Likewise.
23237         (sincos_test): Likewise.
23238         (sinh_test): Likewise.
23239         (sinh_test_tonearest): Likewise.
23240         (sinh_test_towardzero): Likewise.
23241         (sinh_test_downward): Likewise.
23242         (sinh_test_upward): Likewise.
23243         (sqrt_test): Likewise.
23244         (tan_test): Likewise.
23245         (tan_test_tonearest): Likewise.
23246         (tan_test_towardzero): Likewise.
23247         (tan_test_downward): Likewise.
23248         (tan_test_upward): Likewise.
23249         (tanh_test): Likewise.
23250         (tgamma_test): Likewise.
23251         (trunc_test): Likewise.
23252         (y0_test): Likewise.
23253         (y1_test): Likewise.
23254         (yn_test): Likewise.
23255         (significand_test): Likewise.
23257 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
23259         [BZ #15381]
23260         * libio/genops.c (_IO_no_init): Initialize wide struct info.
23262 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
23264         [BZ #14894]
23265         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
23266         __ppc_mdoio and __ppc_mdoom.
23267         * manual/platform.texi: Document new functions __ppc_yield,
23268         __ppc_mdoio and __ppc_mdoom.
23270 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
23272         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
23273         (main): Mention "tls" pseudo-hwcap is legacy.
23274         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
23276 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23278         * math/gen-libm-test.pl (parse_args): Output only string of
23279         arguments as text for test name, not full call or descriptions of
23280         tests for extra outputs.
23281         (generate_testfile): Do not pass function name to parse_args.
23282         Generate this_func variable from START.
23283         * math/libm-test.inc (struct test_f_f_data): Rename test_name
23284         field to arg_str.
23285         (struct test_ff_f_data): Likewise.
23286         (test_ff_f_data_nexttoward): Likewise.
23287         (struct test_fi_f_data): Likewise.
23288         (struct test_fl_f_data): Likewise.
23289         (struct test_if_f_data): Likewise.
23290         (struct test_fff_f_data): Likewise.
23291         (struct test_c_f_data): Likewise.
23292         (struct test_f_f1_data): Likewise.  Remove field extra_name.
23293         (struct test_fF_f1_data): Likewise.
23294         (struct test_ffI_f1_data): Likewise.
23295         (struct test_c_c_data): Rename test_name field to arg_str.
23296         (struct test_cc_c_data): Likewise.
23297         (struct test_f_i_data): Likewise.
23298         (struct test_ff_i_data): Likewise.
23299         (struct test_f_l_data): Likewise.
23300         (struct test_f_L_data): Likewise.
23301         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
23302         and extra2_name.
23303         (COMMON_TEST_SETUP): New macro.
23304         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
23305         (COMMON_TEST_CLEANUP): Likewise.
23306         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
23307         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
23308         macros.
23309         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
23310         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
23311         macros.
23312         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
23313         (RUN_TEST_fff_f): Take argument string.  Call new setup and
23314         cleanup macros.
23315         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
23316         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
23317         macros.
23318         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
23319         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
23320         macros.
23321         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23322         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
23323         cleanup macros.
23324         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23325         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
23326         cleanup macros.
23327         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23328         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
23329         cleanup macros.
23330         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23331         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
23332         macros.
23333         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
23334         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
23335         macros.
23336         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
23337         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
23338         macros.
23339         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
23340         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
23341         cleanup macros.
23342         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
23343         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
23344         cleanup macros.
23345         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
23346         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
23347         macros.
23348         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
23349         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
23350         cleanup macros.
23351         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
23352         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
23353         macros.
23354         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
23355         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
23356         macros.
23357         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
23358         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
23359         cleanup macros.
23360         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
23362 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
23364         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
23365         to _sifields.sigfault.
23366         (si_addr_lsb): Define new macro.
23367         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
23368         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23369         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
23371 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
23373         [BZ #15441]
23374         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
23375         returns -1.
23376         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
23377         null return -1.
23378         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
23379         loading the domain.
23381 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
23383         * math/gen-libm-test.pl (parse_args): Do not include expected
23384         result in test name.
23385         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
23386         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23387         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23388         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23389         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23390         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23392 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
23394         * benchtests/Makefile: Sort function entries.
23396         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
23397         tanh, asinh, acosh, atanh.
23398         * benchtests/acos-inputs: New file.
23399         * benchtests/acosh-inputs: New file.
23400         * benchtests/asin-inputs: New file.
23401         * benchtests/asinh-inputs: New file.
23402         * benchtests/atanh-inputs: New file.
23403         * benchtests/cosh-inputs: New file.
23404         * benchtests/log-inputs: New file.
23405         * benchtests/sinh-inputs: New file.
23406         * benchtests/tanh-inputs: New file.
23408 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
23410         [BZ #15339]
23411         * posix/tst-getaddrinfo4.c: New test.
23412         * posix/Makefile (tests): Add it.
23414 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23416         [BZ #15339]
23417         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
23418         when no services were used.
23419         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
23420         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
23422 2013-05-21  Andreas Schwab  <schwab@suse.de>
23424         [BZ #15014]
23425         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
23426         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
23427         successful.
23428         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
23429         redundant variable declarations and reallocation of buffer when
23430         parsing as IPv6 address.  Always set NSS status when called from
23431         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
23432         buffer too small.  Correct computation of needed size.
23433         * nss/Makefile (tests): Add test-digits-dots.
23434         * nss/test-digits-dots.c: New test.
23436 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
23438         * benchtests/Makefile: Remove instructions for adding
23439         benchmark tests.
23440         * benchtests/README: New file to explain how to execute and
23441         enhance the benchmark tests.
23443 2013-05-21  Andreas Schwab  <schwab@suse.de>
23445         [BZ #15493]
23446         * setjmp/Makefile (tests): Add tst-sigsetjmp.
23447         * setjmp/tst-sigsetjmp.c: New test.
23449 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23451         * sysdeps/x86_64/memset.S (memset): New implementation.
23452         (__bzero): Likewise.
23453         (__memset_tail): New function.
23455 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
23457         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
23458         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
23459         __memcpy_sse2_unaligned ifunc selection.
23460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23461         Add memcpy-sse2-unaligned.S.
23462         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23463         Add: __memcpy_sse2_unaligned.
23465 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
23467         [BZ #15490]
23468         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
23469         math_force_eval before restoring floating-point envrionment.
23470         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
23471         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
23472         Likewise.
23473         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
23474         <math_private.h>.
23475         (__nearbyintl): Use math_force_eval before restoring
23476         floating-point environment.
23477         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
23479         * math/gen-libm-test.pl (special_functions): Remove.
23480         (parse_args): Don't handle TEST_extra.  Handle functions with no
23481         return value.
23482         * math/libm-test.inc (struct test_sincos_data): Replace with
23483         struct test_fFF_11_data.
23484         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
23485         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
23486         (sincos_test_data): Change element type to struct
23487         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
23488         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
23489         RUN_TEST_LOOP_sincos.
23490         * math/README.libm-test: Don't mention special handling of
23491         individual functions.
23492         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
23493         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23494         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
23495         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23496         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
23497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23499         * math/gen-libm-test.pl (get_variable): Remove function.
23500         (parse_args): Don't show pointer parameters to call in test
23501         names.  Use "extra output N" in test names for extra outputs
23502         rather than naming variables.
23504 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
23506         [BZ #15488]
23507         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
23508         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
23509         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
23510         double tests.
23511         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
23512         disable.
23513         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
23514         check_long_double.
23516         * math/gen-libm-test.pl (@tests): Remove variable.
23517         ($count): Likewise.
23518         (new_test): Remove function.
23519         (show_exceptions): New function.
23520         (special_functions): Use show_exceptions instead of new_test.
23521         (parse_args): Likewise.
23522         (generate_testfile): Pass only function name in generated call to
23523         print_max_error or print_complex_max_error.
23524         (get_ulps): Do not handle complex tests specially.
23525         (output_test): Rename to ...
23526         (get_all_ulps_for_test): ... this.  Return a string rather than
23527         printing to a file.  Require ulps to be present.
23528         (output_ulps): Generate arrays rather than #defines.
23529         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
23530         (struct ulp_data): New type.
23531         (BUILD_COMPLEX_ULP): Remove macro.
23532         (compare_ulp_data): New function.
23533         (find_ulps): Likewise.
23534         (find_test_ulps): Likewise.
23535         (find_function_ulps): Likewise.
23536         (find_complex_function_ulps): Likewise.
23537         (print_max_error): Determine allowed ulps using
23538         find_function_ulps.
23539         (print_complex_max_error): Determine allowed ulps using
23540         find_complex_function_ulps.
23541         (check_float_internal): Determine max ulps using find_test_ulps.
23542         (check_float): Do not take max_ulp parameter.  Update call to
23543         check_float_internal.
23544         (check_complex): Likewise.
23545         (check_int): Do not take max_ulp parameter.
23546         (check_long): Likewise.
23547         (check_bool): Likewise.
23548         (check_longlong): Likewise.
23549         (struct test_f_f_data): Remove max_ulp field.
23550         (struct test_ff_f_data): Likewise.
23551         (struct test_ff_f_data_nexttoward): Likewise.
23552         (struct test_fi_f_data): Likewise.
23553         (struct test_fl_f_data): Likewise.
23554         (struct test_if_f_data): Likewise.
23555         (struct test_fff_f_data): Likewise.
23556         (struct test_c_f_data): Likewise.
23557         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
23558         (struct test_fF_f1_data): Likewise.
23559         (struct test_ffI_f1_data): Likewise.
23560         (struct test_c_c_data): Remove max_ulp field.
23561         (struct test_cc_c_data): Likewise.
23562         (struct test_f_i_data): Likewise.
23563         (struct test_ff_i_data): Likewise.
23564         (struct test_f_l_data): Likewise.
23565         (struct test_f_L_data): Likewise.
23566         (struct test_sincos_data): Likewise.
23567         (RUN_TEST_f_f): Do not handle ulps.
23568         (RUN_TEST_LOOP_f_f): Likewise.
23569         (RUN_TEST_2_f): Likewise.
23570         (RUN_TEST_LOOP_2_f): Likewise.
23571         (RUN_TEST_fff_f): Likewise.
23572         (RUN_TEST_LOOP_fff_f): Likewise.
23573         (RUN_TEST_c_f): Likewise.
23574         (RUN_TEST_LOOP_c_f): Likewise.
23575         (RUN_TEST_f_f1): Likewise.
23576         (RUN_TEST_LOOP_f_f1): Likewise.
23577         (RUN_TEST_fF_f1): Likewise.
23578         (RUN_TEST_LOOP_fF_f1): Likewise.
23579         (RUN_TEST_fI_f1): Likewise.
23580         (RUN_TEST_LOOP_fI_f1): Likewise.
23581         (RUN_TEST_ffI_f1): Likewise.
23582         (RUN_TEST_LOOP_ffI_f1): Likewise.
23583         (RUN_TEST_c_c): Likewise.
23584         (RUN_TEST_LOOP_c_c): Likewise.
23585         (RUN_TEST_cc_c): Likewise.
23586         (RUN_TEST_LOOP_cc_c): Likewise.
23587         (RUN_TEST_f_i): Likewise.
23588         (RUN_TEST_LOOP_f_i): Likewise.
23589         (RUN_TEST_f_i_tg): Likewise.
23590         (RUN_TEST_LOOP_f_i_tg): Likewise.
23591         (RUN_TEST_ff_i_tg): Likewise.
23592         (RUN_TEST_LOOP_ff_i_tg): Likewise.
23593         (RUN_TEST_f_b): Likewise.
23594         (RUN_TEST_LOOP_f_b): Likewise.
23595         (RUN_TEST_f_b_tg): Likewise.
23596         (RUN_TEST_LOOP_f_b_tg): Likewise.
23597         (RUN_TEST_f_l): Likewise.
23598         (RUN_TEST_LOOP_f_l): Likewise.
23599         (RUN_TEST_f_L): Likewise.
23600         (RUN_TEST_LOOP_f_L): Likewise.
23601         (RUN_TEST_sincos): Likewise.
23602         (RUN_TEST_LOOP_sincos): Likewise.
23604 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
23606         [BZ #15480]
23607         [BZ #15485]
23608         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
23609         main case of finite arguments, set rounding mode to FE_TONEAREST
23610         and discard exceptions.
23611         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
23612         exceptions.
23613         (remainder_tonearest_test_data): New variable.
23614         (remainder_test_tonearest): New function.
23615         (remainder_towardzero_test_data): New variable.
23616         (remainder_test_towardzero): New function.
23617         (remainder_downward_test_data): New variable.
23618         (remainder_test_downward): New function.
23619         (remainder_upward_test_data): New variable.
23620         (remainder_test_upward): New function.
23621         (main): Call the new test functions.
23623         * math/libm-test.inc (struct test_f_f1_data): Remove field
23624         extra_init.
23625         (struct test_fF_f1_data): Likewise.
23626         (struct test_ffI_f1_data): Likewise.
23627         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
23628         based on value of EXTRA_EXPECTED.
23629         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
23630         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
23631         EXTRA_VAR based on value of EXTRA_EXPECTED.
23632         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
23633         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
23634         EXTRA_VAR based on value of EXTRA_EXPECTED.
23635         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
23636         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
23637         EXTRA_VAR based on value of EXTRA_EXPECTED.
23638         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
23639         * math/gen-libm-test.pl (parse_args): Don't output initializers
23640         for extra output values.
23642         * math/libm-test.inc (check_int): Expect result to be exactly
23643         equal to expected value and do not handle ulps.
23644         (check_long): Likewise.
23645         (check_longlong): Likewise.
23647         * math/libm-test.inc (ceil_test_data): Test for "inexact"
23648         exceptions.
23649         (cimag_test_data): Likewise.
23650         (conj_test_data): Likewise.
23651         (copysign_test_data): Likewise.
23652         (cproj_test_data): Likewise.
23653         (creal_test_data): Likewise.
23654         (fabs_test_data): Likewise.
23655         (fdim_test_data): Likewise.
23656         (finite_test_data): Likewise.
23657         (floor_test_data): Likewise.
23658         (fmax_test_data): Likewise.
23659         (fmin_test_data): Likewise.
23660         (fmod_test_data): Likewise.
23661         (fpclassify_test_data): Likewise.
23662         (frexp_test_data): Likewise.
23663         (ilogb_test_data): Likewise.
23664         (isfinite_test_data): Likewise.
23665         (isgreater_test_data): Likewise.
23666         (isgreaterequal_test_data): Likewise.
23667         (isinf_test_data): Likewise.
23668         (isless_test_data): Likewise.
23669         (islessequal_test_data): Likewise.
23670         (islessgreater_test_data): Likewise.
23671         (isnan_test_data): Likewise.
23672         (isnormal_test_data): Likewise.
23673         (issignaling_test_data): Likewise.
23674         (isunordered_test_data): Likewise.
23675         (ldexp_test_data): Likewise.
23676         (lrint_test_data): Likewise.
23677         (lrint_test_data) [TEST_FLOAT]: Disable one test.
23678         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
23679         (lrint_tonearest_test_data): Test for "inexact" exceptions.
23680         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23681         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
23682         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23683         test input.
23684         (lrint_towardzero_test_data): Test for "inexact" exceptions.
23685         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23686         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
23687         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
23688         that test input.
23689         (lrint_downward_test_data): Test for "inexact" exceptions.
23690         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23691         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
23692         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
23693         test input.
23694         (lrint_upward_test_data): Test for "inexact" exceptions.
23695         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
23696         test input.
23697         (llrint_test_data): Test for "inexact" exceptions.
23698         (llrint_test_data) [TEST_FLOAT]: Disable one test.
23699         (llrint_tonearest_test_data): Test for "inexact" exceptions.
23700         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
23701         (llrint_towardzero_test_data): Test for "inexact" exceptions.
23702         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
23703         (llrint_downward_test_data): Test for "inexact" exceptions.
23704         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
23705         (llrint_upward_test_data): Test for "inexact" exceptions.
23706         (logb_test_data): Likewise.
23707         (logb_downward_test_data): Likewise.
23708         (nextafter_test_data): Likewise.
23709         (nexttoward_test_data): Likewise.
23710         (remainder_test_data): Likewise.
23711         (remquo_test_data): Likewise.
23712         (scalbn_test_data): Likewise.
23713         (scalbln_test_data): Likewise.
23714         (signbit_test_data): Likewise.
23715         (sqrt_test_data): Likewise.
23716         (significand_test_data): Likewise.
23718 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
23720         [BZ #15424]
23721         * benchtests/bench-modf.c (struct args): Mark arg0 as
23722         volatile.
23723         * scripts/bench.pl: Mark members of struct args as volatile.
23725 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23727         [BZ # 15497]
23728         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
23729         negative infinity on POWER6 or lower.
23730         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
23732 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
23734         [BZ #15442]
23735         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
23736         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
23737         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
23738         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
23739         (_FP_SETQNAN): New macro.
23740         (_FP_SETQNAN_SEMIRAW): Likewise.
23741         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
23742         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
23743         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
23744         (FP_EXTEND): Use _FP_FRAC_SNANP.
23745         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
23746         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
23747         into account.
23748         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23749         New macro.
23750         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
23751         Likewise.
23753 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
23755         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
23756         with DIVIDE_BY_ZERO_EXCEPTION.
23757         (gamma_test_data): Likewise.
23758         (lgamma_test_data): Likewise.
23759         (log_test_data): Likewise.
23760         (log10_test_data): Likewise.
23761         (log2_test_data): Likewise.
23762         (tgamma_test_data): Likewise.
23764         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
23765         (acos_test_tonearest): Likewise.
23766         (acos_test_towardzero): Likewise.
23767         (acos_test_downward): Likewise.
23768         (acos_test_upward): Likewise.
23769         (acosh_test): Likewise.
23770         (asin_test): Likewise.
23771         (asin_test_tonearest): Likewise.
23772         (asin_test_towardzero): Likewise.
23773         (asin_test_downward): Likewise.
23774         (asin_test_upward): Likewise.
23775         (asinh_test): Likewise.
23776         (atan_test): Likewise.
23777         (atanh_test): Likewise.
23778         (atan2_test): Likewise.
23779         (cabs_test): Likewise.
23780         (cacos_test): Likewise.
23781         (cacosh_test): Likewise.
23782         (casin_test): Likewise.
23783         (casinh_test): Likewise.
23784         (catan_test): Likewise.
23785         (catanh_test): Likewise.
23786         (cbrt_test): Likewise.
23787         (ccos_test): Likewise.
23788         (ccosh_test): Likewise.
23789         (cexp_test): Likewise.
23790         (clog_test): Likewise.
23791         (clog10_test): Likewise.
23792         (cos_test): Likewise.
23793         (cos_test_tonearest): Likewise.
23794         (cos_test_towardzero): Likewise.
23795         (cos_test_downward): Likewise.
23796         (cos_test_upward): Likewise.
23797         (cosh_test): Likewise.
23798         (cosh_test_tonearest): Likewise.
23799         (cosh_test_towardzero): Likewise.
23800         (cosh_test_downward): Likewise.
23801         (cosh_test_upward): Likewise.
23802         (cpow_test): Likewise.
23803         (csin_test): Likewise.
23804         (csinh_test): Likewise.
23805         (csqrt_test): Likewise.
23806         (ctan_test): Likewise.
23807         (ctan_test_tonearest): Likewise.
23808         (ctan_test_towardzero): Likewise.
23809         (ctan_test_downward): Likewise.
23810         (ctan_test_upward): Likewise.
23811         (ctanh_test): Likewise.
23812         (ctanh_test_tonearest): Likewise.
23813         (ctanh_test_towardzero): Likewise.
23814         (ctanh_test_downward): Likewise.
23815         (ctanh_test_upward): Likewise.
23816         (erf_test): Likewise.
23817         (erfc_test): Likewise.
23818         (exp_test): Likewise.
23819         (exp_test_tonearest): Likewise.
23820         (exp_test_towardzero): Likewise.
23821         (exp_test_downward): Likewise.
23822         (exp_test_upward): Likewise.
23823         (exp10_test): Likewise.
23824         (exp2_test): Likewise.
23825         (expm1_test): Likewise.
23826         (fmod_test): Likewise.
23827         (gamma_test): Likewise.
23828         (hypot_test): Likewise.
23829         (j0_test): Likewise.
23830         (j1_test): Likewise.
23831         (jn_test): Likewise.
23832         (lgamma_test): Likewise.
23833         (log_test): Likewise.
23834         (log10_test): Likewise.
23835         (log1p_test): Likewise.
23836         (log2_test): Likewise.
23837         (logb_test_downward): Likewise.
23838         (pow_test): Likewise.
23839         (pow_test_tonearest): Likewise.
23840         (pow_test_towardzero): Likewise.
23841         (pow_test_downward): Likewise.
23842         (pow_test_upward): Likewise.
23843         (remainder_test): Likewise.
23844         (remquo_test): Likewise.
23845         (sin_test): Likewise.
23846         (sin_test_tonearest): Likewise.
23847         (sin_test_towardzero): Likewise.
23848         (sin_test_downward): Likewise.
23849         (sin_test_upward): Likewise.
23850         (sincos_test): Likewise.
23851         (sinh_test): Likewise.
23852         (sinh_test_tonearest): Likewise.
23853         (sinh_test_towardzero): Likewise.
23854         (sinh_test_downward): Likewise.
23855         (sinh_test_upward): Likewise.
23856         (sqrt_test): Likewise.
23857         (tan_test): Likewise.
23858         (tan_test_tonearest): Likewise.
23859         (tan_test_towardzero): Likewise.
23860         (tan_test_downward): Likewise.
23861         (tan_test_upward): Likewise.
23862         (tanh_test): Likewise.
23863         (tgamma_test): Likewise.
23864         (y0_test): Likewise.
23865         (y1_test): Likewise.
23866         (yn_test): Likewise.
23868         * math/gen-libm-test.pl (adjust_arg): Remove function.
23869         (special_function): Remove argument $in_func.  Only handle
23870         generating output for tables of tests, not inside functions.
23871         (parse_args): Likewise.
23872         (generate_testfile): Remove variable $in_func.  Update call to
23873         parse_args.
23874         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
23875         (MINUS_ZERO_INIT): Rename macro to minus_zero.
23876         (PLUS_INFTY_INIT): Rename macro to plus_infty.
23877         (MINUS_INFTY_INIT): Rename macro to minus_infty.
23878         (QNAN_VALUE_INIT): Rename macro to qnan_value.
23879         (MAX_VALUE_INIT): Rename macro to max_value.
23880         (MIN_VALUE_INIT): Rename macro to min_value.
23881         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
23882         (plus_zero): Remove variable.
23883         (minus_zero): Likewise.
23884         (plus_infty): Likewise.
23885         (minus_infty): Likewise.
23886         (qnan_value): Likewise.
23887         (max_value): Likewise.
23888         (min_value): Likewise.
23889         (min_subnorm_value): Likewise.
23891 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23893         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
23894         uint64_t or uint32_t usage.
23895         * crypt/sha256-block.c: Likewise.
23896         * crypt/sha256-crypt.c: Likewise.
23897         * crypt/sha256.c: Likewise.
23898         * crypt/sha512-block.c: Likewise.
23899         * crypt/sha512-crypt.c: Likewise.
23900         * crypt/sha512.c: Likewise.
23901         * debug/backtrace-tst.c: Likewise.
23902         * debug/pcprofiledump.c: Likewise.
23903         * elf/cache.c: Likewise.
23904         * elf/dl-cache.c: Likewise.
23905         * elf/dl-misc.c: Likewise.
23906         * elf/dl-profile.c: Likewise.
23907         * elf/dl-support.c: Likewise.
23908         * elf/ldconfig.c: Likewise.
23909         * elf/sprof.c: Likewise.
23910         * iconv/dummy-repertoire.c: Likewise.
23911         * iconv/iconv_charmap.c: Likewise.
23912         * iconv/skeleton.c: Likewise.
23913         * iconvdata/8bit-generic.c: Likewise.
23914         * iconvdata/cp737.h: Likewise.
23915         * iconvdata/cp775.h: Likewise.
23916         * iconvdata/ibm1008.h: Likewise.
23917         * iconvdata/ibm1025.h: Likewise.
23918         * iconvdata/ibm1046.h: Likewise.
23919         * iconvdata/ibm1097.h: Likewise.
23920         * iconvdata/ibm1112.h: Likewise.
23921         * iconvdata/ibm1122.h: Likewise.
23922         * iconvdata/ibm1123.h: Likewise.
23923         * iconvdata/ibm1124.h: Likewise.
23924         * iconvdata/ibm1129.h: Likewise.
23925         * iconvdata/ibm1130.h: Likewise.
23926         * iconvdata/ibm1132.h: Likewise.
23927         * iconvdata/ibm1133.h: Likewise.
23928         * iconvdata/ibm1137.h: Likewise.
23929         * iconvdata/ibm1140.h: Likewise.
23930         * iconvdata/ibm1141.h: Likewise.
23931         * iconvdata/ibm1142.h: Likewise.
23932         * iconvdata/ibm1143.h: Likewise.
23933         * iconvdata/ibm1144.h: Likewise.
23934         * iconvdata/ibm1145.h: Likewise.
23935         * iconvdata/ibm1146.h: Likewise.
23936         * iconvdata/ibm1147.h: Likewise.
23937         * iconvdata/ibm1148.h: Likewise.
23938         * iconvdata/ibm1149.h: Likewise.
23939         * iconvdata/ibm1153.h: Likewise.
23940         * iconvdata/ibm1154.h: Likewise.
23941         * iconvdata/ibm1155.h: Likewise.
23942         * iconvdata/ibm1156.h: Likewise.
23943         * iconvdata/ibm1157.h: Likewise.
23944         * iconvdata/ibm1158.h: Likewise.
23945         * iconvdata/ibm1160.h: Likewise.
23946         * iconvdata/ibm1161.h: Likewise.
23947         * iconvdata/ibm1162.h: Likewise.
23948         * iconvdata/ibm1163.h: Likewise.
23949         * iconvdata/ibm1164.h: Likewise.
23950         * iconvdata/ibm1166.h: Likewise.
23951         * iconvdata/ibm1167.h: Likewise.
23952         * iconvdata/ibm12712.h: Likewise.
23953         * iconvdata/ibm1390.h: Likewise.
23954         * iconvdata/ibm1399.h: Likewise.
23955         * iconvdata/ibm16804.h: Likewise.
23956         * iconvdata/ibm4517.h: Likewise.
23957         * iconvdata/ibm4899.h: Likewise.
23958         * iconvdata/ibm4909.h: Likewise.
23959         * iconvdata/ibm4971.h: Likewise.
23960         * iconvdata/ibm5347.h: Likewise.
23961         * iconvdata/ibm803.h: Likewise.
23962         * iconvdata/ibm856.h: Likewise.
23963         * iconvdata/ibm901.h: Likewise.
23964         * iconvdata/ibm902.h: Likewise.
23965         * iconvdata/ibm9030.h: Likewise.
23966         * iconvdata/ibm9066.h: Likewise.
23967         * iconvdata/ibm921.h: Likewise.
23968         * iconvdata/ibm922.h: Likewise.
23969         * iconvdata/ibm9448.h: Likewise.
23970         * iconvdata/isiri-3342.h: Likewise.
23971         * iconvdata/jis0201.h: Likewise.
23972         * include/link.h: Likewise.
23973         * include/netdb.h: Likewise.
23974         * inet/check_native.c: Likewise.
23975         * inet/check_pf.c: Likewise.
23976         * inet/getipv4sourcefilter.c: Likewise.
23977         * inet/getnameinfo.c: Likewise.
23978         * inet/getsourcefilter.c: Likewise.
23979         * inet/htonl.c: Likewise.
23980         * inet/setipv4sourcefilter.c: Likewise.
23981         * inet/setsourcefilter.c: Likewise.
23982         * inet/test-inet6_opt.c: Likewise.
23983         * inet/tst-network.c: Likewise.
23984         * locale/C-collate.c: Likewise.
23985         * locale/C-ctype.c: Likewise.
23986         * locale/C-time.c: Likewise.
23987         * locale/C-translit.h: Likewise.
23988         * locale/loadarchive.c: Likewise.
23989         * locale/programs/3level.h: Likewise.
23990         * locale/programs/charmap.c: Likewise.
23991         * locale/programs/charmap.h: Likewise.
23992         * locale/programs/ld-address.c: Likewise.
23993         * locale/programs/ld-collate.c: Likewise.
23994         * locale/programs/ld-ctype.c: Likewise.
23995         * locale/programs/ld-identification.c: Likewise.
23996         * locale/programs/ld-measurement.c: Likewise.
23997         * locale/programs/ld-messages.c: Likewise.
23998         * locale/programs/ld-monetary.c: Likewise.
23999         * locale/programs/ld-name.c: Likewise.
24000         * locale/programs/ld-numeric.c: Likewise.
24001         * locale/programs/ld-paper.c: Likewise.
24002         * locale/programs/ld-telephone.c: Likewise.
24003         * locale/programs/ld-time.c: Likewise.
24004         * locale/programs/linereader.c: Likewise.
24005         * locale/programs/locale.c: Likewise.
24006         * locale/programs/locarchive.c: Likewise.
24007         * locale/programs/locfile.h: Likewise.
24008         * locale/programs/repertoire.c: Likewise.
24009         * locale/programs/simple-hash.c: Likewise.
24010         * locale/programs/simple-hash.h: Likewise.
24011         * malloc/memusage.c: Likewise.
24012         * malloc/memusagestat.c: Likewise.
24013         * nis/nis_defaults.c: Likewise.
24014         * nis/nis_hash.c: Likewise.
24015         * nis/nis_print.c: Likewise.
24016         * nis/nis_xdr.c: Likewise.
24017         * nscd/connections.c: Likewise.
24018         * nscd/hstcache.c: Likewise.
24019         * nscd/nscd_gethst_r.c: Likewise.
24020         * nscd/nscd_getserv_r.c: Likewise.
24021         * nscd/nscd_helper.c: Likewise.
24022         * nscd/servicescache.c: Likewise.
24023         * nss/makedb.c: Likewise.
24024         * nss/nss_db/db-XXX.c: Likewise.
24025         * nss/nss_db/db-initgroups.c: Likewise.
24026         * nss/nss_db/db-netgrp.c: Likewise.
24027         * nss/nss_files/files-network.c: Likewise.
24028         * nss/nss_files/files-parse.c: Likewise.
24029         * posix/bug-regex5.c: Likewise.
24030         * posix/fnmatch_loop.c: Likewise.
24031         * posix/regcomp.c: Likewise.
24032         * posix/regexec.c: Likewise.
24033         * posix/tst-rfc3484-2.c: Likewise.
24034         * posix/tst-rfc3484-3.c: Likewise.
24035         * posix/tst-rfc3484.c: Likewise.
24036         * resolv/nss_dns/dns-canon.c: Likewise.
24037         * resolv/nss_dns/dns-network.c: Likewise.
24038         * resolv/res_init.c: Likewise.
24039         * resolv/res_mkquery.c: Likewise.
24040         * resolv/tst-aton.c: Likewise.
24041         * stdlib/cxa_atexit.c: Likewise.
24042         * stdlib/cxa_finalize.c: Likewise.
24043         * stdlib/gen-fpioconst.c: Likewise.
24044         * stdlib/strtol_l.c: Likewise.
24045         * string/tst-endian.c: Likewise.
24046         * sunrpc/auth_des.c: Likewise.
24047         * sunrpc/clnt_udp.c: Likewise.
24048         * sunrpc/rtime.c: Likewise.
24049         * sunrpc/svcauth_des.c: Likewise.
24050         * sunrpc/xdr.c: Likewise.
24051         * sunrpc/xdr_intXX_t.c: Likewise.
24052         * sunrpc/xdr_rec.c: Likewise.
24053         * sysdeps/generic/ldconfig.h: Likewise.
24054         * sysdeps/generic/ldsodefs.h: Likewise.
24055         * sysdeps/generic/memusage.h: Likewise.
24056         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
24057         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
24058         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
24059         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
24060         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
24061         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24062         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
24063         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
24064         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
24065         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24066         * sysdeps/posix/getaddrinfo.c: Likewise.
24067         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
24068         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24069         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
24070         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
24071         * sysdeps/powerpc/test-gettimebase.c: Likewise.
24072         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
24073         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
24074         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
24075         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
24076         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
24077         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
24078         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
24079         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
24080         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
24081         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
24082         * sysdeps/x86_64/dl-tls.h: Likewise.
24083         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
24084         * time/alt_digit.c: Likewise.
24085         * time/era.c: Likewise.
24086         * wcsmbs/tst-c16c32-1.c: Likewise.
24088 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24090         * math/libm-test.inc (struct test_sincos_data): New type.
24091         (RUN_TEST_LOOP_sincos): New macro.
24092         (sincos_test_data): New variable.
24093         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
24095 2013-05-16  Richard Henderson  <rth@redhat.com>
24097         * math/atest-exp2.c (LIMB64): New macro.
24098         (CONSTSZ): New macro.
24099         (mp_exp1, mp_exp_m1, mp_log2): New variables.
24100         (hexdig): Move ...
24101         (print_mpn_fp): ... to function scope.
24102         (read_mpn_hex): Remove.
24103         (get_log2): Remove.
24104         (exp2_mpn): Use mp_log2.
24105         (main): Use mp_exp1.
24107 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
24109         * math/libm-test.inc: Remove comment about not testing "inexact"
24110         exceptions.
24111         (INEXACT_EXCEPTION): New macro.
24112         (NO_INEXACT_EXCEPTION): Likewise.
24113         (INVALID_EXCEPTION_OK): Update value.
24114         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
24115         (OVERFLOW_EXCEPTION_OK): Likewise.
24116         (UNDERFLOW_EXCEPTION_OK): Likewise.
24117         (IGNORE_ZERO_INF_SIGN): Likewise.
24118         (ERRNO_UNCHANGED): Likewise.
24119         (ERRNO_EDOM): Likewise.
24120         (ERRNO_ERANGE): Likewise.
24121         (test_exceptions): Handle testing "inexact" exceptions.
24122         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
24123         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
24124         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
24125         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
24126         INEXACT_EXCEPTION.
24127         (rint_towardzero_test_data): Likewise.
24128         (rint_downward_test_data): Likewise.
24129         (rint_upward_test_data): Likewise.
24131         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
24132         with OVERFLOW_EXCEPTION.
24133         (exp10_test_data): Likewise.
24134         (exp2_test_data): Likewise.
24135         (expm1_test_data): Likewise.
24136         (lgamma_test_data): Likewise.
24137         (pow_test_data): Likewise.
24138         (tgamma_test_data): Likewise.
24139         (yn_test_data): Remove duplicate test of overflow.
24141         * math/libm-test.inc (struct test_cc_c_data): New type.
24142         (RUN_TEST_LOOP_cc_c): New macro.
24143         (cpow_test_data): New variable.
24144         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
24146         * math/libm-test.inc (struct test_f_L_data): New type.
24147         (RUN_TEST_LOOP_f_L): New macro.
24148         (llrint_test_data): New variable.
24149         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
24150         (llrint_tonearest_test_data): New variable.
24151         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
24152         (llrint_towardzero_test_data): New variable.
24153         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
24154         (llrint_downward_test_data): New variable.
24155         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
24156         (llrint_upward_test_data): New variable.
24157         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
24158         (llround_test_data): New variable.
24159         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
24161 2013-05-13  Peter Collingbourne  <pcc@google.com>
24163         * math/atest-exp2.c (get_log2): Remove const attribute.
24165 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24167         * math/libm-test.inc (struct test_f_l_data): New type.
24168         (RUN_TEST_LOOP_f_l): New macro.
24169         (lrint_test_data): New variable.
24170         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
24171         (lrint_tonearest_test_data): New variable.
24172         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
24173         (lrint_towardzero_test_data): New variable.
24174         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
24175         (lrint_downward_test_data): New variable.
24176         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
24177         (lrint_upward_test_data): New variable.
24178         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
24179         (lround_test_data): New variable.
24180         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
24182 2013-05-15  Peter Collingbourne  <pcc@google.com>
24184         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
24185         (EXTRACT_WORDS64) Use where appropriate.
24186         (INSERT_WORDS64) Likewise.
24188         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
24189         constraints with x constraints.
24190         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
24192         * malloc/obstack.c (_obstack_compat): Add initializer.
24194 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24196         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
24197         si_trapno and add si_addr_lsb to _sifields.sigfault.
24198         (si_trapno): Remove macro.
24199         (si_addr_lsb): Define new macro.
24200         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24202 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
24204         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
24205         instead of TEST_f_l.
24206         (llrint_test_tonearest): Likewise.
24207         (llrint_test_towardzero): Likewise.
24208         (llrint_test_downward): Likewise.
24209         (llrint_test_upward): Likewise.
24210         (llround_test): Likewise.
24212         * math/libm-test.inc (struct test_f_i_data): Add comment.
24213         (RUN_TEST_LOOP_f_b): New macro.
24214         (RUN_TEST_LOOP_f_b_tg): Likewise.
24215         (finite_test_data): New variable.
24216         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
24217         (isfinite_test_data): New variable.
24218         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24219         (isinf_test_data): New variable.
24220         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24221         (isnan_test_data): New variable.
24222         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24223         (isnormal_test_data): New variable.
24224         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24225         (issignaling_test_data): New variable.
24226         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24227         (signbit_test_data): New variable.
24228         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
24230         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
24231         with INVALID_EXCEPTION.
24232         (acosh_test_data): Likewise.
24233         (asin_test_data): Likewise.
24234         (atanh_test_data): Likewise.
24235         (fmod_test_data): Likewise.
24236         (log_test_data): Likewise.
24237         (log10_test_data): Likewise.
24238         (log2_test_data): Likewise.
24239         (pow_test_data): Likewise.
24240         (sqrt_test_data): Likewise.
24241         (y0_test_data): Likewise.
24242         (y1_test_data): Likewise.
24243         (yn_test_data): Likewise.
24245         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
24246         function contents.
24248         * math/libm-test.inc (struct test_ff_i_data): New type.
24249         (RUN_TEST_LOOP_ff_i_tg): New macro.
24250         (isgreater_test_data): New variable.
24251         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24252         (isgreaterequal_test_data): New variable.
24253         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24254         (isless_test_data): New variable.
24255         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24256         (islessequal_test_data): New variable.
24257         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24258         (islessgreater_test_data): New variable.
24259         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24260         (isunordered_test_data): New variable.
24261         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
24263 2013-05-14  David S. Miller  <davem@davemloft.net>
24265         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24267 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
24269         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
24271         * math/libm-test.inc (struct test_fF_f1_data): Change type of
24272         extra_test to int.
24273         (struct test_f_i_data): Change type of max_ulp to int.
24275         * math/libm-test.inc (test_ffI_f1_data): New type.
24276         (RUN_TEST_LOOP_ffI_f1): New macro.
24277         (remquo_test_data): New variable.
24278         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
24280         * setjmp/tst-setjmp-fp.c: New file.
24281         * setjmp/Makefile (tests): Add tst-setjmp-fp.
24282         (link-libm): New variable.
24283         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
24285         * math/libm-test.inc (struct test_f_i_data): New type.
24286         (RUN_TEST_LOOP_f_i): New macro.
24287         (RUN_TEST_LOOP_f_i_tg): Likewise.
24288         (fpclassify_test_data): New variable.
24289         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
24290         (ilogb_test_data): New variable.
24291         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
24293         * math/libm-test.inc (scalbln_test): Correct function name in END
24294         call.
24296         * math/libm-test.inc (struct test_f_f1_data): Add comment.
24297         (RUN_TEST_LOOP_fI_f1): New macro.
24298         (frexp_test_data): New variable.
24299         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
24301         * math/libm-test.inc (struct test_fF_f1_data): New type.
24302         (RUN_TEST_LOOP_fF_f1): New macro.
24303         (modf_test_data): New variable.
24304         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
24306         * math/libm-test.inc (struct test_f_f1_data): New type.
24307         (RUN_TEST_LOOP_f_f1): New macro.
24308         (gamma_test_data): New variable.
24309         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24310         (lgamma_test_data): New variable.
24311         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
24313 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
24315         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
24316         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
24317         (main): Comment "tls" pseudo-hwcap.
24319 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
24321         * math/libm-test.inc (struct test_fl_f_data): New type.
24322         (RUN_TEST_LOOP_fl_f): New variable.
24323         (scalbln_test_data): New variable.
24324         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
24326         * math/libm-test.inc (struct test_fi_f_data): New type.
24327         (RUN_TEST_LOOP_fi_f): New macro.
24328         (ldexp_test_data): New variable.
24329         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
24330         (scalbn_test_data): New variable.
24331         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
24333         * math/libm-test.inc (struct test_c_f_data): New type.
24334         (RUN_TEST_LOOP_c_f): New macro.
24335         (cabs_test_data): New variable.
24336         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
24337         (carg_test_data): New variable.
24338         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
24339         (cimag_test_data): New variable.
24340         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
24341         (creal_test_data): New variable.
24342         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
24344         * math/libm-test.inc (struct test_if_f_data): New type.
24345         (RUN_TEST_LOOP_if_f): New macro.
24346         (jn_test_data): New variable.
24347         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
24348         (yn_test_data): New variable.
24349         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
24351         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
24353 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24355         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
24356         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
24358 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24360         * benchtests/Makefile (CPPFLAGS-nonlib): Add
24361         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
24362         (bench-deps): Add bench-timing.h.
24363         * benchtests-bench-skeleton.c: Include bench-timing.h.
24364         (main): Use TIMING_* macros instead of clock_gettime.
24365         * benchtests/bench-timing.h: New file.
24367         [BZ #14582]
24368         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
24369         Renamed from _LIB_VERSION.
24370         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
24372 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
24374         * math/libm-test.inc (struct test_fff_f_data): New type.
24375         (RUN_TEST_LOOP_fff_f): New macro.
24376         (fma_test_data): New variable.
24377         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
24378         (fma_towardzero_test_data): New variable.
24379         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
24380         (fma_downward_test_data): New variable.
24381         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
24382         (fma_upward_test_data): New variable.
24383         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
24385         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
24386         (struct test_c_c_data): New type.
24387         (RUN_TEST_LOOP_c_c): New macro.
24388         (cacos_test_data): New variable.
24389         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
24390         (cacosh_test_data): New variable.
24391         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
24392         (casin_test_data): New variable.
24393         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
24394         (casinh_test_data): New variable.
24395         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
24396         (catan_test_data): New variable.
24397         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
24398         (catanh_test_data): New variable.
24399         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
24400         (ccos_test_data): New variable.
24401         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
24402         (ccosh_test_data): New variable.
24403         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
24404         (cexp_test_data): New variable.
24405         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
24406         (clog_test_data): New variable.
24407         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
24408         (clog10_test_data): New variable.
24409         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
24410         (conj_test_data): New variable.
24411         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
24412         (cproj_test_data): New variable.
24413         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
24414         (csin_test_data): New variable.
24415         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
24416         (csinh_test_data): New variable.
24417         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
24418         (csqrt_test_data): New variable.
24419         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
24420         (ctan_test_data): New variable.
24421         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
24422         (ctan_tonearest_test_data): New variable.
24423         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24424         (ctan_towardzero_test_data): New variable.
24425         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24426         (ctan_downward_test_data): New variable.
24427         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24428         (ctan_upward_test_data): New variable.
24429         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24430         (ctanh_test_data): New variable.
24431         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
24432         (ctanh_tonearest_test_data): New variable.
24433         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
24434         (ctanh_towardzero_test_data): New variable.
24435         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
24436         (ctanh_downward_test_data): New variable.
24437         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
24438         (ctanh_upward_test_data): New variable.
24439         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
24440         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
24441         of BUILD_COMPLEX.
24443         * math/libm-test.inc (struct test_ff_f_data): New type.
24444         (struct test_ff_f_data_nexttoward): Likewise.
24445         (RUN_TEST_LOOP_2_f): New macro.
24446         (RUN_TEST_LOOP_ff_f): Likewise.
24447         (atan2_test_data): New variable.
24448         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
24449         (copysign_test_data): New variable.
24450         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
24451         (fdim_test_data): New variable.
24452         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
24453         (fmax_test_data): New variable.
24454         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
24455         (fmin_test_data): New variable.
24456         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
24457         (fmod_test_data): New variable.
24458         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
24459         (hypot_test_data): New variable.
24460         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
24461         (nextafter_test_data): New variable.
24462         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
24463         (nexttoward_test_data): New variable.
24464         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
24465         (pow_test_data): New variable.
24466         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
24467         (pow_tonearest_test_data): New variable.
24468         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
24469         (pow_towardzero_test_data): New variable.
24470         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
24471         (pow_downward_test_data): New variable.
24472         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
24473         (pow_upward_test_data): New variable.
24474         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
24475         (remainder_test_data): New variable.
24476         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
24477         (scalb_test_data): New variable.
24478         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
24479         * sysdeps/i386/fpu/libm-test-ulps: Update.
24481 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
24483         * math/libm-test.inc (fma_test): Use max_value instead of local
24484         variable fltmax.
24485         (nextafter_test): Likewise.
24487         * math/libm-test.inc (acos_towardzero_test_data): New variable.
24488         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24489         (acos_downward_test_data): New variable.
24490         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24491         (acos_upward_test_data): New variable.
24492         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24493         (acosh_test_data): New variable.
24494         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
24495         (asin_test_data): New variable.
24496         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
24497         (asin_tonearest_test_data): New variable.
24498         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24499         (asin_towardzero_test_data): New variable.
24500         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24501         (asin_downward_test_data): New variable.
24502         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24503         (asin_upward_test_data): New variable.
24504         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24505         (asinh_test_data): New variable.
24506         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
24507         (atan_test_data): New variable.
24508         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
24509         (atanh_test_data): New variable.
24510         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
24511         (cbrt_test_data): New variable.
24512         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
24513         (ceil_test_data): New variable.
24514         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
24515         (cos_test_data): New variable.
24516         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
24517         (cos_tonearest_test_data): New variable.
24518         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24519         (cos_towardzero_test_data): New variable.
24520         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24521         (cos_downward_test_data): New variable.
24522         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24523         (cos_upward_test_data): New variable.
24524         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24525         (cosh_test_data): New variable.
24526         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
24527         (cosh_tonearest_test_data): New variable.
24528         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24529         (cosh_towardzero_test_data): New variable.
24530         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24531         (cosh_downward_test_data): New variable.
24532         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24533         (cosh_upward_test_data): New variable.
24534         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24535         (erf_test_data): New variable.
24536         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
24537         (erfc_test_data): New variable.
24538         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
24539         (exp_test_data): New variable.
24540         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
24541         (exp_tonearest_test_data): New variable.
24542         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24543         (exp_towardzero_test_data): New variable.
24544         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24545         (exp_downward_test_data): New variable.
24546         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24547         (exp_upward_test_data): New variable.
24548         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24549         (exp10_test_data): New variable.
24550         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
24551         (exp2_test_data): New variable.
24552         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
24553         (expm1_test_data): New variable.
24554         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
24555         (fabs_test_data): New variable.
24556         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
24557         (floor_test_data): New variable.
24558         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
24559         (j0_test_data): New variable.
24560         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
24561         (j1_test_data): New variable.
24562         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
24563         (log_test_data): New variable.
24564         (log_test): Run tests with RUN_TEST_LOOP_f_f.
24565         (log10_test_data): New variable.
24566         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
24567         (log1p_test_data): New variable.
24568         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
24569         (log2_test_data): New variable.
24570         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
24571         (logb_test_data): New variable.
24572         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
24573         (logb_downward_test_data): New variable.
24574         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24575         (nearbyint_test_data): New variable.
24576         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
24577         (rint_test_data): New variable.
24578         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
24579         (rint_tonearest_test_data): New variable.
24580         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24581         (rint_towardzero_test_data): New variable.
24582         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24583         (rint_downward_test_data): New variable.
24584         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24585         (rint_upward_test_data): New variable.
24586         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24587         (round_test_data): New variable.
24588         (round_test): Run tests with RUN_TEST_LOOP_f_f.
24589         (sin_test_data): New variable.
24590         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
24591         (sin_tonearest_test_data): New variable.
24592         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24593         (sin_towardzero_test_data): New variable.
24594         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24595         (sin_downward_test_data): New variable.
24596         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24597         (sin_upward_test_data): New variable.
24598         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24599         (sinh_test_data): New variable.
24600         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
24601         (sinh_tonearest_test_data): New variable.
24602         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24603         (sinh_towardzero_test_data): New variable.
24604         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24605         (sinh_downward_test_data): New variable.
24606         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24607         (sinh_upward_test_data): New variable.
24608         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24609         (sqrt_test_data): New variable.
24610         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
24611         (tan_test_data): New variable.
24612         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
24613         (tan_tonearest_test_data): New variable.
24614         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24615         (tan_towardzero_test_data): New variable.
24616         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
24617         (tan_downward_test_data): New variable.
24618         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
24619         (tan_upward_test_data): New variable.
24620         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
24621         (tanh_test_data): New variable.
24622         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
24623         (tgamma_test_data): New variable.
24624         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
24625         (trunc_test_data): New variable.
24626         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
24627         (y0_test_data): New variable.
24628         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
24629         (y1_test_data): New variable.
24630         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
24631         (significand_test_data): New variable.
24632         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
24634 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
24636         [BZ #12387]
24637         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
24639 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
24641         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
24643 2013-05-10  Andreas Jaeger  <aj@suse.de>
24645         [BZ #15448]
24646         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
24647         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
24649 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24651         * math/gen-libm-test.pl (adjust_arg): New function.
24652         (special_functions): Handle generating output in both functions
24653         and arrays.
24654         (parse_args): Likewise.
24655         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
24656         $in_func argument to parse_args.
24657         * math/libm-test.inc (struct test_f_f_data): New type.
24658         (IF_ROUND_INIT_): New macro.
24659         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
24660         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
24661         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
24662         (IF_ROUND_INIT_FE_UPWARD): Likewise.
24663         (ROUND_RESTORE_): Likewise.
24664         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
24665         (ROUND_RESTORE_FE_TONEAREST): Likewise.
24666         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
24667         (ROUND_RESTORE_FE_UPWARD): Likewise.
24668         (RUN_TEST_LOOP_f_f): New macro.
24669         (acos_test_data): New variable.
24670         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
24671         (acos_tonearest_test_data): New variable.
24672         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
24674 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
24676         * benchtests/bench-skeleton.c (startup): Fix coding style.
24678 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
24680         [BZ #6809]
24681         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
24682         negative infinity argument.
24683         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
24684         negative infinity argument.
24685         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
24686         negative infinity argument.
24687         * math/libm-test.inc (tgamma_test): Expect errno to be set for
24688         domain errors.
24690 2013-05-10  Florian Weimer  <fweimer@redhat.com>
24692         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
24693         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
24694         * iconv/iconv_prog.c (main): Likewise.
24695         * locale/programs/charmap-dir.c (charmap_readdir)
24696         (fopen_uncompressed): Likewise.
24697         * locale/programs/locfile.c (siblings_uncached)
24698         (write_locale_data): Use lstat64 instead of lstat.
24699         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
24700         stat.
24702 2013-05-10  Andreas Jaeger  <aj@suse.de>
24704         [BZ #15395]
24705         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
24706         localization.
24707         Include <locale.h>.
24709 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
24711         * elf/dl-close.c (_dl_close_worker): Add comments.
24713 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
24715         [BZ #15359]
24716         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
24717         high part of pi/2.
24718         (__ieee754_rem_pio2l): Update comments.
24720         [BZ #15429]
24721         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
24722         high part of pi/2.
24723         (__ieee754_rem_pio2l): Update comments.
24725         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
24726         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
24728         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
24729         M_PI_4l.
24731         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
24732         (M_PI_34_LOG10El): Likewise.
24733         (M_PI2_LOG10El): Likewise.
24734         (M_PI4_LOG10El): Likewise.
24735         (M_PI_LOG10El): Likewise.
24737 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24739         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24741 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
24743         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
24744         (MINUS_ZERO_INIT): Likewise.
24745         (PLUS_INFTY_INIT): Likewise.
24746         (MINUS_INFTY_INIT): Likewise.
24747         (QNAN_VALUE_INIT): Likewise.
24748         (MAX_VALUE_INIT): Likewise.
24749         (MIN_VALUE_INIT): Likewise.
24750         (MIN_SUBNORM_VALUE_INIT): Likewise.
24751         (plus_zero): Initialize with PLUS_ZERO_INIT.
24752         (minus_zero): Initialize with MINUS_ZERO_INIT.
24753         (plus_infty): Initialize with PLUS_INFTY_INIT.
24754         (minus_infty): Initialize with MINUS_INFTY_INIT.
24755         (qnan_value): Initialize with QNAN_VALUE_INIT.
24756         (max_value): Initialize with MAX_VALUE_INIT.
24757         (min_value): Initialize with MIN_VALUE_INIT.
24758         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
24760         * math/libm-test.inc (RUN_TEST_if_f): New macro.
24761         (jn_test): Use TEST_if_f instead of TEST_ff_f.
24762         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
24763         (yn_test): Use TEST_if_f instead of TEST_ff_f.
24765         * math/libm-test.inc (RUN_TEST_f_f): New macro.
24766         (RUN_TEST_2_f): Likewise.
24767         (RUN_TEST_ff_f): Likewise.
24768         (RUN_TEST_fi_f): Likewise.
24769         (RUN_TEST_fl_f): Likewise.
24770         (RUN_TEST_fff_f): Likewise.
24771         (RUN_TEST_c_f): Likewise.
24772         (RUN_TEST_f_f1): Likewise.
24773         (RUN_TEST_fF_f1): Likewise.
24774         (RUN_TEST_fI_f1): Likewise.
24775         (RUN_TEST_ffI_f1): Likewise.
24776         (RUN_TEST_c_c): Likewise.
24777         (RUN_TEST_cc_c): Likewise.
24778         (RUN_TEST_f_i): Likewise.
24779         (RUN_TEST_f_i_tg): Likewise.
24780         (RUN_TEST_ff_i_tg): Likewise.
24781         (RUN_TEST_f_b): Likewise.
24782         (RUN_TEST_f_b_tg): Likewise.
24783         (RUN_TEST_f_l): Likewise.
24784         (RUN_TEST_f_L): Likewise.
24785         (RUN_TEST_sincos): Likewise.
24786         * math/gen-libm-test.pl (new_test): Take new argument to indicate
24787         whether to show exceptions.  Do not include ");\n" in return
24788         value.
24789         (special_functions): Output call to RUN_TEST_sincos instead of
24790         check_float calls.  Update calls to new_test.
24791         (parse_args): Output call to single RUN_TEST_* macro instead of
24792         check_* calls and other assignments.  Update calls to new_test.
24794         [BZ #2546]
24795         [BZ #2560]
24796         [BZ #5159]
24797         [BZ #15426]
24798         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
24799         input to result for tgamma overflow.
24800         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
24801         (gamma_coeff): New variable.
24802         (NCOEFF): New macro.
24803         (gamma_positive): New function.
24804         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
24805         underflow here.  Use gamma_positive instead of exp (lgamma) for
24806         other arguments.
24807         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
24808         (gamma_coeff): New variable.
24809         (NCOEFF): New macro.
24810         (gammaf_positive): New function.
24811         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
24812         underflow here.  Use gamma_positive instead of exp (lgamma) for
24813         other arguments.
24814         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
24815         (gamma_coeff): New variable.
24816         (NCOEFF): New macro.
24817         (gammal_positive): New function.
24818         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
24819         underflow here.  Use gamma_positive instead of exp (lgamma) for
24820         other arguments.
24821         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
24822         (gamma_coeff): New variable.
24823         (NCOEFF): New macro.
24824         (gammal_positive): New function.
24825         (__ieee754_gammal_r): Handle positive infinity, overflow and
24826         underflow here.  Handle NaN the same as positive infinity.  Remove
24827         check x < 0xffffffff for negative integers.  Use gamma_positive
24828         instead of exp (lgamma) for other arguments.
24829         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
24830         (gamma_coeff): New variable.
24831         (NCOEFF): New macro.
24832         (gammal_positive): New function.
24833         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
24834         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
24835         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
24836         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
24837         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
24838         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
24839         * sysdeps/generic/math_private.h (__gamma_productf): New
24840         prototype.
24841         (__gamma_product): Likewise.
24842         (__gamma_productl): Likewise.
24843         * math/Makefile (libm-calls): Add gamma_product.
24844         * math/libm-test.inc (tgamma_test): Add more tests.
24845         * sysdeps/i386/fpu/libm-test-ulps: Update.
24846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24848 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
24850         * benchtests/bench-skeleton.c (main): Preheat CPU.
24852 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
24854         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
24856 2013-05-07  Roland McGrath  <roland@hack.frob.com>
24858         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
24859         and _dl_skip_args_internal.
24861 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
24863         * manual/message.texi (Message Translation): Talk about users.
24864         Message to key mapping impacts design.
24866 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24868         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
24870         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
24872         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
24873         * sysdeps/wordsize-64/glob64.c: ... here.
24875         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
24876         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
24877         New macros.
24879         * debug/getlogin_r_chk.c: Moved to ...
24880         * login/getlogin_r_chk.c: ... here.
24881         * debug/Makefile (routines): Move getlogin_r_chk to ...
24882         * login/Makefile (routines): ... here.
24883         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
24884         * login/Versions (libc: GLIBC_2.4): ... here.
24886         * io/poll.c (__poll): Renamed from poll.
24887         Add libc_hidden_def.
24888         (poll): Define as weak alias.
24890         * debug/ptsname_r_chk.c: Moved to ...
24891         * login/ptsname_r_chk.c: ... here.
24892         * debug/Makefile (routines): Move ptsname_r_chk to ...
24893         * login/Makefile (routines): ... here.
24894         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
24895         * login/Versions (libc: GLIBC_2.4): ... here.
24897         * posix/getlogin.c: Moved to ...
24898         * login/getlogin.c: ... here.
24899         * posix/getlogin_r.c: Moved to ...
24900         * login/getlogin_r.c: ... here.
24901         * posix/getlogin_r.c: Moved to ...
24902         * login/getlogin_r.c: ... here.
24903         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
24904         * login/Makefile (routines): ... here.
24905         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
24906         * login/Versions (libc: GLIBC_2.0): ... here.
24908         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
24909         (setrlimit): Define as weak alias.
24911         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
24912         Call __ names for open, ftruncate, and close.
24913         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
24914         (truncate): Define as weak alias.
24916 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
24918         * math/gen-libm-test.pl (parse_args): Initialize x before each
24919         test of frexp, modf and remquo.
24921         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
24922         test signgam value.
24924 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24926         [BZ #15418]
24927         [BZ #15419]
24928         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
24929         internal tests.
24930         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
24932 2013-05-06  Roland McGrath  <roland@hack.frob.com>
24934         * elf/dl-writev.h: New file.
24935         * elf/dl-misc.c: Include it.
24936         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
24937         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
24939 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
24941         * math/libm-test.inc (noXFails): Remove variable.
24942         (noXPasses): Likewise.
24943         (BUILD_COMPLEX_INT): Remove macro.
24944         (print_screen): Remove xfail argument.
24945         (print_screen_max_error): Likewise.
24946         (update_stats): Likewise.
24947         (print_max_error): Likewise.  Update calls to other affected
24948         functions.
24949         (print_complex_max_error): Likewise.
24950         (test_single_exception): Update calls to print_screen.
24951         (test_single_errno): Likewise.
24952         (check_float_internal): Remove xfail argument.  Update calls to
24953         other affected functions.
24954         (check_float): Likewise.
24955         (check_complex): Likewise.
24956         (check_int): Likewise.
24957         (check_long): Likewise.
24958         (check_bool): Likewise.
24959         (check_longlong): Likewise.
24960         (main): Don't print noXFails and noXPasses.
24961         * math/gen-libm-test.pl (top level): Don't mention expected
24962         failure handling in comment.
24963         (new_test): Don't handle expected failures.
24964         (parse_args): Don't mention expected failure handling in comment.
24965         (generate_testfile): Don't handle expected failures.
24966         (parse_ulps): Likewise.
24967         (print_ulps_file): Likewise.
24968         (get_failure): Remove function.
24969         (output_test): Don't handle expected failures.
24970         * make/README.libm-test: Don't mention expected failure handling.
24972         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
24973         (minus_zero): Likewise.
24974         (plus_infty): Likewise.
24975         (minus_infty): Likewise.
24976         (qnan_value): Likewise.
24977         (max_value): Likewise.
24978         (min_value): Likewise.
24979         (min_subnorm_value): Likewise.
24980         (initialize): Do not initialize those variables dynamically.
24982 2013-05-03  Roland McGrath  <roland@hack.frob.com>
24984         * io/open.c (__open_2): Moved to ...
24985         * io/open_2.c: ... this new file.
24986         * io/open64.c (__open64_2): Moved to ...
24987         * io/open64_2.c: ... this new file.
24988         * io/openat.c (__openat_2): Moved to ...
24989         * io/openat_2.c: ... this new file.
24990         * io/openat64.c (__openat64_2): Moved to ...
24991         * io/openat64_2.c: ... this new file.
24992         * io/Makefile (routines): Add them.
24993         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
24994         * sysdeps/unix/sysv/linux/open_2.c: File removed.
24995         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
24996         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
24997         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
24998         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
24999         (__openat64): Add hidden_ver.
25000         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
25001         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
25003         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
25004         Separately conditionalize setting of GLRO(dl_sysinfo) so
25005         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
25006         as well, but the actual setting is only under [NEED_DL_SYSINFO].
25008 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25010         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
25011         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
25012         definition.
25013         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
25014         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25015         (_libc_vdso_platform_setup): Add __vdso_time initialization.
25016         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
25017         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
25019 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
25021         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
25022         test signgam value.
25024         * math/libm-test.inc (hypot_test): Do not use
25025         IGNORE_ZERO_INF_SIGN.
25027 2013-05-03  Andreas Jaeger  <aj@suse.de>
25029         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
25030         Linux 3.9.
25031         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
25032         (PF_MAX): Adjust for VSOCK change.
25034 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25038 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
25040         [BZ #15264]
25041         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
25042         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
25043         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
25045 2013-05-02  David S. Miller  <davem@davemloft.net>
25047         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25049 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
25051         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
25053 2013-05-01  Roland McGrath  <roland@hack.frob.com>
25055         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
25057 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
25059         [BZ #14952]
25060         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
25061         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25062         Use __attribute__ ((__gnu_inline__)).
25063         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
25064         Don't use __attribute__ ((__gnu_inline__)).
25066 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
25068         [BZ #15423]
25069         * math/s_catan.c (__catan): Handle small real or imaginary part of
25070         input specially to avoid spurious underflow.
25071         * math/s_catanf.c (__catanf): Likewise.
25072         * math/s_catanh.c (__catanh): Likewise.
25073         * math/s_catanhf.c (__catanhf): Likewise.
25074         * math/s_catanhl.c (__catanhl): Likewise.
25075         * math/s_catanl.c (__catanl): Likewise.
25076         * math/libm-test.inc (catan_test): Add more tests.
25077         (catanh_test): Likewise.
25078         * sysdeps/i386/fpu/libm-test-ulps: Update.
25079         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25081 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25083         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25085 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
25087         [BZ #15416]
25088         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
25089         accurately for denominator in atan2.
25090         * math/s_catanf.c (__catanf): Likewise.
25091         * math/s_catanh.c (__catanh): Likewise.
25092         * math/s_catanhf.c (__catanhf): Likewise.
25093         * math/s_catanhl.c (__catanhl): Likewise.
25094         * math/s_catanl.c (__catanl): Likewise.
25095         * math/libm-test.inc (catan_test): Add more tests.
25096         (catanh_test): Likewise.
25097         * sysdeps/i386/fpu/libm-test-ulps: Update.
25098         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25100 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25102         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
25104         * benchtests/Makefile (bench): Remove slow benchmarks.
25105         * benchtests/atan-inputs: Add slow benchmark inputs.
25106         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
25107         (BENCH_FUNC): Accept variant offset.
25108         (VARIANT): Define.
25109         * benchtests/bench-skeleton.c (main): Run benchmark for each
25110         variant.
25111         * benchtests/cos-inputs: Add slow benchmark inputs.
25112         * benchtests/exp-inputs: Likewise.
25113         * benchtests/pow-inputs: Likewise.
25114         * benchtests/sin-inputs: Likewise.
25115         * benchtests/slowatan-inputs: Remove.
25116         * benchtests/slowatan.c: Remove.
25117         * benchtests/slowcos-inputs: Remove.
25118         * benchtests/slowcos.c: Remove.
25119         * benchtests/slowexp-inputs: Remove.
25120         * benchtests/slowexp.c: Remove.
25121         * benchtests/slowpow-inputs: Remove.
25122         * benchtests/slowpow.c: Remove.
25123         * benchtests/slowsin-inputs: Remove.
25124         * benchtests/slowsin.c: Remove.
25125         * benchtests/slowtan-inputs: Remove.
25126         * benchtests/slowtan.c: Remove.
25127         * benchtests/tan-inputs: Add slow benchmark inputs.
25128         * scripts/bench.pl: Parse comments and directives.
25130         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
25131         in CPPFLAGS.
25132         ($(objpfx)bench-%.c): Remove *-ITER.
25133         * benchtests/bench-modf.c: Remove definition of ITER.
25134         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
25135         (main): Loop for DURATION seconds instead of fixed number of
25136         iterations.
25137         * scripts/bench.pl: Don't expect iterations in parameters.
25139 2013-04-29  Roland McGrath  <roland@hack.frob.com>
25141         * io/fchdir.c (__fchdir): Renamed from fchdir.
25142         (fchdir): Define as weak alias.
25144 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25146         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
25147         (ERRNO_EDOM): Likewise.
25148         (ERRNO_ERANGE): Likewise.
25149         (noErrnoTests): New variable.
25150         (init_max_error): Set errno to 0.
25151         (test_single_errno): New function.
25152         (test_errno): Likewise.
25153         (check_float_internal): Call test_errno.  Set errno to 0.
25154         (check_complex): Refer to errno tests in comment.
25155         (check_int): Call test_errno.  Set errno to 0.
25156         (check_long): Likewise.
25157         (check_bool): Likewise.
25158         (check_longlong): Likewise.
25159         (cos_test): Use ERRNO_* flags for errno tests instead of
25160         check_int.
25161         (expm1_test): Likewise.
25162         (fmod_test): Likewise.
25163         (ilogb_test): Likewise.
25164         (lgamma_test): Likewise.
25165         (pow_test): Likewise.
25166         (remainder_test): Likewise.
25167         (sin_test): Likewise.
25168         (tan_test): Likewise.
25169         (yn_test): Likewise.
25170         (initialize): Set errno to 0.
25171         (main): Print number of errno tests.
25172         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
25174 2013-04-29  Andreas Jaeger  <aj@suse.de>
25176         [BZ #15084]
25177         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
25178         and RES_USEVC.
25180         [BZ #15085]
25181         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
25182         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
25183         unimplemented.
25185         [BZ #15380]
25186         * stdlib/random.c (__initstate): Return NULL if
25187         __initstate fails.
25189         [BZ #15086]
25190         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
25191         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
25192         RES_SNGLKUPREOP.
25194 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25198 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
25200         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
25201         of individual tests.
25202         (casin_test): Likewise.
25203         (casinh_test): Likewise.
25205 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
25207         [BZ #15409]
25208         * math/s_catan.c (__catan): Handle arguments with large real or
25209         imaginary part separately without squaring.
25210         * math/s_catanf.c (__catanf): Likewise.
25211         * math/s_catanh.c (__catanh): Likewise.
25212         * math/s_catanhf.c (__catanhf): Likewise.
25213         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25214         and redefine.
25215         (__catanhl): Handle arguments with large real or imaginary part
25216         separately without squaring.
25217         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25218         and redefine.
25219         (__catanl): Handle arguments with large real or imaginary part
25220         separately without squaring.
25221         * math/libm-test.inc (catan_test): Add more tests.
25222         (catanh_test): Likewise.
25223         * sysdeps/i386/fpu/libm-test-ulps: Update.
25224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25226 2013-04-27  Andreas Jaeger  <aj@suse.de>
25228         [BZ #15007]
25229         * stdlib/stdlib.h: Update guards for qecvt.
25230         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
25231         <stdlib.h>.
25233 2013-04-27  Allan McRae  <allan@archlinux.org>
25235         * sysdeps/i386/fpu/libm-test-ulps: Update.
25237 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
25239         [BZ #15406]
25240         * math/s_catan.c: Include <float.h>.
25241         (__catan): Ensure underflow exception occurs for underflowed
25242         result.
25243         * math/s_catanf.c: Include <float.h>.
25244         (__catanf): Ensure underflow exception occurs for underflowed
25245         result.
25246         * math/s_catanh.c: Include <float.h>.
25247         (__catanh): Ensure underflow exception occurs for underflowed
25248         result.
25249         * math/s_catanhf.c: Include <float.h>.
25250         (__catanhf): Ensure underflow exception occurs for underflowed
25251         result.
25252         * math/s_catanhl.c: Include <float.h>.
25253         (__catanhl): Ensure underflow exception occurs for underflowed
25254         result.
25255         * math/s_catanl.c: Include <float.h>.
25256         (__catanl): Ensure underflow exception occurs for underflowed
25257         result.
25258         * math/libm-test.inc (catan_test): Add more tests.
25259         (catanh_test): Likewise.
25261         [BZ #15405]
25262         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
25263         underflowed result.
25264         * math/s_ccoshf.c (__ccoshf): Likewise.
25265         * math/s_ccoshl.c (__ccoshl): Likewise.
25266         * math/s_csin.c (__csin): Likewise.
25267         * math/s_csinf.c (__csinf): Likewise.
25268         * math/s_csinh.c (__csinh): Likewise.
25269         * math/s_csinhf.c (__csinhf): Likewise.
25270         * math/s_csinhl.c (__csinhl): Likewise.
25271         * math/s_csinl.c (__csinl): Likewise.
25272         * math/libm-test.inc (ccos_test): Add more tests.
25273         (ccosh_test): Likewise.
25274         (csin_test): Likewise.
25275         (csinh_test): Likewise.
25277 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25279         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
25280         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
25281         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
25282         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
25283         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
25284         powerpc/power5+/fpu folders.
25285         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
25288 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25290         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25292 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
25294         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
25295         additions to variable.
25296         [$(config-machine) = x86_64] (modules-names): Likewise.
25297         ($(objpfx)tst-audit3): Remove dependency.
25298         ($(objpfx)tst-audit3.out): Likewise.
25299         ($(objpfx)tst-audit4): Likewise.
25300         ($(objpfx)tst-audit4.out): Likewise.
25301         ($(objpfx)tst-audit5): Likewise.
25302         ($(objpfx)tst-audit5.out): Likewise.
25303         ($(objpfx)tst-audit6): Likewise.
25304         ($(objpfx)tst-audit6.out): Likewise.
25305         ($(objpfx)tst-audit7): Likewise.
25306         ($(objpfx)tst-audit7.out): Likewise.
25307         (tst-audit3-ENV): Remove variable.
25308         (tst-audit4-ENV): Likewise.
25309         (tst-audit5-ENV): Likewise.
25310         (tst-audit6-ENV): Likewise.
25311         (tst-audit7-ENV): Likewise.
25312         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
25313         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
25314         addition to variable.
25315         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
25316         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
25317         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
25318         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
25319         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
25320         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
25321         tst-audit3, tst-audit4 and tst-audit5.
25322         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
25323         tst-audit6 and tst-audit7.
25324         [$(subdir) = elf] (modules-names): Add audit modules for those
25325         tests.
25326         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
25327         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
25328         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
25329         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
25330         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
25331         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
25332         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
25333         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
25334         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
25335         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
25336         [$(subdir) = elf] (tst-audit3-ENV): New variable.
25337         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
25338         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
25339         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
25340         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
25341         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
25342         Likewise.
25343         [$(subdir) = elf && $(config-cflags-avx) = yes]
25344         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
25345         [$(subdir) = elf && $(config-cflags-avx) = yes]
25346         (CFLAGS-tst-auditmod4a.c): Likewise.
25347         [$(subdir) = elf && $(config-cflags-avx) = yes]
25348         (CFLAGS-tst-auditmod4b.c): Likewise.
25349         [$(subdir) = elf && $(config-cflags-avx) = yes]
25350         (CFLAGS-tst-auditmod6b.c): Likewise.
25351         [$(subdir) = elf && $(config-cflags-avx) = yes]
25352         (CFLAGS-tst-auditmod6c.c): Likewise.
25353         [$(subdir) = elf && $(config-cflags-avx) = yes]
25354         (CFLAGS-tst-auditmod7b.c): Likewise.
25355         * elf/tst-audit3.c: Move to ...
25356         * sysdeps/x86_64/tst-audit3.c: ... here.
25357         * elf/tst-audit4.c: Move to ...
25358         * sysdeps/x86_64/tst-audit4.c: ... here.
25359         * elf/tst-audit5.c: Move to ...
25360         * sysdeps/x86_64/tst-audit5.c: ... here.
25361         * elf/tst-audit6.c: Move to ...
25362         * sysdeps/x86_64/tst-audit6.c: ... here.
25363         * elf/tst-audit7.c: Move to ...
25364         * sysdeps/x86_64/tst-audit7.c: ... here.
25365         * elf/tst-auditmod3a.c: Move to ...
25366         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
25367         * elf/tst-auditmod3b.c: Move to ...
25368         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
25369         * elf/tst-auditmod4a.c: Move to ...
25370         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
25371         * elf/tst-auditmod4b.c: Move to ...
25372         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
25373         * elf/tst-auditmod5a.c: Move to ...
25374         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
25375         * elf/tst-auditmod5b.c: Move to ...
25376         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
25377         * elf/tst-auditmod6a.c: Move to ...
25378         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
25379         * elf/tst-auditmod6b.c: Move to ...
25380         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
25381         * elf/tst-auditmod6c.c: Move to ...
25382         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
25383         * elf/tst-auditmod7a.c: Move to ...
25384         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
25385         * elf/tst-auditmod7b.c: Move to ...
25386         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
25388 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
25390         [BZ #15366]
25391         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
25392         define unconditionally.
25393         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
25394         define unconditionally.
25395         (INT8_C, INT16_C, etc.): Likewise.
25397 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
25399         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
25400         __ehdr_start with hidden visibility.
25402         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
25404 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
25406         * math/libm-test.inc (cos_test): Use accurate hex constants.
25407         (sincost_test): Likewise.
25409 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
25411         * math/libm-test.inc (catan_test): Add more tests.
25412         (catanh_test): Likewise.
25414         * math/s_catanf.c (__catanf): Use suffixed floating-point
25415         constants.
25416         * math/s_catanhf.c (__catanhf): Likewise.
25417         * math/s_catanhl.c (__catanhl): Likewise.
25418         * math/s_catanl.c (__catanl): Likewise.
25420         [BZ #15394]
25421         * math/s_catan.c (__catan): Calculate imaginary part of result
25422         with log1p not log unless computing log of number close to 0.
25423         * math/s_catanf.c (__catanf): Likewise.
25424         * math/s_catanl.c (__catanl): Likewise.
25425         * math/s_catanh.c (__catanh): Calculate real part of result with
25426         log1p not log unless computing log of number close to 0.
25427         * math/s_catanhf.c (__catanhf): Likewise.
25428         * math/s_catanhl.c (__catanhl): Likewise.
25429         * math/libm-test.inc (catan_test): Add more tests.
25430         (catanh_test): Likewise.
25431         * sysdeps/i386/fpu/libm-test-ulps: Update.
25432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25434 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25436         * benchtests/Makefile: Mention files in which fast and slow
25437         paths of math functions are implemented.
25439 2013-04-23  Roland McGrath  <roland@hack.frob.com>
25441         * sysdeps/posix/timespec_get.c: New file.
25443 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25445         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
25446         POWER.
25447         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
25448         for POWER.
25449         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
25450         powerpc/power5/fpu folders.
25451         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
25452         * benchtests/Makefile: Add modf testcase.
25453         * benchtests/bench-modf.c: New file: Benchmark test for mo
25455 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
25457         [BZ #14888]
25458         * time/Makefile (tests): Add tst-strptime-whitespace.
25459         * time/strptime_l.c (get_number): Use ISSPACE.
25460         (__strptime_internal): Likewise.
25461         * time/tst-strptime-whitespace.c: New test case.
25463 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
25465         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
25466         member.
25467         (_nss_files_init): Set it here.
25469 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
25471         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
25472         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
25473         unsigned.
25475 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
25477         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
25479 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25481         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
25482         size just once.
25484 2013-04-21  David S. Miller  <davem@davemloft.net>
25486         * po/ru.po: Update Russion translation from translation project.
25488 2013-04-17  Adam Conrad  <adconrad@0c3.net>
25490         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
25491         and setfsgid.
25493 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
25495         * configure.in: Remove i386 configure warning. Remove i386 case.
25496         * configure: Regenerate.
25497         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
25498         Add example to error message.
25499         * sysdeps/i386/configure: Regenerate.
25501 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25503         * benchtests/Makefile (bench): Add cos, tan, slowcos and
25504         slowtan.
25505         * benchtests/cos-inputs: New file.
25506         * benchtests/slowcos-inputs: New file.
25507         * benchtests/slowcos.c: New file.
25508         * benchtests/slowtan-inputs: New file.
25509         * benchtests/slowtan.c: New file.
25510         * benchtests/tan-inputs: New file.
25512 2013-04-16  Roland McGrath  <roland@hack.frob.com>
25514         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
25515         considered kosher.
25517 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25519         * benchtests/Makefile: Include cppflags-iterator.mk to add
25520         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
25522         * Makefile.in (bench-clean): New target.
25523         * benchtests/Makefile (bench-clean): Likewise.
25525 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
25527         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
25529 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
25531         * stdio-common/tstdiomisc.c: Fix coding-style violation.
25533 2013-04-15  Andreas Schwab  <schwab@suse.de>
25535         * nscd/grpcache.c (cache_addgr): Properly check for short write.
25536         * nscd/initgrcache.c (addinitgroupsX): Likewise.
25537         * nscd/pwdcache.c (cache_addpw): Likewise.
25538         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
25539         more than recsize.
25541 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25543         * benchtests/Makefile (bench): Write all output to
25544         bench-out.tmp together.
25546 2013-04-15  Andreas Schwab  <schwab@suse.de>
25548         * nscd/nscd.c (main): Don't fork again after closing files.
25550 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25552         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
25554         * benchtests/Rules (bench-deps): Collect dependencies into a
25555         single variable.  Add Makefile to dependencies.
25556         ($(objpfx)bench-%.c): Depend on bench-deps.
25558 2013-04-12  Roland McGrath  <roland@hack.frob.com>
25559             Xavier Roche  <roche+kml2@exalead.com>
25561         [BZ #15361]
25562         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
25563         just that it's a file descriptor.
25564         * manual/llio.texi (Synchronizing AIO Operations): Update description
25565         for EBADF error from aio_fsync.
25567 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25569         * Rules (bench): Move target definition...
25570         * benchtests/Makefile: ... here.
25572 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
25574         * math/libm-test.inc (cos_test): Fix PI/2 test.
25575         (sincos_test): Likewise.
25576         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
25577         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
25579 2013-04-11  Andreas Schwab  <schwab@suse.de>
25581         [BZ #13988]
25582         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
25583         accept exponent character only when digits were seen.
25584         * stdio-common/Makefile (tests): Add bug26.
25585         * stdio-common/bug26.c: New file.
25587         [BZ #14293]
25588         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
25589         non-freeable.
25591 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25593         * Makeconfig (rtld-prefix): Define built linker prefix.
25594         * Rules (run-bench): Use it.
25595         * math/Makefile (run-regen-ulps): Likewise.
25597         * Rules (bench): Remove eval.
25599 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25600             Roland McGrath  <roland@hack.frob.com>
25601             Ondrej Bilka  <neleai@seznam.cz>
25603         [BZ #15346]
25604         * time/getdate.c: Include ctype.h and alloca.h.
25605         (__getdate_r): Trim leading and trailing spaces of input.
25606         * time/tst-getdate.c (tests): Add tests with leading and
25607         trailing spaces.
25609 2013-04-08  Roland McGrath  <roland@hack.frob.com>
25611         [BZ #14280]
25612         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
25613         when computing value.
25615 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25617         * math/README.libm-test (How can I generate "libm-test-ulps"?):
25618         Use testrun.sh to run libm tests.
25620         [BZ #15309]
25621         * elf/dl-open.c (dl_open_worker): memset all of seen array.
25623 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
25625         [BZ #15264]
25626         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
25628 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25630         * Makefile.in (regen-ulps): New target.
25631         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
25632         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
25633         [ifneq (no,$(PERL)] (regen-ulps): New target.
25634         [ifeq (no,$(PERL)] (regen-ulps): New target.
25635         * math/libm-test.inc (ulps_file_name): Define.
25636         (output_dir): New variable.
25637         (options): Add "output-dir" option.
25638         (parse_opt): Handle 'o' case.
25639         (main): If output_dir is non-NULL use it as a prefix
25640         otherwise use "".
25641         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
25643 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25645         [BZ #10060, #10062]
25646         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
25647         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
25648         fail configure if __sync_val_compare_and_swap is not inlined.
25649         * sysdeps/i386/configure: Regenerate.
25650         * configure.in: Build for i686 when configured for i386.
25651         * configure: Regenerate.
25652         * README: Remove i386 reference.
25654 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
25656         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
25657         * sysdeps/s390/s390-64/sysdep.h: Likewise.
25659 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25661         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
25662         (lmsnanval): New variables.
25663         (F): Add conversion tests.
25664         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
25665         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
25667         * stdio-common/tstdiomisc.c (F): Properly collect individual
25668         tests' results.
25670         [BZ #14686, #15336]
25671         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
25672         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
25673         Instead, use input NaN values or generate a qNaN by arithmetic
25674         operation.  Also fix bugs to comply with the standard.
25675         * math/libm-test.inc (remainder_test): Add more tests.
25677         [BZ #15335, #15342]
25678         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
25679         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
25680         input NaN values or generate a qNaN by arithmetic operation.
25682         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
25683         unreachable code.
25685         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
25686         definitions.
25688 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
25690         [BZ #14478]
25691         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
25692         underflowed result.
25693         * math/s_cexpf.c (__cexpf): Likewise.
25694         * math/s_cexpl.c (__cexpl): Likewise.
25695         * math/libm-test.inc (cexp_test): Add more tests.
25697 2013-04-03  Andreas Schwab  <schwab@suse.de>
25699         [BZ #15330]
25700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
25701         order arrays from heap if bigger than alloca cutoff.
25703 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
25705         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
25706         (SNAN_TESTS_double): Refer to GCC PR56831.
25707         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
25708         GCC PR56828.
25710 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25712         * Rules (bench): Move bench.out after the run is complete.
25714         * Rules (bench): Echo currently running benchmark.
25716         * benchtests/Makefile (bench): Add atan and slowatan.
25717         * benchtests/atan-inputs: New file.
25718         * benchtests/slowatan-inputs: New file.
25719         * benchtests/slowatan.c: New file.
25721         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
25722         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
25723         its value.
25725         [BZ #15305]
25726         * sysdeps/unix/sysv/linux/kernel-features.h
25727         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
25728         __ASSUME_XFS_RESTRICTED_CHOWN.
25729         * sysdeps/unix/sysv/linux/pathconf.c
25730         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
25731         Save and restore errno.
25733 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
25735         [BZ #15327]
25736         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
25737         arguments using __kernel_casinh.
25738         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
25739         arguments using __kernel_casinhf.
25740         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
25741         arguments using __kernel_casinhl.
25742         * math/libm-test.inc (cacosh_test): Add more tests.
25743         * sysdeps/i386/fpu/libm-test-ulps: Update.
25744         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25746 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
25748         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
25749         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
25751         * bench/Makefile (bench): Add sin and slowsin.
25752         * benchtests/sin-inputs: New file.
25753         * benchtests/slowsin-inputs: New file.
25754         * benchtests/slowsin.c: New file.
25756         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
25757         (bench): Add slowexp and slowpow.
25758         (exp-ITER): Increase iterations.
25759         (pow-ITER): Likewise.
25760         * benchtests/exp-inputs: Change input.
25761         * benchtests/pow-inputs: Likewise.
25762         * benchtests/slowexp-inputs: New file.
25763         * benchtests/slowexp.c: New file.
25764         * benchtests/slowpow-inputs: New file.
25765         * benchtests/slowpow.c: New file.
25767 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25769         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
25770         instructions.
25771         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25772         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
25773         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
25774         * benchtests/Makefile: Add rint benchtest.
25775         * benchtests/rint-inputs: Input for rint benchtest.
25777 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25779         * Versions.def (libm): Add GLIBC_2.18.
25780         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
25781         hidden libm prototypes.
25782         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
25783         * math/Makefile (libm-calls): Add s_issignaling.
25784         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
25785         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
25786         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
25787         declaration.
25788         * math/math.h [__USE_GNU] (issignaling): New macro.
25789         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
25790         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
25791         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
25792         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
25793         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
25794         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
25795         * manual/arith.texi (issignaling): New section.
25796         * manual/libm-err-tab.pl (@all_functions): Update comment.
25797         * math/gen-libm-test.pl (parse_args): Apply special handling for
25798         issignaling.
25799         * math/libm-test.inc (print_float, issignaling_test): New
25800         functions.
25801         (check_float_internal): Add issignaling checks.
25802         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
25803         default definition.
25804         * sysdeps/powerpc/math-tests.h: New file.
25805         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
25806         tests.
25807         * math/test-snan.c (TEST_FUNC): Likewise.
25809 2013-03-30  David S. Miller  <davem@davemloft.net>
25811         * po/de.po: Update from translation team.
25813 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
25815         [BZ #10357]
25816         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25817         imaginary part less than 1.0 and real part less than 0.5
25818         specially.
25819         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25820         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25821         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
25822         (cacos_test): Add more tests.
25823         (casin_test): Likewise.
25824         (casinh_test): Likewise.
25825         * sysdeps/i386/fpu/libm-test-ulps: Update.
25826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25828 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25830         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
25831         ONE with its value.
25833         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
25834         (__pow_mp): Replace ONE and MONE with their values.
25835         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25836         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
25837         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25838         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
25839         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25840         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25842         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
25844         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
25845         (__pow_mp): Replace ZERO and MZERO with their values.
25846         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25847         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25848         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
25849         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
25850         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25851         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
25852         (__sqr): Likewise.
25854         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
25856         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
25858 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25860         * include/stdlib.h [!SHARED] (__call_tls_dtors):
25861         Declare with __attribute__ ((weak)).
25862         * stdlib/exit.c (__libc_atexit) [!SHARED]:
25863         Call __call_tls_dtors only if it's not NULL.
25865 2013-03-28  Roland McGrath  <roland@hack.frob.com>
25867         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
25868         didn't do it already, then set _dl_phdr and _dl_phnum based on the
25869         magic __ehdr_start linker symbol if it's defined.
25870         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
25871         them up here if it was already done.
25873         * elf/dl-support.c (_dl_phdr): Make pointer to const.
25874         (_dl_aux_init): Use const in cast when setting it.
25875         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
25876         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
25877         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
25879         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
25880         Declare them here.
25881         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
25882         * csu/libc-tls.c: Nor here.
25883         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
25885         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
25886         (__libc_message): Never call vsyslog.
25888 2013-03-28  Alan Modra  <amodra@gmail.com>
25890         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
25891         Define as empty.
25892         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
25893         Likewise.
25895 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25897         [BZ #15214]
25898         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
25899         underflow.
25900         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25902 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25904         [BZ #15304]
25905         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
25906         Don't add gid passed as argument.
25908         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
25910 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
25912         [BZ #15307]
25913         * math/k_casinh.c (__kernel_casinh): Handle arguments with
25914         imaginary part between 1.0 and 1.5 and real part less than 0.5
25915         specially.
25916         * math/k_casinhf.c (__kernel_casinhf): Likewise.
25917         * math/k_casinhl.c (__kernel_casinhl): Likewise.
25918         * math/libm-test.inc (cacos_test): Add more tests.
25919         (casin_test): Likewise.
25920         (casinh_test): Likewise.
25921         * sysdeps/i386/fpu/libm-test-ulps: Update.
25922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25924 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25926         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
25927         constants.
25928         (norm): Likewise.
25929         (denorm): Likewise.
25930         (__dbl_mp): Likewise.
25931         (add_magnitudes): Likewise.
25932         (sub_magnitudes): Likewise.
25933         (__add): Likewise.
25934         (__sub): Likewise.
25935         (__mul): Likewise.
25936         (__sqr): Likewise.
25937         (__inv): Likewise.
25938         (__dvd): Likewise.
25940         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
25941         commented code.
25942         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
25943         (__dubcos): Likewise.
25944         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
25945         (__ieee754_acos): Likewise.
25946         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
25947         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
25948         (__exp1): Likewise.
25949         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
25950         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25951         (log1): Likewise.
25952         (my_log2): Likewise.
25953         (checkint): Likewise.
25954         * sysdeps/ieee754/dbl-64/e_remainder.c
25955         (__ieee754_remainder): Likewise.
25956         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
25957         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
25958         (bsloww): Likewise.
25959         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
25961         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
25962         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
25963         MANTISSA_STORE_T to store computations on mantissa.  Use
25964         macros for rounding and division.
25965         (denorm): Likewise.
25966         (__dbl_mp): Likewise.
25967         (add_magnitudes): Likewise.
25968         (sub_magnitudes): Likewise.
25969         (__mul): Likewise.
25970         (__sqr): Likewise.
25971         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
25972         powers of two in terms of TWOPOW macro.
25973         (mp_no): Make type of mantissa as MANTISSA_T.
25974         [!RADIXI]: Define RADIXI.
25975         [!TWO52]: Define TWO52.
25976         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
25978 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25980         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
25981         llroundl symbol when building for PPC32.
25983 2013-03-24  Mark H Weaver  <mhw@netris.org>
25985         * manual/arith.texi (Normalization Functions): Fix prototypes for
25986         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
25988 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25990         [BZ #13889]
25991         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
25992         high value to check if expl overflow.
25993         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
25994         to check for underflow and overflow.
25995         * math/libm-test.inc: Add exp test.
25997 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
25999         [BZ #11120]
26000         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
26001         with NOT_IN_libc.
26003 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26005         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
26006         symbol.
26008 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26010         * math/gen-libm-test.pl (parse_args, special_functions): Properly
26011         wrap blocks consisting of several statements.
26013         * sysdeps/generic/math-tests.h: New file.
26014         * sysdeps/i386/fpu/math-tests.h: Likewise.
26015         * math/test-snan.c: Include it.
26016         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
26018 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26020         [BZ #15285]
26021         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
26022         (__ieee754_j0l): Do not improve calculations using cos of twice
26023         input for inputs above LDBL_MAX / 2.0L.
26024         (__ieee754_y0l): Likewise.
26025         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
26026         (__ieee754_j1l): Do not improve calculations using cos of twice
26027         input for inputs above LDBL_MAX / 2.0L.
26028         (__ieee754_y1l): Likewise.
26029         * math/libm-test.inc (j0_test): Add another test.
26030         (j1_test): Likewise.
26031         (y0_test): Likewise.
26032         (y1_test): Likewise.
26033         * sysdeps/i386/fpu/libm-test-ulps: Update.
26035 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26037         * Rules ($(objpfx)bench-%.c): Include code from a C source
26038         file.
26040 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
26042         [BZ #15287]
26043         * math/k_casinh.c (__kernel_casinh): Handle arguments with
26044         imaginary part 1.0 and real part less than 0.5 specially.
26045         * math/k_casinhf.c (__kernel_casinhf): Likewise.
26046         * math/k_casinhl.c (__kernel_casinhl): Likewise.
26047         * math/libm-test.inc (cacos_test): Add more tests.
26048         (casin_test): Likewise.
26049         (casinh_test): Likewise.
26050         * sysdeps/i386/fpu/libm-test-ulps: Update.
26051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26053 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26055         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
26056         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
26058 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
26060         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
26061         * config.make.in (config-cflags-sse4): Remove variable.
26062         (config-cflags-avx): Likewise.
26063         (config-cflags-sse2avx): Likewise.
26064         (config-cflags-novzeroupper): Likewise.
26065         (config-asflags-i686): Likewise.
26066         (have-mfma4): Likewise.
26067         (have-as-vis3): Likewise.
26068         (MIG): Likewise.
26069         * configure.in (MIG): Do not AC_SUBST.
26070         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
26071         (libc_cv_cc_sse4): Do not AC_SUBST.
26072         (libc_cv_cc_avx): Likewise.
26073         (libc_cv_cc_sse2avx): Likewise.
26074         (libc_cv_cc_novzeroupper): Likewise.
26075         (libc_cv_cc_fma4): Likewise.
26076         (libc_cv_as_i686): Likewise.
26077         (libc_cv_sparc_as_vis3): Likewise.
26078         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
26079         LIBC_CONFIG_VAR.
26080         (config-asflags-i686): Likewise.
26081         (config-cflags-avx): Likewise.
26082         (config-cflags-sse2avx): Likewise.
26083         (have-mfma4): Likewise.
26084         (config-cflags-novzeroupper): Likewise.
26085         * sysdeps/mach/configure.in (MIG): Likewise.
26086         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
26087         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
26088         LIBC_CONFIG_VAR.
26089         (config-cflags-avx): Likewise.
26090         (config-cflags-sse2avx): Likewise.
26091         (have-mfma4): Likewise.
26092         (config-cflags-novzeroupper): Likewise.
26093         * configure: Regenerated.
26094         * sysdeps/i386/configure: Likewise.
26095         * sysdeps/mach/configure: Likewise.
26096         * sysdeps/sparc/configure: Likewise.
26097         * sysdeps/x86_64/configure: Likewise.
26099 2013-03-20  Roland McGrath  <roland@hack.frob.com>
26101         [BZ #14812]
26102         * locale/programs/localedef.c (options): Put N_ translation marker
26103         on argument names, not just descriptions.
26105 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
26107         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
26109 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
26111         [BZ #14176]
26112         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
26114 2013-03-19  Roland McGrath  <roland@hack.frob.com>
26116         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
26117         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
26118         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
26119         [!BEFORE_ABORT] (before_abort): New function.
26120         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
26121         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
26122         (writev_for_fatal): New function.
26123         (WRITEV_FOR_FATAL): New macro; call that.
26124         (backtrace_and_maps): New function.
26125         (BEFORE_ABORT): New macro; call that.
26126         (struct str_list): Type removed.
26127         (__libc_message, __libc_fatal): Functions removed.
26128         Include <sysdeps/posix/libc_fatal.c> instead.
26130 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
26132         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
26133         constants.
26134         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
26135         double constants.
26137 2013-03-19  Andreas Schwab  <schwab@suse.de>
26139         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
26140         * sysdeps/gnu/configure: Regenerate.
26142         * configure.in: Substitute libc_cv_rtlddir.
26143         * configure: Regenerate.
26144         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
26145         * Makeconfig (rtlddir, inst_rtlddir): New variables.
26146         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
26147         * elf/Makefile (install-others, CFLAGS-interp.c)
26148         (ldso_install, common-ldd-rewrite): Likewise.
26149         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
26150         $(inst_slibdir)/$(rtld-installed-name).
26151         * scripts/rellns-sh: Add -p option.
26152         * Makerules (make-shlib-link): Use rellns-sh to get relative name
26153         for source.
26155 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
26157         * manual/nptl.texi: Renamed to ...
26158         * manual/threads.texi: ... this.
26159         * manual/Makefile (chapters): Update.
26161 2013-03-18  Roland McGrath  <roland@hack.frob.com>
26163         [BZ #14812]
26164         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
26165         on argument names, not just descriptions.
26166         * malloc/memusagestat.c (options): Likewise.
26167         * nss/getent.c (options): Likewise.
26169 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
26171         [BZ #14812]
26172         * iconv/iconv_prog.c (options): Put N_ translation marker
26173         on argument names, not just descriptions.
26174         * iconv/iconvconfig.c (options): Likewise.
26176 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
26178         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
26179         implementation which is faster on all x86_64 architectures.
26180         Tested on AMD, Intel Nehalem, SNB, IVB.
26181         * sysdeps/x86_64/strnlen.S: Likewise.
26183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26184         Remove all multiarch strlen and strnlen versions.
26185         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
26186         Remove strlen and strnlen related parts.
26188         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
26189         Inline strlen part.
26190         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26192         * sysdeps/x86_64/multiarch/strlen.S: Remove.
26193         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
26194         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
26195         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
26196         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
26197         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
26199 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
26201         * manual/memory.texi (Malloc Tunable Parameters):
26202         Sort parameters alphabetically. Add comments for missing entries.
26204 2013-03-17  David S. Miller  <davem@davemloft.net>
26206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26208 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
26210         [BZ #15283]
26211         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
26212         for arguments at most half maximum finite value.
26213         * math/libm-test.inc (j0_test): Add more tests.
26214         (j1_test): Likewise.
26215         (y0_test): Likewise.
26216         (y1_test): Likewise.
26217         * sysdeps/i386/fpu/libm-test-ulps: Update.
26218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26220         [BZ #14155]
26221         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
26222         1 / x and functions P and Q for arguments above 0x1p256L.
26223         (__ieee754_y0l): Likewise.
26224         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
26225         (__ieee754_y1l): Likewise.
26226         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
26227         (j1_test): Likewise.
26228         (y0_test): Likewise.
26229         (y1_test): Likewise.
26231 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
26233         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
26234         variable.
26236 2013-03-15  Roland McGrath  <roland@hack.frob.com>
26238         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
26239         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
26240         zero since it's initialized to EXEC_PAGESIZE.
26242         * sysdeps/unix/sysv/linux/ldsodefs.h
26243         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
26244         * sysdeps/generic/ldsodefs.h: ... here.
26246 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
26248         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
26250         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
26251         math/test-snan.c.
26252         * math/test-snan.c: Renamed from
26253         sysdeps/powerpc/fpu/test-powerpc-snan.c.
26254         * math/Makefile (tests): Add test-snan.
26255         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
26256         test-powerpc-snan.
26258         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
26259         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
26260         functions.
26261         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
26262         __builtin_nan family of functions.
26263         * math/libm-test.inc (initialize): Initialize qnan_value with
26264         __builtin_nan family of functions.
26265         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
26266         Remove variables.
26267         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
26268         Remove functions.
26269         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
26270         storage class.  Initialize qNaN_var and sNaN_var with
26271         __builtin_nan and __builtin_nans families of functions,
26272         respectively.
26274         * math/libm-test.inc (acosh_test): Also test with qNaN input.
26275         (sqrt_test): Remove duplicate test with qNaN input.
26276         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
26277         (round_test, signbit_test, significand_test): Note missing +/-Inf
26278         as well as qNaN tests.
26280         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
26281         qNaN_var.  Fix a few strings, too.
26282         * math/libm-test.inc (nan_value): Rename to qnan_value.
26283         * math/gen-libm-test.pl (%beautify): Adjust to that.
26284         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
26285         * math/test-misc.c (main): Likewise.
26286         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
26287         to __qnan_bytes, and __qnan_union, respectively.
26288         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
26289         Likewise.
26290         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
26291         and lqnanval, respectively.
26292         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
26293         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
26294         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
26295         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
26297         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
26298         * math/test-misc.c (main) [__x86_64__]: Enable test for long
26299         doubles.
26301         * math/test-misc.c (main): Fix copy'n'pastos.
26302         * misc/tst-efgcvt.c (special): Likewise.
26304         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
26305         Remove declarations.
26307 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26309         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
26310         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
26311         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
26312         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
26314 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26316         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
26317         macro to return vdso values correctly in IFUNC implementations.
26318         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
26319         Optimization by using IFUNC.
26321 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26322             Richard Henderson  <rth@redhat.com>
26323             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26325         * Makefile.in (bench): New target.
26326         * NEWS: Mention the benchmark framework.
26327         * Rules (bench): Likewise.
26328         (binaries-bench): Generate binaries for functions to
26329         benchmark.
26330         * benchtests/Makefile: New makefile for benchmark tests.
26331         * benchtests/bench-skeleton.c: New skeleton file for benchmark
26332         programs.
26333         * benchtests/exp-inputs: New input file for EXP function.
26334         * benchtests/pow-inputs: New input file for POW function.
26335         * scripts/bench.pl: New script to generate source files for
26336         benchmark programs.
26338 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26340         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
26341         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
26342         computations on mantissa.  Use macros for rounding and
26343         division.
26344         (denorm): Likewise.
26345         (__dbl_mp): Likewise.
26346         (add_magnitudes): Likewise.
26347         (sub_magnitudes): Likewise.
26348         (__mul): Likewise.
26349         (__sqr): Likewise.
26350         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
26351         powers of two in terms of TWOPOW macro.
26352         (mp_no): Make type of mantissa as MANTISSA_T.
26353         [!RADIXI]: Define RADIXI.
26354         [!TWO52]: Define TWO52.
26355         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
26357         * manual/nptl.texi (cindex): Modify threads to pthreads.
26359 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
26361         * sysdeps/x86_64/preconfigure: Regenerated.
26363 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
26365         [BZ #14155]
26366         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
26367         0x1p28 and above.
26368         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
26369         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
26370         0x1p28 and above.
26371         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
26372         * math/libm-test.inc (j0_test): Do not allow one spurious
26373         underflow exception.
26374         (y1_test): Likewise.
26376 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
26378         * manual/Makefile (chapters): Add nptl.
26379         * manual/debug.texi (Debugging Support): Add link to Threads
26380         chapter.
26381         * manual/nptl.texi: New file.
26383         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
26385 2013-03-14  Petr Baudis  <pasky@ucw.cz>
26387         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
26388         for non-NULL pointer before the memory validity test. Pointed
26389         out by Holger Brunck <holger.brunck@keymile.com>.
26391 2013-03-13  Andreas Schwab  <schwab@suse.de>
26393         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
26394         instead of .os.
26396 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
26398         * timezone/zic.c: Update from tzcode 2013b.
26400 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
26402         * manual/install.texi (Configuring and compiling):
26403         Mention i686 and i586.
26404         * INSTALL: Regenerate.
26406 2013-03-12  Roland McGrath  <roland@hack.frob.com>
26408         * sysdeps/init_array/elf-init.c: New file.
26409         * csu/elf-init.c
26410         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
26411         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
26413         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
26414         __gmon_start__ as global, but as static with a .preinit_array pointer.
26415         * sysdeps/init_array/gmon-start.c: New file.  Use that.
26416         * sysdeps/init_array/crti.S: New file, empty except for comments.
26417         * sysdeps/init_array/crtn.S: Likewise.
26419 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
26421         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
26422         definining bcopy.
26423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26424         Remove Prefer_SSE_for_memop.
26425         * sysdeps/x86_64/multiarch/init-arch.h: Remove
26426         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
26427         HAS_PREFER_SSE_FOR_MEMOP.
26428         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
26429         memset-x86-64.
26430         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26431         Remove bzero, memset ifunc support.
26432         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
26433         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
26434         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26435         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26437 2013-03-11  Andreas Schwab  <schwab@suse.de>
26439         [BZ #15234]
26440         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
26441         by SHLIB_COMPAT.
26442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
26443         (GLIBC_2.16): Remove pthread_atfork.
26445 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
26447         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
26448         (ptestcases.h): Likewise.
26450 2013-03-08  Roland McGrath  <roland@hack.frob.com>
26452         * Makeconfig ($(common-objpfx)config.status): Depend on
26453         sysdeps/*/preconfigure{,.in} too.
26455 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
26457         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
26458         (__free_hook): Use void * instead of __malloc_ptr_t.
26459         (__malloc_hook): Likewise.
26460         (__realloc_hook): Likewise.
26461         (__memalign_hook): Likewise.
26462         (__after_morecore_hook): Likewise.
26463         * malloc/arena.c (save_malloc_hook): Likewise.
26464         (save_free_hook): Likewise.
26465         * malloc/hooks.c (malloc_hook_ini): Likewise.
26466         (realloc_hook_ini): Likewise.
26467         (memalign_hook_ini): Likewise.
26468         * malloc/malloc.c (malloc_hook_ini): Likewise.
26469         (realloc_hook_ini): Likewise.
26470         (memalign_hook_ini): Likewise.
26471         (__free_hook): Likewise.
26472         (__malloc_hook): Likewise.
26473         (__realloc_hook): Likewise.
26474         (__memalign_hook): Likewise.
26475         (__libc_malloc): Likewise.
26476         (__libc_free): Likewise.
26477         (__libc_realloc): Likewise.
26478         (__libc_memalign): Likewise.
26479         (__libc_valloc): Likewise.
26480         (__libc_pvalloc): Likewise.
26481         (__libc_calloc): Likewise.
26482         (__posix_memalign): Likewise.
26483         * malloc/morecore.c (__sbrk): Likewise.
26484         (__default_morecore): Likewise.
26486         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
26488         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
26489         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
26490         __malloc_ptrdiff_t.
26492         * malloc/malloc.h (__malloc_size_t): Remove macro.
26493         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
26494         __malloc_size_t.
26495         (old_memalign_hook): Likewise.
26496         (old_realloc_hook): Likewise.
26497         (struct hdr): Likewise.
26498         (flood): Likewise.
26499         (mallochook): Likewise.
26500         (memalignhook): Likewise.
26501         (reallochook): Likewise.
26502         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
26503         (tr_old_realloc_hook): Likewise.
26504         (tr_old_memalign_hook): Likewise.
26505         (tr_mallochook): Likewise.
26506         (tr_reallochook): Likewise.
26507         (tr_memalignhook): Likewise.
26509 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26511         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
26512         default_ldbl_pack and using as default implementation.
26513         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
26514         implementation.
26515         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
26516         redundant definition.
26517         (ldbl_insert_mantissa): Likewise.
26518         (ldbl_canonicalize): Likewise.
26519         (ldbl_nearbyint): Likewise.
26520         (ldbl_pack): Rename to ldbl_pack_ppc.
26521         (ldbl_unpack): Rename to ldbl_unpack_ppc.
26522         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
26523         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
26525 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
26527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
26528         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
26529         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
26530         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
26531         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
26532         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
26533         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
26534         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
26536 2013-03-07  Andreas Jaeger  <aj@suse.de>
26538         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26539         bits/mman-linux.h.
26541 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
26543         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
26544         Include mpa.h and declare __MPEXP.
26545         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
26546         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26547         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26548         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
26549         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26550         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
26551         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
26553         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
26554         (__slowpow): Use long double EXPL and LOGL functions to
26555         compute POW.
26556         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
26557         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26558         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
26559         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
26560         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
26561         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
26563         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
26564         intermediate variable to calculate exponent.
26565         (__sqr): Likewise.
26566         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
26567         Likewise.
26568         (__sqr): Likewise.
26570         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
26571         [!NO__SQR]: Define __sqr.
26572         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
26573         and NO__SQR.  Remove all code except __mul and __sqr.  Include
26574         sysdeps/ieee754/dbl-64/mpa.c.
26575         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
26577         [BZ #12723]
26578         * posix/Makefile (tests): Add tst-pathconf.
26579         * posix/tst-pathconf.c: New test case.
26580         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
26581         _PC_PIPE_BUF.
26582         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
26584 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
26586         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
26588 2013-03-06  Andreas Jaeger  <aj@suse.de>
26590         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
26591         definition via __MAP_ANONYMOUS.
26593         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
26594         it's not part of Linux headers.
26596         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
26597         (MAP_HUGE_MASK): Define.
26599         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26600         Define.
26601         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26602         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26603         Define.
26604         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26605         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
26606         Define.
26607         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26608         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
26609         Define.
26610         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
26612         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
26613         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
26614         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
26615         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
26616         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
26617         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
26619         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
26620         Handle f2fs.
26622         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
26623         Handle f2fs and efivarfs.
26625         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
26626         f2fs.
26628         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
26629         (EFIVARFS_MAGIC): Add.
26630         (F2FS_LINK_MAX): Add.
26632 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
26634         * stdio-common/vfprintf.c: Replace __builtin_expect with
26635         __glibc_unlikely.
26637 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
26639         [BZ #13550]
26640         * sysdeps/generic/bp-sym.h: Remove file.
26641         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
26642         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
26643         <bp-sym.h> and <bp-asm.h>.
26644         (__longjmp): Don't use BP_SYM.
26645         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
26646         and <bp-asm.h>.
26647         (memcpy): Don't use BP_SYM.
26648         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
26649         <bp-sym.h> and <bp-asm.h>.
26650         (memcpy): Don't use BP_SYM.
26651         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
26652         <bp-asm.h>.
26653         (memcpy): Don't use BP_SYM.
26654         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
26655         <bp-asm.h>.
26656         (memset): Don't use BP_SYM.
26657         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26658         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26659         (__bzero): Don't use BP_SYM.
26660         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26661         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26662         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
26663         <bp-sym.h> and <bp-asm.h>.
26664         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26665         pointers.
26666         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
26667         <bp-sym.h> and <bp-asm.h>.
26668         (memcpy): Don't use BP_SYM.
26669         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
26670         <bp-sym.h> and <bp-asm.h>.
26671         (memset): Don't use BP_SYM.
26672         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26673         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26674         (__bzero): Don't use BP_SYM.
26675         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26676         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26677         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
26678         <bp-sym.h> and <bp-asm.h>.
26679         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26680         pointers.
26681         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
26682         <bp-sym.h> and <bp-asm.h>.
26683         (memcpy): Don't use BP_SYM.
26684         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
26685         <bp-sym.h> and <bp-asm.h>.
26686         (memset): Don't use BP_SYM.
26687         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26688         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26689         (__bzero): Don't use BP_SYM.
26690         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26691         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26692         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
26693         <bp-sym.h> and <bp-asm.h>.
26694         (__memchr): Don't use BP_SYM.
26695         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
26696         <bp-sym.h> and <bp-asm.h>.
26697         (memcmp): Don't use BP_SYM.  Remove comment about bounded
26698         pointers.
26699         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
26700         <bp-sym.h> and <bp-asm.h>.
26701         (memcpy): Don't use BP_SYM.
26702         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
26703         <bp-sym.h> and <bp-asm.h>.
26704         (__mempcpy): Don't use BP_SYM.
26705         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
26706         <bp-sym.h> and <bp-asm.h>.
26707         (__memrchr): Don't use BP_SYM.
26708         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
26709         <bp-sym.h> and <bp-asm.h>.
26710         (memset): Don't use BP_SYM.
26711         (__bzero): Likewise.
26712         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
26713         <bp-sym.h> and <bp-asm.h>.
26714         (__rawmemchr): Don't use BP_SYM.
26715         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
26716         <bp-sym.h> and <bp-asm.h>.
26717         (__STRCMP): Don't use BP_SYM.
26718         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
26719         <bp-sym.h> and <bp-asm.h>.
26720         (strchr): Don't use BP_SYM.
26721         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
26722         <bp-sym.h> and <bp-asm.h>.
26723         (__strchrnul): Don't use BP_SYM.
26724         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
26725         <bp-sym.h> and <bp-asm.h>.
26726         (strlen): Don't use BP_SYM.
26727         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
26728         <bp-sym.h> and <bp-asm.h>.
26729         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26730         pointers.
26731         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
26732         <bp-sym.h> and <bp-asm.h>.
26733         (__strnlen): Don't use BP_SYM.
26734         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
26735         <bp-sym.h> and <bp-asm.h>.
26736         (__GI__setjmp): Don't use BP_SYM.
26737         (_setjmp): Likewise.
26738         (__sigsetjmp): Likewise.
26739         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
26740         (L(start_addresses)): Don't use BP_SYM.
26741         (_start): Likewise.
26742         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
26743         <bp-asm.h>.
26744         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
26745         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
26746         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26747         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26748         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
26749         <bp-asm.h>.
26750         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
26751         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
26752         about bounded pointers.
26753         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
26754         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
26755         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
26756         <bp-asm.h>.
26757         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26758         about bounded pointers.  Remove GKM FIXME comments.
26759         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
26760         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
26761         <bp-asm.h>.
26762         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
26763         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
26764         Remove GKM FIXME comments.
26765         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
26766         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
26767         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
26768         <bp-asm.h>.
26769         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
26770         about bounded pointers.  Remove GKM FIXME comment.
26771         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
26772         and <bp-asm.h>.
26773         (strncmp): Don't use BP_SYM.  Remove comment about bounded
26774         pointers.
26775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
26776         <bp-sym.h> and <bp-asm.h>.
26777         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
26778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
26779         <bp-sym.h> and <bp-asm.h>.
26780         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
26781         comment.
26783 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
26785         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
26786         call free(NULL).
26788 2013-03-05  David S. Miller  <davem@davemloft.net>
26790         * po/es.po: Update from translation team.
26792 2013-03-05  Andreas Jaeger  <aj@suse.de>
26794         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
26795         <bits/mman-linux.h>.
26796         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26797         is fine.
26798         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
26799         <bits/mman-linux.h> to end of file.
26800         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26801         is fine.
26802         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
26803         <bits/mman-linux.h> to end of file.
26804         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
26805         is fine.
26806         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
26807         <bits/mman-linux.h> to end of file.
26809         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
26810         (MCL_CURRENT, MCL_FUTURE): Define here.
26812 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26814         [BZ #15232]
26815         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
26816         attribute_hidden.
26817         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26819 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26821         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
26822         fourth parameter needed for rt_sigprocmask syscall.
26823         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
26824         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26825         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
26826         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26827         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26828         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
26830 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
26832         [BZ #13550]
26833         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
26834         comment about bounded pointers.
26835         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
26836         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
26838 2013-03-04  Andreas Jaeger  <aj@suse.de>
26840         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
26841         common definitions.
26843         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
26844         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
26845         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
26846         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26847         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
26848         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26850 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26852         [BZ #15055]
26853         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
26854         __ieee754_sqrl instead of __sqrl.
26856 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
26858         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
26859         * sysdeps/powerpc/fpu_control.h: ... here.
26860         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
26861         * sysdeps/powerpc/bits/fenvinline.h: ... here.
26862         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
26863         * sysdeps/powerpc/bits/mathinline.h: ... here.
26865 2013-03-01  Roland McGrath  <roland@hack.frob.com>
26867         * elf/dl-hwcaps.c (_dl_important_hwcaps):
26868         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
26869         to just [NEED_DL_SYSINFO_DSO].
26870         * elf/dl-support.c: Likewise.
26871         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
26872         * elf/rtld.c (dl_main): Likewise.
26873         * elf/setup-vdso.h (setup_vdso): Likewise.
26874         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
26875         * sysdeps/unix/sysv/linux/dl-sysdep.c
26876         (_dl_discover_osversion): Likewise.
26878 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
26880         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
26881         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26883 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
26885         * NEWS: Mention libm performance improvements and non-x86 PI
26886         futex support.
26888         * csu/libc-start.c (__pthread_initialize_minimal): Change
26889         function arguments.
26890         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
26892 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
26894         [BZ #13550]
26895         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
26896         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
26897         <bp-sym.h> and <bp-asm.h>.
26898         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26899         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
26900         and <bp-asm.h>.
26901         (memcpy): Don't use BP_SYM.
26902         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
26903         <bp-asm.h>.
26904         (__mpn_add_n): Don't use BP_SYM.
26905         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
26906         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
26907         and <bp-asm.h>.
26908         (__mpn_addmul_1): Don't use BP_SYM.
26909         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26910         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
26911         <bp-sym.h>.
26912         (_setjmp): Don't use BP_SYM.
26913         (__novmx_setjmp): Likewise.
26914         (__GI__setjmp): Likewise.
26915         (__vmx_setjmp): Likewise.
26916         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
26917         <bp-sym.h>.
26918         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
26919         (__bzero): Don't use BP_SYM.
26920         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
26921         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
26922         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
26923         <bp-sym.h> and <bp-asm.h>.
26924         (memcpy): Don't use BP_SYM.
26925         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
26926         <bp-sym.h> and <bp-asm.h>.
26927         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26928         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
26929         <bp-sym.h> and <bp-asm.h>.
26930         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
26931         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
26932         <bp-asm.h>.
26933         (__mpn_lshift): Don't use BP_SYM.
26934         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
26935         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
26936         <bp-asm.h>.
26937         (memset): Don't use BP_SYM.
26938         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
26939         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
26940         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
26941         <bp-asm.h>.
26942         (__mpn_mul_1): Don't use BP_SYM.
26943         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
26944         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
26945         <bp-sym.h> and <bp-asm.h>.
26946         (memcmp): Don't use BP_SYM.
26947         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
26948         <bp-sym.h> and <bp-asm.h>.
26949         (memcpy): Don't use BP_SYM.
26950         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
26951         <bp-sym.h> and <bp-asm.h>.
26952         (memset): Don't use BP_SYM.
26953         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
26954         <bp-sym.h> and <bp-asm.h>.
26955         (strncmp): Don't use BP_SYM.
26956         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
26957         <bp-sym.h> and <bp-asm.h>.
26958         (memcpy): Don't use BP_SYM.
26959         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
26960         <bp-sym.h> and <bp-asm.h>.
26961         (memset): Don't use BP_SYM.
26962         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
26963         <bp-sym.h> and <bp-asm.h>.
26964         (__memchr): Don't use BP_SYM.
26965         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
26966         <bp-sym.h> and <bp-asm.h>.
26967         (memcmp): Don't use BP_SYM.
26968         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
26969         <bp-sym.h> and <bp-asm.h>.
26970         (memcpy): Don't use BP_SYM.
26971         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
26972         <bp-sym.h> and <bp-asm.h>.
26973         (__mempcpy): Don't use BP_SYM.
26974         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
26975         <bp-sym.h> and <bp-asm.h>.
26976         (__memrchr): Don't use BP_SYM.
26977         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
26978         <bp-sym.h> and <bp-asm.h>.
26979         (memset): Don't use BP_SYM.
26980         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
26981         <bp-sym.h> and <bp-asm.h>.
26982         (__rawmemchr): Don't use BP_SYM.
26983         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
26984         <bp-sym.h> and <bp-asm.h>.
26985         (__STRCMP): Don't use BP_SYM.
26986         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
26987         <bp-sym.h> and <bp-asm.h>.
26988         (strchr): Don't use BP_SYM.
26989         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
26990         <bp-sym.h> and <bp-asm.h>.
26991         (__strchrnul): Don't use BP_SYM.
26992         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
26993         <bp-sym.h> and <bp-asm.h>.
26994         (strlen): Don't use BP_SYM.
26995         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
26996         <bp-sym.h> and <bp-asm.h>.
26997         (strncmp): Don't use BP_SYM.
26998         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
26999         <bp-sym.h> and <bp-asm.h>.
27000         (__strnlen): Don't use BP_SYM.
27001         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
27002         <bp-asm.h>.
27003         (__mpn_rshift): Don't use BP_SYM.
27004         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27005         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
27006         <bp-sym.h> and <bp-asm.h>.
27007         (__sigsetjmp): Don't use BP_SYM.
27008         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
27009         (L(start_addresses)): Don't use BP_SYM.
27010         (_start): Likewise.
27011         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
27012         <bp-asm.h>.
27013         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
27014         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27015         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27016         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
27017         <bp-asm.h>.
27018         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
27019         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27020         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27021         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
27022         <bp-asm.h>.
27023         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27024         comments.
27025         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27026         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
27027         <bp-asm.h>.
27028         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
27029         FIXME comments.
27030         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27031         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
27032         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
27033         <bp-asm.h>.
27034         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
27035         comment.
27036         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
27037         and <bp-asm.h>.
27038         (strncmp): Don't use BP_SYM,
27039         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
27040         <bp-asm.h>.
27041         (__mpn_sub_n): Don't use BP_SYM.
27042         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27043         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
27044         and <bp-asm.h>.
27045         (__mpn_submul_1): Don't use BP_SYM.
27046         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27047         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
27048         <bp-sym.h> and <bp-asm.h>.
27049         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
27050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
27051         <bp-sym.h> and <bp-asm.h>.
27052         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
27053         comment.
27055 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
27058         Use ZK to minimize writes to Z.
27059         (sub_magnitudes): Simplify code a bit.
27060         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
27061         Use ZK to minimize writes to Z.
27062         (sub_magnitudes): Simplify code a bit.
27064 2013-02-27  Roland McGrath  <roland@hack.frob.com>
27066         * csu/gmon-start.c: Add special exception to license text.
27068 2013-02-27  Richard Henderson  <rth@redhat.com>
27070         * scripts/config.guess: Update from config.git.
27071         * scripts/config.sub: Likewise.
27073 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
27075         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
27077         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
27079         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
27081         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
27083         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
27085 2013-02-26  Roland McGrath  <roland@hack.frob.com>
27087         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
27088         [$(build-shared = yes].
27090 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27092         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
27093         (__mul): Reduce iterations for calculating mantissa.
27095         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
27096         MPTWO.
27097         (__mpranred): Likewise.
27099         [BZ #15160]
27100         * malloc/memusagestat.c (main): Draw graphs for heap and stack
27101         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
27103 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
27105         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
27106         Define __attribute__.
27108 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27110         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
27111         unused.
27112         * posix/regex_internal.h (__attribute): Remove.
27113         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
27114         (re_string_context_at): Likewise.
27115         (bitset_not): Use __attribute__ and mark function as possibly
27116         unused.
27117         (bitset_merge): Likewise.
27118         (bitset_mask): Likewise.
27119         (re_string_char_size_at): Likewise.
27120         (re_string_wchar_at): Likewise.
27121         (re_string_elem_size_at): Likewise.
27123 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
27125         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
27126         code.
27127         (cc32): Likewise.
27129         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
27130         (__acr): Likewise.
27131         (__cpy): Likewise.
27132         (norm): Likewise.
27133         (denorm): Likewise.
27134         (__dbl_mp): Likewise.
27135         (add_magnitudes): Likewise.
27136         (sub_magnitudes): Likewise.
27137         (__mul): Likewise.
27138         (__inv): Likewise.
27140         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
27141         style.
27143         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
27144         style.
27146         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
27147         code.
27149         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
27150         up changes with default code.
27151         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
27152         Likewise.
27154 2013-02-24  Allan McRae  <allan@archlinux.org>
27156         * manual/socket.texi (The Internet Namespace): Order menu items
27157         to match that in the file.
27159         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
27160         node listing of the info page menu.
27162 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
27164         [BZ #13550]
27165         * sysdeps/i386/bp-asm.h: Remove file.
27166         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27167         (PARMS): Do not use macros from bp-asm.h.
27168         (S1): Likewise.
27169         (S2): Likewise.
27170         (SIZE): Likewise.
27171         (__mpn_add_n): Do not use BP_SYM
27172         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
27173         "bp-asm.h".
27174         (PARMS): Do not use macros from bp-asm.h.
27175         (S1): Likewise.
27176         (SIZE): Likewise.
27177         (__mpn_addmul_1): Do not use BP_SYM
27178         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
27179         "bp-asm.h".
27180         (PARMS): Do not use macros from bp-asm.h.
27181         (SIGMSK): Likewise.
27182         (_setjmp): Likewise.  Do not use BP_SYM.
27183         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
27184         "bp-asm.h".
27185         (PARMS): Do not use macros from bp-asm.h.
27186         (SIGMSK): Likewise.
27187         (setjmp): Likewise.  Do not use BP_SYM.
27188         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
27189         "bp-asm.h".
27190         (PARMS): Do not use macros from bp-asm.h.
27191         (__frexp): Do not use BP_SYM.
27192         (frexp): Likewise.
27193         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
27194         "bp-asm.h".
27195         (PARMS): Do not use macros from bp-asm.h.
27196         (__frexpf): Do not use BP_SYM.
27197         (frexpf): Likewise.
27198         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
27199         "bp-asm.h".
27200         (PARMS): Do not use macros from bp-asm.h.
27201         (__frexpl): Do not use BP_SYM.
27202         (frexpl): Likewise.
27203         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
27204         "bp-asm.h".
27205         (PARMS): Do not use macros from bp-asm.h.
27206         (__remquo): Do not use BP_SYM.
27207         (remquo): Likewise.
27208         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
27209         "bp-asm.h".
27210         (PARMS): Do not use macros from bp-asm.h.
27211         (__remquof): Do not use BP_SYM.
27212         (remquof): Likewise.
27213         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
27214         "bp-asm.h".
27215         (PARMS): Do not use macros from bp-asm.h.
27216         (__remquol): Do not use BP_SYM.
27217         (remquol): Likewise.
27218         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
27219         "bp-asm.h".
27220         (PARMS): Do not use macros from bp-asm.h.
27221         (DEST): Likewise.
27222         (SRC): Likewise.
27223         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
27224         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
27225         "bp-asm.h".
27226         (PARMS): Do not use macros from bp-asm.h.
27227         (strlen): Do not use BP_SYM.
27228         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
27229         "bp-asm.h".
27230         (PARMS): Do not use macros from bp-asm.h.
27231         (S1): Likewise.
27232         (S2): Likewise.
27233         (SIZE): Likewise.
27234         (__mpn_add_n): Do not use BP_SYM.
27235         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
27236         "bp-asm.h".
27237         (PARMS): Do not use macros from bp-asm.h.
27238         (S1): Likewise.
27239         (SIZE): Likewise.
27240         (__mpn_addmul_1): Do not use BP_SYM.
27241         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
27242         weak_alias.
27243         (bzero): Likewise.
27244         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
27245         "bp-asm.h".
27246         (PARMS): Do not use macros from bp-asm.h.
27247         (S): Likewise.
27248         (SIZE): Likewise.
27249         (__mpn_lshift): Do not use BP_SYM.
27250         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
27251         "bp-asm.h".
27252         (PARMS): Do not use macros from bp-asm.h.
27253         (DEST): Likewise.
27254         (SRC): Likewise.
27255         (LEN): Likewise.
27256         (memcpy): Likewise.  Do not use BP_SYM.
27257         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
27258         libc_hidden_def and weak_alias.
27259         (mempcpy): Do not use BP_SYM in weak_alias.
27260         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
27261         "bp-asm.h".
27262         (PARMS): Do not use macros from bp-asm.h.
27263         (DEST): Likewise.
27264         (LEN): Likewise.
27265         [!BZERO_P] (CHR): Likewise.
27266         (memset): Likewise.  Do not use BP_SYM.
27267         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
27268         "bp-asm.h".
27269         (PARMS): Do not use macros from bp-asm.h.
27270         (S1): Likewise.
27271         (SIZE): Likewise.
27272         (__mpn_mul_1): Do not use BP_SYM.
27273         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
27274         "bp-asm.h".
27275         (PARMS): Do not use macros from bp-asm.h.
27276         (S): Likewise.
27277         (SIZE): Likewise.
27278         (__mpn_rshift): Do not use BP_SYM.
27279         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
27280         "bp-asm.h".
27281         (PARMS): Do not use macros from bp-asm.h.
27282         (STR): Likewise.
27283         (CHR): Likewise.
27284         (strchr): Likewise.  Do not use BP_SYM.
27285         (index): Do not use BP_SYM in weak_alias.
27286         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
27287         "bp-asm.h".
27288         (PARMS): Do not use macros from bp-asm.h.
27289         (DEST): Likewise.
27290         (SRC): Likewise.
27291         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
27292         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
27293         "bp-asm.h".
27294         (PARMS): Do not use macros from bp-asm.h.
27295         (strlen): Do not use BP_SYM.
27296         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
27297         "bp-asm.h".
27298         (PARMS): Do not use macros from bp-asm.h.
27299         (S1): Likewise.
27300         (S2): Likewise.
27301         (SIZE): Likewise.
27302         (__mpn_sub_n): Do not use BP_SYM.
27303         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
27304         "bp-asm.h".
27305         (PARMS): Do not use macros from bp-asm.h.
27306         (S1): Likewise.
27307         (SIZE): Likewise.
27308         (__mpn_submul_1): Do not use BP_SYM.
27309         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
27310         "bp-asm.h".
27311         (PARMS): Do not use macros from bp-asm.h.
27312         (S1): Likewise.
27313         (S2): Likewise.
27314         (SIZE): Likewise.
27315         (__mpn_add_n): Do not use BP_SYM.
27316         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
27317         weak_alias.
27318         (bzero): Likewise.
27319         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
27320         "bp-asm.h".
27321         (PARMS): Do not use macros from bp-asm.h.
27322         (BLK2): Likewise.
27323         (LEN): Likewise.
27324         (memcmp): Do not use BP_SYM.
27325         (bcmp): Do not use BP_SYM in weak_alias.
27326         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
27327         "bp-asm.h".
27328         (PARMS): Do not use macros from bp-asm.h.
27329         (DEST): Likewise.
27330         (SRC): Likewise.
27331         (LEN): Likewise.
27332         (memcpy): Likewise.  Do not use BP_SYM.
27333         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
27334         "bp-asm.h".
27335         (PARMS): Do not use macros from bp-asm.h.
27336         (DEST): Likewise.
27337         (SRC): Likewise.
27338         (LEN): Likewise.
27339         (memmove): Likewise.  Do not use BP_SYM.
27340         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
27341         "bp-asm.h".
27342         (PARMS): Do not use macros from bp-asm.h.
27343         (DEST): Likewise.
27344         (SRC): Likewise.
27345         (LEN): Likewise.
27346         (__mempcpy): Likewise.  Do not use BP_SYM.
27347         (mempcpy): Do not use BP_SYM in weak_alias.
27348         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
27349         "bp-asm.h".
27350         (PARMS): Do not use macros from bp-asm.h.
27351         (DEST): Likewise.
27352         (LEN): Likewise.
27353         [!BZERO_P] (CHR): Likewise.
27354         (memset): Likewise.  Do not use BP_SYM.
27355         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
27356         "bp-asm.h".
27357         (PARMS): Do not use macros from bp-asm.h.
27358         (STR2): Likewise.
27359         (strcmp): Do not use BP_SYM.
27360         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
27361         "bp-asm.h".
27362         (PARMS): Do not use macros from bp-asm.h.
27363         (STR): Likewise.
27364         (DELIM): Likewise.
27365         [USE_AS_STRTOK_R] (SAVE): Likewise.
27366         (FUNCTION): Likewise.  Do not use BP_SYM.
27367         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
27368         aliases.
27369         (strtok_r): Likewise.
27370         (__GI___strtok_r): Likewise.
27371         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27372         (PARMS): Do not use macros from bp-asm.h.
27373         (S): Likewise.
27374         (SIZE): Likewise.
27375         (__mpn_lshift): Do not use BP_SYM.
27376         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27377         (PARMS): Do not use macros from bp-asm.h.
27378         (STR): Likewise.
27379         (CHR): Likewise.
27380         (__memchr): Do not use BP_SYM.
27381         (memchr): Do not use BP_SYM in weak_alias.
27382         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27383         (PARMS): Do not use macros from bp-asm.h.
27384         (BLK2): Likewise.
27385         (LEN): Likewise.
27386         (memcmp): Do not use BP_SYM.
27387         (bcmp): Do not use BP_SYM in weak_alias.
27388         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
27389         (PARMS): Do not use macros from bp-asm.h.
27390         (S1): Likewise.
27391         (SIZE): Likewise.
27392         (__mpn_mul_1): Do not use BP_SYM.
27393         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
27394         "bp-asm.h".
27395         (PARMS): Do not use macros from bp-asm.h.
27396         (STR): Likewise.
27397         (CHR): Likewise.
27398         (__rawmemchr): Do not use BP_SYM.
27399         (rawmemchr): Do not use BP_SYM in weak_alias.
27400         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
27401         (PARMS): Do not use macros from bp-asm.h.
27402         (S): Likewise.
27403         (SIZE): Likewise.
27404         (__mpn_rshift): Do not use BP_SYM.
27405         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
27406         (PARMS): Do not use macros from bp-asm.h.
27407         (SIGMSK): Likewise.
27408         (__sigsetjmp): Likewise.  Do not use BP_SYM.
27409         * sysdeps/i386/start.S: Do not include "bp-sym.h".
27410         (_start): Do not use BP_SYM.
27411         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
27412         (PARMS): Do not use macros from bp-asm.h.
27413         (DEST): Likewise.
27414         (SRC): Likewise.
27415         (__stpcpy): Likewise.  Do not use BP_SYM.
27416         (stpcpy): Do not use BP_SYM in weak_alias.
27417         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
27418         "bp-asm.h".
27419         (PARMS): Do not use macros from bp-asm.h.
27420         (DEST): Likewise.
27421         (SRC): Likewise.
27422         (LEN): Likewise.
27423         (__stpncpy): Likewise.  Do not use BP_SYM.
27424         (stpncpy): Do not use BP_SYM in weak_alias.
27425         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
27426         (PARMS): Do not use macros from bp-asm.h.
27427         (STR): Likewise.
27428         (CHR): Likewise.
27429         (strchr): Likewise.  Do not use BP_SYM.
27430         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
27431         "bp-asm.h".
27432         (PARMS): Do not use macros from bp-asm.h.
27433         (STR): Likewise.
27434         (CHR): Likewise.
27435         (__strchrnul): Likewise.  Do not use BP_SYM.
27436         (strchrnul): Do not use BP_SYM in weak_alias.
27437         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
27438         "bp-asm.h".
27439         (PARMS): Do not use macros from bp-asm.h.
27440         (STOP): Likewise.
27441         (strcspn): Do not use BP_SYM.
27442         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
27443         "bp-asm.h".
27444         (PARMS): Do not use macros from bp-asm.h.
27445         (STR): Likewise.
27446         (STOP): Likewise.
27447         (strpbrk): Likewise.  Do not use BP_SYM.
27448         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
27449         "bp-asm.h".
27450         (PARMS): Do not use macros from bp-asm.h.
27451         (STR): Likewise.
27452         (CHR): Likewise.
27453         (strrchr): Likewise.  Do not use BP_SYM.
27454         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
27455         (PARMS): Do not use macros from bp-asm.h.
27456         (SKIP): Likewise.
27457         (strspn): Do not use BP_SYM.
27458         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
27459         (PARMS): Do not use macros from bp-asm.h.
27460         (STR): Likewise.
27461         (DELIM): Likewise.
27462         (SAVE): Likewise.
27463         (FUNCTION): Likewise.  Do not use BP_SYM.
27464         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
27465         aliases.
27466         (strtok_r): Likewise.
27467         (__GI___strtok_r): Likewise.
27468         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
27469         (PARMS): Do not use macros from bp-asm.h.
27470         (S1): Likewise.
27471         (S2): Likewise.
27472         (SIZE): Likewise.
27473         (__mpn_sub_n): Do not use BP_SYM.
27474         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
27475         "bp-asm.h".
27476         (PARMS): Do not use macros from bp-asm.h.
27477         (S1): Likewise.
27478         (SIZE): Likewise.
27479         (__mpn_submul_1): Do not use BP_SYM.
27480         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
27481         <bp-sym.h>.
27482         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
27483         and <bp-asm.h>.
27484         (PARMS): Do not use macros from bp-asm.h.
27485         (FLAGS): Likewise.
27486         (PTID): Likewise.
27487         (TLS): Likewise.
27488         (CTID): Likewise.
27489         (__clone): Do not use BP_SYM.
27490         (clone): Do not use BP_SYM in weak_alias.
27491         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
27492         and <bp-asm.h>.
27493         (PARMS): Do not use macros from bp-asm.h.
27494         (LEN): Likewise.
27495         (__mmap64): Do not use BP_SYM.
27496         (mmap64): Do not use BP_SYM in weak_alias.
27497         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
27498         <bp-sym.h> and <bp-asm.h>.
27499         (PARMS): Do not use macros from bp-asm.h.
27500         (__posix_fadvise64_l64): Do not use BP_SYM.
27501         * sysdeps/unix/sysv/linux/i386/semtimedop.S
27502         (PARMS): Do not use macros from bp-asm.h.
27503         (NSOPS): Likewise.
27504         (semtimedop): Do not use BP_SYM.
27505         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
27506         and <bp-asm.h>.
27508 2013-02-21  Allan McRae  <allan@archlinux.org>
27510         * manual/message.texi (Charset conversion in gettext):
27511         Move @end statement to beginning of line.
27513 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27515         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
27516         static.
27517         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
27518         Likewise.
27520         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
27521         (denorm): Likewise.
27522         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
27523         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
27525 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27527         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
27528         tail-call to the resolved function if pltexit isn't needed.
27530 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27532         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
27533         or Y being zero as being unlikely.
27534         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27535         Likewise.
27537 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
27539         * manual/nss.texi (System Databases and Name Service Switch):
27540         Remove frobnicate @pxref.
27542 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27544         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27545         __attribute__ ((unused)) to __attribute__ ((__unused__)).
27547 2013-02-20  Petr Machata  <pmachata@redhat.com>
27549         * elf/elf.h (R_ARM_TARGET1): New macro.
27550         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
27551         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
27552         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
27553         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
27554         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
27555         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
27556         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
27557         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
27558         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
27559         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
27560         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
27561         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
27562         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
27563         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
27564         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
27565         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
27566         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
27567         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
27568         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
27569         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
27570         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
27571         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
27572         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
27573         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
27574         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
27575         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
27576         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
27577         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
27578         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
27579         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
27580         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
27581         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
27582         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
27583         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
27584         (R_ARM_THM_GOT_BREL12): Likewise.
27585         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
27586         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
27587         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
27588         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
27589         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
27590         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
27591         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
27592         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
27593         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
27595 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
27597         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
27598         __attribute_used__ to __attribute__ ((unused)).
27600 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
27602         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
27603         powerpc mpa.c.
27604         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
27605         comment formatting.
27606         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
27608 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
27610         [BZ #13550]
27611         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
27612         Remove macro.
27613         (ENTER): Remove both macro definitions.
27614         (LEAVE): Likewise.
27615         (CHECK_BOUNDS_LOW): Likewise.
27616         (CHECK_BOUNDS_HIGH): Likewise.
27617         (CHECK_BOUNDS_BOTH): Likewise.
27618         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
27619         (RETURN_BOUNDED_POINTER): Likewise.
27620         (RETURN_NULL_BOUNDED_POINTER): Likewise.
27621         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
27622         (POP_ERRNO_LOCATION_RETURN): Likewise.
27623         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
27624         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27625         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
27626         macros.
27627         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27628         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
27629         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
27630         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
27631         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
27632         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
27633         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
27634         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
27635         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
27636         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
27637         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
27638         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
27639         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27640         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
27641         removed macros.
27642         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27643         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
27644         macros.
27645         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27646         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
27647         * sysdeps/i386/i586/memset.S (memset): Likewise.
27648         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
27649         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27650         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
27651         macros.
27652         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27653         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
27654         Change uses of L(2) to L(out).
27655         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
27656         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
27657         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
27658         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27659         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
27660         removed macros.
27661         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27662         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
27663         macros.
27664         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27665         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
27666         (RETURN): Do not use macro LEAVE.
27667         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
27668         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
27669         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
27670         * sysdeps/i386/i686/memset.S (memset): Likewise.
27671         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
27672         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
27673         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
27674         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
27675         Likewise.
27676         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27677         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
27678         L(1_2) and L(1_3) into L(1).
27679         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27680         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
27681         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27682         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
27683         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
27684         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
27685         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
27686         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27687         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
27688         macros.
27689         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
27690         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
27691         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
27692         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
27693         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
27694         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
27695         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
27696         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
27697         * sysdeps/i386/strcspn.S (strcspn): Likewise.
27698         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
27699         * sysdeps/i386/strrchr.S (strrchr): Likewise.
27700         * sysdeps/i386/strspn.S (strspn): Likewise.
27701         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
27702         conditional code.
27703         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
27704         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
27705         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
27706         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
27707         L(1_3) into L(1_1).
27708         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
27709         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
27710         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
27711         macros.
27712         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
27714 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
27716         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
27717         macro.
27719 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27721         * math/atest-exp.c (exp_mpn): Remove ROUND.
27722         * math/atest-exp2.c (exp_mpn): Likewise.
27723         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
27725         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
27726         * stdlib/tst-tls-atexit-lib.c: Likewise.
27727         * stdlib/tst-tls-atexit.c: Likewise.
27729 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27731         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
27732         and __attribute_alloc_size__.
27734 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27736         * include/programs/xmalloc.h: Change __attribute_alloc_size to
27737         __attribute_alloc_size__.
27738         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
27739         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
27741 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
27743         * include/programs/xmalloc.h: New file.
27744         * catgets/gencat.c: Include it.
27745         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
27746         * elf/pldd.c: Likewise.
27747         * iconv/iconv_charmap.c: Likewise.
27748         * iconv/iconvconfig.c: Likewise.
27749         * iconv/strtab.c: Likewise.
27750         * locale/programs/locale.c: Likewise.
27751         * locale/programs/localedef.h: Likewise.
27752         * locale/programs/simple-hash.c: Likewise.
27753         * nscd/nscd.h: Likewise.
27754         * nss/makedb.c: Likewise.
27755         * sysdeps/generic/ldconfig.h: Likewise.
27757 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
27759         * Versions.def: Add GLIBC_2.18.
27760         * include/link.h (struct link_map): New member l_tls_dtor_count.
27761         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
27762         (__call_tls_dtors): Likewise.
27763         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
27764         __cxa_thread_atexit_impl.
27765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27766         Likewise.
27767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27768         Likewise.
27769         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
27770         Likewise.
27771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
27772         Likewise.
27773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27774         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
27775         Likewise.
27776         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
27777         Likewise.
27778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27780         Likewise.
27781         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
27782         (tests): Add test case tst-tls-atexit.
27783         (modules-names): Add shared library for tst-tls-atexit.
27784         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
27785         (GLIBC_PRIVATE): Add __call_tls_dtors.
27786         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
27787         for libstdc++.
27788         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
27789         * stdlib/tst-tls-atexit.c: New test case.
27790         * stdlib/tst-tls-atexit-lib.c: New test case.
27792         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
27794         * elf/Versions (ld): Add _dl_find_dso_for_object.
27795         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
27796         * elf/dl-open.c (_dl_find_dso_for_object): New function.
27797         (dl_open_worker): Use _dl_find_dso_for_object.
27798         * elf/dl-sym.c (do_sym): Likewise.
27799         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
27801 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27803         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
27804         Syntactic changes only.
27805         (_dl_runtime_profile): Do a tail-call to the resolved function.
27807 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
27809         [BZ #13550]
27810         * sysdeps/x86_64/bp-asm.h: Remove file.
27811         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
27812         <bp-sym.h> and <bp-asm.h>.
27813         (__clone): Do not use BP_SYM.
27814         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
27815         <bp-sym.h> and <bp-asm.h>.
27816         * sysdeps/unix/x86_64/sysdep.S: Likewise.
27817         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
27818         "bp-asm.h".
27819         (_setjmp): Do not use BP_SYM.
27820         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
27821         "bp-asm.h".
27822         (setjmp): Do not use BP_SYM.
27823         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
27824         libc_hidden_def.
27825         (mempcpy): Do not use BP_SYM in weak_alias.
27826         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
27827         "bp-asm.h".
27828         (strchr): Do not use BP_SYM.
27829         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
27830         "bp-asm.h".
27831         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
27832         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
27833         (_start): Do not use BP_SYM.
27834         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
27835         "bp-asm.h".
27836         (strcat): Do not use BP_SYM.
27837         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
27838         "bp-asm.h".
27839         (STRCMP): Do not use BP_SYM.
27840         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
27841         "bp-asm.h".
27842         (STRCPY): Do not use BP_SYM.
27843         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
27844         "bp-asm.h".
27845         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
27846         "bp-asm.h".
27847         (FUNCTION): Do not use BP_SYM.
27848         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
27849         weak_alias.
27850         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
27852 2013-02-17  Andreas Jaeger  <aj@suse.de>
27854         * time/Versions: Sort entries.
27855         * string/Versions: Likewise.
27856         * resolv/Versions: Likewise.
27857         * posix/Versions: Likewise.
27858         * iconv/Versions: Likewise.
27859         * elf/Versions: Likewise.
27860         * wcsmbs/Versions: Likewise.
27862 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27864         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
27865         loop termination condition.
27867         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
27868         variable to calculate EZ.
27869         (__sqr): Likewise.
27871         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
27872         the lower precision input.
27874 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
27876         [BZ #13550]
27877         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
27878         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
27879         (run-via-rtld-prefix): Do not handle %-bp tests.
27880         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
27881         (all-object-suffixes): Remove .ob.
27882         (bppfx): Remove variable.
27883         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
27884         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
27885         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
27886         [$(build-bounded) = yes] (libtype.ob): Likewise.
27887         * Makerules (elide-routines.ob): Remove variable.
27888         (do-tests-clean): Do not handle *-bp.out.
27889         (common-mostlyclean): Do not handle *-bp and *-bp.out.
27890         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
27891         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
27892         (tests): Do not include $(tests-bp.out).
27893         (xtests): Do not include $(xtests-bp.out).
27894         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
27895         [$(build-bounded) = yes] ($(addprefix
27896         $(objpfx),$(binaries-bounded))): Remove rule.
27897         ($(objpfx)%-bp.out): Remove rule.
27898         * config.make.in (build-bounded): Remove variable.
27899         * crypt/Makefile [$(build-bounded) = yes]
27900         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
27901         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
27902         append to variable.
27903         [$(build-bounded) = yes] (install-lib): Likewise.
27904         [$(build-bounded) = yes] (generated): Likewise.
27905         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
27906         Remove rule.
27907         * intl/Makefile [$(build-bounded) = yes]
27908         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
27909         * math/Makefile [$(build-bounded) = yes]
27910         ($(tests:%=$(objpfx)%-bp): Likewise.
27911         * misc/Makefile [$(build-bounded) = yes]
27912         ($(objpfx)tst-tsearch-bp): Likewise.
27913         * nptl/Makeconfig (bounded-thread-library): Remove variable.
27914         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
27915         Remove dependency.
27916         * string/Makefile (o-objects.ob): Remove variable.
27917         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
27918         (CFLAGS-.ob): Remove variable.
27919         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
27920         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
27921         both definitions of variable.
27922         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
27923         (ASFLAGS-.ob): Remove variable.
27925 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
27927         [BZ #13550]
27928         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
27929         Remove __BOUNDED_POINTERS__ from condition.
27930         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
27931         * string/bits/string2.h [!__NO_STRING_INLINES &&
27932         !__BOUNDED_POINTERS__]: Likewise.
27933         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
27934         Likewise.
27935         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
27936         Remove conditional code.
27937         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
27938         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
27939         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
27940         condition.
27942         [BZ #13550]
27943         * csu/libc-start.c: Do not include <bp-sym.h>.
27944         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
27945         * elf/dl-open.c: Do not include <bp-sym.h>.
27946         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
27947         * math/fegetenv.c: Do not include <bp-sym.h>.
27948         (fegetenv): Do not use BP_SYM in versioned symbols.
27949         * nptl/sysdeps/pthread/bits/libc-lockP.h
27950         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
27951         <bp-sym.h>.
27952         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27953         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
27954         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27955         (__pthread_mutex_destroy): Likewise.
27956         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27957         (__pthread_mutex_lock): Likewise.
27958         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27959         (__pthread_mutex_trylock): Likewise.
27960         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27961         (__pthread_mutex_unlock): Likewise.
27962         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27963         (__pthread_mutexattr_init): Likewise.
27964         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27965         (__pthread_mutexattr_destroy): Likewise.
27966         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27967         (__pthread_mutexattr_settype): Likewise.
27968         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27969         (__pthread_rwlock_init): Likewise.
27970         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27971         (__pthread_rwlock_destroy): Likewise.
27972         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27973         (__pthread_rwlock_rdlock): Likewise.
27974         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27975         (__pthread_rwlock_tryrdlock): Likewise.
27976         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27977         (__pthread_rwlock_wrlock): Likewise.
27978         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27979         (__pthread_rwlock_trywrlock): Likewise.
27980         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27981         (__pthread_rwlock_unlock): Likewise.
27982         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27983         (__pthread_key_create): Likewise.
27984         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27985         (__pthread_setspecific): Likewise.
27986         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27987         (__pthread_getspecific): Likewise.
27988         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
27989         Likewise.
27990         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27991         (_pthread_cleanup_push_defer): Likewise.
27992         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27993         (_pthread_cleanup_pop_restore): Likewise.
27994         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
27995         (pthread_setcancelstate): Likewise.
27996         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
27997         <bp-sym.h>.
27998         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
27999         (memchr): Do not use BP_SYM in weak_alias.
28000         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
28001         (fegetenv): Do not use BP_SYM in versioned symbols.
28002         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
28003         (fesetenv): Do not use BP_SYM in versioned symbols.
28004         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28005         (feupdateenv): Do not use BP_SYM in versioned symbols.
28006         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28007         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28008         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
28009         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
28010         (open64): Do not use BP_SYM in weak_alias.
28011         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
28012         (fegetenv): Do not use BP_SYM in versioned symbols.
28013         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
28014         (fesetenv): Do not use BP_SYM in versioned symbols.
28015         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
28016         (feupdateenv): Do not use BP_SYM in versioned symbols.
28017         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
28018         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
28019         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
28020         (feraiseexcept): Do not use BP_SYM in versioned symbols.
28021         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
28022         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
28023         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
28024         <bp-sym.h>.
28025         (__libc_start_main): Do not use BP_SYM.
28027 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
28029         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
28030         redundant return line.
28031         (norm): Likewise.
28032         (denorm): Likewise.
28033         (dbl_mp): Likewise.
28034         (sub_magnitudes): Likewise.
28035         (__add): Likewise.
28036         (__sub): Likewise.
28037         (__mul): Likewise.
28038         (__inv): Likewise.
28039         (__dvd): Likewise.
28040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
28041         (norm): Likewise.
28042         (denorm): Likewise.
28043         (dbl_mp): Likewise.
28044         (sub_magnitudes): Likewise.
28045         (__add): Likewise.
28046         (__sub): Likewise.
28047         (__mul): Likewise.
28048         (__inv): Likewise.
28049         (__dvd): Likewise.
28051         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
28052         instead of __mul.
28053         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
28054         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
28055         (cc32): Likewise.
28057         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
28058         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
28059         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
28060         of __mul for squares.
28061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
28062         function
28063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
28064         Likewise.
28065         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
28066         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
28068 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
28070         [BZ #13550]
28071         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
28072         code.
28073         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
28074         prototype or function definition.  Rename ubp_* variables and
28075         parameters.  Remove argv definitions conditional on
28076         [__BOUNDED_POINTERS__].
28077         * debug/backtrace.c (__backtrace): Do not use __unbounded.
28078         * elf/dl-runtime.c (_dl_fixup): Likewise.
28079         * include/set-hooks.h (RUN_HOOK): Likewise.
28080         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
28081         definition.
28082         * string/strcpy.c (strcpy): Do not use __unbounded.
28083         * sysdeps/generic/frame.h (struct layout): Likewise.
28084         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
28085         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
28086         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
28087         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
28088         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
28089         (__backtrace): Likewise.
28090         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
28091         use __ptrvalue.
28092         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28093         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28094         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
28095         Likewise.
28096         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
28097         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
28098         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
28099         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28100         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
28101         Do not use __unbounded.
28102         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
28103         Rename __unboundedrlimits parameter to rlimits in prototype.
28104         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
28105         Do not use __unbounded.
28106         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
28107         not use __ptrvalue.
28108         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28109         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
28110         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28111         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
28112         __ptrvalue or __unbounded.
28113         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
28114         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
28115         use __unbounded.
28116         (__new_msgctl): Do not use __ptrvalue.
28117         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
28118         __unbounded.
28119         (__libc_msgrcv): Do not use __ptrvalue.
28120         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
28121         startup_info): Do not use __unbounded.
28122         (__libc_start_main): Likewise.  Rename ubp_* variables and
28123         parameters.  Remove argv definitions conditional on
28124         [__BOUNDED_POINTERS__].
28125         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
28126         __ptrvalue.
28127         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
28128         use __unbounded.
28129         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
28130         or __ptrvalue.
28131         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
28132         use __unbounded.
28133         (__new_shmctl): Do not use __ptrvalue.
28134         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
28135         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
28136         Likewise.
28137         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
28138         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
28139         (__libc_sigaction): Likewise.
28140         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
28141         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
28142         Likewise.
28143         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28145 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
28147         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
28149         * string/mempcpy.c: Implement by calling memcpy.
28151 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28153         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
28155         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
28156         evaluation.
28158         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
28159         values in the mantissa.
28161         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
28162         minimize writes to Z.
28163         (sub_magnitudes): Simplify code a bit.
28165 2013-02-12  Roland McGrath  <roland@hack.frob.com>
28167         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
28168         from the message.  The linker prefixes all warnings with that already.
28170 2013-02-12  Andreas Schwab  <schwab@suse.de>
28172         [BZ #15078]
28173         * posix/regexec.c (extend_buffers): Add parameter min_len.
28174         (check_matching): Pass minimum needed length.
28175         (clean_state_log_if_needed): Likewise.
28176         (get_subexp): Likewise.
28177         * posix/Makefile (tests): Add bug-regex34.
28178         (bug-regex34-ENV): Define.
28179         * posix/bug-regex34.c: New file.
28181         [BZ #11561]
28182         * posix/regcomp.c (parse_bracket_exp): When looking up collating
28183         elements compare against the byte sequence of it, not its name.
28184         * posix/Makefile (tests): Add bug-regex35.
28185         (bug-regex35-ENV): Define.
28186         * posix/bug-regex35.c: New file.
28188 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28190         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
28191         comment.
28192         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
28193         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
28194         (CHECK_EOL): Add undef.
28196 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
28198         * bits/stdlib-bsearch.h: New file.
28199         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
28200         * stdlib/stdlib.h: Likewise.
28202 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28204         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
28205         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
28206         declaration.
28207         * manual/search.texi (Array Search Function): Add missing const in
28208         lfind prototype.
28209         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
28210         declaration to use rlim_t.
28211         (Basic Scheduling Functions): Remove erroneous const from
28212         sched_getparam prototype.  Remove erroneous * from
28213         sched_get_priority_max and sched_get_priority_min prototypes.
28214         (Resource Usage): Fix summary @comment on vtimes to refer to
28215         sys/vtimes.h rather than vtimes.h.
28216         Add missing *s in vtimes prototype.
28217         (Limits on Resources): Fix ulimit prototype to return long int.
28218         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
28219         prototypes to use long int rather than double.
28220         (BSD Random): Fix initstate and setstate to use char *, not void *.
28221         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
28222         prototype to make second argument 'struct aiocb64 *const[]'.
28223         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
28224         (Status of AIO Operations): Remove erroneous const in aio_return and
28225         aio_return64 prototypes.
28226         (Synchronizing I/O): Fix sync prototype to return void.
28227         * manual/startup.texi (Suboptions): Remove an erroneous const in
28228         getsubopt prototype.
28229         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
28230         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
28231         use size_t rather than int.
28232         (Scanning All Users): Likewise for getpwent_r.
28233         (Setting Groups): Add missing const to setgroups prototype.
28234         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
28235         * manual/socket.texi (Host Names): Fix gethostbyaddr and
28236         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
28237         'const void *' rather than 'const char *'.
28238         (Host Address Functions): Likewise for inet_ntop.
28239         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
28240         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
28241         ssize_t for return value.
28242         (Sending Data): Likewise for send, sendto, sendmsg.
28243         (Socket Option Functions): Add a missing const in setsockopt prototype.
28244         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
28245         use wchar_t for the argument.
28246         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
28247         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
28248         take no arguments.
28249         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
28250         double/float/long double for second argument.
28251         Fix return types of significand, significandf, significandl.
28252         * manual/filesys.texi (Setting Permissions): Use mode_t for second
28253         argument in fchmod prototype.
28254         (File Owner): Use uid_t and gid_t in fchown prototype.
28255         (File Times): Add const to utimes, futimes, and lutimes prototypes.
28256         (Making Special Files): Use mode_t and dev_t in mknod prototype.
28257         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
28258         use 'const struct dirent **' as argument types to CMP function pointer
28259         argument.
28260         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
28261         (File Times): Fix summary magic @comment for struct utimbuf and utime
28262         to refer to utime.h, not time.h.
28263         * manual/string.texi (Argz Functions): Add missing const in
28264         argz_extract and argz_next prototypes.
28265         (Finding Tokens in a String): Likewise for basename.
28266         (String/Array Comparison): Fix typo in wcscasecmp prototype.
28267         (Copying and Concatenation): Fix typo in wmemmove prototype.
28268         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
28269         (Signal Stack): Remove erroneous const in sigstack prototype.
28270         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
28271         prototype.
28272         (Simple Calendar Time): Likewise for stime.
28273         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
28274         prototype.
28275         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
28276         say sys/sysctl.h instead.
28277         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
28278         and vsyslog prototypes.
28280 2013-02-11  Tom de Vries  <tom@codesourcery.com>
28282         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
28283         Remove.
28285 2013-02-11  Roland McGrath  <roland@hack.frob.com>
28287         * misc/sys/mman.h: Fix typo in mremap comment.
28289 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28291         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
28292         the '\0' terminator.
28294 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28296         [BZ #13550]
28297         * debug/segfault.c: Don't include <bp-checks.h>.
28298         * sysdeps/generic/bp-checks.h: Remove file.
28299         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
28300         (__GETDENTS): Don't use CHECK_N.
28301         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
28302         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28303         (__getgroups): Don't use CHECK_N.
28304         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
28305         (setgroups): Don't use CHECK_N.
28306         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
28307         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
28308         (__libc_msgrcv): Don't use CHECK_N.
28309         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
28310         (__libc_msgsnd): Don't use CHECK_N.
28311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
28312         <bp-checks.h>.
28313         (__libc_pread): Don't use CHECK_N.
28314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
28315         include <bp-checks.h>.
28316         (__libc_pread64): Don't use CHECK_N.
28317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
28318         include <bp-checks.h>.
28319         (__libc_pwrite): Don't use CHECK_N.
28320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
28321         include <bp-checks.h>.
28322         (__libc_pwrite64): Don't use CHECK_N.
28323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
28324         <bp-checks.h>.
28325         (__libc_pread): Don't use CHECK_N.
28326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
28327         include <bp-checks.h>.
28328         (__libc_pread64): Don't use CHECK_N.
28329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
28330         include <bp-checks.h>.
28331         (__libc_pwrite): Don't use CHECK_N.
28332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
28333         include <bp-checks.h>.
28334         (__libc_pwrite64): Don't use CHECK_N.
28335         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
28336         (do_pread): Don't use CHECK_N.
28337         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
28338         (do_pread64): Don't use CHECK_N.
28339         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
28340         (do_pwrite): Don't use CHECK_N.
28341         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
28342         (do_pwrite64): Don't use CHECK_N.
28343         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
28344         (__libc_readv): Don't use CHECK_N.
28345         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
28346         (semop): Don't use CHECK_N.
28347         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
28348         <bp-checks.h>.
28349         (semtimedop): Don't use CHECK_N.
28350         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
28351         (__libc_pread): Don't use CHECK_N.
28352         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
28353         <bp-checks.h>.
28354         (__libc_pread64): Don't use CHECK_N.
28355         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
28356         <bp-checks.h>.
28357         (__libc_pwrite): Don't use CHECK_N.
28358         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
28359         <bp-checks.h>.
28360         (__libc_pwrite64): Don't use CHECK_N.
28361         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
28362         <bp-checks.h>.
28363         (__libc_msgrcv): Don't use CHECK_N.
28364         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
28365         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
28366         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
28367         (__libc_writev): Don't use CHECK_N.
28369 2013-02-08  Roland McGrath  <roland@hack.frob.com>
28371         * string/strcpy.c: Removed unused variable.
28373         * Makeconfig (+sysdep-includes): Define with := rather than =.
28374         Use an existing include/ subdir of each sysdeps dir before it.
28376 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28378         * nscd/connection.c (register_traced_file): Comment function.
28379         [HAVE_INOTIFY] (union __inev): Define.
28380         [HAVE_INOTIFY] (inotify_check_files): New function.
28381         [HAVE_INOTIFY] (clear_db_cache): Likewise.
28382         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
28383         clear_db_cache.
28384         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
28386 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28388         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
28389         loaded if not already and that a failure is permanent.
28391 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
28393         [BZ #15006]
28394         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
28395         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
28397 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
28399         [BZ #13550]
28400         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
28401         (CHECK_1_NULL_OK): Likewise.
28402         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
28403         (__fxstat): Do not use CHECK_1.
28404         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
28405         <bp-checks.h>.
28406         (___fxstat64): Do not use CHECK_1.
28407         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
28408         <bp-checks.h>.
28409         (__fxstatat): Do not use CHECK_1.
28410         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
28411         <bp-checks.h>.
28412         (__fxstatat64): Do not use CHECK_1.
28413         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
28414         <bp-checks.h>.
28415         (__fxstat): Do not use CHECK_1.
28416         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
28417         <bp-checks.h>.
28418         (__fxstatat): Do not use CHECK_1.
28419         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
28420         <bp-checks.h>.
28421         (__getresgid): Do not use CHECK_1.
28422         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
28423         <bp-checks.h>.
28424         (__getresuid): Do not use CHECK_1.
28425         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
28426         <bp-checks.h>.
28427         (__lxstat): Do not use CHECK_1.
28428         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
28429         <bp-checks.h>.
28430         (__old_msgctl): Do not use CHECK_1.
28431         (__new_msgctl): Likewise.
28432         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
28433         <bp-checks.h>.
28434         (__new_setrlimit): Do not use CHECK_1.
28435         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
28436         <bp-checks.h>.
28437         (__old_shmctl): Do not use CHECK_1.
28438         (__new_shmctl): Likewise.
28439         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
28440         <bp-checks.h>.
28441         (__xstat): Do not use CHECK_1.
28442         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
28443         (__lxstat): Do not use CHECK_1.
28444         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
28445         <bp-checks.h>.
28446         (___lxstat64): Do not use CHECK_1.
28447         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
28448         (__old_msgctl): Do not use CHECK_1.
28449         (__new_msgctl): Likewise.
28450         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
28451         <bp-checks.h>.
28452         (__gettimeofday): Do not use CHECK_1.
28453         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
28454         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
28455         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
28456         <bp-checks.h>.
28457         (__gettimeofday): Do not use CHECK_1.
28458         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
28459         (__old_shmctl): Do not use CHECK_1_NULL_OK.
28460         (__new_shmctl): Do not use CHECK_1.
28461         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
28462         <bp-checks.h>.
28463         (do_sigtimedwait): Do not use CHECK_1.
28464         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
28465         <bp-checks.h>.
28466         (do_sigwaitinfo): Do not use CHECK_1.
28467         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
28468         <bp-checks.h>.
28469         (msgctl): Do not use CHECK_1.
28470         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
28471         <bp-checks.h>.
28472         (shmctl): Do not use CHECK_1.
28473         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
28474         (ustat): Do not use CHECK_1.
28475         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
28476         <bp-checks.h>.
28477         (__fxstat): Do not use CHECK_1.
28478         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
28479         <bp-checks.h>.
28480         (__fxstatat): Do not use CHECK_1.
28481         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
28482         <bp-checks.h>.
28483         (__lxstat): Do not use CHECK_1.
28484         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
28485         <bp-checks.h>.
28486         (__xstat): Do not use CHECK_1.
28487         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
28488         (__xstat): Do not use CHECK_1.
28489         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
28490         (___xstat64): Do not use CHECK_1.
28492         [BZ #13550]
28493         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
28494         definitions.
28495         (CHECK_BOUNDS_HIGH): Likewise.
28496         * string/strcpy.c: Do not include <bp-checks.h>.
28497         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
28499 2013-02-07  Roland McGrath  <roland@hack.frob.com>
28501         * nscd/nscd-client.h (__nscd_drop_map_ref):
28502         Add __attribute__ ((unused)).
28503         * nis/nss-nisplus.h (niserr2nss): Likewise.
28505         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
28506         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
28508         * csu/libc-tls.c (init_static_tls, init_slotinfo):
28509         Remove inline keyword.
28510         * include/rounding-mode.h (round_away): Likewise.
28511         * libio/wfileops.c (adjust_wide_data): Likewise.
28512         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
28513         (__m128i_strloadu_tolower): Likewise.
28514         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
28515         (__m128i_strloadu_tolower): Likewise.
28516         * time/mktime.c (ydhms_diff): Likewise.
28517         * locale/elem-hash.h (elem_hash): Likewise.
28518         * locale/setlocale.c (setdata): Likewise.
28519         * posix/regex_internal.h (re_string_char_size_at): Likewise.
28520         (re_string_wchar_at): Likewise.
28521         (bitset_not, bitset_merge, bitset_mask): Likewise.
28522         [!(__GNUC__ > 3)] (inline): Remove macro.
28523         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
28524         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
28525         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
28526         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
28527         * string/memcmp.c (memcmp_bytes): Likewise.
28528         * locale/programs/locarchive.c (compute_hashval): Likewise.
28529         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
28530         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
28531         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
28532         * nss/getent.c (print_rpc, print_protocols): Likewise.
28533         (print_passwd, print_group, print_aliases): Likewise.
28534         * nis/nss-nisplus.h (niserr2nss): Likewise.
28535         * nscd/connections.c (restart_p): Likewise.
28536         Change return type to bool.
28538 2013-02-05  Roland McGrath  <roland@hack.frob.com>
28540         * Makeconfig (all-Depend-files): Add existing
28541         $(sorted-subdirs:=/Depend) files.
28542         (all-subdirs): Remove nss.
28543         * sysdeps/unix/inet/Subdirs: Add it here instead.
28544         * hesiod/Depend: New file.
28546         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
28547         instead of calling alloca.
28549         * io/lseek.c (__lseek): Rename to __libc_lseek.
28550         Define __lseek as an alias.
28552         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
28554 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
28556         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
28557         else clause and remove check for non-standard endianness.
28559 2013-02-04  David S. Miller  <davem@davemloft.net>
28561         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28563 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
28565         [BZ #13550]
28566         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
28567         (__ubp_memchr): Remove prototype.
28568         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
28569         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28570         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
28571         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
28572         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
28573         Remove alias.
28574         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
28575         (__ubp_memchr): Likewise.
28576         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
28577         (__ubp_memchr): Likewise.
28578         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
28579         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
28580         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
28581         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
28582         CHECK_STRING.
28583         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28584         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
28585         (__getcwd): Do not use CHECK_STRING.
28586         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
28587         <bp-checks.h>.
28588         (__real_chown): Do not use CHECK_STRING.
28589         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
28590         <bp-checks.h>.
28591         (fchownat): Do not use CHECK_STRING.
28592         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
28593         CHECK_STRING.
28594         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
28595         <bp-checks.h>.
28596         (__lchown): Do not use CHECK_STRING.
28597         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28598         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28599         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28600         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28602         include <bp-checks.h>.
28603         (truncate64): Do not use CHECK_STRING.
28604         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
28605         <bp-checks.h>.
28606         (__real_chown): Do not use CHECK_STRING.
28607         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
28608         <bp-checks.h>.
28609         (__lchown): Do not use CHECK_STRING.
28610         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
28611         <bp-checks.h>.
28612         (__chown): Do not use CHECK_STRING.
28613         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
28614         <bp-checks.h>.
28615         (truncate64): Do not use CHECK_STRING.
28616         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
28617         Likewise.
28618         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
28619         (__xmknod): Do not use CHECK_STRING.
28620         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
28621         <bp-checks.h>.
28622         (__xmknodat): Do not use CHECK_STRING.
28623         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28624         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
28626 2013-02-04  Andreas Schwab  <schwab@suse.de>
28628         [BZ #14142]
28629         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
28630         * include/netdb.h: Likewise for h_errno.
28631         * elf/tst-stackguard1.c: Include <tls.h>.
28633 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
28635         * elf/link.h (struct link_map): Extend the l_addr comment.
28636         * include/link.h (struct link_map): Likewise.
28638 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
28640         [BZ #13550]
28641         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
28642         (BOUNDED_1): Remove macro.
28643         * debug/backtrace.c: Don't include <bp-checks.h>.
28644         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
28645         (__backtrace): Likewise.
28646         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
28647         <bp-checks.h>.
28648         (__backtrace): Don't use BOUNDED_1.
28649         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
28650         <bp-checks.h>.
28651         (__backtrace): Don't use BOUNDED_1.
28652         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
28653         (__backtrace): Don't use BOUNDED_1.
28654         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
28655         (shmat): Don't use BOUNDED_N.
28657 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
28659         [BZ #13550]
28660         * sysdeps/generic/bp-start.h: Remove file.
28661         * csu/libc-start.c: Don't include <bp-start.h>.
28662         (LIBC_START_MAIN): Set up __environ directly instead of using
28663         INIT_ARGV_and_ENVIRON.
28664         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
28665         <bp-start.h>.
28667         [BZ #13550]
28668         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
28669         definitions.
28670         (CHECK_FCNTL): Likewise.
28671         (CHECK_N_PAGES): Likewise.
28673         [BZ #13550]
28674         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
28675         definitions.
28676         (CHECK_SIGSET_NULL_OK): Likewise.
28677         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
28678         <bp-checks.h>.
28679         (sigpending): Don't use CHECK_SIGSET.
28680         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
28681         <bp-checks.h>.
28682         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28683         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
28684         <bp-checks.h>.
28685         (do_sigsuspend): Don't use CHECK_SIGSET.
28686         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
28687         use CHECK_SIGSET.
28688         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
28689         (do_sigwait): Don't use CHECK_SIGSET.
28690         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
28691         use CHECK_SIGSET.
28692         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
28693         include <bp-checks.h>.
28694         (sigpending): Don't use CHECK_SIGSET.
28695         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
28696         include <bp-checks.h>.
28697         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28698         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
28699         <bp-checks.h>.
28700         (sigpending): Don't use CHECK_SIGSET.
28701         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
28702         <bp-checks.h>.
28703         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
28705         [BZ #13550]
28706         * sysdeps/generic/bp-semctl.h: Remove file.
28707         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
28708         <bp-checks.h> and <bp-semctl.h>.
28709         (__old_semctl): Don't use CHECK_SEMCTL.
28710         (__new_semctl): Likewise.
28711         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
28712         and <bp-semctl.h>.
28713         (__old_semctl): Don't use CHECK_SEMCTL.
28714         (__new_semctl): Likewise.
28715         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
28716         <bp-checks.h> and <bp-semctl.h>.
28717         (__old_semctl): Don't use CHECK_SEMCTL.
28718         (__new_semctl): Likewise.
28719         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
28720         <bp-checks.h> and <bp-semctl.h>.
28721         (semctl): Don't use CHECK_SEMCTL.
28723         [BZ #13550]
28724         * Makerules (elide-bp-thunks): Remove variable.
28725         (elide-routines.oS): Don't use $(elide-bp-thunks).
28726         (elide-routines.os): Likewise.
28727         (elide-routines.o): Likewise.
28728         (elide-routines.op): Likewise.
28729         (elide-routines.og): Likewise.
28730         (objects): Don't use $(bp-thunks).
28731         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
28732         include.
28733         (common-generated): Do not add s-proto-bp.d.
28734         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
28735         (int): Likewise.
28736         (typ): Likewise.
28737         Do not generate makefile rules for bounded-pointer thunks.
28738         * sysdeps/generic/bp-thunks.h: Remove file.
28739         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
28740         * sysdeps/unix/s-proto-bp.S: Likewise.
28742         [BZ #15062]
28743         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
28744         parts of result separately when argument is not close to line from
28745         -i to i and one part of argument is small.
28746         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28747         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28748         * math/libm-test.inc (cacos_test): Add more tests.
28749         (casin_test): Likewise.
28750         (casinh_test): Likewise.
28751         * sysdeps/i386/fpu/libm-test-ulps: Update.
28752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28754 2013-01-31  David S. Miller  <davem@davemloft.net>
28756         * po/de.po: Update from translation team.
28758 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
28760         * time/tzfile.c: Include stdint.h for SIZE_MAX.
28762 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
28764         * configure.in (_AC_PROG_CC_C89): New definition.
28765         * configure: Regenerate.
28767         * configure.in (AC_PROG_CPP): New definition.
28768         * configure: Regenerate.
28770 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28772         * debug/tst-backtrace.h: New file.
28773         * debug/tst-backtrace2.c: Include tst-backtrace.h.
28774         (ret): Remove variable.
28775         (x): Likewise.
28776         (FAIL): Remove macro.
28777         (NO_INLINE): Likewise.
28778         (fn1): Use match function instead of strstr.
28779         * debug/tst-backtrace3.c: Include tst-backtrace.h.
28780         (ret): Remove variable.
28781         (x): Likewise.
28782         (FAIL): Remove macro.
28783         (NO_INLINE): Likewise.
28784         (fn): Use match function instead of strstr.
28785         * debug/tst-backtrace4.c: Include tst-backtrace.h.
28786         (ret): Remove variable.
28787         (x): Likewise.
28788         (FAIL): Remove macro.
28789         (NO_INLINE): Likewise.
28790         (handle_signal): Use match function instead of strstr.
28791         * debug/tst-backtrace5.c: Include tst-backtrace.h.
28792         (ret): Remove variable.
28793         (x): Likewise.
28794         (FAIL): Remove macro.
28795         (NO_INLINE): Likewise.
28796         (handle_signal): Use match function instead of strstr.
28798 2013-01-23  Roland McGrath  <roland@hack.frob.com>
28800         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
28802 2013-01-23  David S. Miller  <davem@davemloft.net>
28804         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
28805         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
28806         argument of CAS if possible.
28807         * sysdeps/sparc/sparc64/bits/atomic.h
28808         (__arch_compare_and_exchange_val_32_acq): Likewise.
28809         (__arch_compare_and_exchange_val_64_acq): Likewise.
28811 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
28813         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
28814         * sysdeps/posix/ulimit.c: ... this.
28815         Include <limits.h>.
28816         * sysdeps/unix/bsd/ulimit.c: Remove file.
28818 2013-01-23  Adam Conrad  <adconrad@0c3.net>
28820         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
28821         (LDFLAGS-tst-array5): Likewise.
28823 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
28825         [BZ #15036]
28826         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
28827         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
28828         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
28829         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
28831 2013-01-21  David S. Miller  <davem@davemloft.net>
28833         * sysdeps/sparc/backtrace.c: New file.
28834         * sysdeps/sparc/sparc32/backtrace.h: New file.
28835         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
28836         * sysdeps/sparc/sparc64/backtrace.h: New file.
28837         * sysdeps/sparc/sparc64/backtrace.c: Delete.
28838         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
28839         -funwind-tables.
28841 2013-01-21  Andreas Schwab  <schwab@suse.de>
28843         [BZ #15020]
28844         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
28845         closed its stdout.
28847 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
28849         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
28850         "mpa2.h".
28851         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28853 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
28854             Mark Mitchell  <mark@codesourcery.com>
28855             Tom de Vries  <tom@codesourcery.com>
28856             Paul Pluzhnikov  <ppluzhnikov@google.com>
28858         * debug/tst-backtrace2.c: New file.
28859         * debug/tst-backtrace3.c: Likewise.
28860         * debug/tst-backtrace4.c: Likewise.
28861         * debug/tst-backtrace5.c: Likewise.
28862         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
28863         (CFLAGS-tst-backtrace3.c): Likewise.
28864         (CFLAGS-tst-backtrace4.c): Likewise.
28865         (CFLAGS-tst-backtrace5.c): Likewise.
28866         (LDFLAGS-tst-backtrace2): Likewise.
28867         (LDFLAGS-tst-backtrace3): Likewise.
28868         (LDFLAGS-tst-backtrace4): Likewise.
28869         (LDFLAGS-tst-backtrace5): Likewise.
28870         (tests): Add new tests tst-backtrace2, tst-backtrace3,
28871         tst-backtrace4 and tst-backtrace5.
28873 2013-01-18  Anton Blanchard  <anton@samba.org>
28874             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
28876         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
28877         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
28878         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
28879         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
28880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
28881         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
28882         "+r" and remove output regs list as redundant.  Add explicit inline
28883         asm to specify register of return val to work around compiler codegen
28884         bug.  Remove (int) cast on return value.  Add return type parameter to
28885         use in macro so that this macro does not truncate return value for
28886         64-bit values.
28887         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
28888         pass to INTERNAL_VSYSCALL_NCS.
28889         (INLINE_VSYSCALL): Add 'long int' as return type to
28890         INTERNAL_VSYSCALL_NCS macro invocation.
28891         (INTERNAL_VSYSCALL): Add 'long int' as return type to
28892         INTERNAL_VSYSCALL_NCS macro invocation.
28893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28895 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
28897         [BZ #14496]
28898         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
28899         Fix application of SIMD FP exception mask.
28901         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
28902         mp_no from a power of two.
28903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
28904         __mpexp_twomm1.  Use __pow_mp.
28906         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
28907         multiplication.
28909 2013-01-17  David S. Miller  <davem@davemloft.net>
28911         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28913 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28915         [BZ #15023]
28916         * include/complex.h: Condition contents on [!_COMPLEX_H].
28917         (__kernel_casinhf): New prototype.
28918         (__kernel_casinh): Likewise.
28919         (__kernel_casinhl): Likewise.
28920         * math/Makefile (libm_calls): Add k_casinh.
28921         * math/k_casinh.c: New file.
28922         * math/k_casinhf.c: Likewise.
28923         * math/k_casinhl.c: Likewise.
28924         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
28925         finite nonzero arguments.
28926         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
28927         finite nonzero arguments.
28928         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
28929         finite nonzero arguments.
28930         * math/s_casinh.c: Do not include <float.h>.
28931         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
28932         * math/s_casinhf.c: Do not include <float.h>.
28933         (__casinhf): Move code for finite nonzero arguments to
28934         k_casinhf.c.
28935         * math/s_casinhl.c: Do not include <float.h>.
28936         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
28937         redefine.
28938         (__casinhl): Move code for finite nonzero arguments to
28939         k_casinhl.c.
28940         * math/libm-test.inc (cacos_test): Add more tests.
28941         * sysdeps/i386/fpu/libm-test-ulps: Update.
28942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28944 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
28946         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
28947         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
28948         [!HAVE_MREMAP]: Remove [defined linux] case.
28949         * malloc/arena.c: Do not include <malloc-sysdep.h>.
28951 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28953         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
28955 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
28957         * elf/elf.h (R_386_SIZE32): New relocation.
28958         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
28959         R_386_SIZE32.
28960         (elf_machine_rela): Likewise.
28961         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
28962         R_X86_64_SIZE64 and R_X86_64_SIZE32.
28964 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
28966         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
28967         (FP_FAST_FMA): Do not define.
28968         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
28969         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
28970         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
28971         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
28972         !_SOFT_FLOAT]: Likewise.
28973         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
28974         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
28975         value.
28976         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
28977         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
28978         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
28979         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
28980         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
28981         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
28982         file.
28984 2013-01-16  Andreas Schwab  <schwab@suse.de>
28986         [BZ #14327]
28987         * include/stdlib.h (__mktemp): Add declaration.
28988         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
28989         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
28991 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28993         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
28994         definitions.
28995         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
28996         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
28997         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
28998         definitions here.
28999         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
29000         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
29001         definitions.
29002         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
29003         and ONE.
29004         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
29005         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
29006         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
29007         definitions.
29008         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
29009         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
29010         definitions.
29011         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29013         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
29015 2013-01-15  David S. Miller  <davem@davemloft.net>
29017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29018         trunc{,f} to libm-sysdep_routes.
29019         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29020         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
29021         file.
29022         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
29023         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
29024         file.
29025         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
29026         file.
29027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
29028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
29029         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
29030         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
29031         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
29032         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
29033         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
29034         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
29036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29037         nearbyint{,f} to libm-sysdep_routes.
29038         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
29040         New file.
29041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
29042         file.
29043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
29044         New file.
29045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
29046         file.
29047         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
29048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
29049         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
29050         file.
29051         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
29052         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
29053         file.
29054         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
29055         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
29056         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
29058         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29059         libc_feholdexcept and libc_fesetenv.
29061 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
29063         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
29065 2013-01-14  David S. Miller  <davem@davemloft.net>
29067         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
29068         (SPARC_ASM_VIS2_IFUNC): Likewise.
29069         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
29070         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
29071         use of 'siam' instruction.
29072         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
29073         Likewise.
29074         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
29075         Likewise.
29076         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
29077         Likewise.
29078         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
29079         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
29080         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
29081         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
29082         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
29083         file.
29084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
29085         file.
29086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
29087         file.
29088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
29089         file.
29090         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
29091         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
29092         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
29093         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
29094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
29095         new VIS2 routines.
29096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
29097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
29098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
29099         Likewise.
29100         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
29101         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
29102         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
29103         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
29104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
29105         routines to libm-sysdep_routines.
29106         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
29108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
29109         fdim/fdimf to libm-sysdep_routines.
29110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
29111         file.
29112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
29113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
29114         file.
29115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
29116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
29117         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
29118         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
29119         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
29120         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
29121         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
29123 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29125         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
29126         to optimize copies.
29128         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
29129         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29132         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
29133         local variable MPTWO.
29134         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29135         Likewise.
29137 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29139         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
29140         GLOB_NOESCAPE.
29142 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29144         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
29146 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
29148         * manual/pattern.texi (glob_t): Document gl_flags.
29149         (glob64_t): Likewise.
29151 2013-01-11  David S. Miller  <davem@davemloft.net>
29153         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
29154         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
29155         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
29156         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
29157         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
29158         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
29159         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
29160         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
29161         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
29162         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
29163         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
29164         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
29165         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
29167         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29168         sparc V9 rather than using V8 code.
29169         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29170         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29172         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
29173         Move to...
29174         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
29175         Here.
29177 2013-01-11  Roland McGrath  <roland@hack.frob.com>
29179         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
29180         not in the main loop.
29181         * configure: Regenerated.
29183 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
29185         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
29186         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
29187         to just #else.
29188         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
29189         [!__GLIBC_HAVE_LONG_LONG] case.
29190         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
29191         condition to just #else.
29192         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
29193         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
29194         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
29195         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
29196         unconditional.
29197         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
29198         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29199         #elif condition to just #else.
29200         * sysdeps/unix/sysv/linux/sys/sysmacros.h
29201         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
29202         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
29203         #elif condition to just #else.
29205 2013-01-11  Steve Ellcey  <sellcey@mips.com>
29207         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
29208         (EF_MIPS_ARCH_64): Fix value.
29209         (EF_MIPS_ARCH_32R2): New.
29210         (EF_MIPS_ARCH_64R2): New.
29212 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
29214         * Makeconfig (+link-pie-before-libc): New.
29215         (+link-pie-after-libc): Likewise.
29216         (+link-pie-tests): Likewise.
29217         (+link-pie): Rewritten.
29218         (link-before-libc): Remove $(config-LDFLAGS).
29219         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
29220         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
29221         (config-LDFLAGS): Renamed to ...
29222         (rtld-LDFLAGS): This.
29223         (rtld-tests-LDFLAGS): New macro.
29224         (link-libc-rpath-link): Likewise.
29225         (link-libc-tests-rpath-link): Likewise.
29226         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
29227         (link-libc): Prepand $(link-libc-rpath-link).
29228         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
29229         (test-program-prefix): New macro.
29230         (test-via-rtld-prefix): Likewise.
29231         (test-program-cmd): Likewise.
29232         (host-test-program-cmd): Likewise.
29233         * Makefile ($(common-objpfx)testrun.sh): Replace
29234         $(run-program-prefix) with $(test-program-prefix).
29235         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
29236         $(rtld-LDFLAGS).
29237         ($(common-objpfx)shlib.lds): Likewise.
29238         (build-module-helper): Likewise.
29239         ($(common-objpfx)format.lds): Likewise.
29240         * Rules (binaries-pie-tests): New.
29241         (binaries-pie-notests): Likewise.
29242         (binaries-pie): Rewritten.
29243         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
29244         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
29245         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
29246         (make-test-out): Replace $(host-built-program-cmd) with
29247         $(host-test-program-cmd).
29248         * config.make.in (build-hardcoded-path-in-tests): New variable.
29249         * configure.in (--enable-hardcoded-path-in-tests): New configure
29250         option.
29251         (hardcoded_path_in_tests): New AC_SUBST.
29252         * configure: Regenerated.
29253         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
29254         $(built-program-cmd) with $(test-program-cmd).
29255         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
29256         (test_program_cmd): This.
29257         * elf/Makefile ($(objpfx)order.out): Run test with
29258         $(test-program-prefix).
29259         ($(objpfx)order2.out): Likewise.
29260         ($(objpfx)tst-initorder.out): Likewise.
29261         ($(objpfx)tst-initorder2.out): Likewise.
29262         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
29263         $(test-program-cmd).
29264         ($(objpfx)tst-array1-static.out): Likewise.
29265         ($(objpfx)tst-array2.out): Likewise.
29266         ($(objpfx)tst-array3.out): Likewise.
29267         ($(objpfx)tst-array4.out): Likewise.
29268         ($(objpfx)tst-array5.out): Likewise.
29269         ($(objpfx)tst-array5-static.out): Likewise.
29270         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
29271         $(test-program-cmd).
29272         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
29273         $(run-program-prefix) with $(test-program-prefix).
29274         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
29275         (test_program_prefix): This.
29276         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
29277         $(run-program-prefix) with $(test-program-prefix).
29278         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
29279         (test_program_prefix): This.
29280         * iconvdata/tst-tables.sh: Likewise.
29281         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
29282         $(run-program-prefix) with $(test-program-prefix).
29283         ($(objpfx)tst-translit.out): Likewise.
29284         ($(objpfx)tst-gettext2.out): Likewise.
29285         ($(objpfx)tst-gettext4.out): Likewise.
29286         ($(objpfx)tst-gettext6.out): Likewise.
29287         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
29288         (test_program_prefix): This.
29289         * intl/tst-gettext2.sh: Likewise.
29290         * intl/tst-gettext4.sh  Likewise.
29291         * intl/tst-gettext6.sh: Likewise.
29292         * intl/tst-translit.sh: Likewise.
29293         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
29294         with $(test-program-cmd).
29295         * libio/Makefile ($(objpfx)test-freopen.out): Replace
29296         $(run-program-prefix) with $(test-program-prefix).
29297         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
29298         (test_program_prefix): This.
29299         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
29300         $(run-program-prefix) with $(test-program-prefix).
29301         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
29302         (test_program_prefix): This.
29303         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
29304         * posix/Makefile ($(objpfx)globtest.out): Replace
29305         $(run-via-rtld-prefix) and $(test-wrapper) with
29306         $(test-program-prefix) and $(test-via-rtld-prefix).
29307         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
29308         $(test-program-prefix).
29309         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
29310         $(host-test-program-cmd).
29311         (tst-spawn-ARGS): Likewise.
29312         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
29313         $(test-program-prefix).
29314         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
29315         (test_via_rtld_prefix): This.
29316         (test_wrapper): Renamed to ...
29317         (test_program_prefix): This.
29318         (run_program_prefix): Replaced by test_program_prefix.
29319         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
29320         (test_program_prefix): This.
29321         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
29322         with $(host-test-program-cmd).
29323         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
29324         $(run-program-prefix) with $(test-program-prefix).
29325         ($(objpfx)tst-printf.out): Likewise.
29326         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
29327         $(test-program-cmd).
29328         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
29329         (test_program_prefix): This.
29330         * stdio-common/tst-unbputc.sh: Likewise.
29331         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
29332         $(run-program-prefix) with $(test-program-prefix).
29333         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
29334         (test_program_prefix): This.
29335         * string/Makefile ($(objpfx)tst-svc.out):  Replace
29336         $(built-program-cmd) with $(test-program-cmd).
29338 2013-01-11  Andreas Jaeger  <aj@suse.de>
29340         [BZ #15003]
29341         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
29342         value. Sync with Linux 3.7.
29344 2013-01-10  David S. Miller  <davem@davemloft.net>
29346         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
29347         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29348         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29350 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29352         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
29353         never set.
29354         * configure: Regenerated.
29356 2013-01-10  David S. Miller  <davem@davemloft.net>
29358         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
29359         sparc V9 rather than using V8 code.
29360         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
29361         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
29363 2013-01-10  Roland McGrath  <roland@hack.frob.com>
29365         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
29366         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
29367         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
29368         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
29369         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
29370         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
29371         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
29372         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
29373         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
29374         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
29375         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
29376         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
29377         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
29378         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
29379         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
29380         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
29381         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
29382         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
29383         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
29384         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
29385         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
29386         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
29387         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
29388         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
29389         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
29390         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
29391         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
29393 2013-01-10  David S. Miller  <davem@davemloft.net>
29395         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29397 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29399         * posix/Makefile (tests-static): New variable.
29400         (tests): Add $(tests-static).
29401         (tst-exec-static-ARGS): New variable.
29402         (tst-spawn-static-ARGS): Likewise.
29403         * posix/tst-exec-static.c: New file.
29404         * posix/tst-spawn-static.c: Likewise.
29405         * posix/tst-exec.c: Support run directly.
29406         * posix/tst-spawn.c: Likewise.
29408 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
29410         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
29411         long.
29412         * math/bits/mathcalls.h (llrint): Likewise.
29413         (llround): Likewise.
29414         * stdlib/stdlib.h (struct drand48_data): Likewise.
29415         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
29416         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
29417         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
29418         Likewise.
29419         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
29420         Likewise.
29421         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
29422         (elf_greg_t): Likewise.
29423         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
29424         (__jmp_buf): Likewise.
29425         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
29426         definitions.
29427         (llrint): Likewise, for all definitions.
29428         (llrintl): Likewise.
29430         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
29431         Remove [__GNUC__] condition.
29432         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
29433         condition to just [__USE_ISOC99].
29434         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
29436 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
29438         [BZ #14200]
29439         * sysdeps/unix/sysv/linux/x86/bits/environments.h
29440         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
29441         defined.
29442         (_POSIX_V6_ILP32_OFF32): Likewise.
29443         (_XBS5_ILP32_OFF32): Likewise.
29444         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
29445         (__ILP32_OFFBIG_LDFLAGS): Likewise.
29447 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29449         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
29451         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
29452         doubles __mpexp_twomm1.  Adjust usage.
29453         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
29454         Remove.
29456 2013-01-10  Andreas Schwab  <schwab@suse.de>
29458         [BZ #14964]
29459         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
29460         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
29462 2013-01-09  David S. Miller  <davem@davemloft.net>
29464         [BZ #15003]
29465         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
29466         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
29467         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
29468         (TCP_FASTOPEN): Define.
29469         (tcp_repair_opt): New structure.
29470         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
29471         enum values.
29472         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
29473         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
29474         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
29475         (tcp_cookie_transactions): New structure.
29477 2013-01-09  Anton Blanchard  <anton@samba.org>
29479         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
29480         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
29481         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
29482         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
29484 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
29486         * include/features.h (__USE_ANSI): Remove.
29488 2013-01-09  Roland McGrath  <roland@hack.frob.com>
29490         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
29492         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
29494 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
29496         * sysdeps/s390/fpu/libm-test-ulps: Update.
29498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29500         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
29501         (__acr): Likewise.
29502         (__cpy): Likewise.
29503         (norm): Likewise.
29504         (denorm): Likewise.
29505         (__mp_dbl): Likewise.
29506         (__dbl_mp): Likewise.
29507         (add_magnitudes): Likewise.
29508         (sub_magnitudes): Likewise.
29509         (__add): Likewise.
29510         (__sub): Likewise.
29511         (__mul): Likewise.
29512         (__inv): Likewise.
29513         (__dvd): Likewise.
29514         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
29515         (__acr): Likewise.
29516         (__cpy): Likewise.
29517         (norm): Likewise.
29518         (denorm): Likewise.
29519         (__mp_dbl): Likewise.
29520         (__dbl_mp): Likewise.
29521         (add_magnitudes): Likewise.
29522         (sub_magnitudes): Likewise.
29523         (__add): Likewise.
29524         (__sub): Likewise.
29525         (__mul): Likewise.
29526         (__inv): Likewise.
29527         (__dvd): Likewise.
29528         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
29529         (__acr): Likewise.
29530         (__cpy): Likewise.
29531         (norm): Likewise.
29532         (denorm): Likewise.
29533         (__mp_dbl): Likewise.
29534         (__dbl_mp): Likewise.
29535         (add_magnitudes): Likewise.
29536         (sub_magnitudes): Likewise.
29537         (__add): Likewise.
29538         (__sub): Likewise.
29539         (__mul): Likewise.
29540         (__inv): Likewise.
29541         (__dvd): Likewise.
29543 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
29545         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
29546         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
29547         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
29548         2 && __USE_EXTERN_INLINES]: Likewise.
29550 2013-01-08  Andreas Jaeger  <aj@suse.de>
29552         [BZ# 14985]
29553         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
29554         Remove.
29555         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29556         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
29558 2013-01-07  Anton Blanchard  <anton@samba.org>
29560         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
29561         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
29562         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
29563         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
29564         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
29565         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
29566         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
29567         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29569         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29570         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29571         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29572         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
29573         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
29574         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
29575         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29576         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29577         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
29578         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
29579         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
29580         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
29581         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
29582         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29583         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
29584         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
29585         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
29586         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
29587         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
29588         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
29589         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
29590         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
29591         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29592         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29593         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
29594         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
29595         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29596         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
29597         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
29598         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
29599         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
29600         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
29601         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29602         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
29604 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
29606         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
29607         (__MALLOC_PMT): Likewise.
29608         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
29609         [__GNUC__], only on [_LIBC].
29610         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29611         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
29612         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
29613         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
29614         forward declaration.
29615         (realloc_hook_ini): Likewise.
29616         (memalign_hook_ini): Likewise.
29617         (__libc_memalign): Do not use __MALLOC_PMT in variable
29618         declaration.
29619         (__libc_valloc): Likewise.
29620         (__libc_pvalloc): Likewise.
29621         (__libc_calloc): Likewise.
29622         (__posix_memalign): Likewise.
29624         [BZ #14996]
29625         * math/s_casinh.c: Include <float.h>.
29626         (__casinh): Do not do computation with squaring and square root
29627         for large arguments.
29628         * math/s_casinhf.c: Include <float.h>.
29629         (__casinhf): Do not do computation with squaring and square root
29630         for large arguments.
29631         * math/s_casinhl.c: Include <float.h>.
29632         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
29633         (__casinhl): Do not do computation with squaring and square root
29634         for large arguments.
29635         * math/libm-test.inc (casin_test): Add more tests.
29636         (casinh_test): Likewise.
29637         * sysdeps/i386/fpu/libm-test-ulps: Update.
29638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29640 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
29642         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
29643         (__x86_64_raw_data_cache_size): Likewise.
29644         (__x86_64_data_cache_size_half): Likewise.
29645         (__x86_64_raw_data_cache_size_half): Likewise.
29646         (__x86_64_shared_cache_size): Likewise.
29647         (__x86_64_raw_shared_cache_size): Likewise.
29648         (__x86_64_shared_cache_size_half): Likewise.
29649         (__x86_64_raw_shared_cache_size_half): Likewise.
29650         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
29651         to ...
29652         (__x86_data_cache_size): This.
29653         (__x86_64_raw_data_cache_size): Renamed to ...
29654         (__x86_raw_data_cache_size): This.
29655         (__x86_64_data_cache_size_half): Renamed to ...
29656         (__x86_data_cache_size_half): This.
29657         (__x86_64_raw_data_cache_size_half): Renamed to ...
29658         (__x86_raw_data_cache_size_half): This.
29659         (__x86_64_shared_cache_size): Renamed to ...
29660         (__x86_shared_cache_size): This.
29661         (__x86_64_raw_shared_cache_size): Renamed to ...
29662         (__x86_raw_shared_cache_size): This.
29663         (__x86_64_shared_cache_size_half): Renamed to ...
29664         (__x86_shared_cache_size_half): This.
29665         (__x86_64_raw_shared_cache_size_half): Renamed to ...
29666         (__x86_raw_shared_cache_size_half): This.
29667         * sysdeps/x86_64/memcpy.S: Updated.
29668         * sysdeps/x86_64/memset.S: Likewise.
29669         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
29670         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29671         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29673 2013-01-04  David S. Miller  <davem@davemloft.net>
29675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29677 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
29679         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
29680         1 to avoid redefinition warning.
29681         (__USE_GNU): Don't define.
29682         (init_signaling_nan): Protoize.
29684         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29686 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29688         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
29689         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
29690         (__cpymn): Likewise.
29691         (norm): Remove commented code.
29692         (denorm): Likewise.
29693         (__mp_dbl): Likewise.
29694         (__inv): Likewise.
29695         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
29696         (__cpymn): Likewise.
29697         (norm): Remove commented code.
29698         (denorm): Likewise.
29699         (__mp_dbl): Likewise.
29700         (__inv): Likewise.
29702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
29703         mp_no value for 1.0 and 2.0.
29704         (norm): Use RADIXI instead of radixi.d.
29705         (denorm): Likewise.
29706         (__mul): Use 0.0 instead of zero.d.
29707         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
29708         mp_no value for 1.0 and 2.0.
29709         (norm): Use RADIXI instead of radixi.d.
29710         (denorm): Likewise.
29711         (__mul): Use 0.0 instead of zero.d.
29713 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
29715         [BZ #14994]
29716         * math/s_casinh.c (__casinh): Reduce finite argument to first
29717         quadrant then set signs of results at the end.
29718         * math/s_casinhf.c (__casinhf): Likewise.
29719         * math/s_casinhl.c (__casinhl): Likewise.
29720         * math/libm-test.inc (casin_test): Add more tests.
29721         (casinh_test): Likewise.
29722         * sysdeps/i386/fpu/libm-test-ulps: Update.
29723         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29725 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
29727         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
29729         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
29731         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
29732         declarations.
29733         (denorm): Likewise.
29734         (__mp_dbl): Likewise.
29735         (__inv): Likewise.
29737         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
29738         and adjust the header comment.
29740         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
29741         variable name from declaration.
29743 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
29745         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29746         Initialize COMMON_CPUID_INDEX_7 element.
29747         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
29748         (CPUID_RTM): Likewise.
29749         (HAS_RTM): Likewise.
29750         (COMMON_CPUID_INDEX_7): New enum.
29752 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
29754         [BZ #14981]
29755         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
29756         size is zero, record memory as freed.
29758 2013-01-03  Andreas Jaeger  <aj@suse.de>
29760         * po/ia.po: Add new Interlingua translation.
29762 2012-01-03  Allan McRae  <allan@archlinux.org>
29764         * locale/programs/localedef.c: Fix description of '--posix' flag.
29766 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
29768         * NEWS: Update dates in second copyright notice.
29769         * README: Update copyright dates in example.
29770         * manual/libc.texinfo: Update copyright dates.
29771         * scripts/test-installation.pl: Update copyright date in --version
29772         output.
29774         * hurd/ctty-input.c: Fix copyright notice formatting.
29775         * hurd/ctty-output.c: Likewise.
29776         * hurd/dtable.c: Likewise.
29777         * hurd/hurd-raise.c: Likewise.
29778         * hurd/hurdprio.c: Likewise.
29779         * hurd/msgportdemux.c: Likewise.
29780         * misc/sys/file.h: Likewise.
29781         * misc/sys/ioctl.h: Likewise.
29782         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
29783         * sysdeps/mach/hurd/chdir.c: Likewise.
29784         * sysdeps/mach/hurd/fchdir.c: Likewise.
29785         * sysdeps/mach/hurd/rename.c: Likewise.
29786         * sysdeps/mach/hurd/rmdir.c: Likewise.
29787         * sysdeps/mach/hurd/seekdir.c: Likewise.
29788         * sysdeps/mach/hurd/setsid.c: Likewise.
29789         * sysdeps/posix/wait3.c: Likewise.
29791         * All files with FSF copyright notices: Update copyright dates
29792         using scripts/update-copyrights.
29793         * intl/plural.c: Regenerated.
29794         * locale/programs/charmap-kw.h: Likewise.
29795         * locale/programs/locfile-kw.h: Likewise.
29797 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29799         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
29800         four values.
29802         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
29803         calculation loop and add branch prediction.
29805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
29806         check access beyond bounds of m1np.
29808         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
29809         MPTWO.
29810         (__inv): Remove local variable MPTWO to use the global
29811         constant.
29812         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
29813         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
29814         variable MPTWO.
29815         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
29816         MP3HALFS static const.
29818 2013-01-01  David S. Miller  <davem@davemloft.net>
29820         * po/ca.po: Update from translation team.
29822 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
29824         * scripts/update-copyrights: New file.
29825         * Makeconfig: Reformat copyright notice.
29826         * ctype/ctype.h: Likewise.
29827         * debug/swprintf_chk.c: Likewise.
29828         * elf/dl-cache.c: Likewise.
29829         * elf/dl-debug.c: Likewise.
29830         * elf/dl-object.c: Likewise.
29831         * grp/initgroups.c: Likewise.
29832         * hurd/Makefile: Likewise.
29833         * hurd/hurd/signal.h: Likewise.
29834         * hurd/hurdfault.c: Likewise.
29835         * hurd/hurdioctl.c: Likewise.
29836         * hurd/hurdlookup.c: Likewise.
29837         * hurd/intr-msg.c: Likewise.
29838         * iconv/gconv_open.c: Likewise.
29839         * libio/swprintf.c: Likewise.
29840         * locale/lc-ctype.c: Likewise.
29841         * locale/nl_langinfo.c: Likewise.
29842         * mach/Machrules: Likewise.
29843         * mach/Makefile: Likewise.
29844         * malloc/obstack.h: Likewise.
29845         * manual/Makefile: Likewise.
29846         * manual/tsort.awk: Likewise.
29847         * misc/bits/stab.def: Likewise.
29848         * nis/nis_print_group_entry.c: Likewise.
29849         * nis/nis_table.c: Likewise.
29850         * nis/nss_compat/compat-pwd.c: Likewise.
29851         * nis/nss_compat/compat-spwd.c: Likewise.
29852         * po/Makefile: Likewise.
29853         * posix/fnmatch.c: Likewise.
29854         * posix/regex.h: Likewise.
29855         * resolv/Makefile: Likewise.
29856         * resolv/nss_dns/dns-network.c: Likewise.
29857         * resolv/res_hconf.c: Likewise.
29858         * scripts/gen-sorted.awk: Likewise.
29859         * soft-fp/soft-fp.h: Likewise.
29860         * stdio-common/printf.h: Likewise.
29861         * stdlib/monetary.h: Likewise.
29862         * stdlib/random.c: Likewise.
29863         * stdlib/random_r.c: Likewise.
29864         * sysdeps/generic/Makefile: Likewise.
29865         * sysdeps/gnu/Makefile: Likewise.
29866         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
29867         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
29868         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
29869         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
29870         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
29871         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
29872         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
29873         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
29874         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
29875         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
29876         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
29877         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
29878         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
29879         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
29880         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
29881         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
29882         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
29883         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
29884         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
29885         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
29886         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
29887         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
29888         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
29889         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
29890         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
29891         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
29892         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
29893         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
29894         * sysdeps/mach/hurd/errnos.awk: Likewise.
29895         * sysdeps/mach/hurd/fork.c: Likewise.
29896         * sysdeps/mach/hurd/getcwd.c: Likewise.
29897         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
29898         * sysdeps/mach/hurd/mmap.c: Likewise.
29899         * sysdeps/mach/hurd/utimes.c: Likewise.
29900         * sysdeps/mach/hurd/xmknod.c: Likewise.
29901         * sysdeps/posix/profil.c: Likewise.
29902         * sysdeps/posix/readdir_r.c: Likewise.
29903         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29904         * sysdeps/powerpc/bits/setjmp.h: Likewise.
29905         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
29906         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
29907         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
29908         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
29909         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
29910         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29911         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29912         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
29913         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
29914         * sysdeps/pthread/lio_listio.c: Likewise.
29915         * sysdeps/sparc/dl-procinfo.h: Likewise.
29916         * sysdeps/unix/i386/sysdep.S: Likewise.
29917         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
29918         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
29919         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
29920         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
29921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29922         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29923         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29924         * sysdeps/unix/sysv/linux/speed.c: Likewise.
29925         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
29926         * sysdeps/wordsize-32/divdi3.c: Likewise.
29927         * time/sys/time.h: Likewise.
29928         * wcsmbs/Makefile: Likewise.
29930 2013-01-01  David S. Miller  <davem@davemloft.net>
29932         * po/fr.po: Update from translation team.
29934         * catgets/gencat.c: Update copyright year.
29935         * csu/version.c: Likewise.
29936         * debug/catchsegv.sh: Likewise.
29937         * debug/pcprofiledump.c: Likewise.
29938         * debug/xtrace.sh: Likewise.
29939         * elf/ldconfig.c: Likewise.
29940         * elf/ldd.bash.in: Likewise.
29941         * elf/pldd.c: Likewise.
29942         * elf/sotruss.ksh: Likewise.
29943         * elf/sprof.c: Likewise.
29944         * iconv/iconv_prog.c: Likewise.
29945         * iconv/iconvconfig.c: Likewise.
29946         * locale/programs/locale.c: Likewise.
29947         * locale/programs/localedef.c: Likewise.
29948         * login/programs/pt_chown.c: Likewise.
29949         * malloc/memusage.sh: Likewise.
29950         * malloc/memusagestat.c: Likewise.
29951         * malloc/mtrace.pl: Likewise.
29952         * nscd/nscd.c: Likewise.
29953         * nss/getent.c: Likewise.
29954         * nss/makedb.c: Likewise.
29955         * posix/getconf.c: Likewise.
29957 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
29959         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
29960         numbers.
29962 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
29964         * math/bits/mathcalls.h (modf): Use __nonnull.
29966 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29968         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
29969         (split): Use macro CN instead of the bare value.
29970         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
29971         could be used.
29972         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
29973         instead of the bare value.
29974         (power1): Likewise.
29976 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29978         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
29979         __ATAN_TWOM.
29980         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
29982         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
29983         their values.
29984         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
29985         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29986         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
29987         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
29989 2012-12-28  Andreas Jaeger  <aj@suse.de>
29991         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
29992         values are from Linux 3.7.
29994         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
29995         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
29997 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29999         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
30000         TRUE case.
30002         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
30003         (norm): Likewise.
30004         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
30005         variables with preprocessor constants.
30006         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30007         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30008         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30010 2012-12-27  Bruno Haible  <bruno@clisp.org>
30012         [BZ #14317]
30013         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
30014         only if needed.
30016 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30018         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
30019         and use variable directly.
30020         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
30022         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
30023         MPONE.
30024         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
30025         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
30026         variable MPONE.
30027         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
30028         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
30029         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
30030         include directive.  Remove local variable MPONE.
30031         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
30032         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
30033         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30035 2012-12-25  David S. Miller  <davem@davemloft.net>
30037         * version.h (RELEASE): Set to "development".
30038         (VERSION): Set to "2.17.90".
30039         * NEWS: Add 2.18 section.
30041 2012-12-21  David S. Miller  <davem@davemloft.net>
30043         * po/hr.po: Update from translation team.
30045 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30047         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
30049 2012-12-19  Steve Ellcey  <sellcey@mips.com>
30051         * NEWS:  Mention new memcpy for MIPS.
30053 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30055         * manual/contrib.texi (Contributors): Spelling correction.
30057 2012-12-15  David S. Miller  <davem@davemloft.net>
30059         * po/ru.po: Update from translation team.
30061 2012-12-13  David S. Miller  <davem@davemloft.net>
30063         * NEWS: Mention IFUNC testsuite enhancements.
30065         * po/pl.po: Update from translation team.
30066         * po/bg.po: Likewise.
30068         * manual/contrib.texi (Contributors): Update entries for Hongjiu
30069         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
30071 2012-12-11  David S. Miller  <davem@davemloft.net>
30073         * po/sv.po: Update from translation team.
30075         * po/vi.po: Update from translation team.
30077         * po/cs.po: Update from translation team.
30079         * po/de.po: Update from translation team.
30080         * po/eo.po: Likewise.
30081         * po/nl.po: Likewise.
30083 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
30085         [BZ #14246]
30086         * manual/argp.texi (Argp Helper Functions): Move node to follow
30087         Argp Parsing State.
30089         [BZ #14872]
30090         * manual/conf.texi (Limits on File System Capacity): Mention if
30091         terminating null is included in the max size.
30093 2012-12-10  Andreas Jaeger  <aj@suse.de>
30095         * po/cs.po: Update from translation team.
30097 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30099         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
30100         void pointer and cast to uintptr_t.
30101         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
30102         path.
30103         * sysdeps/s390/s390-64/memcpy.S: Likewise.
30104         * sysdeps/s390/s390-64/memset.S: Likewise.
30106 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
30108         [BZ #14833]
30109         * menual/message.texi (Message Translation): Fix typos.
30110         (Helper programs for gettext): Likewise.
30112 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
30114         [BZ #14898]
30115         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
30116         Change to -1.
30118 2012-12-07  David S. Miller  <davem@davemloft.net>
30120         * po/libc.pot: Update.
30122 2012-12-07  Richard Henderson  <rth@redhat.com>
30124         [BZ #10114]
30125         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
30126         normal/normal case to before the switch.
30127         (_FP_DIV): Likewise.
30129 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
30130             Mike Frysinger  <vapier@gentoo.org>
30132         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
30133         check for __NR_fadvise64_64.
30135 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
30137         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
30138         0, not just to plain "0" as a statement.
30139         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
30140         with cw.
30142 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
30144         * NEWS: Use sourceware.org in Bugzilla URL.
30146 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
30148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30149         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30151         * stdio-common/tst-put-error.c (do_test): Add newline to the
30152         padded test to ensure flush.
30154 2012-12-05  Jeff Law  <law@redhat.com>
30156         * sunrpc/etc.rpc (fedfs_admin): Add entry.
30158 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
30160         * README: Don't refer to ports add-on as distributed separately.
30161         Mention AArch64 in list of systems supported in the ports add-on.
30163         * LICENSES: Add more non-FSF copyright and license notices.
30165         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
30166         ((unused)).
30168         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
30170         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
30171         10000 as width of padded output.
30173 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30175         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
30177         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
30178         variable LX with __attribute__ ((unused)).
30179         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
30180         Likewise.
30181         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
30182         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
30183         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
30184         with __attribute__ ((unused)).
30186 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
30188         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
30190 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
30192         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
30193         (CFLAGS-nldbl-acos.c): New variable.
30194         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
30195         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
30196         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
30197         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
30198         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
30199         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
30200         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
30201         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
30202         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
30203         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
30204         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
30205         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
30206         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
30207         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
30208         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
30209         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
30210         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
30211         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
30212         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
30213         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
30214         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
30215         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
30216         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
30217         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
30218         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
30219         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
30220         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
30221         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
30222         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
30223         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
30224         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
30225         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
30226         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
30227         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
30228         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
30229         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
30230         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
30231         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
30232         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
30233         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
30234         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
30235         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
30236         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
30237         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
30238         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
30239         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
30240         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
30241         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
30242         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
30243         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
30244         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
30245         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
30246         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
30247         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
30248         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
30249         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
30250         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
30251         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
30252         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
30253         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
30254         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
30255         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
30256         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
30257         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
30258         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
30259         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
30260         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
30261         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
30262         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
30263         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
30264         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
30265         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
30266         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
30267         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
30268         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
30269         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
30270         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
30271         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
30272         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
30273         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
30274         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
30275         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
30276         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
30277         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
30278         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
30279         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
30280         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
30281         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
30282         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
30283         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
30284         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
30285         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
30286         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
30287         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
30288         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
30289         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
30290         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30293         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
30295         [BZ #14914]
30296         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
30297         whole low double instead of just low 47 bits when splitting values
30298         into two parts.
30300 2012-12-03  Allan McRae  <allan@archlinux.org>
30302         * manual/stdio.texi (Predefined Printf Handlers): Remove
30303         @hsep and @vsep usage.
30305 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
30307         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
30308         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
30310 2012-12-03  Jeff Law  <law@redhat.com>
30312         * time/sys/time.h (settimeofday): Do not mark TV argument
30313         as __nonnull.
30315 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
30317         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
30318         when currently writing and seek to current position when not.
30319         * libio/Makefile (tests): Remove bug-fclose1.
30320         * libio/bug-fclose1.c: Delete.
30322 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
30324         * manual/arith.texi (feenableexcept): Fix typo.
30325         (fedisableexcept): Likewise.
30327 2012-11-30  Roland McGrath  <roland@hack.frob.com>
30329         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
30330         second, differently-typed declaration, rather than a cast.
30332 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
30334         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
30335         * include/rpc/svc.h: ... here.
30337 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
30339         [BZ #13013]
30340         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
30341         depending n and resplen2 to catch cases where answer
30342         equals answerp2.
30344 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
30346         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
30347         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
30349 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
30351         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
30353 2012-11-29  Roland McGrath  <roland@hack.frob.com>
30355         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
30357 2012-11-28  Jeff Law  <law@redhat.com>
30359         [BZ #13761]
30360         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
30361         dataset_temporary.  Track alloca usage into alloca_used.
30362         If dataset is large allocate and release it via malloc/free.
30364 2012-06-04  Florian Weimer  <fweimer@redhat.com>
30366         [BZ #14197]
30367         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
30369 2012-11-28  David S. Miller  <davem@davemloft.net>
30371         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30373 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30375         [BZ #14803]
30376         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
30377         of pi/2 rounded to nearest to 64 bits.
30378         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
30379         nearest to 64 bits.
30380         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
30381         bits.
30383 2012-11-28  Jeff Law <law@redhat.com>
30384             Martin Osvald <mosvald@redhat.com>
30386         [BZ #14889]
30387         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
30388         * sunrpc/svc.c: Include time.h.
30389         (__svc_accept_failed): New function.
30390         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
30391         any reason other than EINTR, call __svc_accept_failed.
30392         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
30393         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
30395 2012-11-28  Andreas Schwab  <schwab@suse.de>
30397         * scripts/abilist.awk: Also handle indirect functions in .opd
30398         section.
30400 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
30402         [BZ #13881]
30403         * sysdeps/x86/fpu/powl_helper.c: New file.
30404         * sysdeps/x86/fpu/Makefile: Likewise.
30405         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
30406         (p3): New object.
30407         (__ieee754_powl): Use __powl_helper for finite arguments except
30408         integer exponents below 8.
30409         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
30410         (p3): New object.
30411         (__ieee754_powl): Use __powl_helper for finite arguments except
30412         integer exponents below 8.
30413         * math/libm-test.inc (pow_test): Add more tests and enable some
30414         previously disabled tests.
30415         * sysdeps/i386/fpu/libm-test-ulps: Update.
30416         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30418 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30419             Carlos O'Donell  <carlos_odonell@mentor.com>
30421         * nss/makedb.c (is_prime): Assert that input is odd and greater
30422         than 4.  Note that fact in a comment too.
30423         (next_prime): Add 4 to input.
30425 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30427         [BZ #11741]
30428         * libio/Makefile (tests): Add test case tst-fwrite-error.
30429         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
30430         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
30431         * libio/tst-fwrite-error.c: New test case.
30433 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
30435         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
30436         before casting to void *.
30437         * include/libc-internal.h (__pointer_type): New macro.
30438         (__integer_if_pointer_type_sub): Likewise.
30439         (__integer_if_pointer_type): Likewise.
30440         (cast_to_integer): Likewise.
30441         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
30442         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
30443         before casting to atomic64_t.
30444         (atomic_exchange_acq): Likewise.
30445         (__arch_exchange_and_add_body): Likewise.
30446         (__arch_add_body): Likewise.
30447         (atomic_add_negative): Likewise.
30448         (atomic_add_zero): Likewise.
30450 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
30452         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
30453         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
30454         (add_fdes): Likewise.
30455         (linear_search_fdes): Likewise.
30456         (binary_search_unencoded_fdes): Likewise.
30458 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
30460         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
30462 2012-11-24  Adam Conrad  <adconrad@0c3.net>
30464         * configure.in: Autodetect C++ header directories.
30465         * configure: Regenerated.
30467 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
30469         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
30471 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
30473         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30475 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
30477         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
30478         LDBL_MANT_DIG == 106]: Disable some tests.
30479         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30480         Likewise.
30481         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
30482         Likewise.
30484         [BZ #14871]
30485         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
30486         input for small inputs.  Return +/- pi/2 for large inputs.
30487         * math/libm-test.inc (atan_test): Add more tests.
30489         * sysdeps/generic/unwind-dw2-fde-glibc.c
30490         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
30491         __attribute__ ((unused)).
30493         [BZ #14645]
30494         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
30495         x * y if x and y are nonzero and z is zero.
30497         [BZ #14811]
30498         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
30499         nonzero exponents with absolute value below 0x1p-117 to +/-
30500         0x1p-117.
30502         [BZ #14869]
30503         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
30504         up arguments below 2**-450, not just those below 2**-500.
30505         * math/libm-test.inc (hypot_test): Add another test.
30507         [BZ #14868]
30508         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
30509         Return a+b for ratio over 2**120, not 2**60.
30510         * math/libm-test.inc (hypot_test): Add another test.
30512         * math/libm-test.inc (clog_test): Use
30513         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
30514         (clog10_test): Likewise.
30516         [BZ #6778]
30517         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
30519 2012-11-22  Andreas Schwab  <schwab@suse.de>
30521         * sysdeps/i386/fpu/libm-test-ulps: Update.
30523 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
30525         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
30526         printf output with newline.
30528 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30530         [BZ #14865]
30531         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
30532         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
30533         -z nodlopen, -z initfirst and -z execstack support.
30534         * configure: Regenerated.
30536         * elf/elf.h (DF_1_NODIRECT): New macro.
30537         (DF_1_IGNMULDEF): Likewise.
30538         (DF_1_NOKSYMS): Likewise.
30539         (DF_1_NOHDR): Likewise.
30540         (DF_1_EDITED): Likewise.
30541         (DF_1_NORELOC): Likewise.
30542         (DF_1_SYMINTPOSE): Likewise.
30543         (DF_1_GLOBAUDIT): Likewise.
30544         (DF_1_SINGLETON): Likewise.
30545         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
30546         DT_1_SUPPORTED_MASK bits.
30547         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
30549 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
30551         * sysdeps/unix/make-syscalls.sh: Document prefixes.
30553 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
30555         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
30556         macro.
30558         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
30559         (sendmmsg): Move declarations...
30560         * socket/sys/socket.h: ... here.
30561         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
30562         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
30563         include it from...
30564         * socket/recvmmsg.c: ... this new file.
30565         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
30566         (sendmmsg): Rename to __sendmmsg, create weak alias and make
30567         definition of __sendmmsg hidden.
30568         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
30569         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
30570         Move ENOSYS stub into and include it from...
30571         * socket/sendmmsg.c: ... this new file.
30572         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
30573         (sysdep_routines): Move recvmmsg and sendmmsg...
30574         * socket/Makefile (routines): ... here.
30575         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
30576         (GLIBC_PRIVATE): Add __sendmmsg.
30577         * include/sys/socket.h (__sendmmsg): Add declarations.
30578         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
30579         sendmmsg.
30581 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
30583         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
30584         variable I1 with __attribute__ ((unused)).
30585         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
30587 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30589         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
30590         DUMMY variables with __attribute__ ((unused)).
30592         * bits/byteswap.h: Include <bits/types.h>.
30593         (__bswap_64): Use __uint64_t instead of unsigned long long int.
30595 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30597         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
30598         string_t.  Do not manually set errno.
30599         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
30600         length with __strnlen.  Make sure to both set errno and return it on
30601         failure.
30603 2012-11-19  David S. Miller  <davem@davemloft.net>
30605         With help from Joseph Myers.
30606         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
30607         very large arguments properly.
30608         * math/libm-test.inc (atan_test): New tests.
30609         (atan2_test): New tests.
30610         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30611         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30613 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
30615         [BZ #14856]
30616         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
30617         Define to 3.
30619         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
30620         [POSIX] (EADDRNOTAVAIL): Likewise.
30621         [POSIX] (EAFNOSUPPORT): Likewise.
30622         [POSIX] (EALREADY): Likewise.
30623         [POSIX] (ECONNABORTED): Likewise.
30624         [POSIX] (ECONNREFUSED): Likewise.
30625         [POSIX] (ECONNRESET): Likewise.
30626         [POSIX] (EDESTADDRREQ): Likewise.
30627         [POSIX] (EDQUOT): Likewise.
30628         [POSIX] (EHOSTUNREACH): Likewise.
30629         [POSIX] (EIDRM): Likewise.
30630         [POSIX] (EISCONN): Likewise.
30631         [POSIX] (ELOOP): Likewise.
30632         [POSIX] (EMULTIHOP): Likewise.
30633         [POSIX] (ENETDOWN): Likewise.
30634         [POSIX] (ENETUNREACH): Likewise.
30635         [POSIX] (ENOBUFS): Likewise.
30636         [POSIX] (ENODATA): Likewise.
30637         [POSIX] (ENOLINK): Likewise.
30638         [POSIX] (ENOMSG): Likewise.
30639         [POSIX] (ENOPROTOOPT): Likewise.
30640         [POSIX] (ENOSR): Likewise.
30641         [POSIX] (ENOSTR): Likewise.
30642         [POSIX] (ENOTCONN): Likewise.
30643         [POSIX] (ENOTSOCK): Likewise.
30644         [POSIX] (EOPNOTSUPP): Likewise.
30645         [POSIX] (EOVERFLOW): Likewise.
30646         [POSIX] (EPROTO): Likewise.
30647         [POSIX] (EPROTONOSUPPORT): Likewise.
30648         [POSIX] (EPROTOTYPE): Likewise.
30649         [POSIX] (ESTALE): Likewise.
30650         [POSIX] (ETIME): Likewise.
30651         [POSIX] (ETXTBSY): Likewise.
30652         [POSIX] (EWOULDBLOCK): Likewise.
30653         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
30654         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
30655         [POSIX] (SEEK_CUR): Likewise.
30656         [POSIX] (SEEK_END): Likewise.
30657         [POSIX || UNIX98] (mode_t): Do not require.
30658         [POSIX] (off_t): Likewise.
30659         [POSIX] (pid_t): Likewise.
30660         [POSIX] (sys/stat.h): Do not allow header.
30661         [POSIX] (unistd.h): Likewise.
30662         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
30663         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
30664         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
30665         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
30666         require.
30667         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
30668         sigevent): Specify elements.
30669         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
30670         entry.
30671         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
30672         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
30674         * conform/data/cpio.h-data [POSIX]: Disable whole file.
30675         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
30676         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
30677         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
30678         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
30679         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
30680         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
30681         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
30682         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
30683         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
30684         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
30685         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
30686         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
30687         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
30688         Likewise.
30689         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
30690         Likewise.
30691         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
30692         Likewise.
30693         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
30694         Likewise.
30695         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
30696         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
30697         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
30698         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
30699         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
30700         Specify lower bound on value.
30701         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
30702         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
30703         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
30704         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
30705         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
30706         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
30707         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
30708         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
30709         value.
30710         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
30711         as optional.
30712         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
30713         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
30714         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
30715         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
30716         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
30717         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
30718         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
30719         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
30720         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
30721         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
30722         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
30723         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
30724         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
30725         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
30726         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
30727         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
30728         entry.
30729         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
30730         optional.
30731         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
30732         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
30733         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
30734         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
30735         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
30736         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
30737         Likewise.
30738         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
30739         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
30740         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
30741         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
30742         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
30743         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
30744         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
30745         as optional.
30746         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
30747         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
30748         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
30749         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
30750         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
30751         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
30752         specify as optional.
30753         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
30754         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
30755         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
30756         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
30757         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
30758         [XPG3] (NL_LANGMAX): Likewise.
30759         [POSIX || XPG3] (NL_MSGMAX): Likewise.
30760         [POSIX || XPG3] (NL_NMAX): Likewise.
30761         [POSIX || XPG3] (NL_SETMAX): Likewise.
30762         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
30763         [XPG3] (NZERO): Likewise.
30764         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
30765         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
30766         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
30767         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
30768         (REG_ERANGE): Expect.
30769         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
30770         optional-constant.
30771         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
30772         Use (void) in prototype.
30773         [POSIX] (*_t): Allow.
30774         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
30775         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
30776         (WRDE_BADVAL): Expect.
30778         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
30779         expect.
30780         [XPG3 || XPG4] (O_RSYNC): Likewise.
30781         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
30782         Likewise.
30783         [XPG3 || XPG4] (pthread_sigmask): Likewise.
30784         [XPG3 || XPG4] (sigqueue): Likewise.
30785         [XPG3 || XPG4] (sigtimedwait): Likewise.
30786         [XPG3 || XPG4] (sigwaitinfo): Likewise.
30787         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
30788         [XPG3 || XPG4] (vsnprintf): Likewise.
30789         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
30790         Likewise.
30791         [XPG3 || XPG4] (blksize_t): Likewise.
30792         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
30793         Likewise.
30794         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
30795         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
30796         [XPG3 || XPG4] (struct itimerspec): Likewise.
30797         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
30798         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
30799         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
30800         [XPG3 || XPG4] (clockid_t): Likewise.
30801         [XPG3 || XPG4] (timer_t): Likewise.
30802         [XPG3 || XPG4] (clock_getres): Likewise.
30803         [XPG3 || XPG4] (clock_gettime): Likewise.
30804         [XPG3 || XPG4] (clock_settime): Likewise.
30805         [XPG3 || XPG4] (nanosleep): Likewise.
30806         [XPG3 || XPG4] (timer_create): Likewise.
30807         [XPG3 || XPG4] (timer_delete): Likewise.
30808         [XPG3 || XPG4] (timer_gettime): Likewise.
30809         [XPG3 || XPG4] (timer_getoverrun): Likewise.
30810         [XPG3 || XPG4] (timer_settime): Likewise.
30811         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
30812         [XPG3 || XPG4] (getlogin_r): Likewise.
30813         [XPG3 || XPG4] (pread): Likewise.
30814         [XPG3 || XPG4] (pthread_atfork): Likewise.
30815         [XPG3 || XPG4] (pwrite): Likewise.
30817         [BZ #14835]
30818         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
30819         <bits/siginfo.h>.
30821 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
30823         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
30824         finalizing MALLSTREAM.
30826         * sysdeps/mach/hurd/syncfs.c: New file.
30828 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30830         [BZ #14719]
30831         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
30832         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
30833         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
30834         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
30835         (_nss_dns_gethostbyname4_r): Likewise.
30836         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
30837         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
30839 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
30841         [BZ #13763]
30842         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
30844 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
30846         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
30847         * elf/cache.c (print_entry): Print ",AArch64" for
30848         FLAG_AARCH64_LIB64
30850         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
30851         * elf/cache.c (print_entry): Print ",hard-float" for
30852         FLAG_ARM_LIBHF.
30854 2012-11-18  David S. Miller  <davem@davemloft.net>
30856         With help from Joseph Myers.
30857         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
30858         cutoff to 2**-13.
30859         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
30860         cutoff to 2**-25.
30861         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
30862         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
30863         small.
30864         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
30865         * math/libm-test.inc (y0_test): New tests.
30866         (y1_test): New tests.
30867         * sysdeps/i386/fpu/libm-test-ulps: Update.
30868         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30869         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30871 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
30873         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
30874         64-bit targets.
30875         * configure: Regenerated.
30877 2012-11-17  David S. Miller  <davem@davemloft.net>
30879         [BZ #14811]
30880         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
30881         nonzero exponents with absolute value below 0x1p-128 to +/-
30882         0x1p-128.
30884 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
30886         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
30888         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
30890         * posix/getconf-speclist.c: New file.
30891         * posix/posix-envs.def: Likewise.
30892         * posix/confstr.c (START_ENV_GROUP): New macro.
30893         (END_ENV_GROUP): Likewise.
30894         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30895         (KNOWN_PRESENT_ENV_STRING): Likewise.
30896         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30897         (UNKNOWN_ENVIRONMENT): Likewise.
30898         (confstr): Include posix-envs.def instead of handling
30899         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
30900         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
30901         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
30902         (END_ENV_GROUP): Likewise.
30903         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
30904         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
30905         (UNKNOWN_ENVIRONMENT): Likewise.
30906         (__sysconf): Include posix-envs.def instead of handling associated
30907         cases directly here.
30908         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
30909         preprocessing getconf-speclist.c rather than running getconf or
30910         generating empty file.
30912 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
30914         * scripts/check-local-headers.sh: Ignore 'mach' headers.
30916 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
30918         [BZ #14672]
30919         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
30921 2012-11-16  David S. Miller  <davem@davemloft.net>
30923         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
30924         smaller than LDBL_EPSILON/2.0L, just return xm1.
30926 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
30928         * elf/tst-array1.c (init): Set constructor priority to 1000.
30929         (fini): Set destructor priority to 1000.
30930         * elf/tst-array2dep.c: Likewise.
30932 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30934         [BZ #11741]
30935         * libio/fileops.c (_IO_new_file_write): Correctly return error.
30936         (_IO_new_file_xsputn): Also return EOF if none of the input
30937         data was written when overflow failed.
30938         * libio/iopadn.c (_IO_padn): Likewise.
30939         * libio/iowpadn.c (_IO_wpadn): Likewise.
30940         * stdio-common/tst-put-error.c: Add copyright notice.
30941         (do_test): Add case for printing padded string.
30942         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
30943         _IO_padn returned error.
30944         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
30945         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
30946         return EOF.
30948 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30950         * libio/libioP.h: Add comment note that the references to C++
30951         bits are now obsolete.
30953 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30955         * math/libm-test.inc (check_complex): Use asprintf.
30957 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
30959         * debug/pcprofiledump.c (print_version): Update copyright year.
30960         * malloc/memusagestat.c (print_version): Likewise.
30962 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
30964         [BZ #14831]
30965         * elf/Makefile (tests): Add tst-audit8.
30966         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
30967         ($(objpfx)tst-audit8.out): New target.
30968         (tst-audit8-ENV): New variable.
30969         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
30970         audit if l_reloc_result is NULL.
30971         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
30972         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
30973         * elf/tst-audit8.c: New file.
30975 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30977         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
30978         * misc/Makefile (CFLAGS-select.c): Define.
30979         * posix/Makefile (CFLAGS-pause.c): Define.
30981 2012-11-13  David S. Miller  <davem@davemloft.net>
30983         * crypt/Makefile: Move test targets after toplevel Rules
30984         inclusion.  Grab any necessary sysdep routines when linking.
30985         * crypt/md5.c (md5_process_block): Remove define, we will always
30986         name it __md5_process_block.
30987         (md5_finish_ctx): Update md5_process_block call.
30988         (md5_stream): Likewise.
30989         (md5_process_bytes): Likewise.
30990         (md5_process_block): Rename to __md5_process_block and move to ...
30991         * crypt/md5-block.c: ... here.
30992         * crypt/sha256.c (sha256_process_block): Move to ...
30993         * crypt/sha256-block.c: ... here.
30994         * crypt/sha512.c (sha512_process_block): Move to ...
30995         * crypt/sha512-block.c: ... here.
30996         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
30997         path.
30998         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
30999         * sysdeps/sparc/sparc64/multiarch/Makefile
31000         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
31001         crypt subdir.
31002         (localedef-aux): Add md5 crypto assembler when in locale subdir.
31003         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
31004         multiarch changes.
31005         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
31006         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
31007         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
31008         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
31009         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
31010         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
31011         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
31012         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
31013         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
31014         file.
31015         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
31016         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
31017         file.
31018         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
31020 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
31022         * timezone/tzselect.ksh: Update from tzcode git revision
31023         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
31024         * timezone/zdump.c: Likewise.
31025         * timezone/zic.c: Likewise.
31026         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
31027         in TZVERSION setting, not $(PKGVERSION).
31028         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
31029         REPORT_BUGS_TO settings.
31031         [BZ #14838]
31032         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
31033         macro.
31035 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31037         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
31038         detection to immediately after _FP_ROUND().
31039         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
31040         bits are 0.
31042 2012-11-11  David S. Miller  <davem@davemloft.net>
31044         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
31045         inttypes.h
31046         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
31047         __close rather than their public counterparts.
31049 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
31051         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
31052         file.
31053         [UNIX98] (sem_timedwait): Do not expect.
31054         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
31055         [XPG4 || UNIX98] (sockatmark): Do not expect.
31056         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
31057         (clock_getcpuclockid): Do not expect.
31058         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
31059         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
31060         Do not expect.
31061         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
31062         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
31063         [UNIX98] (vwscanf): Likewise.
31064         [UNIX98] (vswscanf): Likewise.
31066 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
31068         * timezone/version.h: Remove file.
31069         * timezone/README: Do not refer to version.h.
31070         * timezone/Makefile ($(objpfx)zic.o): New dependency on
31071         $(objpfx)version.h.
31072         ($(objpfx)zdump.o): Likewise.
31073         ($(objpfx)version.h): New target.
31075         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
31076         2012i.
31077         * timezone/README: Don't mention modification to tzselect.ksh.
31078         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
31079         work on unmodified tzselect.ksh.  Substitute version numbers in
31080         tzselect.ksh.
31082         * Makefile (format-me): Remove.
31083         (INSTALL): Adjust indentation.  Use commands directly instead of
31084         using $(format-me).
31086         * aclocal.m4 (ACX_PKGVERSION): New macro.
31087         (ACX_BUGURL): Likewise.
31088         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
31089         (PKGVERSION): New AC_DEFINE_UNQUOTED.
31090         (REPORT_BUGS_TO): Likewise.
31091         * configure: Regenerated.
31092         * config.h.in (PKGVERSION): New macro.
31093         (REPORT_BUGS_TO): Likewise.
31094         * config.make.in (PKGVERSION): New variable.
31095         (PKGVERSION_TEXI): Likewise.
31096         (REPORT_BUGS_TO): Likewise.
31097         (REPORT_BUGS_TEXI): Likewise.
31098         * Makefile (format-me): Use -I$(common-objpfx)manual.
31099         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
31100         ($(common-objpfx)manual/%): New target.
31101         (manual/%): Remove target.
31102         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
31103         (print_version): Use PKGVERSION.
31104         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
31105         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
31106         and REPORT_BUGS_TO.
31107         ($(objpfx)xtrace): Likewise.
31108         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
31109         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
31110         (print_version): Use PKGVERSION.
31111         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
31112         (do_version): Use PKGVERSION.
31113         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
31114         REPORT_BUGS_TO.
31115         (common-ldd-rewrite): Likewise.
31116         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
31117         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
31118         (print_version): Use PKGVERSION.
31119         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
31120         * elf/pldd.c (argp_program_bug_address): Remove variable.
31121         (more_help): New function.
31122         (argp): Use more_help.
31123         (print_version): Use PKGVERSION.
31124         * elf/sln.c (main): Use PKGVERSION.
31125         (usage): Use REPORT_BUGS_TO.
31126         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
31127         (top level): Use PKGVERSION.
31128         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
31129         (print_version): Use PKGVERSION.
31130         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
31131         (print_version): Use PKGVERSION.
31132         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
31133         (print_version): Use PKGVERSION.
31134         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
31135         (print_version): Use PKGVERSION.
31136         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
31137         (print_version): Use PKGVERSION.
31138         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
31139         (print_version): Use PKGVERSION.
31140         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
31141         and BUGURL.
31142         ($(objpfx)memusage): Likewise.
31143         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
31144         (do_version): Use PKGVERSION.
31145         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
31146         (print_version): Use PKGVERSION.
31147         * malloc/mtrace.pl ($PACKAGE): Remove variable.
31148         ($PKGVERSION): New variable.
31149         ($REPORT_BUGS_TO): Likewise.
31150         (usage): Use $REPORT_BUGS_TO.
31151         (top level): Use $PKGVERSION.
31152         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
31153         ($(objpfx)pkgvers.texi): New rule.
31154         ($(objpfx)stamp-pkgvers): Likewise.
31155         * manual/install.texi: Include pkgvers.texi.
31156         (--with-pkgversion): Document new configure option.
31157         (--with-bugurl): Likewise.
31158         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
31159         than necessarily for this particular distribution.  Use
31160         REPORT_BUGS_TO for where to report bugs.
31161         * INSTALL: Regenerated.
31162         * manual/libc.texinfo: Include pkgvers.texi.
31163         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
31164         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
31165         (print_version): Use PKGVERSION.
31166         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
31167         (print_version): Use PKGVERSION.
31168         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
31169         (print_version): Use PKGVERSION.
31170         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
31171         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
31172         macro.
31173         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
31174         (print_version): Use PKGVERSION.
31175         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
31176         (print_version): Use PKGVERSION.
31177         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
31178         and PKGVERSION.
31180         * timezone/checktab.awk: Update from tzcode 2012i.
31181         * timezone/ialloc.c: Likewise.
31182         * timezone/private.h: Likewise.
31183         * timezone/scheck.c: Likewise.
31184         * timezone/tzfile.h: Likewise.
31185         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
31186         (TZVERSION): Hardcode tzcode version number.
31187         * timezone/zdump.c: Update from tzcode 2012i.
31188         * timezone/zic.c: Likewise.
31189         * timezone/version.h: New file.
31190         * timezone/README: Describe version.h.  Update upstream location.
31192         [BZ #14824]
31193         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
31194         (mktemp): Enable declaration.
31195         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
31196         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
31197         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
31198         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
31199         Likewise.
31200         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
31201         Likewise.
31202         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
31203         Likewise.
31204         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
31205         Likewise.
31206         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
31207         Likewise.
31208         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
31209         Likewise.
31211         [BZ #14821]
31212         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
31213         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
31214         for copies of such integer values.
31215         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31216         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31218 2012-11-09  Andreas Jaeger  <aj@suse.de>
31220         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
31221         definitions and declarations that are provided by
31222         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
31224 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31226         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
31227         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
31228         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
31229         definition.
31231 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31233         * elf/elf.h: Update comment before AArch64 relocations.
31235 2012-11-07  David S. Miller  <davem@davemloft.net>
31237         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
31238         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
31239         (__start_context): Declare.
31240         (__makecontext_ret): Delete.
31241         (__makecontext): Hook up __start_context instead of
31242         __makecontext_ret.
31243         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
31244         (sysdep_routines): Add __start_context when in stdlib.
31246 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31248         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
31249         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
31250         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
31251         hardcoded "nm".
31252         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
31253         (READELF): New variable.  Use it instead of hardcoded "readelf".
31255 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
31257         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
31258         * sysdeps/x86/Makefile: Here.
31259         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
31260         * sysdeps/x86/tst-xmmymm.sh: This.
31262 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31264         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
31265         expectations.
31266         [UNIX98] (pthread_barrier_t): Do not expect.
31267         [UNIX98] (pthread_barrierattr_t): Likewise.
31268         [UNIX98] (pthread_spinlock_t): Likewise.
31269         [UNIX98] (pthread_barrier_destroy): Likewise.
31270         [UNIX98] (pthread_barrier_init): Likewise.
31271         [UNIX98] (pthread_barrier_wait): Likewise.
31272         [UNIX98] (pthread_barrierattr_destroy): Likewise.
31273         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
31274         [UNIX98] (pthread_barrierattr_init): Likewise.
31275         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
31276         [UNIX98] (pthread_getcpuclockid): Likewise.
31277         [UNIX98] (pthread_mutex_timedlock): Likewise.
31278         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
31279         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
31280         [UNIX98] (pthread_sigmask): Likewise.
31281         [UNIX98] (pthread_spin_destroy): Likewise.
31282         [UNIX98] (pthread_spin_init): Likewise.
31283         [UNIX98] (pthread_spin_lock): Likewise.
31284         [UNIX98] (pthread_spin_trylock): Likewise.
31285         [UNIX98] (pthread_spin_unlock): Likewise.
31286         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
31287         Do not expect.
31288         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
31289         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
31290         [XPG3 || XPG4] (pthread_cond_t): Likewise.
31291         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
31292         [XPG3 || XPG4] (pthread_key_t): Likewise.
31293         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
31294         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
31295         [XPG3 || XPG4] (pthread_once_t): Likewise.
31296         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
31297         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
31298         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
31299         [XPG3 || XPG4] (pthread_t): Likewise.
31301         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
31302         not expect.
31303         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
31305         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
31306         Change function return type to int.
31308         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
31309         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
31310         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
31311         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
31312         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
31313         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
31314         [!POSIX] (posix_madvise): Likewise.
31315         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
31316         && !UNIX98].
31317         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
31318         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
31319         (mode_t): Likewise.
31320         (posix_mem_offset): Likewise.
31321         (posix_typed_mem_get_info): Likewise.
31322         (posix_typed_mem_open): Likewise.
31324         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
31325         Change condition to [XOPEN2K8].
31327         * conform/conformtest.pl: Preprocess allow-header data with -x c
31328         instead of from stdin.
31329         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
31330         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
31331         [C99-based standards] (cerfc): Likewise.
31332         [C99-based standards] (cexp2): Likewise.
31333         [C99-based standards] (cexpm1): Likewise.
31334         [C99-based standards] (clog10): Likewise.
31335         [C99-based standards] (clog1p): Likewise.
31336         [C99-based standards] (clog2): Likewise.
31337         [C99-based standards] (clgamma): Likewise.
31338         [C99-based standards] (ctgamma): Likewise.
31339         [C99-based standards] (cerff): Likewise.
31340         [C99-based standards] (cerfcf): Likewise.
31341         [C99-based standards] (cexp2f): Likewise.
31342         [C99-based standards] (cexpm1f): Likewise.
31343         [C99-based standards] (clog10f): Likewise.
31344         [C99-based standards] (clog1pf): Likewise.
31345         [C99-based standards] (clog2f): Likewise.
31346         [C99-based standards] (clgammaf): Likewise.
31347         [C99-based standards] (ctgammaf): Likewise.
31348         [C99-based standards] (cerfl): Likewise.
31349         [C99-based standards] (cerfcl): Likewise.
31350         [C99-based standards] (cexp2l): Likewise.
31351         [C99-based standards] (cexpm1l): Likewise.
31352         [C99-based standards] (clog10l): Likewise.
31353         [C99-based standards] (clog1pl): Likewise.
31354         [C99-based standards] (clog2l): Likewise.
31355         [C99-based standards] (clgammal): Likewise.
31356         [C99-based standards] (ctgammal): Likewise.
31357         * conform/data/inttypes.h-data [C99-based standards]: Include
31358         stdint.h-data.  Remove all expectations for stdint.h contents.
31359         [C99-based standards] (PRI*): Do not allow.
31360         [C99-based standards] (SCN*): Likewise.
31361         [C99-based standards] (*_t): Likewise.
31362         [C99-based-standards] (PRId8): Expect macro.
31363         [C99-based-standards] (PRIi8): Likewise.
31364         [C99-based-standards] (PRIo8): Likewise.
31365         [C99-based-standards] (PRIu8): Likewise.
31366         [C99-based-standards] (PRIx8): Likewise.
31367         [C99-based-standards] (PRIX8): Likewise.
31368         [C99-based-standards] (SCNd8): Likewise.
31369         [C99-based-standards] (SCNi8): Likewise.
31370         [C99-based-standards] (SCNo8): Likewise.
31371         [C99-based-standards] (SCNu8): Likewise.
31372         [C99-based-standards] (SCNx8): Likewise.
31373         [C99-based-standards] (PRIdLEAST8): Likewise.
31374         [C99-based-standards] (PRIiLEAST8): Likewise.
31375         [C99-based-standards] (PRIoLEAST8): Likewise.
31376         [C99-based-standards] (PRIuLEAST8): Likewise.
31377         [C99-based-standards] (PRIxLEAST8): Likewise.
31378         [C99-based-standards] (PRIXLEAST8): Likewise.
31379         [C99-based-standards] (SCNdLEAST8): Likewise.
31380         [C99-based-standards] (SCNiLEAST8): Likewise.
31381         [C99-based-standards] (SCNoLEAST8): Likewise.
31382         [C99-based-standards] (SCNuLEAST8): Likewise.
31383         [C99-based-standards] (SCNxLEAST8): Likewise.
31384         [C99-based-standards] (PRIdFAST8): Likewise.
31385         [C99-based-standards] (PRIiFAST8): Likewise.
31386         [C99-based-standards] (PRIoFAST8): Likewise.
31387         [C99-based-standards] (PRIuFAST8): Likewise.
31388         [C99-based-standards] (PRIxFAST8): Likewise.
31389         [C99-based-standards] (PRIXFAST8): Likewise.
31390         [C99-based-standards] (SCNdFAST8): Likewise.
31391         [C99-based-standards] (SCNiFAST8): Likewise.
31392         [C99-based-standards] (SCNoFAST8): Likewise.
31393         [C99-based-standards] (SCNuFAST8): Likewise.
31394         [C99-based-standards] (SCNxFAST8): Likewise.
31395         [C99-based-standards] (PRId16): Likewise.
31396         [C99-based-standards] (PRIi16): Likewise.
31397         [C99-based-standards] (PRIo16): Likewise.
31398         [C99-based-standards] (PRIu16): Likewise.
31399         [C99-based-standards] (PRIx16): Likewise.
31400         [C99-based-standards] (PRIX16): Likewise.
31401         [C99-based-standards] (SCNd16): Likewise.
31402         [C99-based-standards] (SCNi16): Likewise.
31403         [C99-based-standards] (SCNo16): Likewise.
31404         [C99-based-standards] (SCNu16): Likewise.
31405         [C99-based-standards] (SCNx16): Likewise.
31406         [C99-based-standards] (PRIdLEAST16): Likewise.
31407         [C99-based-standards] (PRIiLEAST16): Likewise.
31408         [C99-based-standards] (PRIoLEAST16): Likewise.
31409         [C99-based-standards] (PRIuLEAST16): Likewise.
31410         [C99-based-standards] (PRIxLEAST16): Likewise.
31411         [C99-based-standards] (PRIXLEAST16): Likewise.
31412         [C99-based-standards] (SCNdLEAST16): Likewise.
31413         [C99-based-standards] (SCNiLEAST16): Likewise.
31414         [C99-based-standards] (SCNoLEAST16): Likewise.
31415         [C99-based-standards] (SCNuLEAST16): Likewise.
31416         [C99-based-standards] (SCNxLEAST16): Likewise.
31417         [C99-based-standards] (PRIdFAST16): Likewise.
31418         [C99-based-standards] (PRIiFAST16): Likewise.
31419         [C99-based-standards] (PRIoFAST16): Likewise.
31420         [C99-based-standards] (PRIuFAST16): Likewise.
31421         [C99-based-standards] (PRIxFAST16): Likewise.
31422         [C99-based-standards] (PRIXFAST16): Likewise.
31423         [C99-based-standards] (SCNdFAST16): Likewise.
31424         [C99-based-standards] (SCNiFAST16): Likewise.
31425         [C99-based-standards] (SCNoFAST16): Likewise.
31426         [C99-based-standards] (SCNuFAST16): Likewise.
31427         [C99-based-standards] (SCNxFAST16): Likewise.
31428         [C99-based-standards] (PRId32): Likewise.
31429         [C99-based-standards] (PRIi32): Likewise.
31430         [C99-based-standards] (PRIo32): Likewise.
31431         [C99-based-standards] (PRIu32): Likewise.
31432         [C99-based-standards] (PRIx32): Likewise.
31433         [C99-based-standards] (PRIX32): Likewise.
31434         [C99-based-standards] (SCNd32): Likewise.
31435         [C99-based-standards] (SCNi32): Likewise.
31436         [C99-based-standards] (SCNo32): Likewise.
31437         [C99-based-standards] (SCNu32): Likewise.
31438         [C99-based-standards] (SCNx32): Likewise.
31439         [C99-based-standards] (PRIdLEAST32): Likewise.
31440         [C99-based-standards] (PRIiLEAST32): Likewise.
31441         [C99-based-standards] (PRIoLEAST32): Likewise.
31442         [C99-based-standards] (PRIuLEAST32): Likewise.
31443         [C99-based-standards] (PRIxLEAST32): Likewise.
31444         [C99-based-standards] (PRIXLEAST32): Likewise.
31445         [C99-based-standards] (SCNdLEAST32): Likewise.
31446         [C99-based-standards] (SCNiLEAST32): Likewise.
31447         [C99-based-standards] (SCNoLEAST32): Likewise.
31448         [C99-based-standards] (SCNuLEAST32): Likewise.
31449         [C99-based-standards] (SCNxLEAST32): Likewise.
31450         [C99-based-standards] (PRIdFAST32): Likewise.
31451         [C99-based-standards] (PRIiFAST32): Likewise.
31452         [C99-based-standards] (PRIoFAST32): Likewise.
31453         [C99-based-standards] (PRIuFAST32): Likewise.
31454         [C99-based-standards] (PRIxFAST32): Likewise.
31455         [C99-based-standards] (PRIXFAST32): Likewise.
31456         [C99-based-standards] (SCNdFAST32): Likewise.
31457         [C99-based-standards] (SCNiFAST32): Likewise.
31458         [C99-based-standards] (SCNoFAST32): Likewise.
31459         [C99-based-standards] (SCNuFAST32): Likewise.
31460         [C99-based-standards] (SCNxFAST32): Likewise.
31461         [C99-based-standards] (PRId64): Likewise.
31462         [C99-based-standards] (PRIi64): Likewise.
31463         [C99-based-standards] (PRIo64): Likewise.
31464         [C99-based-standards] (PRIu64): Likewise.
31465         [C99-based-standards] (PRIx64): Likewise.
31466         [C99-based-standards] (PRIX64): Likewise.
31467         [C99-based-standards] (SCNd64): Likewise.
31468         [C99-based-standards] (SCNi64): Likewise.
31469         [C99-based-standards] (SCNo64): Likewise.
31470         [C99-based-standards] (SCNu64): Likewise.
31471         [C99-based-standards] (SCNx64): Likewise.
31472         [C99-based-standards] (PRIdLEAST64): Likewise.
31473         [C99-based-standards] (PRIiLEAST64): Likewise.
31474         [C99-based-standards] (PRIoLEAST64): Likewise.
31475         [C99-based-standards] (PRIuLEAST64): Likewise.
31476         [C99-based-standards] (PRIxLEAST64): Likewise.
31477         [C99-based-standards] (PRIXLEAST64): Likewise.
31478         [C99-based-standards] (SCNdLEAST64): Likewise.
31479         [C99-based-standards] (SCNiLEAST64): Likewise.
31480         [C99-based-standards] (SCNoLEAST64): Likewise.
31481         [C99-based-standards] (SCNuLEAST64): Likewise.
31482         [C99-based-standards] (SCNxLEAST64): Likewise.
31483         [C99-based-standards] (PRIdFAST64): Likewise.
31484         [C99-based-standards] (PRIiFAST64): Likewise.
31485         [C99-based-standards] (PRIoFAST64): Likewise.
31486         [C99-based-standards] (PRIuFAST64): Likewise.
31487         [C99-based-standards] (PRIxFAST64): Likewise.
31488         [C99-based-standards] (PRIXFAST64): Likewise.
31489         [C99-based-standards] (SCNdFAST64): Likewise.
31490         [C99-based-standards] (SCNiFAST64): Likewise.
31491         [C99-based-standards] (SCNoFAST64): Likewise.
31492         [C99-based-standards] (SCNuFAST64): Likewise.
31493         [C99-based-standards] (SCNxFAST64): Likewise.
31494         [C99-based-standards] (PRIdMAX): Likewise.
31495         [C99-based-standards] (PRIiMAX): Likewise.
31496         [C99-based-standards] (PRIoMAX): Likewise.
31497         [C99-based-standards] (PRIuMAX): Likewise.
31498         [C99-based-standards] (PRIxMAX): Likewise.
31499         [C99-based-standards] (PRIXMAX): Likewise.
31500         [C99-based-standards] (SCNdMAX): Likewise.
31501         [C99-based-standards] (SCNiMAX): Likewise.
31502         [C99-based-standards] (SCNoMAX): Likewise.
31503         [C99-based-standards] (SCNuMAX): Likewise.
31504         [C99-based-standards] (SCNxMAX): Likewise.
31505         [C99-based-standards] (PRIdPTR): Likewise.
31506         [C99-based-standards] (PRIiPTR): Likewise.
31507         [C99-based-standards] (PRIoPTR): Likewise.
31508         [C99-based-standards] (PRIuPTR): Likewise.
31509         [C99-based-standards] (PRIxPTR): Likewise.
31510         [C99-based-standards] (PRIXPTR): Likewise.
31511         [C99-based-standards] (SCNdPTR): Likewise.
31512         [C99-based-standards] (SCNiPTR): Likewise.
31513         [C99-based-standards] (SCNoPTR): Likewise.
31514         [C99-based-standards] (SCNuPTR): Likewise.
31515         [C99-based-standards] (SCNxPTR): Likewise.
31516         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
31517         allow.
31518         * conform/data/stdint.h-data: Update comments to clarify
31519         requirements.
31520         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
31521         type.
31522         [C99-based standards] (INT8_MAX): Likewise.
31523         [C99-based standards] (INT16_MIN): Likewise.
31524         [C99-based standards] (INT16_MAX): Likewise.
31525         [C99-based standards] (INT32_MIN): Likewise.
31526         [C99-based standards] (INT32_MAX): Likewise.
31527         [C99-based standards] (INT64_MIN): Likewise.
31528         [C99-based standards] (INT64_MAX): Likewise.
31529         [C99-based standards] (UINT8_MAX): Likewise.
31530         [C99-based standards] (UINT16_MAX): Likewise.
31531         [C99-based standards] (UINT32_MAX): Likewise.
31532         [C99-based standards] (UINT64_MAX): Likewise.
31533         [C99-based standards] (INT_LEAST8_MIN): Likewise.
31534         [C99-based standards] (INT_LEAST8_MAX): Likewise.
31535         [C99-based standards] (INT_LEAST16_MIN): Likewise.
31536         [C99-based standards] (INT_LEAST16_MAX): Likewise.
31537         [C99-based standards] (INT_LEAST32_MIN): Likewise.
31538         [C99-based standards] (INT_LEAST32_MAX): Likewise.
31539         [C99-based standards] (INT_LEAST64_MIN): Likewise.
31540         [C99-based standards] (INT_LEAST64_MAX): Likewise.
31541         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
31542         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
31543         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
31544         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
31545         [C99-based standards] (INT_FAST8_MIN): Likewise.
31546         [C99-based standards] (INT_FAST8_MAX): Likewise.
31547         [C99-based standards] (INT_FAST16_MIN): Likewise.
31548         [C99-based standards] (INT_FAST16_MAX): Likewise.
31549         [C99-based standards] (INT_FAST32_MIN): Likewise.
31550         [C99-based standards] (INT_FAST32_MAX): Likewise.
31551         [C99-based standards] (INT_FAST64_MIN): Likewise.
31552         [C99-based standards] (INT_FAST64_MAX): Likewise.
31553         [C99-based standards] (UINT_FAST8_MAX): Likewise.
31554         [C99-based standards] (UINT_FAST16_MAX): Likewise.
31555         [C99-based standards] (UINT_FAST32_MAX): Likewise.
31556         [C99-based standards] (UINT_FAST64_MAX): Likewise.
31557         [C99-based standards] (INTPTR_MIN): Likewise.
31558         [C99-based standards] (INTPTR_MAX): Likewise.
31559         [C99-based standards] (UINTPTR_MAX): Likewise.
31560         [C99-based standards] (INTMAX_MIN): Likewise.
31561         [C99-based standards] (INTMAX_MAX): Likewise.
31562         [C99-based standards] (UINTMAX_MAX): Likewise.
31563         [C99-based standards] (PTRDIFF_MIN): Likewise.
31564         [C99-based standards] (PTRDIFF_MAX): Likewise.
31565         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
31566         [C99-based standards] (SIZE_MAX): Likewise.
31567         [C99-based standards] (WCHAR_MAX): Likewise.
31568         [C99-based standards] (WINT_MAX): Likewise.
31569         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
31570         constraint on value.
31571         [C99-based standards] (WCHAR_MIN): Likewise.
31572         [C99-based standards] (WINT_MIN): Likewise.
31573         [C99-based standards] (*_t): Allow.
31574         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
31575         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
31576         Include math.h-data and complex.h-data.  Remove all expectations
31577         of math.h and complex.h contents.
31578         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
31579         at end of line.
31580         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
31581         (struct tm): Expect tag.
31582         [C99-based-standards] (wcstof): Expect function.
31583         [C99-based-standards] (wcstold): Likewise.
31584         [C99-based-standards] (wcstoll): Likewise.
31585         [C99-based-standards] (wcstoull): Likewise.
31586         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
31587         macro-int-constant.  Specify type.
31588         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
31589         constraint on value.
31590         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31591         Specify type.
31592         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
31593         Specify value.
31594         [ISO C standards]: Do not allow headers.
31595         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
31596         wcs[abcdefghijklmnopqrstuvwxyz]*.
31597         [ISO C standards] (*_t): Do not allow.
31598         * conform/data/wctype.h-data [C99-based standards] (iswblank):
31599         Expect function.
31600         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
31601         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
31602         Specify type.
31603         [ISO C standards]: Do not allow headers.
31604         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
31605         is[abcdefghijklmnopqrstuvwxyz]*.
31606         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
31607         to[abcdefghijklmnopqrstuvwxyz]*.
31608         [ISO C standards] (*_t): Do not allow.
31609         * conform/data/stdalign.h-data: New file.
31610         * conform/data/stdbool.h-data: Likewise.
31611         * conform/data/stdnoreturn.h-data: Likewise.
31613 2012-11-07  Roland McGrath  <roland@hack.frob.com>
31615         [BZ #14815]
31616         * manual/filesys.texi (Directory Entries): Typo fix.
31617         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
31619 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31621         * elf/elf.h (EM_AARCH64): New macro.
31622         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
31623         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
31624         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
31625         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
31626         (R_AARCH64_TLSDESC): Likewise.
31627         (NT_ARM_TLS): Likewise.
31628         (NT_ARM_HW_BREAK): Likewise.
31629         (NT_ARM_HW_WATCH): Likewise.
31631 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31633         [BZ #14811]
31634         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
31635         (__ieee754_powl): Saturate nonzero exponents with absolute value
31636         below 0x1p-79 to +/- 0x1p-79.
31637         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
31638         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
31639         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
31640         nonzero exponents with absolute value below 0x1p-32 to +/-
31641         0x1p-32.
31642         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
31643         (__ieee754_powl): Saturate nonzero exponents with absolute value
31644         below 0x1p-79 to +/- 0x1p-79.
31645         * math/libm-test.inc (pow_test): Add more tests.
31647 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31649         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
31650         _dl_s390_cap_flags with kernel. Increase string length.
31651         (_dl_s390_platforms): Add z196 and zEC12.
31653 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
31655         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
31656         Change XOPEN21K to XOPEN2K.
31658 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
31660         * string/memmove.c: Use memcpy when possible.
31662 2012-11-06  Andreas Jaeger  <aj@suse.de>
31664         * po/eo.po: Update from translation team.
31666 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
31668         [BZ #14793]
31669         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
31670         exponent and small x and y exponents, scale x or y up.  Increase
31671         by 2 the exponent used in scaling up.
31672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31673         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31674         * math/libm-test.inc (fma_test): Add more tests.
31675         (fma_test_towardzero): Likewise.
31676         (fma_test_downward): Likewise.
31677         (fma_test_upward): Likewise.
31679 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
31681         [BZ #14805]
31682         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
31683         fenv_t *.
31685         [BZ #14801]
31686         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
31687         namespace for names of struct fields.
31688         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
31689         fenv_t fields.
31690         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31691         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
31693 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31695         [BZ #3665]
31696         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
31698 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31700         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
31701         PTR_DEMANGLE.
31703         [BZ #5246]
31704         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
31705         PTR_DEMANGLE.
31707 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
31709         [BZ #14797]
31710         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
31711         definitely overflow as x * y not x * y + z.
31712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
31713         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
31714         * math/libm-test.inc (fma_test): Add more tests.
31715         (fma_test_towardzero): Likewise.
31716         (fma_test_downward): Likewise.
31717         (fma_test_upward): Likewise.
31719 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
31721         [BZ #157]
31723         * include/stub-tag.h: Remove file.
31724         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
31725         '#include' of it.
31726         * manual/maint.texi (Porting): Don't reference it.
31727         * Makerules ($(objpfx)stubs): Likewise.
31728         * dirent/closedir.c: Don't include <stub-tag.h>.
31729         * dirent/dirfd.c: Likewise.
31730         * dirent/fdopendir.c: Likewise.
31731         * dirent/getdents.c: Likewise.
31732         * dirent/getdents64.c: Likewise.
31733         * dirent/opendir.c: Likewise.
31734         * dirent/readdir.c: Likewise.
31735         * dirent/readdir64.c: Likewise.
31736         * dirent/readdir64_r.c: Likewise.
31737         * dirent/readdir_r.c: Likewise.
31738         * dirent/rewinddir.c: Likewise.
31739         * dirent/seekdir.c: Likewise.
31740         * dirent/telldir.c: Likewise.
31741         * gmon/profil.c: Likewise.
31742         * grp/setgroups.c: Likewise.
31743         * inet/if_index.c: Likewise.
31744         * io/access.c: Likewise.
31745         * io/chdir.c: Likewise.
31746         * io/chmod.c: Likewise.
31747         * io/chown.c: Likewise.
31748         * io/close.c: Likewise.
31749         * io/dup.c: Likewise.
31750         * io/dup2.c: Likewise.
31751         * io/dup3.c: Likewise.
31752         * io/euidaccess.c: Likewise.
31753         * io/faccessat.c: Likewise.
31754         * io/fchdir.c: Likewise.
31755         * io/fchmod.c: Likewise.
31756         * io/fchmodat.c: Likewise.
31757         * io/fchown.c: Likewise.
31758         * io/fchownat.c: Likewise.
31759         * io/fcntl.c: Likewise.
31760         * io/flock.c: Likewise.
31761         * io/fstatfs.c: Likewise.
31762         * io/fstatfs64.c: Likewise.
31763         * io/fstatvfs.c: Likewise.
31764         * io/fstatvfs64.c: Likewise.
31765         * io/futimens.c: Likewise.
31766         * io/fxstat.c: Likewise.
31767         * io/fxstat64.c: Likewise.
31768         * io/fxstatat.c: Likewise.
31769         * io/fxstatat64.c: Likewise.
31770         * io/getcwd.c: Likewise.
31771         * io/isatty.c: Likewise.
31772         * io/lchmod.c: Likewise.
31773         * io/lchown.c: Likewise.
31774         * io/link.c: Likewise.
31775         * io/linkat.c: Likewise.
31776         * io/lseek.c: Likewise.
31777         * io/lseek64.c: Likewise.
31778         * io/lxstat64.c: Likewise.
31779         * io/mkdir.c: Likewise.
31780         * io/mkdirat.c: Likewise.
31781         * io/mkfifo.c: Likewise.
31782         * io/mkfifoat.c: Likewise.
31783         * io/open.c: Likewise.
31784         * io/open64.c: Likewise.
31785         * io/openat.c: Likewise.
31786         * io/openat64.c: Likewise.
31787         * io/pipe.c: Likewise.
31788         * io/pipe2.c: Likewise.
31789         * io/poll.c: Likewise.
31790         * io/posix_fadvise.c: Likewise.
31791         * io/posix_fadvise64.c: Likewise.
31792         * io/posix_fallocate.c: Likewise.
31793         * io/posix_fallocate64.c: Likewise.
31794         * io/read.c: Likewise.
31795         * io/readlink.c: Likewise.
31796         * io/readlinkat.c: Likewise.
31797         * io/rmdir.c: Likewise.
31798         * io/sendfile.c: Likewise.
31799         * io/sendfile64.c: Likewise.
31800         * io/statfs.c: Likewise.
31801         * io/statfs64.c: Likewise.
31802         * io/statvfs.c: Likewise.
31803         * io/statvfs64.c: Likewise.
31804         * io/symlink.c: Likewise.
31805         * io/symlinkat.c: Likewise.
31806         * io/ttyname.c: Likewise.
31807         * io/ttyname_r.c: Likewise.
31808         * io/umask.c: Likewise.
31809         * io/unlink.c: Likewise.
31810         * io/unlinkat.c: Likewise.
31811         * io/utime.c: Likewise.
31812         * io/utimensat.c: Likewise.
31813         * io/write.c: Likewise.
31814         * io/xmknod.c: Likewise.
31815         * io/xmknodat.c: Likewise.
31816         * io/xstat.c: Likewise.
31817         * io/xstat64.c: Likewise.
31818         * login/getpt.c: Likewise.
31819         * login/grantpt.c: Likewise.
31820         * login/unlockpt.c: Likewise.
31821         * math/e_acoshl.c: Likewise.
31822         * math/e_acosl.c: Likewise.
31823         * math/e_asinl.c: Likewise.
31824         * math/e_atan2l.c: Likewise.
31825         * math/e_atanhl.c: Likewise.
31826         * math/e_coshl.c: Likewise.
31827         * math/e_expl.c: Likewise.
31828         * math/e_fmodl.c: Likewise.
31829         * math/e_gammal_r.c: Likewise.
31830         * math/e_hypotl.c: Likewise.
31831         * math/e_j0l.c: Likewise.
31832         * math/e_j1l.c: Likewise.
31833         * math/e_jnl.c: Likewise.
31834         * math/e_lgammal_r.c: Likewise.
31835         * math/e_log10l.c: Likewise.
31836         * math/e_log2l.c: Likewise.
31837         * math/e_logl.c: Likewise.
31838         * math/e_powl.c: Likewise.
31839         * math/e_rem_pio2l.c: Likewise.
31840         * math/e_sinhl.c: Likewise.
31841         * math/e_sqrtl.c: Likewise.
31842         * math/fclrexcpt.c: Likewise.
31843         * math/fedisblxcpt.c: Likewise.
31844         * math/feenablxcpt.c: Likewise.
31845         * math/fegetenv.c: Likewise.
31846         * math/fegetexcept.c: Likewise.
31847         * math/fegetround.c: Likewise.
31848         * math/feholdexcpt.c: Likewise.
31849         * math/fesetenv.c: Likewise.
31850         * math/fesetround.c: Likewise.
31851         * math/feupdateenv.c: Likewise.
31852         * math/fgetexcptflg.c: Likewise.
31853         * math/fraiseexcpt.c: Likewise.
31854         * math/fsetexcptflg.c: Likewise.
31855         * math/ftestexcept.c: Likewise.
31856         * math/k_cosl.c: Likewise.
31857         * math/k_rem_pio2l.c: Likewise.
31858         * math/k_sinl.c: Likewise.
31859         * math/k_tanl.c: Likewise.
31860         * math/s_asinhl.c: Likewise.
31861         * math/s_atanl.c: Likewise.
31862         * math/s_cbrtl.c: Likewise.
31863         * math/s_erfl.c: Likewise.
31864         * math/s_expm1l.c: Likewise.
31865         * math/s_log1pl.c: Likewise.
31866         * math/s_tanhl.c: Likewise.
31867         * misc/acct.c: Likewise.
31868         * misc/brk.c: Likewise.
31869         * misc/chflags.c: Likewise.
31870         * misc/chroot.c: Likewise.
31871         * misc/fchflags.c: Likewise.
31872         * misc/fgetxattr.c: Likewise.
31873         * misc/flistxattr.c: Likewise.
31874         * misc/fremovexattr.c: Likewise.
31875         * misc/fsetxattr.c: Likewise.
31876         * misc/fsync.c: Likewise.
31877         * misc/ftruncate.c: Likewise.
31878         * misc/futimes.c: Likewise.
31879         * misc/futimesat.c: Likewise.
31880         * misc/getdomain.c: Likewise.
31881         * misc/getdtsz.c: Likewise.
31882         * misc/gethostid.c: Likewise.
31883         * misc/gethostname.c: Likewise.
31884         * misc/getloadavg.c: Likewise.
31885         * misc/getpagesize.c: Likewise.
31886         * misc/getsysstats.c: Likewise.
31887         * misc/getxattr.c: Likewise.
31888         * misc/gtty.c: Likewise.
31889         * misc/ioctl.c: Likewise.
31890         * misc/lgetxattr.c: Likewise.
31891         * misc/listxattr.c: Likewise.
31892         * misc/llistxattr.c: Likewise.
31893         * misc/lremovexattr.c: Likewise.
31894         * misc/lsetxattr.c: Likewise.
31895         * misc/lutimes.c: Likewise.
31896         * misc/madvise.c: Likewise.
31897         * misc/mincore.c: Likewise.
31898         * misc/mlock.c: Likewise.
31899         * misc/mlockall.c: Likewise.
31900         * misc/mmap.c: Likewise.
31901         * misc/mprotect.c: Likewise.
31902         * misc/msync.c: Likewise.
31903         * misc/munlock.c: Likewise.
31904         * misc/munlockall.c: Likewise.
31905         * misc/munmap.c: Likewise.
31906         * misc/preadv.c: Likewise.
31907         * misc/preadv64.c: Likewise.
31908         * misc/ptrace.c: Likewise.
31909         * misc/pwritev.c: Likewise.
31910         * misc/pwritev64.c: Likewise.
31911         * misc/readv.c: Likewise.
31912         * misc/reboot.c: Likewise.
31913         * misc/remap_file_pages.c: Likewise.
31914         * misc/removexattr.c: Likewise.
31915         * misc/revoke.c: Likewise.
31916         * misc/select.c: Likewise.
31917         * misc/setdomain.c: Likewise.
31918         * misc/setegid.c: Likewise.
31919         * misc/seteuid.c: Likewise.
31920         * misc/sethostid.c: Likewise.
31921         * misc/sethostname.c: Likewise.
31922         * misc/setregid.c: Likewise.
31923         * misc/setreuid.c: Likewise.
31924         * misc/setxattr.c: Likewise.
31925         * misc/sstk.c: Likewise.
31926         * misc/stty.c: Likewise.
31927         * misc/swapoff.c: Likewise.
31928         * misc/swapon.c: Likewise.
31929         * misc/sync.c: Likewise.
31930         * misc/syncfs.c: Likewise.
31931         * misc/syscall.c: Likewise.
31932         * misc/truncate.c: Likewise.
31933         * misc/ualarm.c: Likewise.
31934         * misc/usleep.c: Likewise.
31935         * misc/ustat.c: Likewise.
31936         * misc/utimes.c: Likewise.
31937         * misc/vhangup.c: Likewise.
31938         * misc/writev.c: Likewise.
31939         * posix/_exit.c: Likewise.
31940         * posix/alarm.c: Likewise.
31941         * posix/execve.c: Likewise.
31942         * posix/fexecve.c: Likewise.
31943         * posix/fork.c: Likewise.
31944         * posix/fpathconf.c: Likewise.
31945         * posix/getaddrinfo.c: Likewise.
31946         * posix/getegid.c: Likewise.
31947         * posix/geteuid.c: Likewise.
31948         * posix/getgid.c: Likewise.
31949         * posix/getgroups.c: Likewise.
31950         * posix/getlogin.c: Likewise.
31951         * posix/getlogin_r.c: Likewise.
31952         * posix/getpgid.c: Likewise.
31953         * posix/getpid.c: Likewise.
31954         * posix/getppid.c: Likewise.
31955         * posix/getresgid.c: Likewise.
31956         * posix/getresuid.c: Likewise.
31957         * posix/getsid.c: Likewise.
31958         * posix/getuid.c: Likewise.
31959         * posix/glob64.c: Likewise.
31960         * posix/nanosleep.c: Likewise.
31961         * posix/pathconf.c: Likewise.
31962         * posix/pause.c: Likewise.
31963         * posix/posix_madvise.c: Likewise.
31964         * posix/pread.c: Likewise.
31965         * posix/pread64.c: Likewise.
31966         * posix/pwrite.c: Likewise.
31967         * posix/pwrite64.c: Likewise.
31968         * posix/sched_getaffinity.c: Likewise.
31969         * posix/sched_getp.c: Likewise.
31970         * posix/sched_gets.c: Likewise.
31971         * posix/sched_primax.c: Likewise.
31972         * posix/sched_primin.c: Likewise.
31973         * posix/sched_rr_gi.c: Likewise.
31974         * posix/sched_setaffinity.c: Likewise.
31975         * posix/sched_setp.c: Likewise.
31976         * posix/sched_sets.c: Likewise.
31977         * posix/sched_yield.c: Likewise.
31978         * posix/setgid.c: Likewise.
31979         * posix/setlogin.c: Likewise.
31980         * posix/setpgid.c: Likewise.
31981         * posix/setresgid.c: Likewise.
31982         * posix/setresuid.c: Likewise.
31983         * posix/setsid.c: Likewise.
31984         * posix/setuid.c: Likewise.
31985         * posix/sleep.c: Likewise.
31986         * posix/spawni.c: Likewise.
31987         * posix/sysconf.c: Likewise.
31988         * posix/times.c: Likewise.
31989         * posix/wait.c: Likewise.
31990         * posix/wait3.c: Likewise.
31991         * posix/wait4.c: Likewise.
31992         * posix/waitpid.c: Likewise.
31993         * resolv/gai_sigqueue.c: Likewise.
31994         * resource/getpriority.c: Likewise.
31995         * resource/getrlimit.c: Likewise.
31996         * resource/getrusage.c: Likewise.
31997         * resource/nice.c: Likewise.
31998         * resource/setpriority.c: Likewise.
31999         * resource/setrlimit.c: Likewise.
32000         * resource/ulimit.c: Likewise.
32001         * rt/aio_cancel.c: Likewise.
32002         * rt/aio_fsync.c: Likewise.
32003         * rt/aio_read.c: Likewise.
32004         * rt/aio_sigqueue.c: Likewise.
32005         * rt/aio_suspend.c: Likewise.
32006         * rt/aio_write.c: Likewise.
32007         * rt/clock_getres.c: Likewise.
32008         * rt/clock_gettime.c: Likewise.
32009         * rt/clock_nanosleep.c: Likewise.
32010         * rt/clock_settime.c: Likewise.
32011         * rt/lio_listio.c: Likewise.
32012         * rt/mq_close.c: Likewise.
32013         * rt/mq_getattr.c: Likewise.
32014         * rt/mq_notify.c: Likewise.
32015         * rt/mq_open.c: Likewise.
32016         * rt/mq_receive.c: Likewise.
32017         * rt/mq_send.c: Likewise.
32018         * rt/mq_setattr.c: Likewise.
32019         * rt/mq_timedreceive.c: Likewise.
32020         * rt/mq_timedsend.c: Likewise.
32021         * rt/mq_unlink.c: Likewise.
32022         * rt/shm_open.c: Likewise.
32023         * rt/shm_unlink.c: Likewise.
32024         * rt/timer_create.c: Likewise.
32025         * rt/timer_delete.c: Likewise.
32026         * rt/timer_getoverr.c: Likewise.
32027         * rt/timer_gettime.c: Likewise.
32028         * rt/timer_settime.c: Likewise.
32029         * setjmp/__longjmp.c: Likewise.
32030         * setjmp/setjmp.c: Likewise.
32031         * signal/kill.c: Likewise.
32032         * signal/killpg.c: Likewise.
32033         * signal/raise.c: Likewise.
32034         * signal/sigaction.c: Likewise.
32035         * signal/sigaltstack.c: Likewise.
32036         * signal/sigblock.c: Likewise.
32037         * signal/sigignore.c: Likewise.
32038         * signal/sigintr.c: Likewise.
32039         * signal/signal.c: Likewise.
32040         * signal/sigpause.c: Likewise.
32041         * signal/sigpending.c: Likewise.
32042         * signal/sigqueue.c: Likewise.
32043         * signal/sigreturn.c: Likewise.
32044         * signal/sigset.c: Likewise.
32045         * signal/sigsetmask.c: Likewise.
32046         * signal/sigstack.c: Likewise.
32047         * signal/sigsuspend.c: Likewise.
32048         * signal/sigtimedwait.c: Likewise.
32049         * signal/sigvec.c: Likewise.
32050         * signal/sigwait.c: Likewise.
32051         * signal/sigwaitinfo.c: Likewise.
32052         * signal/sysv_signal.c: Likewise.
32053         * socket/accept.c: Likewise.
32054         * socket/accept4.c: Likewise.
32055         * socket/bind.c: Likewise.
32056         * socket/connect.c: Likewise.
32057         * socket/getpeername.c: Likewise.
32058         * socket/getsockname.c: Likewise.
32059         * socket/getsockopt.c: Likewise.
32060         * socket/isfdtype.c: Likewise.
32061         * socket/listen.c: Likewise.
32062         * socket/recv.c: Likewise.
32063         * socket/recvfrom.c: Likewise.
32064         * socket/recvmsg.c: Likewise.
32065         * socket/send.c: Likewise.
32066         * socket/sendmsg.c: Likewise.
32067         * socket/sendto.c: Likewise.
32068         * socket/setsockopt.c: Likewise.
32069         * socket/shutdown.c: Likewise.
32070         * socket/sockatmark.c: Likewise.
32071         * socket/socket.c: Likewise.
32072         * socket/socketpair.c: Likewise.
32073         * stdio-common/ctermid.c: Likewise.
32074         * stdio-common/cuserid.c: Likewise.
32075         * stdio-common/remove.c: Likewise.
32076         * stdio-common/rename.c: Likewise.
32077         * stdio-common/renameat.c: Likewise.
32078         * stdio-common/tempname.c: Likewise.
32079         * stdlib/getcontext.c: Likewise.
32080         * stdlib/makecontext.c: Likewise.
32081         * stdlib/setcontext.c: Likewise.
32082         * stdlib/swapcontext.c: Likewise.
32083         * stdlib/system.c: Likewise.
32084         * streams/fattach.c: Likewise.
32085         * streams/fdetach.c: Likewise.
32086         * streams/getmsg.c: Likewise.
32087         * streams/getpmsg.c: Likewise.
32088         * streams/putmsg.c: Likewise.
32089         * streams/putpmsg.c: Likewise.
32090         * sysdeps/unix/bsd/getpt.c: Likewise.
32091         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
32092         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
32093         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
32094         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
32095         Likewise.
32096         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
32097         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
32098         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
32099         * sysvipc/msgctl.c: Likewise.
32100         * sysvipc/msgget.c: Likewise.
32101         * sysvipc/msgrcv.c: Likewise.
32102         * sysvipc/msgsnd.c: Likewise.
32103         * sysvipc/semctl.c: Likewise.
32104         * sysvipc/semget.c: Likewise.
32105         * sysvipc/semop.c: Likewise.
32106         * sysvipc/semtimedop.c: Likewise.
32107         * sysvipc/shmat.c: Likewise.
32108         * sysvipc/shmctl.c: Likewise.
32109         * sysvipc/shmdt.c: Likewise.
32110         * sysvipc/shmget.c: Likewise.
32111         * termios/tcdrain.c: Likewise.
32112         * termios/tcflow.c: Likewise.
32113         * termios/tcflush.c: Likewise.
32114         * termios/tcgetattr.c: Likewise.
32115         * termios/tcgetpgrp.c: Likewise.
32116         * termios/tcsendbrk.c: Likewise.
32117         * termios/tcsetattr.c: Likewise.
32118         * termios/tcsetpgrp.c: Likewise.
32119         * time/adjtime.c: Likewise.
32120         * time/clock.c: Likewise.
32121         * time/getitimer.c: Likewise.
32122         * time/gettimeofday.c: Likewise.
32123         * time/setitimer.c: Likewise.
32124         * time/settimeofday.c: Likewise.
32125         * time/stime.c: Likewise.
32126         * time/time.c: Likewise.
32128 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
32130         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
32131         /usr/old/bin.
32133         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
32134         instead of spaces.
32135         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
32137 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
32139         [BZ #14796]
32140         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
32141         FE_TONEAREST before applying Dekker multiplication and Knuth
32142         addition.  Clear inexact exceptions and check for exact zero
32143         results afterwards.
32144         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32145         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32146         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32147         * math/libm-test.inc (fma_test): Add more tests.
32148         (fma_test_towardzero): Likewise.
32149         (fma_test_downward): Likewise.
32150         (fma_test_upward): Likewise.
32151         * sysdeps/generic/math_private.h (default_libc_fesetround): New
32152         function.
32153         (libc_fesetround): New macro.
32154         (libc_fesetroundf): Likewise.
32155         (libc_fesetroundl): Likewise.
32156         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
32157         function.
32158         (libc_fesetround_387): Likewise.
32159         (libc_fesetroundf): New macro.
32160         (libc_fesetround): Likewise.
32161         (libc_fesetroundl): Likewise.
32162         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
32163         function.
32164         (libc_fesetroundf): New macro.
32165         (libc_fesetround): Likewise.
32166         (libc_fesetroundl): Likewise.
32167         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
32168         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
32169         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
32170         libm_hidden_ver.
32171         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
32172         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
32173         libm_hidden_def.
32174         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
32175         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
32176         libm_hidden_ver.
32177         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
32178         libm_hidden_def.
32180         [BZ #3439]
32181         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
32182         integer constant usable in #if and use that to give value to enum
32183         constant.
32184         (FE_DIVBYZERO): Likewise.
32185         (FE_UNDERFLOW): Likewise.
32186         (FE_OVERFLOW): Likewise.
32187         (FE_INVALID): Likewise.
32188         (FE_INVALID_SNAN): Likewise.
32189         (FE_INVALID_ISI): Likewise.
32190         (FE_INVALID_IDI): Likewise.
32191         (FE_INVALID_ZDZ): Likewise.
32192         (FE_INVALID_IMZ): Likewise.
32193         (FE_INVALID_COMPARE): Likewise.
32194         (FE_INVALID_SOFTWARE): Likewise.
32195         (FE_INVALID_SQRT): Likewise.
32196         (FE_INVALID_INTEGER_CONVERSION): Likewise.
32197         (FE_TONEAREST): Likewise.
32198         (FE_TOWARDZERO): Likewise.
32199         (FE_UPWARD): Likewise.
32200         (FE_DOWNWARD): Likewise.
32201         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
32202         (FE_DIVBYZERO): Likewise.
32203         (FE_OVERFLOW): Likewise.
32204         (FE_UNDERFLOW): Likewise.
32205         (FE_INEXACT): Likewise.
32206         (FE_TONEAREST): Likewise.
32207         (FE_DOWNWARD): Likewise.
32208         (FE_UPWARD): Likewise.
32209         (FE_TOWARDZERO): Likewise.
32210         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
32211         (FE_UNDERFLOW): Likewise.
32212         (FE_OVERFLOW): Likewise.
32213         (FE_DIVBYZERO): Likewise.
32214         (FE_INVALID): Likewise.
32215         (FE_TONEAREST): Likewise.
32216         (FE_TOWARDZERO): Likewise.
32217         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
32218         (FE_OVERFLOW): Likewise.
32219         (FE_UNDERFLOW): Likewise.
32220         (FE_DIVBYZERO): Likewise.
32221         (FE_INEXACT): Likewise.
32222         (FE_TONEAREST): Likewise.
32223         (FE_TOWARDZERO): Likewise.
32224         (FE_UPWARD): Likewise.
32225         (FE_DOWNWARD): Likewise.
32226         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
32227         (FE_DIVBYZERO): Likewise.
32228         (FE_OVERFLOW): Likewise.
32229         (FE_UNDERFLOW): Likewise.
32230         (FE_INEXACT): Likewise.
32231         (FE_TONEAREST): Likewise.
32232         (FE_DOWNWARD): Likewise.
32233         (FE_UPWARD): Likewise.
32234         (FE_TOWARDZERO): Likewise.
32236 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
32238         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
32240 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
32242         * scripts/cross-test-ssh.sh (command): Use newlines to separate
32243         commands.  Quote $PWD.
32244         (blacklist_exports): Don't use remove_newlines.  Replace "declare
32245         -x" by "export".
32246         (remove_newlines): Remove.
32248 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
32250         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
32251         * stdlib/stdlib.h (atof): Moved to ...
32252         * include/bits/stdlib-float.h: Here.  New file.
32253         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
32254         * stdlib/bits/stdlib-float.h: New file.
32255         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
32256         -mno-sse -mno-mmx.
32257         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
32258         <xmmintrin.h>.
32260 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32262         * conform/conformtest.pl (@headers): Add fenv.h.
32263         * conform/data/fenv.h-data: New file.
32264         * include/fenv.h [_ISOMAC]: Disable all contents of file except
32265         include of <math/fenv.h>.
32267         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
32268         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
32269         && !UNIX98].  Enables tests for XOPEN2K8.
32270         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
32271         POSIX2008]: Likewise.
32273         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
32274         (struct rusage): Do not expect type or its members.
32276         [BZ #3439]
32277         * math/math.h (FP_NAN): Define macro to integer constant usable in
32278         #if and use that to give value to enum constant.
32279         (FP_INFINITE): Likewise.
32280         (FP_ZERO): Likewise.
32281         (FP_SUBNORMAL): Likewise.
32282         (FP_NORMAL): Likewise.
32284 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
32286         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
32287         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
32288         arguments.
32290 2012-11-02  Roland McGrath  <roland@hack.frob.com>
32292         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
32293         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
32294         autoconf-time if not.
32295         * configure.in: Remove AC_PREREQ.
32297 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32299         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
32300         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
32301         of the internal implementation.
32303 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
32305         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
32306         except include of <misc/sys/syslog.h>.
32308 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
32311         function returns with a NULL context exit with zero.
32313 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32315         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
32317 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
32319         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
32320         (run_program_cmd): This.
32321         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
32322         (tst_langinfo): New variable.  Use it.
32324 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
32326         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
32327         floating point opcodes.
32329 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32331         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
32332         variable.
32334         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
32336         * sysdeps/mach/hurd/powerpc: Remove directory.
32337         * sysdeps/mach/powerpc: Likewise.
32339 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
32341         * scripts/check-local-headers.sh: Ignore c++ headers.
32343 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32345         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
32346         __libc_cleanup_region_start argument.
32348 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
32350         [BZ #14784]
32351         [BZ #14785]
32352         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
32353         x * y using scaling, not as x * y + z.
32354         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32355         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32356         * math/libm-test.inc (fma_test): Add more tests.
32357         (fma_test_towardzero): Likewise.
32358         (fma_test_downward): Likewise.
32359         (fma_test_upward): Likewise.
32361 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
32363         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
32365 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32367         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
32368         New variable.
32370 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
32372         * rt/tst-shm.c (worker): Correct checking for mmap failure.
32374 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32377         Fix sort order.
32378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32379         Likewise.
32381 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
32383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32384         Fix the order of the list for glibc 2.17.
32385         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32386         Likewise.
32388 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
32390         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32392 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
32394         [BZ #14610]
32395         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
32396         for low part of x being zero before using __atanl (y).
32397         * math/libm-test.inc (atan2_test): Add another test.
32399         * manual/install.texi (Configuring and compiling): Document
32400         general use of test-wrapper and test-wrapper-env.
32401         * INSTALL: Regenerated.
32403         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
32404         (__fma): Do not extract and scale down low bits on after-rounding
32405         systems when result rounded to normal precision would have normal
32406         exponent.
32407         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
32408         (__fmal): Do not extract and scale down low bits on after-rounding
32409         systems when result rounded to normal precision would have normal
32410         exponent.
32411         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
32412         (__fmal): Do not extract and scale down low bits on after-rounding
32413         systems when result rounded to normal precision would have normal
32414         exponent.
32415         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
32416         macro.
32417         (fma_test): Add more tests.
32418         (fma_test_towardzero): Likewise.
32419         (fma_test_downward): Likewise.
32420         (fma_test_upward): Likewise.
32422 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
32424         * sysdeps/i386/tininess.h: Renamed to ...
32425         * sysdeps/x86/tininess.h: This.
32426         * sysdeps/x86_64/tininess.h: Removed.
32428 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32430         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
32431         input.  Use $(build-program-cmd).
32432         ($(objpfx)tst-array1-static.out): Likewise.
32433         ($(objpfx)tst-array2.out): Likewise.
32434         ($(objpfx)tst-array3.out): Likewise.
32435         ($(objpfx)tst-array4.out): Likewise.
32436         ($(objpfx)tst-array5.out): Likewise.
32437         ($(objpfx)tst-array5-static.out): Likewise.
32439 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
32441         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
32442         if defined.
32444         * nss/nsswitch.h (nss_interface_function): Provide new
32445         macro for use with NSS functions.
32446         * grp/initgroups.c: Use new macro.
32447         * nss/getXXbyYY.c: Likewise.
32448         * nss/getXXbyYY_r.c: Likewise.
32449         * nss/getXXent.c: Likewise.
32450         * nss/getXXent_r.c: Likewise.
32451         * sysdeps/posix/getaddrinfo.c: Likewise.
32453 2012-10-30  Andreas Jaeger  <aj@suse.de>
32455         * po/ru.po: Update Russion translation from translation project.
32457 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
32459         [BZ #14152]
32460         [BZ #14783]
32461         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
32462         result and shift together with sticky bit instead of replicating
32463         round-to-nearest rounding.
32464         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32465         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32466         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
32467         missing underflow exceptions.
32468         (fma_test_towardzero): Add more tests.
32469         (fma_test_downward): Likewise.
32470         (fma_test_upward): Likewise.
32472         [BZ #14047]
32473         * sysdeps/generic/tininess.h: New file.
32474         * sysdeps/i386/tininess.h: Likewise.
32475         * sysdeps/sh/tininess.h: Likewise.
32476         * sysdeps/x86_64/tininess.h: Likewise.
32477         * stdlib/tst-strtod-underflow.c: Likewise.
32478         * stdlib/tst-tininess.c: Likewise.
32479         * stdlib/strtod_l.c: Include <tininess.h>.
32480         (round_and_return): Do not set errno for exact underflow cases.
32481         Force an underflow exception when setting errno for underflow.
32482         Determine underflow based on rounding to normal precision if
32483         TININESS_AFTER_ROUNDING.
32484         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
32485         ERANGE for exact underflow cases.
32486         * stdlib/Makefile (tests): Add tst-tininess and
32487         tst-strtod-underflow.
32488         ($(objpfx)tst-tininess): Use $(link-libm).
32489         ($(objpfx)tst-strtod-underflow): Likewise.
32491 2012-10-30  Andreas Jaeger  <aj@suse.de>
32493         [BZ#14767]
32494         * elf/Makefile (tests): Remove conditional for have-initfini-array
32495         since this is now always required and the variable does not exist
32496         anymore.
32497         (tests-static): Likewise.
32498         (modules-names): Likewise.
32500         * po/eo.po: Add Esperanto translation from translation project.
32502         * elf/tst-array1.c (fini_array): Make writeable so that it can be
32503         merged with constructor/destructor.
32504         (init_array): Likewise.
32505         * elf/tst-array2dep.c (fini_array): Likewise.
32506         (init_array): Likewise.
32508 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
32510         * manual/message.texi: Delete @cartouche tags.
32512 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
32514         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
32515         EOPNOTSUPP.
32516         * sysdeps/mach/hurd/fsync.c: Likewise.
32518         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
32519         [_POSIX_REALTIME_SIGNALS]: Change condition to
32520         [_POSIX_REALTIME_SIGNALS > 0].
32522 2012-10-27  Andreas Jaeger  <aj@suse.de>
32524         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
32525         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
32526         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
32527         [__WORDSIZE != 64]: Likewise.
32529 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
32531         *  iconvdata/tst-table.sh: Remove ${SHELL}.
32532         *  iconvdata/tst-tables.sh: Likewise.
32534 2012-10-25  David S. Miller  <davem@davemloft.net>
32536         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32537         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
32538         of strtoull.
32540         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
32541         ifunc-impl-list.c
32542         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32543         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
32544         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
32545         file.
32547 2012-10-25  Roland McGrath  <roland@hack.frob.com>
32549         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32550         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
32551         __getdirentries.
32553 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32554             Jim Blandy  <jimb@codesourcery.com>
32556         * scripts/cross-test-ssh.sh: New file.
32557         * manual/install.texi (Configuring and compiling): Document use of
32558         cross-test-ssh.sh.
32559         * INSTALL: Regenerated.
32561 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
32563         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
32564         EOPNOTSUPP.
32566 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
32568         * Makeconfig (run-program-prefix): Fix comment.
32570 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32571             Jim Blandy  <jimb@codesourcery.com>
32573         * Makeconfig (test-wrapper): New variable,
32574         (test-wrapper-env): Likewise.
32575         [$(cross-compiling) = yes && $(test-wrapper) != ""]
32576         (run-built-tests): Define to yes.
32577         (run-program-prefix): Use $(test-wrapper).
32578         (built-program-cmd): Likewise.
32579         * Rules (make-test-out): Use $(test-wrapper-env) and
32580         $(host-built-program-cmd).
32581         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
32582         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
32583         tst-pathopt.sh.
32584         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
32585         $(test-wrapper-env) to tst-rtld-load-self.sh.
32586         ($(objpfx)order2.out): Use $(test-wrapper).
32587         ($(objpfx)tst-initorder.out): Likewise.
32588         ($(objpfx)tst-initorder2.out): Likewise.
32589         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
32590         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
32591         (test_wrapper_env): New variable.  Use it to run ld.so.
32592         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
32593         Use it to run ld.so.
32594         (test_wrapper_env): Likewise.
32595         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
32596         $(test-wrapper) to run-iconv-test.sh.
32597         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
32598         (ICONV): Use $test_wrapper.
32599         * posix/Makefile ($(objpfx)globtest.out): Pass
32600         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
32601         globtest.sh, not $(run-program-prefix).
32602         * posix/globtest.sh (run_via_rtld_prefix): New variable.
32603         (test_wrapper): Likewise.
32604         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
32605         set together with run_via_rtld_prefix.
32606         (run_program_prefix): Define in terms of test_wrapper and
32607         run_via_rtld_prefix.
32609 2012-10-24  Roland McGrath  <roland@hack.frob.com>
32611         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
32612         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
32613         Targets removed.
32615         [BZ #14743]
32616         * include/time.h: Remove librt_hidden_proto (clock_gettime).
32617         Declare __clock_getres, __clock_gettime, __clock_settime,
32618         __clock_nanosleep, and __clock_getcpuclockid.
32619         * rt/clock_gettime.c: Define __clock_gettime as an alias.
32620         Remove librt_hidden_def (clock_gettime).
32621         * sysdeps/unix/clock_gettime.c: Likewise.
32622         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
32623         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
32624         * rt/clock_getres.c: Define __clock_getres as an alias.
32625         * sysdeps/posix/clock_getres.c: Likewise.
32626         * rt/clock_settime.c: Define __clock_settime as an alias.
32627         * sysdeps/unix/clock_settime.c: Likewise.
32628         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
32629         * sysdeps/unix/clock_nanosleep.c: Likewise.
32630         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
32631         * rt/clock-compat.c: New file.
32632         * rt/Makefile (librt-routines): Add clock-compat and move
32633         $(clock-routines) to ...
32634         (routines): ... here, new variable.
32635         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
32636         Don't add get_clockfreq here.
32637         * rt/Versions (libc: GLIBC_2.17): New version set.
32638         Add clock_* symbols here.
32639         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
32640         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
32641         (GLIBC_2.17): Add clock_* symbols.
32642         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
32643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
32644         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32646         Likewise.
32647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32648         Likewise.
32649         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32650         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
32651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
32652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
32653         * NEWS: Mention the move.
32655         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
32656         Use __open, __read, __close rather than their public counterparts.
32657         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
32658         (__get_clockfreq_via_cpuinfo): Likewise.
32659         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
32660         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
32662         * config.h.in (HAVE_IFUNC): New #undef.
32663         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
32664         was successful.
32665         * configure: Regenerated.
32667 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32669         * configure.in: Move READELF check to start of file.
32670         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
32671         libc_cv_asm_gnu_indirect_function in the process.
32672         * configure: Regenerated.
32674 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
32676         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
32677         send the output to /dev/null.
32678         (libc_cv_cc_with_libunwind): Likewise.
32679         (libc_cv_as_noexecstack): Likewise.
32680         * configure: Regenerate.
32682 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
32684         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
32686         * posix/globtest.sh (TMPDIR): Do not set.
32687         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
32688         (testout): Likewise.
32690 2012-10-24  Andreas Jaeger  <aj@suse.de>
32692         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
32693         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
32694         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
32695         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
32696         posix_fadvise64, posix_fallocate64.
32698         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
32699         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
32700         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
32701         Likewise.
32702         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
32703         Likewise.
32704         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
32706         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
32707         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
32708         <bits/fcntl-linux.h>.
32709         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
32711         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
32712         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
32713         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
32714         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
32715         [__WORDSIZE != 64]: Likewise.
32717 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32719         * Makeconfig (run-built-tests): New variable.
32720         * Rules [$(cross-compiling) = yes]: Change condition to
32721         [$(run-built-tests) = no].
32722         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
32723         to [$(run-built-tests) = yes].
32724         * elf/Makefile [$(cross-compiling) = no]: Likewise
32725         * grp/Makefile [$(cross-compiling) = no]: Likewise.
32726         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
32727         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
32728         * intl/Makefile [$(cross-compiling) = no]: Likewise.
32729         * io/Makefile [$(cross-compiling) = no]: Likewise.
32730         * libio/Makefile [$(cross-compiling) = no]: Likewise.
32731         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
32732         * misc/Makefile [$(cross-compiling) = no]: Likewise.
32733         * posix/Makefile [$(cross-compiling) = no]: Likewise.
32734         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
32735         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
32736         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
32737         * string/Makefile [$(cross-compiling) = no]: Likewise.
32739         * posix/Makefile ($(objpfx)globtest.out): Pass
32740         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
32741         $(rtld-installed-name).
32742         * posix/globtest.sh (elf_objpfx): Remove variable.
32743         (rtld_installed_name): Likewise.
32744         (library_path): Likewise.
32745         (run_program_prefix): New variable.  Use for running globtest
32746         binary.
32748 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
32749             Joseph Myers  <joseph@codesourcery.com>
32751         * Makeconfig (host-built-program-cmd): New variable.
32752         * elf/Makefile (tst-stackguard1-ARGS): Use
32753         $(host-built-program-cmd).
32754         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
32755         (tst-spawn-ARGS): Likewise.
32756         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
32758 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
32759             Jim Blandy  <jimb@codesourcery.com>
32761         * Makeconfig (run-via-rtld-prefix): New variable.
32762         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
32763         (built-program-cmd): Likewise.
32765 2012-10-22  Andreas Jaeger  <aj@suse.de>
32767         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
32768         __O_RSYNC if it exists, otherwise to O_SYNC.
32770 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
32771             Joseph Myers  <joseph@codesourcery.com>
32773         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
32774         /dev/null.
32775         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
32776         from /dev/null
32777         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
32778         /dev/null.
32780 2012-10-22  Andreas Jaeger  <aj@suse.de>
32782         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
32783         Define always.
32784         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
32786         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
32787         bits/fcntl-linux.h.
32789         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
32790         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
32792         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
32793         to __O_LARGEFILE.
32794         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
32795         to __O_LARGEFILE.
32797 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
32798             Joseph Myers  <joseph@codesourcery.com>
32800         * config.make.in (NM): New variable.
32802 2012-10-21  Andreas Jaeger  <aj@suse.de>
32804         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
32805         definitions and declarations that are provided by
32806         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32808 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32810         [BZ #14683]
32811         * elf/Makefile (tests-static): Add tst-leaks1-static.
32812         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
32813         ($(objpfx)tst-leaks1-static): New rule.
32814         ($(objpfx)tst-leaks1-static-mem): Likewise.
32815         (tst-leaks1-static-ENV): New macro.
32816         * elf/dl-open.c (dl_open_worker): Check the main application
32817         only if SHARED is defined.
32818         * elf/tst-leaks1-static.c: New file.
32820 2012-10-20  Andreas Jaeger  <aj@suse.de>
32822         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
32823         generic values for Linux.
32824         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
32825         and declarations that are provided by <bits/fcntl-linux.h> and
32826         include <bits/fcntl-linux.h>.
32827         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32828         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32830 2012-10-20  Roland McGrath  <roland@hack.frob.com>
32832         * io/fcntl.h: Move include of <bits/types.h> to the top and
32833         include it unconditionally.
32835 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
32837         * wcsmbs/Makefile (tests-ifunc): New variable.
32838         (tests): Add $(tests-ifunc).
32839         * wcsmbs/test-wcschr-ifunc.c: New file.
32840         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32841         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32842         * wcsmbs/test-wcslen-ifunc.c: Likewise.
32843         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32844         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32846         * string/Makefile (tests-ifunc): New variable.
32847         (tests): Add $(tests-ifunc).
32848         * string/test-memccpy.c (TEST_NAME): New macro.
32849         * string/test-memchr.c (TEST_NAME): Likewise.
32850         * string/test-memcmp.c (TEST_NAME): Likewise.
32851         * string/test-memcpy.c (TEST_NAME): Likewise.
32852         * string/test-memmem.c (TEST_NAME): Likewise.
32853         * string/test-memmove.c (TEST_NAME): Likewise.
32854         * string/test-memset.c (TEST_NAME): Likewise.
32855         * string/test-rawmemchr.c (TEST_NAME): Likewise.
32856         * string/test-stpcpy.c (TEST_NAME): Likewise.
32857         * string/test-stpncpy.c (TEST_NAME): Likewise.
32858         * string/test-strcasecmp.c (TEST_NAME): Likewise.
32859         * string/test-strcasestr.c (TEST_NAME): Likewise.
32860         * string/test-strcat.c (TEST_NAME): Likewise.
32861         * string/test-strchr.c (TEST_NAME): Likewise.
32862         * string/test-strcmp.c(TEST_NAME): Likewise.
32863         * string/test-strcpy.c (TEST_NAME): Likewise.
32864         * string/test-strcspn.c (TEST_NAME): Likewise.
32865         * string/test-strlen.c (TEST_NAME): Likewise.
32866         * string/test-strncasecmp.c (TEST_NAME): Likewise.
32867         * string/test-strncmp.c (TEST_NAME): Likewise.
32868         * string/test-strncpy.c (TEST_NAME): Likewise.
32869         * string/test-strnlen.c (TEST_NAME): Likewise.
32870         * string/test-strpbrk.c (TEST_NAME): Likewise.
32871         * string/test-strrchr.c (TEST_NAME): Likewise.
32872         * string/test-strspn.c (TEST_NAME): Likewise.
32873         * string/test-strstr.c (TEST_NAME): Likewise.
32874         * string/test-bcopy-ifunc.c: New file.
32875         * string/test-bzero-ifunc.c: Likewise.
32876         * string/test-memccpy-ifunc.c: Likewise.
32877         * string/test-memchr-ifunc.c: Likewise.
32878         * string/test-memcmp-ifunc.c: Likewise.
32879         * string/test-memcpy-ifunc.c: Likewise.
32880         * string/test-memmem-ifunc.c: Likewise.
32881         * string/test-memmove-ifunc.c: Likewise.
32882         * string/test-mempcpy-ifunc.c: Likewise.
32883         * string/test-memset-ifunc.c: Likewise.
32884         * string/test-rawmemchr-ifunc.c: Likewise.
32885         * string/test-stpcpy-ifunc.c: Likewise.
32886         * string/test-stpncpy-ifunc.c: Likewise.
32887         * string/test-strcasecmp-ifunc.c: Likewise.
32888         * string/test-strcasestr-ifunc.c: Likewise.
32889         * string/test-strcat-ifunc.c: Likewise.
32890         * string/test-strchr-ifunc.c: Likewise.
32891         * string/test-strchrnul-ifunc.c: Likewise.
32892         * string/test-strcmp-ifunc.c: Likewise.
32893         * string/test-strcpy-ifunc.c: Likewise.
32894         * string/test-strcspn-ifunc.c: Likewise.
32895         * string/test-strlen-ifunc.c: Likewise.
32896         * string/test-strncasecmp-ifunc.c: Likewise.
32897         * string/test-strncat-ifunc.c: Likewise.
32898         * string/test-strncmp-ifunc.c: Likewise.
32899         * string/test-strncpy-ifunc.c: Likewise.
32900         * string/test-strnlen-ifunc.c: Likewise.
32901         * string/test-strpbrk-ifunc.c: Likewise.
32902         * string/test-strrchr-ifunc.c: Likewise.
32903         * string/test-strspn-ifunc.c: Likewise.
32904         * string/test-strstr-ifunc.c: Likewise.
32906         * debug/Makefile (tests-ifunc): New variable.
32907         (tests): Add $(tests-ifunc).
32908         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
32909         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
32910         * debug/test-stpcpy_chk-ifunc.c: New file.
32911         * debug/test-strcpy_chk-ifunc.c: Likewise.
32913 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
32915         [BZ #13601]
32916         * elf/dl-load.c (open_verify): Retry read if the entire ELF
32917         header is not read in.
32919 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
32921         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
32922         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
32923         directly.  Pass built executable to script as
32924         $(built-program-cmd).
32925         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
32926         $testprogram without using LD_LIBRARY_PATH and $ldso.
32928         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
32929         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
32930         $(rtld-installed-name).
32931         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
32932         (rtld_installed_name): Likewise.
32933         (library_path): Likewise.
32934         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
32935         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
32936         $(run-program-prefix) to tst-tables.sh.
32937         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
32938         it to run tst-table-from and tst-table-to.
32939         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
32940         Pass it to tst-table.sh.
32941         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
32942         $(run-program-prefix) to tst-gettext.sh.
32943         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
32944         tst-translit.sh.
32945         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
32946         tst-gettext2.sh.
32947         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
32948         to run tst-gettext.
32949         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
32950         to run tst-gettext2.
32951         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
32952         to run tst-translit.
32953         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
32954         $(run-program-prefix) to tst-mtrace.sh.
32955         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
32956         to run tst-mtrace.
32957         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
32958         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
32959         $(rtld-installed-name).
32960         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
32961         (rtld_installed_name): Likewise.
32962         (run_program_prefix): New variable.  Use it to run wordexp-test.
32964         * Makeconfig (ARCH): Remove all definitions.
32965         (machine): Likewise.
32966         [ARCH]: Remove conditional code.
32967         [!objdir]: Give error.
32968         [!objdir] (objpfx): Remove.
32969         [!objdir] (common-objpfx): Likewise.
32970         [!objdir] (common-objdir): Likewise.
32971         * configure.in (config_makefile): Remove.  Hardcode Makefile in
32972         AC_CONFIG_FILES call.
32973         * configure: Regenerated.
32975         [BZ #13888]
32976         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
32977         or TMPDIR.
32978         (testout): Likewise.
32980         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
32981         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
32982         $(rtld-installed-name).
32983         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
32984         (rtld_installed_name): Likwise.
32985         (runit): Remove function.
32986         (run_getconf): New variable,  Use it for running getconf binary.
32988 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
32990         [BZ #14716]
32991         * string/test-memmem.c (check_result): New function.
32992         (do_one_test): Use it.
32993         (check1): New function.
32994         (test_main): Use it.
32996 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
32998         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
33000 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
33002         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
33003         (_G_LSEEK64): Likewise.
33004         (_G_MMAP64): Likewise.
33005         (_G_FSTAT64): Likewise.
33006         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
33007         (_G_LSEEK64): Likewise.
33008         (_G_MMAP64): Likewise.
33009         (_G_FSTAT64): Likewise.
33010         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
33011         unconditional.  Call __mmap64 directly.
33012         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
33013         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
33014         __lseek64 directly.
33015         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
33016         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
33017         __mmap64 directly.
33018         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
33019         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33020         __lseek64 directly.
33021         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
33022         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
33023         __lseek64 directly.
33024         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
33025         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
33026         __lseek64 directly.
33027         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
33028         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
33029         __fxstat64 directly.
33030         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
33031         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
33032         unconditional.
33033         (freopen64) [!_G_OPEN64]: Remove conditional code.
33034         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
33035         unconditional.
33036         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
33037         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
33038         unconditional.
33039         (ftello64) [!_G_LSEEK64]: Remove conditional code.
33040         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
33041         unconditional.
33042         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33043         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
33044         unconditional.
33045         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
33046         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
33047         unconditional.
33048         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33049         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
33050         unconditional.
33051         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
33052         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
33053         unconditional.
33054         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
33056 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
33058         [BZ #12140]
33059         * manual/memory.texi (Malloc Tunable Parameters): Add note
33060         about free list pointers overwriting some perturb bytes.
33061         Wording suggested by Roland McGrath.
33063 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
33065         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
33066         (lgamma_test): Likewise.
33067         (tgamma_test): Likewise.
33069 2012-10-16  Florian Weimer  <fweimer@redhat.com>
33071         [BZ #14700]
33072         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
33073         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
33075 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
33077         * NEWS: Mention BZ #14716.
33078         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
33079         when removing AVAILABLE1_USES_J macro.
33081 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
33083         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
33084         (__bswap_64): __uint64_t for unsigned 64-bit int.
33086 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
33088         * include/string.h (memmem): Declare libc hidden alias.
33089         * string/memmem.c (memmem): Define libc hidden alias.
33090         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
33091         __read, __close instead of open, read, close.
33093 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
33095         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
33096         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
33097         global and hidden.
33098         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
33099         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
33100         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
33101         Likewise.
33102         (__rawmemchr_sse2): Likewise.
33103         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
33104         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
33105         (__strchr_sse2): Likewise.
33106         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
33107         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
33108         (__strcasecmp_sse2): Likewise.
33109         (__strncasecmp_sse2): Likewise.
33110         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
33111         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
33112         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
33113         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
33114         (__strrchr_sse2): Likewise.
33115         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
33116         ifunc-impl-list.c.
33117         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33118         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33119         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33120         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
33121         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33122         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33123         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33124         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33125         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
33126         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
33127         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
33128         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
33129         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
33130         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33131         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33132         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33133         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33134         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33135         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
33136         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
33137         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
33138         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
33139         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
33140         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
33141         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
33142         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
33143         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33144         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
33145         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33146         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33148         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
33149         global and hidden.
33150         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
33151         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
33152         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
33153         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
33154         Likewise.
33155         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
33156         Likewise.
33157         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
33158         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
33159         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
33160         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
33161         ifunc-impl-list.c.
33162         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33163         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33164         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33165         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33166         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33167         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33168         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33169         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33170         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33171         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33172         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33173         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33174         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33175         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
33176         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
33177         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
33178         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
33179         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
33180         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33181         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33182         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33183         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33184         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33185         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33186         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
33187         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
33188         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
33189         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
33190         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
33191         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33192         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
33193         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33194         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33195         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
33196         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33197         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33198         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33199         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33200         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33201         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33202         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
33204         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
33205         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
33206         * include/ifunc-impl-list.h: New file.
33207         * misc/ifunc-impl-list.c: Likewise.
33208         * misc/Makefile (routines): Add ifunc-impl-list.
33209         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
33210         * string/test-string.h: Include <ifunc-impl-list.h>.
33211         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
33212         TEST_NAME]: New variables.
33213         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
33214         are defined.
33215         (test_init): Call __libc_ifunc_impl_list to initialize
33216         func_list if TEST_IFUNC and TEST_NAME are defined.
33218         * string/Makefile (strop-tests): Add bcopy and bzero.
33219         * string/test-bcopy.c: New file.
33220         * string/test-bzero.c: Likewise.
33221         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
33222         defined.
33223         * string/test-memset.c: Support bzero test if TEST_BZERO is
33224         defined.
33225         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
33226         __libc_memmove.
33227         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
33228         __libc_memset.
33229         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
33230         of memset.
33232 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
33234         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
33235         * configure: Regenerated.
33237         * Makeconfig (+link-static-before-libc): Don't include
33238         $(link-static-libc).
33240         * libio/libio.h (_IO_pos_t): Remove.
33242 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33244         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
33245         McGrath.
33247 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33249         * crypt/crypt-entry.c: Include fips-private.h.
33250         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
33251         * crypt/md5c-test.c (main): Tolerate disabled MD5.
33252         * sysdeps/unix/sysv/linux/fips-private.h: New file.
33253         * sysdeps/generic/fips-private.h: New file, dummy fallback.
33255 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
33257         * crypt/crypt-private.h: Include stdbool.h.
33258         (_ufc_setup_salt_r): Return bool.
33259         * crypt/crypt-entry.c: Include errno.h.
33260         (__crypt_r): Return NULL with EINVAL for bad salt.
33261         * crypt/crypt_util.c (bad_for_salt): New.
33262         (_ufc_setup_salt_r): Check that salt is long enough and within
33263         the specified alphabet.
33264         * crypt/badsalttest.c: New file.
33265         * crypt/Makefile (tests): Add it.
33266         ($(objpfx)badsalttest): New.
33268 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
33270         * NEWS: Add entry for BZ #14602.
33272 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33274         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
33275         type-generic.
33276         * math/libm-test.inc: Update comment listing what functions and
33277         macros are tested.
33278         (isgreater_test): New function.
33279         (isgreaterequal_test): Likewise.
33280         (isless_test): Likewise.
33281         (islessequal_test): Likewise.
33282         (islessgreater_test): Likewise.
33283         (isunordered_test): Likewise.
33284         (main): Call the new functions.
33286 2012-10-09  Roland McGrath  <roland@hack.frob.com>
33288         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
33289         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
33290         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
33291         * sysdeps/i386/configure: Regenerated.
33292         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
33293         * sysdeps/mach/configure: Regenerated.
33294         * sysdeps/mach/hurd/configure: Regenerated.
33295         * sysdeps/powerpc/configure: Regenerated.
33296         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33297         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33298         * sysdeps/s390/s390-32/configure: Regenerated.
33299         * sysdeps/s390/s390-64/configure: Regenerated.
33300         * sysdeps/sh/configure: Regenerated.
33301         * sysdeps/sparc/configure: Regenerated.
33302         * sysdeps/unix/sysv/linux/configure: Regenerated.
33303         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
33304         * sysdeps/x86_64/configure: Regenerated.
33306         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
33307         defined.  Don't check if MAP is NULL.
33309 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
33311         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
33312         (_G_stat64): Likewise.
33313         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
33314         (_G_stat64): Likewise.
33315         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
33316         instead of struct _G_stat64.
33317         * libio/fileops.c (mmap_remap_check): Likewise.
33318         (decide_maybe_mmap): Likewise.
33319         (_IO_new_file_seekoff): Likewise.
33320         (_IO_file_stat): Likewise.
33321         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
33322         _G_off64_t.
33323         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
33324         instead of struct _G_stat64.
33325         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33327 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
33329         [BZ #14602]
33330         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33331         Replace with ...
33332         (CHECK_EOL): New macro.
33333         (two_way_short_needle): Check beginning of haystack for EOL.  Use
33334         CHECK_EOL.
33335         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33336         Replace with CHECK_EOL.
33337         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
33338         Replace with CHECK_EOL.
33340 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
33342         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
33343         type-generic.
33344         * math/libm-test.inc: Update comment listing what functions and
33345         macros are tested.
33346         (finite_test): New function.
33347         (isinf_test): Likewise.
33348         (isnan_test): Likewise.
33349         (fpclassify_test): Test subnormal input.
33350         (isfinite_test): Likewise.
33351         (isnormal_test): Likewise.
33352         (main): Call the new functions.
33354 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
33356         [BZ #14660]
33357         * Makerules (%.dynsym): Force C locale when running
33358         $(OBJDUMP) --dynamic-syms.
33360 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
33362         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
33363         <stdint.h>.
33365 2012-10-06  David S. Miller  <davem@davemloft.net>
33367         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
33368         upper 32-bits of the length value in %o2 since we use branch-on-register
33369         tests which consider the entire 64-bit register.
33371 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
33373         * string/test-strstr.c (check2): Add a test for page boundary.
33375 2012-10-05  David S. Miller  <davem@davemloft.net>
33377         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
33378         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
33379         file.
33380         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33381         sysdep_routines.
33382         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33383         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
33384         and bzero when HWCAP_SPARC_CRYPTO is present.
33386 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
33388         [BZ #14602]
33389         * string/test-strstr.c (check2): New function.
33390         (test_main): Call check2.
33392         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
33393         and bug-strchr1.
33394         * string/bug-strcasestr1.c (do_test): Moved to ...
33395         * string/test-strcasestr.c (check1): Here.  New function.
33396         (do_one_test): Break out result checking code into ...
33397         (check_result): This.  New function.
33398         (do_one_test): Call check_result.
33399         (test_main): Call check1.
33400         * string/bug-strchr1.c (do_test): Moved to ...
33401         * string/test-strchr.c (check1): Here.  New function.
33402         (do_one_test): Break out result checking code into ...
33403         (check_result): This.  New function.
33404         (do_one_test): Call check_result.
33405         (test_main): Call check1.
33406         * string/bug-strstr1.c (main): Moved to ...
33407         * string/test-strstr.c (check1): Here.  New function.
33408         (do_one_test): Break out result checking code into ...
33409         (check_result): This.  New function.
33410         (do_one_test): Call check_result.
33411         (test_main): Call check1.
33412         * string/bug-strcasestr1.c: Removed.
33413         * string/bug-strchr1.c: Likewise.
33414         * string/bug-strstr1.c: Likewise.
33416         * elf/Makefile (dl-routines): Add hwcaps.
33417         * elf/dl-support.c (_dl_important_hwcaps): Removed.
33418         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
33419         (_dl_important_hwcaps): Moved to ...
33420         * elf/dl-hwcaps.c: Here.  New file.
33421         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
33423         [BZ #14557]
33424         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
33425         if IS_IN_rtld isn't defined.
33427         * elf/dl-support.c (_dl_sysinfo_map): New.
33428         Include "get-dynamic-info.h" and "setup-vdso.h".
33429         (_dl_non_dynamic_init): Call setup_vdso.
33430         * elf/dynamic-link.h: Don't include <assert.h>.
33431         (elf_get_dynamic_info): Moved to ...
33432         * elf/get-dynamic-info.h: Here.  New file.
33433         * elf/dynamic-link.h: Include "get-dynamic-info.h".
33434         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
33435         * elf/setup-vdso.h: Here.  New file.
33436         * elf/rtld.c: Include "setup-vdso.h".
33437         (dl_main): Call setup_vdso.
33439 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
33441         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
33442         creal in comment listing functions tested.  List finite, isinf,
33443         isnan, isless, islessequal, isgreater, isgreaterequal,
33444         islessgreater, isunordered, lgamma_r and pow10 as functions and
33445         macros not tested.  Mention which functions not tested are aliases
33446         for other functions.  Fix typo.  Note that signs of NaNs are not
33447         tested.
33449         * scripts/config.guess: Update from config.git.
33450         * scripts/config.sub: Likewise.
33452 2012-10-04  Roland McGrath  <roland@hack.frob.com>
33454         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
33455         * misc/madvise.c (madvise): Renamed to __madvise.
33456         Make madvise a weak alias.
33457         * include/sys/mman.h: Declare __madvise.
33458         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
33459         * sysdeps/unix/syscalls.list
33460         (madvise): Make __madvise the strong name, and madvise a weak alias.
33461         * sysdeps/unix/sysv/linux/syscalls.list
33462         (madvise, mmap): Remove redundant entries.
33463         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
33464         * malloc/malloc.c (mtrim): Likewise.
33465         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
33467 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33469         * sysdeps/mach/hurd/dl-cache.c: File removed.
33470         * config.h.in (USE_LDCONFIG): New #undef.
33471         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
33472         * configure: Regenerated.
33473         * elf/Makefile (dl-routines): Add dl-cache only under
33474         [$(use-ldconfig) = yes].
33475         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
33476         cache on [USE_LDCONFIG].
33477         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
33478         [USE_LDCONFIG].
33479         * elf/rtld.c (dl_main): Likewise.
33481 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
33483         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
33484         _SC_LEVEL4_CACHE_LINESIZE.
33486 2012-10-03  Roland McGrath  <roland@hack.frob.com>
33488         * sysdeps/unix/bsd/confstr.h: File removed.
33490 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
33492         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
33493         sys/sdt-config.h.
33495 2012-10-02  Roland McGrath  <roland@hack.frob.com>
33497         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
33498         Make 'mapoff' field ElfW(Off) rather than off_t.
33500 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
33502         * nscd/Makefile: Remove nscd-cflags and all its users.
33503         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
33504         (CFLAGS-nonlib): Add compiler flags for nscd modules.
33506         [BZ #10631]
33507         * malloc.c (malloc_printerr): Clarify error message.
33509 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
33511         [BZ #14648]
33512         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33513         Set bit_FMA_Usable if FMA is supported.
33514         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
33515         macro.
33516         (bit_FMA4_Usable): Updated.
33517         (index_FMA_Usable): New macro.
33518         (CPUID_FMA): Likewise
33519         (HAS_FMA): Defined with bit_FMA_Usable.
33521 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33523         * bits/types.h (__swblk_t): Type removed.
33524         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
33525         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
33526         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33527         (__SWBLK_T_TYPE): Likewise.
33528         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
33529         (__SWBLK_T_TYPE): Likewise.
33530         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33531         (__SWBLK_T_TYPE): Likewise.
33532         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33533         (__SWBLK_T_TYPE): Likewise.
33535 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
33536             Honza Horak <hhorak@redhat.com>
33538         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
33539         (xdr_mapname): Use YPMAXMAP as maxsize.
33540         (xdr_peername): Use YPMAXPEER as maxsize.
33541         (xdr_keydat): Use YPAXRECORD as maxsize.
33542         (xdr_valdat): Use YPMAXRECORD as maxsize.
33544 2012-10-01  Roland McGrath  <roland@hack.frob.com>
33546         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
33548         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
33549         * csu/init-first.c: ... here.
33550         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
33551         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
33552         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
33553         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33554         * sysdeps/i386/init-first.c: File removed.
33555         * sysdeps/sh/init-first.c: File removed.
33557 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
33559         [BZ #14645]
33560         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
33561         if x * y might underflow to zero and z is zero.
33562         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33563         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33564         * math/libm-test.inc (min_subnorm_value): New variable.
33565         (fma_test): Add more tests.
33566         (fma_test_towardzero): Likewise.
33567         (fma_test_downward): Likewise
33568         (fma_test_upward): Likewise.
33569         (initialize): Set min_subnorm_value.
33571 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
33573         [BZ #14638]
33574         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
33575         0 + 0.
33576         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
33577         mode for addition resulting in exact zero.
33578         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
33579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
33580         exact 0 + 0.
33581         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33583         * math/libm-test.inc (fma_test): Add more tests.
33584         (fma_test_towardzero): New function.
33585         (fma_test_downward): Likewise.
33586         (fma_test_upward): Likewise.
33587         (main): Call the new functions.
33589 2012-09-28  David S. Miller  <davem@davemloft.net>
33591         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
33593 2012-09-28  Roland McGrath  <roland@hack.frob.com>
33595         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
33596         instead of SIGALRM.
33598         * sysdeps/gnu/_G_config.h: Moved to ...
33599         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
33600         * sysdeps/mach/hurd/_G_config.h: Moved to ...
33601         * sysdeps/generic/_G_config.h: ... here.
33603         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
33605         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
33607         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
33608         Conditionalize target on [libnss_test1.so-version].
33610         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
33612         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
33613         (elfobjdir): Move out of conditionals.
33615         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
33616         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
33617         (__nss_lookup_function): Conditionalize label remove_from_tree on
33618         [!DO_STATIC_NSS || SHARED], matching its only use.
33620 2012-09-28  David S. Miller  <davem@davemloft.net>
33622         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
33623         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
33624         file.
33625         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
33626         sysdep_routines.
33627         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
33628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
33629         when HWCAP_SPARC_CRYPTO is present.
33631 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33633         * io/tst-mknodat.c: Create a FIFO instead of a socket.
33635 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
33637         [BZ #6530]
33638         * stdio-common/vfprintf.c (process_string_arg): Revert
33639         2000-07-22 change.
33641 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
33643         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
33644         for testcase.
33645         * stdio-common/tst-sprintf.c: Include <locale.h>
33646         (main): Test sprintf's handling of incomplete multibyte
33647         characters.
33649 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
33651         * elf/dl-runtime.c (VERSYMIDX): Removed.
33652         * elf/dl-version.c (VERSYMIDX): Likewise.
33653         * elf/do-rel.h (VERSYMIDX): Likewise.
33654         (VALIDX): Likewise.
33655         * elf/dynamic-link.h (VERSYMIDX): Likewise.
33656         * elf/rtld.c (VALIDX): Likewise.
33657         (ADDRIDX): Likewise.
33658         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
33659         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
33660         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
33661         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
33662         (VALIDX): Likewise.
33663         (ADDRIDX): Likewise.
33665 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33667         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
33669 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
33671         [BZ #11438]
33672         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
33673         to global scope.
33674         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
33675         addresses are in the same scope as 192.0.2/24.
33676         * posix/gai.conf: Document new scope table defaults.
33678 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33680         [BZ #5298]
33681         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
33682         for ftell.  Compute offsets from write pointers instead.
33683         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
33685 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33687         [BZ #14543]
33688         * libio/Makefile (tests): New test case tst-fseek.
33689         * libio/tst-fseek.c: New test case to verify that fseek/ftell
33690         combination works in wide mode.
33691         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
33692         state when the external buffer state changes.
33694 2012-09-27  David S. Miller  <davem@davemloft.net>
33696         [BZ #14376]
33697         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
33698         pass reloc->r_addend in as the 'high' argument to
33699         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
33701         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33703 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
33705         * rt/tst-aio2.c: Include <pthread.h>.
33706         * rt/tst-aio3.c: Likewise.
33708 2012-09-27  Steve Ellcey  <sellcey@mips.com>
33710         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
33712 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
33714         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
33715         contents on [SHARED].
33717 2012-09-26  Marek Polacek  <polacek@redhat.com>
33719         [BZ #14530]
33720         [BZ #13741]
33721         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
33722         for C++ and GCC <4.3 as well as for non GCC compilers.
33724 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
33726         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33728 2012-09-25  Roland McGrath  <roland@hack.frob.com>
33730         * Makefile.in (all, install): Declare with .PHONY.
33731         Reported by Michael Hope <michael.hope@linaro.org>.
33733 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33735         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
33736         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
33737         system header.
33738         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
33739         Likewise.
33740         (sydep_routines): Add the new and the internal functions.
33741         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
33742         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
33743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
33744         (GLIBC_2.17): Add the new function.
33745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
33746         (GLIBC_2.17): Likewise.
33747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
33748         (GLIBC_2.17): Likewise.
33749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
33750         (GLIBC_2.17): Likewise.
33751         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
33753 2012-09-25  Alan Modra  <amodra@gmail.com>
33755         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
33756         Add release barrier before setting once_control to say
33757         initialisation is done.  Add hints on lwarx.  Use macro in
33758         place of isync.
33759         (clear_once_control): Add release barrier.
33761 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33763         [BZ #13629]
33764         * math/s_clog.c (__clog): Handle more values close to |z| = 1
33765         specially.
33766         * math/s_clog10.c (__clog10): Likewise.
33767         * math/s_clog10f.c (__clog10f): Likewise.
33768         * math/s_clog10l.c (__clog10l): Likewise.
33769         * math/s_clogf.c (__clogf): Likewise.
33770         * math/s_clogl.c (__clogl): Likewise.
33771         * math/Makefile (libm-calls): Add x2y2m1.
33772         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
33773         (__x2y2m1): Likewise.
33774         (__x2y2m1l): Likewise.
33775         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
33776         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
33777         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
33778         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
33779         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
33780         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
33781         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
33782         * sysdeps/i386/fpu/libm-test-ulps: Update.
33783         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33785         [BZ #14621]
33786         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
33787         int as type of variable DEPTH.
33788         (glob): Use size_t instead of int as type of variables NEWCOUNT
33789         and OLD_PATHC.
33791 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33793         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
33794         Add s_sincosf-sse2.
33795         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
33796         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
33797         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
33798         macros for using routine as __sincosf_ia32.
33799         Use macro for function declaration and weak_alias.
33800         * sysdeps/i386/fpu/libm-test-ulps: Update.
33802         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
33803         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33805         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
33806         subnormal argument.
33807         * math/s_cexpf.c (__cexpf): Likewise.
33808         * math/s_csinf.c (__csinf): Likewise.
33809         * math/s_csinhf.c (__csinhf): Likewise.
33810         * math/s_ctanf.c (__ctanf): Likewise.
33811         * math/s_ctanhf.c (__ctanhf): Likewise.
33812         * math/s_ccosh.c (__ccoshf): Likewise.
33813         * math/s_cexp.c (__cexpl): Likewise.
33814         * math/s_csin.c (__csin): Likewise.
33815         * math/s_csinh.c (__csinh): Likewise.
33816         * math/s_ctan.c (__ctan): Likewise.
33817         * math/s_ctanh.c (ctanh): Likewise.
33818         * math/s_ccoshl.c (__ccoshl): Likewise.
33819         * math/s_cexpl.c (__cexpl): Likewise.
33820         * math/s_csinl.c (__csinl): Likewise.
33821         * math/s_csinhl.c (__csinhl): Likewise.
33822         * math/s_ctanl.c (__ctanl): Likewise.
33823         * math/s_ctanhl.c (__ctanhl): Likewise.
33825 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
33827         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
33828         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
33829         (_IO_off_t): Define to __off_t, not _G_off_t.
33830         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
33831         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
33832         (_IO_wint_t): Define to wint_t, not _G_wint_t.
33833         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
33834         type of __dummy and __dummy2 fields.
33835         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
33836         (_G_ssize_t): Likewise.
33837         (_G_off_t): Likewise.
33838         (_G_pid_t): Likewise.
33839         (_G_uid_t): Likewise.
33840         (_G_wchar_t): Likewise.
33841         (_G_wint_t): Likewise.
33842         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
33843         (_G_ssize_t): Likewise.
33844         (_G_off_t): Likewise.
33845         (_G_pid_t): Likewise.
33846         (_G_uid_t): Likewise.
33847         (_G_wchar_t): Likewise.
33848         (_G_wint_t): Likewise.
33849         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
33850         (_G_ssize_t): Likewise.
33851         (_G_off_t): Likewise.
33852         (_G_pid_t): Likewise.
33853         (_G_uid_t): Likewise.
33854         (_G_wchar_t): Likewise.
33855         (_G_wint_t): Likewise.
33857 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33859         * malloc/arena.c: Include malloc-sysdep.h.
33860         (shrink_heap): Use check_may_shrink_heap to decide if madvise
33861         is sufficient to shrink the heap or an unmap is needed.
33862         * sysdeps/generic/malloc-sysdep.h: New file.  Define
33863         new function check_may_shrink_heap.
33864         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
33865         new function check_may_shrink_heap.
33867 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
33869         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
33870         comments.
33872 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
33874         * catgets/test-gencat.sh: Add "set -e".
33875         * elf/tst-pathopt.sh: Likewise.
33876         * grp/tst_fgetgrent.sh: Likewise.
33877         * iconvdata/run-iconv-test.sh: Likewise.
33878         * intl/tst-gettext.sh: Likewise.
33879         * intl/tst-gettext2.sh: Likewise.
33880         * intl/tst-gettext4.sh: Likewise.
33881         * intl/tst-gettext6.sh: Likewise.
33882         * intl/tst-translit.sh: Likewise.
33883         * io/ftwtest-sh: Likewise.
33884         * libio/test-freopen.sh: Likewise.
33885         * malloc/tst-mtrace.sh: Likewise.
33886         * posix/globtest.sh: Likewise.
33887         * posix/tst-getconf.sh: Likewise.
33888         * posix/wordexp-tst.sh: Likewise.
33889         * stdio-common/tst-printf.sh: Likewise.
33890         * stdio-common/tst-unbputc.sh: Likewise.
33891         * stdlib/tst-fmtmsg.sh: Likewise.
33892         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33893         * catgets/Makefile: Do not specify -e option when running
33894         testsuite shell scripts.
33895         * elf/Makefile: Likewise.
33896         * grp/Makefile: Likewise.
33897         * iconvdata/Makefile: Likewise.
33898         * intl/Makefile: Likewise.
33899         * io/Makefile: Likewise.
33900         * libio/Makefile: Likewise.
33901         * malloc/Makefile: Likewise.
33902         * posix/Makefile: Likewise.
33903         * stdio-common/Makefile: Likewise.
33904         * stdlib/Makefile: Likewise.
33905         * sysdeps/x86_64/Makefile: Likewise.
33907         * io/ftwtest-sh: Add copyright header.
33908         * posix/globtest.sh: Likewise.
33909         * posix/tst-getconf.sh: Likewise.
33910         * posix/wordexp-tst.sh: Likewise.
33911         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
33913 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
33915         [BZ #13679]
33916         * Makeconfig (+link): Defined as $(+link-static) if
33917         $(build-shared) isn't yes.
33918         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
33919         isn't yes.
33920         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
33922         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
33924         [BZ #14562]
33925         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
33926         new chunk size with MALLOC_ALIGN_MASK.
33928 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
33930         [BZ #5044]
33931         * stdio-common/printf_fphex.c: Include <stdbool.h> and
33932         <rounding-mode.h>.
33933         (__printf_fphex): Determine rounding using get_rounding_mode and
33934         round_away.
33935         * stdio-common/tst-printf-round.c (struct hex_test): New
33936         structure.
33937         (hex_tests): New variable.
33938         (test_hex_in_one_mode): New function.
33939         (do_test): Also run tests for hex float output.
33941 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
33943         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33944         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33945         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
33946         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
33947         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
33948         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
33949         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33950         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
33952 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
33954         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
33955         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
33956         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
33957         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
33959 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
33961         [BZ #14579]
33962         * elf/rtld.c (dl_main): Limit the check for self loading to normal
33963         mode only.
33964         * elf/tst-rtld-load-self.sh: New test.
33965         * elf/Makefile: Run it.
33967 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
33969         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
33970         (tst-writev-ENV): Remove.
33971         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
33973 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
33975         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
33977 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
33979         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
33980         unconditional.
33981         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
33982         Likewise.
33983         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
33984         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
33985         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
33986         Likewise.
33988 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
33990         [BZ #14587]
33991         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
33992         * config.make.in (have-cpp-asm-debuginfo): Removed.
33993         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
33994         * configure: Regenerated.
33996 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
33998         [BZ #5044]
33999         * stdio-common/printf_fp.c: Include <stdbool.h> and
34000         <rounding-mode.h>.
34001         (___printf_fp): Determine rounding using get_rounding_mode and
34002         round_away.
34003         * stdio-common/tst-printf-round.c: New file.
34004         * stdio-common/Makefile (tests): Add tst-printf-round.
34005         (link-libm): New variable.
34006         ($(objpfx)tst-printf-round): Depend in $(link-libm).
34008 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
34010         [BZ #14576]
34011         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
34012         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
34013         Likewise.
34014         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
34015         Likewise.
34017 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
34019         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
34020         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34021         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34022         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
34024 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
34026         [BZ #14518]
34027         * include/rounding-mode.h: New file.
34028         * sysdeps/generic/get-rounding-mode.h: Likewise.
34029         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
34030         * stdlib/strtod_l.c: Include <rounding-mode.h>.
34031         (MAX_VALUE): New macro.
34032         (MIN_VALUE): Likewise.
34033         (overflow_value): New function.
34034         (underflow_value): Likewise.
34035         (round_and_return): Use overflow_value and underflow_value to
34036         determine return values in overflow and underflow cases.  Use
34037         round_away to determine rounding depending on rounding mode.
34038         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
34039         determine return values in overflow and underflow cases.
34040         * stdlib/tst-strtod-round.c: Include <fenv.h>.
34041         (struct test_results): New structure.
34042         (struct test): Use struct test_results to store expected results
34043         for all rounding modes.
34044         (TEST): Include expected results for all rounding modes.
34045         (test_in_one_mode): New function.
34046         (do_test): Use test_in_one_mode to compute and check results.
34047         Check results for all rounding modes.
34048         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
34049         $(link-libm).
34051 2012-12-09  Allan McRae  <allan@archlinux.org>
34053         * sysdeps/i386/fpu/libm-test-ulps: Update
34055 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
34057         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
34058         (_G_int32_t): Likewise.
34059         (_G_uint16_t): Likewise.
34060         (_G_uint32_t): Likewise.
34061         (_G_HAVE_BOOL): Likewise.
34062         (_G_HAVE_ATEXIT): Likewise.
34063         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34064         (_G_HAVE_IO_FILE_OPEN): Likewise.
34065         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
34066         (_G_int32_t): Likewise.
34067         (_G_uint16_t): Likewise.
34068         (_G_uint32_t): Likewise.
34069         (_G_HAVE_BOOL): Likewise.
34070         (_G_HAVE_ATEXIT): Likewise.
34071         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34072         (_G_HAVE_IO_FILE_OPEN): Likewise.
34073         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
34074         (_G_int32_t): Likewise.
34075         (_G_uint16_t): Likewise.
34076         (_G_uint32_t): Likewise.
34077         (_G_HAVE_BOOL): Likewise.
34078         (_G_HAVE_ATEXIT): Likewise.
34079         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
34080         (_G_HAVE_IO_FILE_OPEN): Likewise.
34082 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
34084         * csu/libc-tls.c: Update copyright years.
34086 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
34088         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
34089         [!_G_USING_THUNKS]: Remove conditional code.
34090         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
34091         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
34093         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
34094         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
34095         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34096         (_G_VTABLE_LABEL_PREFIX): Likewise.
34097         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34098         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34099         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34100         (_G_VTABLE_LABEL_PREFIX): Likewise.
34101         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34102         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
34103         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
34104         (_G_VTABLE_LABEL_PREFIX): Likewise.
34105         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
34107 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
34109         * libio/Makefile: Include ../Makeconfig before tests.
34110         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
34111         only if $(build-shared) is yes.
34113         * iconv/gconv_db.c: Update copyright years.
34115 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34117         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
34118         unwind info if defined PIC. Fix special cases description.
34119         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
34121         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
34122         DP_HI_MASK entry.
34123         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
34125 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
34127         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
34129         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
34130         is NULL.
34132         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
34133         (LDLIBS-tst-chk4): This.
34134         (LDFLAGS-tst-chk5): Renamed to ...
34135         (LDLIBS-tst-chk5): This.
34136         (LDFLAGS-tst-chk6): Renamed to ...
34137         (LDLIBS-tst-chk6): This.
34138         (LDFLAGS-tst-lfschk4): Renamed to ...
34139         (LDLIBS-tst-lfschk4): This.
34140         (LDFLAGS-tst-lfschk5): Renamed to ...
34141         (LDLIBS-tst-lfschk5): This.
34142         (LDFLAGS-tst-lfschk6): Renamed to ...
34143         (LDLIBS-tst-lfschk6): This.
34145         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
34146         on $(common-objpfx)soversions.mk.
34148 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
34150         [BZ #10014]
34151         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
34152         example host name.
34154 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
34156         * malloc/arena.c (arena_get_retry): New function that gets
34157         another arena for the caller to try its request on.
34158         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
34159         current arena cannot fulfill the request.
34160         (__libc_memalign): Likewise.
34161         (__libc_memalign): Likewise.
34162         (__libc_pvalloc): Likewise.
34163         (__libc_calloc): Likewise.
34165 2012-09-05  John Tobey  <john.tobey@gmail.com>
34167         [BZ #13542]
34168         * manual/arith.texi (Operations on Complex): Fix description
34169         of carg branch cut.
34171 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34173         [BZ #10014]
34174         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
34175         host name.
34177         [BZ #10038]
34178         * manual/memory.texi (Memory): Make order of menu items match
34179         order of sections.
34181 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34183         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
34184         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
34185         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
34187 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34189         * csu/libc-tls.c (static_dtv): Renamed to ...
34190         (_dl_static_dtv): This.  Make it global.
34191         (_dl_initial_dtv): Removed.
34192         (__libc_setup_tls): Updated.
34193         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
34194         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
34195         DL_INITIAL_DTV.
34197 2012-09-06  Petr Machata  <pmachata@redhat.com>
34199         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
34200         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
34201         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
34202         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
34204 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34206         [BZ #14545]
34207         * csu/libc-tls.c (_dl_initial_dtv): New variable.
34208         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
34209         freeing dtv[-1].
34211 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
34213         [BZ #14544]
34214         * Makeconfig (link-static-before-libc): Replace $(+prector)
34215         with $(+prectorT).
34216         (link-static-after-libc): Replace $(+postctor) with
34217         $(+postctorT).
34218         (link-bounded): Replace $(+prector)/$(+postctor) with
34219         $(+prectorT)/$(+postctorT).
34220         (+prectorT): New macro.
34221         (+postctorT): Likewise.
34223 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
34225         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
34226         (round_str): Handle values above the maximum for IBM long double
34227         as inexact.
34228         * stdlib/tst-strtod-round.c (tests): Regenerated.
34230 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34232         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
34233         assembler flag.
34234         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
34235         zarch_nohighgprs around the zarch optimized routines.
34236         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
34237         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
34238         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
34239         for zarch.
34241 2012-09-05  David S. Miller  <davem@davemloft.net>
34243         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34245         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
34246         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
34247         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
34248         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
34249         entries.
34251 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34253         * malloc/arena.c: Fold copyright years.
34254         * malloc/mcheck.c, malloc/memusage.c: Likewise.
34256 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34258         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
34260 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34262         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
34264 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34266         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
34267         change internal state upon failure.
34269 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
34271         * malloc/mcheck.c (mcheck_check_all): Fix typo.
34272         * malloc/memusage.c (mmap): Likewise.
34273         (mmap64, mremap): Likewise.  Adjust name in comment.
34275 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34277         * libio/fileops.c: Fix typos in comments.
34278         * libio/oldfileops.c: Likewise.
34279         * libio/wfileops.c: Likewise.
34281 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34283         [BZ #1349]
34284         * malloc/Makefile (tests): Add tst-malloc-usable test case.
34285         (tst-malloc-usable-ENV): Set environment for test case.
34286         * malloc/hooks.c (malloc_check_get_size): New function to get
34287         requested size.
34288         * malloc/malloc.c (musable): Use malloc_check_get_size.
34289         * malloc/tst-malloc-usable.c: New test case.
34291 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34293         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
34295 2012-09-05  Allan McRae  <allan@archlinux.org>
34297         [BZ #13966]
34298         * configure.in (CXX_SYSINCLUDES): Use compiler output to
34299         determine header location.
34300         * configure: Regenerated.
34302 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
34304         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
34305         float format.
34306         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
34307         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
34308         format.
34309         (test): Regenerate.
34311 2012-09-04  David S. Miller  <davem@davemloft.net>
34313         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
34314         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
34315         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
34317 2012-09-04  Florian Weimer  <fweimer@redhat.com>
34319         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
34320         failures.
34322         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
34324 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
34326         [BZ #9914]
34327         * libio/iogetdelim.c: Include <limits.h>.
34328         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
34329         + len + 1 would overflow.
34331 2012-09-03  Andreas Jaeger  <aj@suse.de>
34333         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34334         * sysdeps/i386/fpu/libm-test-ulps: Update.
34336 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
34338         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
34339         Add s_sinf-sse2, s_conf-sse2.
34341         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
34342         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
34343         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
34344         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
34346         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
34347         for using routine as __sinf_ia32.
34348         Use macro for function declaration and weak_alias.
34349         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
34350         for using routine as __cosf_ia32.
34351         Use macro for function declaration and weak_alias.
34353         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
34354         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
34356         * sysdeps/x86_64/fpu/s_sinf.S: New file.
34357         * sysdeps/x86_64/fpu/s_cosf.S: New file.
34358         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34360         * math/libm-test.inc (cos_test): Add more test cases.
34361         (sin_test): Likewise.
34362         (sincos_test): Likewise.
34364 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34366         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
34367         (IFUNC_RESOLVE): Make pointers to the specialized implementations
34368         hidden.
34369         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
34371 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
34373         [BZ #14538]
34374         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
34375         first element of the GOT.
34376         (elf_machine_load_address): Return the difference between
34377         the runtime address of _DYNAMIC and elf_machine_dynamic ().
34379 2012-09-01  Allan McRae  <allan@archlinux.org>
34381         [BZ #13412]
34382         * configure.in (AWK): Require gawk version 3.0 or later.
34383         * configure: Regenerated.
34385 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
34387         * sysdeps/unix/sysv/linux/kernel-features.h
34388         (__ASSUME_POSIX_CPU_TIMERS): Remove.
34389         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34390         [__NR_clock_getres]: Make code unconditional.
34391         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
34392         (clock_getcpuclockid): Remove code left unreachable by removal of
34393         conditionals.
34394         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
34395         code unconditional.
34396         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34397         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34398         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
34399         Make code unconditional.
34400         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
34401         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34402         * sysdeps/unix/sysv/linux/clock_settime.c
34403         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
34404         conditional code.
34405         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
34406         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
34408 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
34410         [BZ #14476]
34411         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
34412         scripts/test-installation.pl.
34414         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
34415         and $ld_so_version if it is set.
34417 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
34419         [BZ #14516]
34420         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
34421         failure if reading from procfs failed.
34422         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
34424 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34426         * sysdeps/unix/sysv/linux/kernel-features.h
34427         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
34428         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34429         Remove conditional code.
34430         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34431         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
34432         Remove conditional code.
34433         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34434         * sysdeps/unix/sysv/linux/i386/fxstat.c
34435         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34436         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34437         * sysdeps/unix/sysv/linux/i386/fxstatat.c
34438         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34439         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34440         * sysdeps/unix/sysv/linux/i386/lxstat.c
34441         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
34442         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34443         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
34444         Remove conditional code.
34445         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34446         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
34447         Remove conditional code.
34448         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34449         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
34450         <kernel-features.h>.
34451         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
34452         Remove.
34453         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
34454         Remove conditional code.
34455         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
34456         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
34457         Remove conditional.
34459 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
34461         [BZ #5400]
34462         * NEWS: Add fixed bug number.
34464 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
34466         [BZ #14519]
34467         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
34468         underflowing exponent in case of negative sign.
34469         * stdlib/tst-strtod-round-data: Add more tests.
34470         * stdlib/tst-strtod-round.c (tests): Regenerated.
34472         [BZ #3479]
34473         * stdlib/strtod_l.c (NDIG): Remove.
34474         (HEXNDIG): Likewise.
34475         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
34476         smallest representable value.
34477         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
34478         lie within an exact representation of 1/2 ulp of the result.
34479         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
34480         unconditionally.
34481         (TENS_P9_IDX): Define unconditionally.
34482         (TENS_P9_SIZE): Likewise.
34483         (TENS_P10_IDX): Likewise.
34484         (TENS_P10_SIZE): Likewise.
34485         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
34486         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
34487         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
34488         entries for 10^2^13 and 10^2^14.
34489         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
34490         (TENS_P13_IDX): Define.
34491         (TENS_P13_SIZE): Likewise.
34492         (TENS_P14_IDX): Likewise.
34493         (TENS_P14_SIZE): Likewise.
34494         (_fpioconst_pow10): Change array size to
34495         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
34496         unconditional.
34497         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
34498         1024]: Add entries for 10^2^13 and 10^2^14.
34499         [LAST_POW10 > _LAST_POW10]: Remove #error.
34500         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
34501         (_fpioconst_pow10): Change array size to
34502         FPIOCONST_POW10_ARRAY_SIZE.
34503         * stdlib/gen-fpioconst.c: New file.
34504         * stdlib/gen-tst-strtod-round.c: Likewise.
34505         * stdlib/tst-strtod-round-data: Likewise.
34506         * stdlib/tst-strtod-round.c: Likewise.
34507         * stdlib/Makefile (tests): Add tst-strtod-round.
34509         [BZ #14459]
34510         * stdlib/strtod_l.c: Include <stdint.h>.
34511         (NDEBUG): Do not define.
34512         (round_and_return): Change EXPONENT parameter to type intmax_t.
34513         Rearrange calculations to avoid internal overflow possibilities.
34514         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
34515         Rearrange calculations to avoid internal overflow possibilities.
34516         Assert that number fits inside MPNSIZE limbs.
34517         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
34518         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
34519         calculations and add assertions to avoid internal overflow
34520         possibilities.  Add casts to avoid signed/unsigned operations.
34521         * stdlib/tst-strtod-overflow.c: New file.
34522         * stdlib/Makefile (tests): Add tst-strtod-overflow.
34524 2012-08-25  Marek Polacek  <polacek@redhat.com>
34526         * time/time.h: Fix some typos in comments.
34528 2012-08-23  Roland McGrath  <roland@hack.frob.com>
34530         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
34531         * posix/tst-rfc3484-2.c: Likewise.
34532         * posix/tst-rfc3484-3.c: Likewise.
34534 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
34536         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
34537         (EF_ARM_ABI_FLOAT_HARD): Likewise.
34539 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
34541         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
34542         #include of fxstatat64.c.
34544 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34546         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
34547         * shadow/getspent_r.c: Likewise.
34548         * shadow/getspnam.c: Likewise.
34549         * shadow/getspnam_r.c: Likewise.
34550         * gshadow/getsgent.c: Likewise.
34551         * gshadow/getsgent_r.c: Likewise.
34552         * gshadow/getsgnam.c: Likewise.
34553         * gshadow/getsgnam_r.c: Likewise.
34554         * inet/getnetbyad.c: Likewise.
34555         * inet/getnetbyad_r.c: Likewise.
34556         * inet/getnetbynm.c: Likewise.
34557         * inet/getnetbynm_r.c: Likewise.
34558         * inet/getnetent.c: Likewise.
34559         * inet/getnetent_r.c: Likewise.
34560         * inet/getproto.c: Likewise.
34561         * inet/getproto_r.c: Likewise.
34562         * inet/getprtent.c: Likewise.
34563         * inet/getprtent_r.c: Likewise.
34564         * inet/getprtname.c: Likewise.
34565         * inet/getprtname_r.c: Likewise.
34566         * inet/getrpcbyname.c: Likewise.
34567         * inet/getrpcbyname_r.c: Likewise.
34568         * inet/getrpcbynumber.c: Likewise.
34569         * inet/getrpcbynumber_r.c: Likewise.
34570         * inet/getrpcent.c: Likewise.
34571         * inet/getrpcent_r.c: Likewise.
34572         * inet/getaliasent.c: Likewise.
34573         * inet/getaliasent_r.c: Likewise.
34574         * inet/getaliasname.c: Likewise.
34575         * inet/getaliasname_r.c: Likewise.
34576         * nscd/getgrgid_r.c: Likewise.
34577         * nscd/getgrnam_r.c: Likewise.
34578         * nscd/gethstbyad_r.c: Likewise.
34579         * nscd/gethstbynm3_r.c: Likewise.
34580         * nscd/getpwnam_r.c: Likewise.
34581         * nscd/getpwuid_r.c: Likewise.
34582         * nscd/getsrvbynm_r.c: Likewise.
34583         * nscd/getsrvbypt_r.c: Likewise.
34584         * nscd/gai.c: Likewise.
34586         * configure.in (build_nscd): New substituted variable, set
34587         by --disable-build-nscd and defaults to $use_nscd.
34588         * configure: Regenerated.
34589         * config.make.in (build-nscd): New substituted variable.
34590         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
34591         Change conditional to require [$(build-nscd) = yes] as well.
34592         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
34594         [BZ# 13696]
34595         * configure.in (use_nscd): New substituted variable, set by
34596         --disable-nscd.  If enabled, define USE_NSCD.
34597         * configure: Regenerated.
34598         * config.h.in: Add USE_NSCD.
34599         * config.make.in (use-nscd): New substituted variable.
34600         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
34601         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
34602         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
34603         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
34604         (CFLAGS-getgrnam_r.c): Likewise.
34605         (CFLAGS-initgroups.c): Likewise.
34606         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
34607         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
34608         Variables removed.
34609         * inet/getnetgrent_r.c
34610         (nscd_setnetgrent): New function, broken out of ...
34611         (setnetgrent): ... here.  Call it.
34612         (innetgr): Conditionalize nscd bits on [USE_NSCD].
34613         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
34614         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
34615         * nscd/Makefile (routines, aux): Move definitions after include of
34616         Makeconfig.  Conditionalize on [$(use-nscd) != no].
34617         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
34618         Conditionalize on [USE_NSCD].
34619         (is_nscd, nscd_init_cb): Likewise.
34620         (nss_load_library): Conditionalize init callback on [USE_NSCD].
34621         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
34622         * nss/nss_db/db-init.c: Likewise.
34623         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
34624         [USE_NSCD].
34625         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
34626         (make_request): Use it.
34627         (cache_valid_p): New function.
34628         (__check_pf): Use it.
34629         * NEWS: Add item for --disable-nscd.
34631 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
34633         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
34634         to support sed >= 4.2.1-20-ga9bf076.
34635         * configure: Regenerated.
34637 2012-08-22  Roland McGrath  <roland@hack.frob.com>
34639         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
34640         Conditionalize whole body on [IREL].
34642 2012-08-22  Jeff Law <law@redhat.com>
34644         [BZ #14505]
34645         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
34646         if the family is PF_UNSPEC.
34648 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
34650         * Makerules (lib-version): Rename from V.
34651         (install-lib-nosubdir): Change V to lib-version.
34653 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
34655         [BZ #14252]
34656         * powerpc32/power6/wcschr.c: New file.
34657         * powerpc32/power6/wcscpy.c: New file.
34658         * powerpc32/power6/wcsrchr.c: New file.
34659         * powerpc64/power6/wcschr.c: New file.
34660         * powerpc64/power6/wcscpy.c: New file.
34661         * powerpc64/power6/wcsrchr.c: New file.
34663 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34665         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
34666         (two_way_short_needle): Use it.
34667         * string/strstr.c (AVAILABLE1_USES_J): Define.
34668         * string/strcasestr.c: Likewise.
34670         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
34671         array references.
34672         * string/strcasestr.c (TOLOWER): Make side-effect safe.
34674         [BZ #11607]
34675         * NEWS: Add an entry.
34676         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
34677         define their defaults.
34678         (two_way_short_needle): Detect end-of-string on-the-fly.
34679         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
34680         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
34681         * string/bug-strcasestr1.c: New test.
34682         * string/Makefile: Run it.
34684 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
34686         [BZ #11607]
34687         * string/str-two-way.h (two_way_short_needle): Optimize matching of
34688         the first character.
34690 2012-08-21  Roland McGrath  <roland@hack.frob.com>
34692         * csu/elf-init.c (__libc_csu_irel): Function removed.
34693         * csu/libc-start.c (apply_irel): New function.
34694         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
34696 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
34698         * sysdeps/unix/sysv/linux/kernel-features.h
34699         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
34700         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
34701         <kernel-features.h>.
34702         [__NR_fadvise64_64]: Make code unconditional.
34703         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
34704         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34705         !__NR_fadvise64_64)]: Likewise.
34706         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
34707         !__NR_fadvise64_64))]: Likewise.
34708         [__NR_fadvise64]: Make code unconditional.
34709         [!__NR_fadvise64]: Remove conditional code.
34710         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
34711         <kernel-features.h>.
34712         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34713         unconditional.
34714         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34715         conditional code.
34716         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
34717         not include <kernel-features.h>.
34718         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34719         unconditional.
34720         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34721         conditional code.
34722         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
34723         include <kernel-features.h>.
34724         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
34725         unconditional.
34726         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
34727         conditional code.
34729 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
34731         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
34732         slight instruction rearrangements per scrollpipe analysis.
34733         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34735 2012-08-20  Roland McGrath  <roland@hack.frob.com>
34737         * manual/syslog.texi (syslog; vsyslog, closelog):
34738         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
34739         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
34741         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
34742         DSOCAPS to match condition on defining it.
34744 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
34746         * sysdeps/unix/sysv/linux/kernel-features.h
34747         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
34748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
34749         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34750         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
34752         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34753         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
34755         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
34756         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
34758         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
34759         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
34761         * sysdeps/unix/sysv/linux/kernel-features.h
34762         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
34763         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
34764         unconditional.
34765         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34766         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
34767         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34768         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34769         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
34770         Make code unconditional.
34771         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34772         (__mmap64) [!__NR_mmap2]: Likewise.
34773         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
34774         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
34775         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34776         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
34777         [__NR_mmap2]: Make code unconditional.
34778         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
34779         (__mmap64) [!__NR_mmap2]: Likewise.
34781 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34783         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
34785 2012-08-18  Andreas Jaeger  <aj@suse.de>
34787         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
34789 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34791         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
34792         * include/unistd.h (__have_sock_cloexec): Likewise.
34793         (__have_pipe2): Likewise.
34794         (__have_dup3): Likewise.
34796 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
34798         [BZ #9685]
34799         * include/unistd.h (__have_pipe2): Change define into an extern int.
34800         (__have_dup3): Likewise.
34801         * socket/have_sock_cloexec.c: Include fcntl.h.
34802         (__have_pipe2): New variable.
34803         (__have_dup3): Likewise.
34805 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
34807         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
34809 2012-08-17  Marek Polacek  <polacek@redhat.com>
34811         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
34812         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
34814 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34816         * configure.in: Add AC_SUBST for sysheaders.
34817         * configure: Regenerated.
34818         * config.make.in (sysheaders): New substituted variable.
34820         * sysdeps/unix/mkfifo.c: Moved ...
34821         * sysdeps/posix/mkfifo.c: ... here.
34822         * sysdeps/unix/mkfifoat.c: Moved ...
34823         * sysdeps/posix/mkfifoat.c: ... here.
34825         * sysdeps/unix/utime.c: Moved ...
34826         * sysdeps/posix/utime.c: ... here.
34828         * sysdeps/unix/time.c: Moved ...
34829         * sysdeps/posix/time.c: ... here.
34830         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
34831         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
34833         * sysdeps/unix/nice.c: Moved ...
34834         * sysdeps/posix/nice.c: ... here.
34836         * sysdeps/unix/alarm.c: Moved ...
34837         * sysdeps/posix/alarm.c: ... here.
34839         * intl/Makefile ($(codeset_mo)): Depend on the input file.
34841 2012-08-17  Jeff Law <law@redhat.com>
34843         * intl/Makefile (codeset_mo): New variable.
34844         ($(codeset_mo)): New target.
34845         (tst-codeset.out): Depend on that.  Remove explicit rule.
34846         (tst-gettext3.out, tst-gettext5.out): Likewise.
34847         (LOCPATH-ENV, tst-codeset-ENV): New variables.
34848         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
34849         * intl/tst-codeset.sh: Remove.
34850         * intl/tst-gettext3.sh: Likewise.
34851         * intl/tst-gettext5.sh: Likewise.
34853 2012-08-17  Roland McGrath  <roland@hack.frob.com>
34855         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
34856         * sysdeps/unix/syscalls.list: ... here.
34858         * sysdeps/posix/getaddrinfo.c
34859         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
34860         (gaiconf_init, gaiconf_reload): Use them.
34861         [!_STATBUF_ST_NSEC]
34862         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
34863         Define using time_t rather than struct timespec.
34865         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
34866         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
34867         Macros removed.
34868         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
34869         [!NO_THREADS].
34870         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
34871         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
34872         Likewise.
34874         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
34875         __libc_cleanup_push argument.
34877         * bits/param.h: New file.
34878         * misc/sys/param.h: New file.
34879         * include/sys/param.h: New file.
34880         * misc/Makefile (headers): Add bits/param.h.
34881         * sysdeps/generic/sys/param.h: File removed.
34882         * sysdeps/unix/sysv/linux/bits/param.h: New file.
34883         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
34884         * sysdeps/mach/hurd/bits/param.h: New file.
34885         * sysdeps/mach/hurd/sys/param.h: File removed.
34887         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
34888         last change.
34890         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
34891         [_IO_MTSAFE_IO].
34892         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
34893         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
34894         New macros.
34896         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
34897         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
34898         rather than -D_IO_MTSAFE_IO conditionally.
34899         * stdio-common/Makefile (CPPFLAGS): Likewise.
34900         * wcsmbs/Makefile (CPPFLAGS): Likewise.
34901         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
34902         Use $(libio-mtsafe).
34903         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
34904         of -D_IO_MTSAFE_IO.
34905         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
34906         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
34907         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
34908         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
34909         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
34910         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
34911         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
34912         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
34913         (CFLAGS-fread_u_chk.c): Likewise.
34914         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
34915         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
34916         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
34917         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
34918         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
34919         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
34920         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
34921         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
34922         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
34924         * libio/Makefile: Test [$(libc-reentrant) = yes]
34925         instead of [$(filter %REENTRANT, $(defines)) nonempty].
34927         * Makeconfig
34928         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
34929         * sysdeps/pthread/configure: File removed.
34930         * sysdeps/pthread/Makeconfig: New file.
34931         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
34932         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
34934 2012-08-16  Gary Benson  <gbenson@redhat.com>
34936         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
34937         unmapping the first object in a namespace.
34939 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34941         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
34942         (__internal_setnetgrent): ... this.  Add internal_function to
34943         definition.  Add libc_hidden_def.
34944         (setnetgrent): Update caller.
34945         (internal_endnetgrent): Renamed to ...
34946         (__internal_endnetgrent): ... this.  Add internal_function to
34947         definition.  Add libc_hidden_def.
34948         (endnetgrent): Update caller.
34949         (internal_getnetgrent_r): Renamed to ...
34950         (__internal_getnetgrent_r): ... this.  Add internal_function to
34951         definition.  Add libc_hidden_def.
34952         (__getnetgrent_r): Update caller.
34953         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
34955 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34957         * stdlib/longlong.h: Update from GCC.
34959 2012-08-16  Roland McGrath  <roland@hack.frob.com>
34961         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
34962         on _QL, which is set by umul_ppmm but never used.
34963         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
34964         variables, which are set by GMP macros but never used.
34965         * stdio-common/_itowa.c (_itowa): Likewise.
34966         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
34967         * stdlib/mod_1.c (mpn_mod_1): Likewise.
34969 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
34971         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
34972         struct La_sh_regs is not constant.
34973         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
34974         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
34975         and struct La_sparc64_regs are not constant.
34977 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
34979         * sysdeps/unix/sysv/linux/kernel-features.h
34980         (__ASSUME_POSIX_TIMERS): Remove.
34981         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
34982         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34983         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
34984         Make code unconditional.
34985         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34986         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
34987         Make code unconditional.
34988         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34989         * sysdeps/unix/sysv/linux/clock_nanosleep.c
34990         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
34991         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34992         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
34993         Make code unconditional.
34994         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
34995         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
34996         (__libc_missing_posix_timers): Remove.
34998 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35000         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
35001         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
35003         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
35005         * elf/dl-sym.c: Include <stdlib.h>.
35007         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
35008         constants, which avoids warnings in 32-bit builds.
35010         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
35011         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
35013         * misc/lseek.c: File moved to ...
35014         * io/lseek.c: ... here.
35016         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
35018         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
35019         shifting LEN more than 31 bits at once.
35021 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35023         [BZ #14195]
35024         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
35025         segmentation fault for a case of two empty input strings.
35026         * string/test-strncasecmp.c (check1): Renamed to...
35027         (bz12205): ...this.
35028         (bz14195): Add new testcase for two empty input strings and N > 0.
35029         (test_main): Call new testcase, adapt for renamed function.
35031 2012-08-15  Andreas Jaeger  <aj@suse.de>
35033         [BZ #14090]
35034         * crypt/md5test2.c: New test, based on test supplied by Serge
35035         Belyshev <belyshev@depni.sinp.msu.ru>.
35036         * crypt/Makefile (xtests): Add md5test-giant..
35037         * crypt/Makefile ($(objpfx)md5test-giant): Add.
35039 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
35041         [BZ #14090]
35042         * crypt/md5.c (md5_process_block): Don't assume the buffer
35043         length is less than 2**32.
35044         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
35045         length is less than 2**64.
35047 2012-08-15  Roland McGrath  <roland@hack.frob.com>
35049         * string/str-two-way.h: Include <sys/param.h>.
35050         (MAX): Macro removed.
35052         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
35053         Move #define and #undef of memmove to just before and after
35054         including <string.h>.
35056         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
35057         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
35058         and after including <string.h>.  Move declarations of
35059         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
35060         to before #include "string/memmove.c".
35062         * include/dirent.h: Declare __getdirentries.
35064         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
35065         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
35067 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
35069         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
35070         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
35071         * sysdeps/i386/configure: Regenerated.
35072         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
35073         STABS_CURRENT_FILE, and STABS_FUN.
35074         (END): Remove call to STABS_FUN_END.
35075         (STABS_CURRENT_FILE1): Delete.
35076         (STABS_CURRENT_FILE): Likewise.
35077         (STABS_FUN): Likewise.
35078         (STABS_FUN_END): Likewise.
35079         (STABS_FUN2): Likewise.
35080         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
35081         * sysdeps/x86_64/configure: Regenerated.
35083 2012-08-14  Roland McGrath  <roland@hack.frob.com>
35085         * elf/dl-open.c: Include <atomic.h>.
35086         * elf/dl-lookup.c: Likewise.
35088 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
35090         * sysdeps/unix/sysv/linux/kernel-features.h
35091         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
35092         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
35093         unconditionally.
35094         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
35095         unconditionally.
35096         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
35097         condition on __ASSUME_CLONE_THREAD_FLAGS.
35099 2012-08-14  Andreas Jaeger  <aj@suse.de>
35101         * sysdeps/i386/fpu/libm-test-ulps: Update.
35103 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
35105         * include/atomic.h (atomic_exchange_and_add): Split into ...
35106         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
35107         New atomic macros.
35109 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
35111         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35113 2012-08-13  Jeff Law <law@redhat.com>
35115         * manual/stdio.texi (snprintf): Clarify handling of the trailing
35116         null byte in the output string.
35118 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
35120         * sysdeps/unix/sysv/linux/kernel-features.h
35121         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
35122         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
35123         (__ASSUME_ARG_MAX_STACK_BASED): Define.
35124         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35125         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
35126         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
35127         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
35129 2012-08-09  Jeff Law <law@redhat.com>
35131         [BZ #13939]
35132         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
35133         When avoid_arena is set, don't retry in the that arena.  Pick the
35134         next one, whatever it might be.
35135         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
35136         (arena_lock): Pass in new parameter to arena_get2.
35137         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
35138         arena_get2.
35139         (__libc_malloc): Unify retrying after main arena failure with
35140         __libc_memalign version.
35141         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
35143 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
35145         [BZ #14166]
35146         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
35147         to __redirect_strstr.
35148         (__strstr_sse42): Use typeof __redirect_strstr.
35149         (__strstr_ia32): Likewise.
35150         (__libc_strstr): New prototype.
35151         (strstr): Renamed to ...
35152         (__libc_strstr): This.
35153         (strstr): New strong alias of __libc_strstr.
35154         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
35155         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
35156         __redirect_time.
35157         Include <time.h>.
35158         (__libc_time): New prototype.
35159         (time_ifunc): Replace time with __libc_time.
35160         (time): New strong alias and hidden definition of __libc_time.
35161         (__GI_time): Remove strong alias.
35162         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
35163         Include <stddef.h>.
35164         (memmove): Redefined to __redirect_memmove.
35165         (__memmove_sse2): Use typeof __redirect_memmove.
35166         (__memmove_ssse3): Likewise.
35167         (__memmove_ssse3_back): Likewise.
35168         (__libc_memmove): New prototype.
35169         (memmove): Renamed to ...
35170         (__libc_memmove): This.
35171         (memmove): New strong alias of __libc_memmove.
35173 2012-08-08  Mark Salter  <msalter@redhat.com>
35175         * elf/elf.h
35176         (R_MN10300_TLS_GD): Define.
35177         (R_MN10300_TLS_LD): Likewise.
35178         (R_MN10300_TLS_LDO): Likewise.
35179         (R_MN10300_TLS_GOTIE): Likewise.
35180         (R_MN10300_TLS_IE): Likewise.
35181         (R_MN10300_TLS_LE): Likewise.
35182         (R_MN10300_TLS_DTPMOD): Likewise.
35183         (R_MN10300_TLS_DTPOFF): Likewise.
35184         (R_MN10300_TLS_TPOFF): Likewise.
35185         (R_MN10300_SYM_DIFF): Likewise.
35186         (R_MN10300_ALIGN): Likewise.
35187         (R_MN10300_NUM): Update.
35189 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
35191         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
35192         Remove.
35194 2012-08-08  Roland McGrath  <roland@hack.frob.com>
35196         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
35198         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
35199         sysdeps/unix -> sysdeps/posix move.
35200         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
35202 2012-08-07      Allan McRae     <allan@archlinux.org>
35204         [BZ #14303]
35205         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
35206         (SUNOS_CPP): Likewise.
35207         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
35208         not found.
35209         (open_input): Call CPP using execvp.
35211 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35213         * sysdeps/unix/sysv/linux/kernel-features.h
35214         (__ASSUME_PROT_GROWSUPDOWN): Remove.
35215         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35216         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35217         (__ASSUME_WAITID_SYSCALL): Likewise.
35218         * sysdeps/unix/sysv/linux/dl-execstack.c
35219         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
35220         code unconditional.
35221         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
35222         conditional code.
35223         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
35224         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
35225         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
35226         code.
35227         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
35228         unconditional.
35229         [__ASSUME_WAITID_SYSCALL]: Likewise.
35230         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
35232 2012-08-07  Roland McGrath  <roland@hack.frob.com>
35234         * sysdeps/unix/closedir.c: Renamed to ...
35235         * sysdeps/posix/closedir.c: ... here.
35236         * sysdeps/unix/dirfd.c: Renamed to ...
35237         * sysdeps/posix/dirfd.c: ... here.
35238         * sysdeps/unix/dirstream.h: Renamed to ...
35239         * sysdeps/posix/dirstream.h: ... here.
35240         * sysdeps/unix/fdopendir.c: Renamed to ...
35241         * sysdeps/posix/fdopendir.c: ... here.
35242         * sysdeps/unix/opendir.c: Renamed to ...
35243         * sysdeps/posix/opendir.c: ... here.
35244         * sysdeps/unix/readdir.c: Renamed to ...
35245         * sysdeps/posix/readdir.c: ... here.
35246         * sysdeps/unix/readdir_r.c: Renamed to ...
35247         * sysdeps/posix/readdir_r.c: ... here.
35248         * sysdeps/unix/rewinddir.c: Renamed to ...
35249         * sysdeps/posix/rewinddir.c: ... here.
35250         * sysdeps/unix/seekdir.c: Renamed to ...
35251         * sysdeps/posix/seekdir.c: ... here.
35252         * sysdeps/unix/telldir.c: Renamed to ...
35253         * sysdeps/posix/telldir.c: ... here.
35254         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
35255         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
35256         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
35257         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
35259         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
35260         * bits/fcntl.h: ... here.
35262         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
35263         not 0.
35264         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
35265         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
35266         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
35267         (struct flock): Move l_start, l_len to the beginning.
35268         Use __pid_t for l_pid.
35269         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
35270         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
35271         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
35272         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
35273         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
35274         [__USE_LARGEFILE64] (struct flock64): New type.
35275         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
35277         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
35278         * bits/dirent.h: ... here.
35280         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
35281         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
35283 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
35285         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35286         Change from 2.6.0 to 2.6.16.
35287         * sysdeps/unix/sysv/linux/configure: Regenerated.
35288         * sysdeps/unix/sysv/linux/kernel-features.h
35289         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
35290         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
35291         version.
35292         (__ASSUME_UTIMES): Likewise.
35293         (__ASSUME_CLONE_STOPPED): Remove.
35294         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
35295         architectures, not kernel version.
35296         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
35297         (__ASSUME_NO_CLONE_DETACHED): Likewise.
35298         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
35299         (__ASSUME_WAITID_SYSCALL): Likewise.
35300         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
35301         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
35302         * README: State 2.6.16 as minimum Linux kernel version.  Do not
35303         refer to older versions.
35305 2012-08-06  Roland McGrath  <roland@hack.frob.com>
35307         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
35308         Define alphasort64 as an alias.
35309         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
35310         Define versionsort64 as an alias.
35311         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
35312         Define scandir64 as an alias.
35313         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
35314         Define scandirat64 as an alias.
35315         * dirent/alphasort64.c (alphasort64):
35316         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
35317         * dirent/versionsort64.c: Likewise.
35318         * dirent/scandir64.c: Likewise.
35319         * dirent/scandirat64.c: Likewise.
35320         * sysdeps/wordsize-64/alphasort.c: File removed.
35321         * sysdeps/wordsize-64/alphasort64.c: File removed.
35322         * sysdeps/wordsize-64/scandir.c: File removed.
35323         * sysdeps/wordsize-64/scandir64.c: File removed.
35324         * sysdeps/wordsize-64/scandirat.c: File removed.
35325         * sysdeps/wordsize-64/scandirat64.c: File removed.
35326         * sysdeps/wordsize-64/versionsort.c: File removed.
35327         * sysdeps/wordsize-64/versionsort64.c: File removed.
35328         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
35329         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
35330         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
35331         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
35332         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
35333         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
35334         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
35335         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
35337         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
35338         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35339         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
35340         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35341         [defined __arch64__ || defined __sparcv9]
35342         (__INO_T_MATCHES_INO64_T): New macro.
35343         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35344         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
35345         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
35346         * sysdeps/unix/sysv/linux/bits/dirent.h
35347         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
35348         (_DIRENT_MATCHES_DIRENT64): New macro.
35350         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
35351         Define lockf64 as an alias.
35352         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
35353         Define fseeko64 as an alias.
35354         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
35355         Define ftello64 as an alias.
35356         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
35357         Define _IO_fgetpos64 and fgetpos64 as aliases.
35358         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
35359         Define _IO_fsetpos64 and fsetpos64 as aliases.
35360         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
35361         Conditionalize body on this.
35362         * libio/fseeko64.c: Likewise.
35363         * libio/ftello64.c: Likewise.
35364         * libio/iofgetpos64.c: Likewise.
35365         * libio/iofsetpos64.c: Likewise.
35366         * sysdeps/wordsize-64/lockf.c: File removed.
35367         * sysdeps/wordsize-64/lockf64.c: File removed.
35368         * sysdeps/wordsize-64/fseeko.c: File removed.
35369         * sysdeps/wordsize-64/fseeko64.c: File removed.
35370         * sysdeps/wordsize-64/ftello.c: File removed.
35371         * sysdeps/wordsize-64/ftello64.c: File removed.
35372         * sysdeps/wordsize-64/iofgetpos.c: File removed.
35373         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
35374         * sysdeps/wordsize-64/iofsetpos.c: File removed.
35375         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
35376         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
35377         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
35378         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
35379         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
35380         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
35381         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
35382         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
35383         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
35384         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
35385         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
35387         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35388         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
35389         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
35390         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35391         [defined __arch64__ || defined __sparcv9]
35392         (__OFF_T_MATCHES_OFF64_T): New macro.
35393         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35394         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
35395         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35396         (__OFF_T_MATCHES_OFF64_T): New macro.
35398 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35400         * stdlib/secure-getenv.c (__secure_getenv): Replace
35401         GLIBC_2_16 with GLIBC_2_17.
35403 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
35405         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
35406         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
35408 2012-08-03  David S. Miller  <davem@davemloft.net>
35410         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35412 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35414         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
35415         Remove.
35416         (__ASSUME_CORRECT_SI_PID): Likewise.
35417         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
35418         (__ASSUME_TMPFS_NAME): Likewise.
35419         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
35420         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
35421         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
35422         (HAVE_AUX_SECURE): Make definition unconditional.
35423         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
35424         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
35426 2012-08-03  Roland McGrath  <roland@hack.frob.com>
35428         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
35429         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
35430         * sysdeps/mach/hurd/eloop-threshold.h: New file.
35431         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
35432         __eloop_threshold instead of SYMLOOP_MAX.
35434         * sysdeps/generic/eloop-threshold.h: New file.
35435         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
35436         of MAXSYMLINKS.
35437         * elf/chroot_canon.c (chroot_canon): Likewise.
35439 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
35441         [BZ #13717]
35442         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35443         Change to 2.6.0 everywhere.
35444         * sysdeps/unix/sysv/linux/configure: Regenerated.
35445         * sysdeps/unix/sysv/linux/kernel-features.h
35446         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
35447         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
35448         kernel versions.
35449         (__ASSUME_POSIX_TIMERS): Define unconditionally.
35450         (__ASSUME_FUTEX_REQUEUE): Remove.
35451         (__ASSUME_STATFS64): Define unconditionally.
35452         (__ASSUME_AT_SECURE): Likewise.
35453         (__ASSUME_CORRECT_SI_PID): Likewise.
35454         (__ASSUME_TGKILL): Define without depending on kernel version for
35455         i386.
35456         (__ASSUME_UTIMES): Likewise.
35457         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
35458         kernel version.
35459         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
35460         (__ASSUME_TMPFS_NAME): Likewise.
35461         * README: Update reference to Linux kernel versions.
35463 2012-08-02  Marek Polacek  <polacek@redhat.com>
35465         [BZ# 14150]
35466         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
35467         libc_cv_asm_type_prefix with %.
35468         * configure: Regenerated.
35469         * include/libc-symbols.h: Remove comment about
35470         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35471         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
35472         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
35473         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
35474         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
35475         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
35476         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
35477         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
35478         * elf/tst-unique2mod1.c: Likewise.
35479         * elf/tst-unique1mod2.c: Likewise.
35480         * elf/tst-unique1mod1.c: Likewise.
35481         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
35482         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
35483         Replace ASM_TYPE_DIRECTIVE with .type.
35484         * sysdeps/s390/s390-64/sysdep.h: Likewise.
35485         * sysdeps/i386/sysdep.h: Likewise.
35486         * sysdeps/x86_64/sysdep.h: Likewise.
35487         * sysdeps/sh/sysdep.h: Likewise.
35488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35489         Do not define ASM_TYPE_DIRECTIVE.
35490         * sysdeps/powerpc/sysdep.h: Likewise.
35491         * sysdeps/powerpc/powerpc32/sysdep.h:
35492         Replace ASM_TYPE_DIRECTIVE with .type.
35493         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
35494         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
35495         * sysdeps/i386/fpu/e_powf.S: Likewise.
35496         * sysdeps/i386/fpu/e_expl.S: Likewise.
35497         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35498         * sysdeps/i386/fpu/e_acosh.S: Likewise.
35499         * sysdeps/i386/fpu/e_pow.S: Likewise.
35500         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35501         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35502         * sysdeps/i386/fpu/s_expm1.S: Likewise.
35503         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35504         * sysdeps/i386/fpu/e_log2.S: Likewise.
35505         * sysdeps/i386/fpu/e_log2l.S: Likewise.
35506         * sysdeps/i386/fpu/e_scalb.S: Likewise.
35507         * sysdeps/i386/fpu/e_powl.S: Likewise.
35508         * sysdeps/i386/fpu/e_log10f.S: Likewise.
35509         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35510         * sysdeps/i386/fpu/e_logl.S: Likewise.
35511         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35512         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35513         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35514         * sysdeps/i386/fpu/e_log2f.S: Likewise.
35515         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35516         * sysdeps/i386/fpu/e_log.S: Likewise.
35517         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35518         * sysdeps/i386/fpu/e_logf.S: Likewise.
35519         * sysdeps/i386/fpu/e_log10l.S: Likewise.
35520         * sysdeps/i386/fpu/e_atanh.S: Likewise.
35521         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35522         * sysdeps/i386/fpu/e_log10.S: Likewise.
35523         * sysdeps/i386/fpu/s_frexp.S: Likewise.
35524         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35525         * sysdeps/i386/fpu/s_asinh.S: Likewise.
35526         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35527         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35528         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
35529         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35530         * sysdeps/i386/i686/strtok.S: Likewise.
35531         * sysdeps/i386/i386-mcount.S: Likewise.
35532         * sysdeps/i386/strtok.S: Likewise.
35533         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
35534         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35535         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35536         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35537         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35538         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35539         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35540         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35541         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35542         * sysdeps/x86_64/_mcount.S: Likewise.
35543         * sysdeps/x86_64/strtok.S: Likewise.
35544         * sysdeps/sh/_mcount.S: Likewise.
35546 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35548         * libio/iofopen.c: Include <fcntl.h>.
35549         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
35550         (_IO_fopen64, fopen64): Define as aliases.
35551         * libio/iofopen64.c: Include <fcntl.h>.
35552         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
35553         Conditionalize body on this.
35554         * sysdeps/wordsize-64/iofopen.c: File removed.
35555         * sysdeps/wordsize-64/iofopen64.c: File removed.
35557 2012-08-01  Marek Polacek  <polacek@redhat.com>
35559         * libc/Makeconfig: Use elf in place of binfmt-subdir.
35560         Use dlfcn directly instead of a variable.
35561         (binfmt-subdir): Do not define.
35562         (dlfcn): Likewise.
35564 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
35566         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
35567         Remove all definitions.
35568         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
35569         <kernel-features.h>.
35570         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35571         (miss_F_GETOWN_EX): Remove all definitions.
35572         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
35573         macro definition.
35574         [!__ASSUME_FCNTL64]: Remove conditional code.
35575         [__ASSUME_FCNTL64]: Make code unconditional.
35576         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
35577         <kernel-features.h>.
35578         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
35579         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
35580         (lockf64) [__NR_fcntl64]: Make code unconditional.
35581         (lockf64) [__ASSUME_FCNTL64]: Likewise.
35583         * sysdeps/unix/sysv/linux/kernel-features.h
35584         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
35585         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
35586         Make code unconditional.
35587         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35588         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
35590         [__NR_vfork]: Make code unconditional.
35591         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35592         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
35594         [__NR_vfork]: Make code unconditional.
35595         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
35596         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
35598 2012-08-01  Roland McGrath  <roland@hack.frob.com>
35600         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
35601         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
35603         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35604         Define mkstemp64 as an alias.
35605         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35606         Define mkstemps64 as an alias.
35607         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35608         Define mkostemp64 as an alias.
35609         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
35610         Define mkostemps64 as an alias.
35611         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
35612         Conditionalize body on this.
35613         * misc/mkostemp64.c: Likewise.
35614         * misc/mkostemps64.c: Likewise.
35615         * misc/mkstemps64.c: Likewise.
35616         * sysdeps/wordsize-64/mkstemp64.c: File removed.
35617         * sysdeps/wordsize-64/mkostemp64.c: File removed.
35618         * sysdeps/wordsize-64/mkostemp.c: File removed.
35619         * sysdeps/wordsize-64/mkstemp.c: File removed.
35620         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
35621         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
35622         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
35623         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
35625         [BZ #14138]
35626         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
35627         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
35628         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
35629         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
35631         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
35632         compat_symbol macros from <shlib-compat.h> rather than the underlying
35633         default_symbol_version and symbol_version macros, so that DEFAULT
35634         lines in shlib-versions are respected.
35635         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
35637 2012-08-01  Florian Weimer  <fweimer@redhat.com>
35639         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
35640         Declare with warn_unused_result.
35641         (setgid, setregid, setegid, setresgid): Likewise.
35642         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
35643         Likewise.
35644         * WUR-REPORT: Remove set*id functions.
35646 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
35648         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
35650 2012-07-31  Roland McGrath  <roland@hack.frob.com>
35652         [BZ #10191]
35653         * include/sys/socket.h (__libc_accept, __libc_accept4):
35654         Add attribute_hidden.
35655         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
35657         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
35658         use of PTR_MANGLE.
35659         * inet/getnetgrent_r.c (setup): Likewise.
35661         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
35663 2012-07-31  David S. Miller  <davem@davemloft.net>
35665         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35667 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
35669         [BZ #13629]
35670         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
35671         value between 1.0 and 2.0 and smaller part has absolute value less
35672         than 1.0.
35673         * math/s_clog10.c (__clog10): Likewise.
35674         * math/s_clog10f.c (__clog10f): Likewise.
35675         * math/s_clog10l.c (__clog10l): Likewise.
35676         * math/s_clogf.c (__clogf): Likewise.
35677         * math/s_clogl.c (__clogl): Likewise.
35678         * math/libm-test.inc (clog_test): Add more tests.
35679         (clog10_test): Likewise.
35680         * sysdeps/i386/fpu/libm-test-ulps: Update.
35681         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35683 2012-07-31  Florian Weimer  <fweimer@redhat.com>
35685         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
35686         Exit with zero in case no suitable GID is found, and write a
35687         message to standard error.
35689 2012-07-30  Roland McGrath  <roland@hack.frob.com>
35691         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
35692         rather than to 1.
35693         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
35694         (MAXPATHLEN): Removed.
35695         (NOGROUP, NODEV): New macros.
35696         (setbit, clrbit, isset, isclr): New macros.
35697         (howmany, roundup, powerof2): New macros.
35698         (DEV_BSIZE): New macro.
35700         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
35701         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
35703         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
35704         definition on [!__NO_LONG_DOUBLE_MATH].
35706         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
35707         PTR_MANGLE and PTR_DEMANGLE.
35709         * socket/accept4.c (accept4): Rename to __libc_accept4.
35710         Define accept4 as a weak alias.
35712         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
35713         on [_DIRENT_HAVE_D_TYPE].
35714         * io/ftw.c (ftw_dir): Likewise.
35716         * io/xmknod.c (__xmknod): Don't check PATH for being null.
35718         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
35720         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
35721         Use the BSD numbers rather than the arbitrary ones we had.
35722         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
35723         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
35724         (SIGXCPU, SIGXFSZ): New macros.
35725         (_NSIG): Now 32.
35727         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
35728         initializer on [_LIBC_REENTRANT].
35730         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
35731         definitions inside [_POSIX_MAPPED_FILES].
35733         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
35735         * dirent/opendir.c: Include <fcntl.h>.
35737         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
35738         (__libc_getspecific): Likewise.
35739         (__libc_key_create): Likewise.
35741         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
35742         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
35743         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
35744         (tmpfile64): Define as alias.
35745         * sysdeps/wordsize-64/tmpfile.c: File removed.
35746         * sysdeps/wordsize-64/tmpfile64.c: File removed.
35747         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
35748         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
35750         * stdio-common/vfscanf.c: Include <stdbool.h>.
35751         * nss/makedb.c: Likewise.
35752         * stdio-common/_i18n_number.h: Likewise.
35753         * argp/argp-help.c: Likewise.
35754         * posix/wordexp.c: Likewise.
35755         * sysdeps/posix/spawni.c: Likewise.
35756         * nss/nss_files/files-initgroups.c: Likewise.
35757         * stdio-common/reg-modifier.c: Include <stdlib.h>.
35758         * nss/nss_files/files-initgroups.c: Likewise.
35759         * nss/nss_db/db-netgrp.c: Likewise.
35760         * nss/nss_db/db-initgroups.c: Likewise.
35761         * io/fchmodat.c: Include <sys/stat.h>.
35763         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
35764         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
35766         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
35767         [HAVE_MMAP].
35769         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
35770         Add multiple inclusion protection.
35772 2012-07-27  David S. Miller  <davem@davemloft.net>
35774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35776 2012-07-27  Gary Benson  <gbenson@redhat.com>
35778         [BZ #14298]
35779         * elf/rtld.c: Include <stap-probe.h>.
35780         (dl_main): Added static probes "init_start" and "init_complete".
35781         * elf/dl-load.c: Include <stap-probe.h>.
35782         (lose): Take new parameter "nsid".
35783         Added static probe "map_failed".
35784         (_dl_map_object_from_fd): Pass namespace id to lose.
35785         Added static probe "map_start".
35786         (open_verify): Pass namespace id to lose.
35787         * elf/dl-open.c: Include <stap-probe.h>.
35788         (dl_open_worker) Added static probes "map_complete", "reloc_start"
35789         and "reloc_complete".
35790         * elf/dl-close.c: Include <stap-probe.h>.
35791         (_dl_close_worker): Added static probes "unmap_start" and
35792         "unmap_complete".
35793         * elf/rtld-debugger-interface.txt: New file documenting the above.
35795 2012-07-26  Roland McGrath  <roland@hack.frob.com>
35797         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
35798         rather than a string variable.
35799         * sunrpc/rpc_main.c (h_output): Likewise.
35800         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
35802 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
35804         * inet/check_native.c: New file.
35806 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
35808         [BZ #13629]
35809         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
35810         if larger part has absolute value 1.0.
35811         * math/s_clog10.c (__clog10): Likewise.
35812         * math/s_clog10f.c (__clog10f): Likewise.
35813         * math/s_clog10l.c (__clog10l): Likewise.
35814         * math/s_clogf.c (__clogf): Likewise.
35815         * math/s_clogl.c (__clogl): Likewise.
35816         * math/libm-test.inc (clog_test): Add more tests.
35817         (clog10_test): Likewise.
35818         * sysdeps/i386/fpu/libm-test-ulps: Update.
35819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35821         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
35822         (pltexit): Likewise.
35823         (La_regs): Likewise.
35824         (La_retval): Likewise.
35825         (int_retval): Likewise.
35826         Update #error for removed macros to refer only to definitions in
35827         tst-audit.h.
35828         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
35829         macro.
35830         (pltexit): Likewise.
35831         (La_regs): Likewise.
35832         (La_retval): Likewise.
35833         (int_retval): Likewise.
35834         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
35835         macro.
35836         (pltexit): Likewise.
35837         (La_regs): Likewise.
35838         (La_retval): Likewise.
35839         (int_retval): Likewise.
35840         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
35841         macro.
35842         (pltexit): Likewise.
35843         (La_regs): Likewise.
35844         (La_retval): Likewise.
35845         (int_retval): Likewise.
35846         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
35847         macro.
35848         (pltexit): Likewise.
35849         (La_regs): Likewise.
35850         (La_retval): Likewise.
35851         (int_retval): Likewise.
35852         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
35853         macro.
35854         (pltexit): Likewise.
35855         (La_regs): Likewise.
35856         (La_retval): Likewise.
35857         (int_retval): Likewise.
35858         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
35859         macro.
35860         (pltexit): Likewise.
35861         (La_regs): Likewise.
35862         (La_retval): Likewise.
35863         (int_retval): Likewise.
35864         * sysdeps/generic/tst-audit.h: Update comment to refer only to
35865         macro definitions in tst-audit.h.
35866         * sysdeps/i386/tst-audit.h: New file.
35867         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
35868         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
35869         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
35870         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
35871         * sysdeps/sh/tst-audit.h: Likewise.
35872         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
35873         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
35874         * sysdeps/x86_64/tst-audit.h: Likewise.
35876 2012-07-26  Andreas Jaeger  <aj@suse.de>
35878         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
35879         ptrace.
35881         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
35882         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
35883         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
35884         PTRACE_O_MASK.
35885         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
35886         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
35887         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
35889         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
35890         value.
35892         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
35893         _sigsys.
35894         (si_call_addr, si_syscall, si_arch): Define new macro.
35895         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
35896         _sigsys.
35897         (si_call_addr, si_syscall, si_arch): Define new marcro.
35898         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
35899         _sigsys.
35900         (si_call_addr, si_syscall, si_arch): Define new macro.
35901         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
35902         _sigsys.
35903         (si_call_addr, si_syscall, si_arch): Define new macro.
35905 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
35907         [BZ #13717]
35908         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
35909         Change to 2.4.21 where previously 2.4.1.
35910         * sysdeps/unix/sysv/linux/configure: Regenerated.
35911         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
35912         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
35913         Linux kernel version.
35914         (__ASSUME_STD_AUXV): Remove.
35915         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
35916         kernel version.
35917         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
35918         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
35919         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
35920         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
35921         (__ASSUME_NETLINK_SUPPORT): Likewise.
35922         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
35923         (__no_netlink_support): Remove conditional definition.
35924         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
35925         Remove.
35926         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35927         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
35928         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
35929         (if_nameindex_ioctl): Remove.
35930         (if_nameindex_netlink): Do not handle __no_netlink_support.
35931         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35932         code.
35933         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
35934         Remove conditional code.
35935         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
35936         code.
35937         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
35938         unconditional.
35939         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
35940         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
35941         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
35942         Remove.
35943         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
35944         [!__ASSUME_STD_AUXV]: Remove conditional code.
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
35946         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
35947         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
35948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
35949         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
35950         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35951         code.
35952         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
35954         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
35955         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35956         conditional code.
35957         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
35958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
35959         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
35960         code.
35961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
35962         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
35963         conditional code.
35964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
35965         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35966         code unconditional.
35967         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35968         conditional code.
35969         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35970         unconditional.
35971         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35972         conditional code.
35973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35974         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35975         unconditional.
35976         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35977         conditional code.
35978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
35979         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35980         code unconditional.
35981         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35982         conditional code.
35983         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35984         unconditional.
35985         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35986         conditional code.
35987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
35988         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
35989         code unconditional.
35990         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35991         conditional code.
35992         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
35993         unconditional.
35994         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
35995         conditional code.
35997 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
35999         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
36000         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
36001         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
36002         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
36003         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
36004         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
36005         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
36006         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
36007         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
36008         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36009         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
36010         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
36011         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
36012         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
36013         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
36014         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
36015         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
36016         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
36017         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
36018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
36019         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
36020         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
36021         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
36023 2012-07-25  Florian Weimer  <fweimer@redhat.com>
36025         * Versions.def: Add GLIBC_2.17.
36026         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
36027         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
36028         Introduce __libc_secure_getenv.
36029         * stdlib/Versions (2.17): Add secure_getenv
36030         (GLIBC_PRIVATE): Add __libc_secure_getenv.
36031         * stdlib/secure-getenv.c: Rename __secure_getenv to
36032         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
36033         symbol __secure_getenv for GLIBC_2.0.
36034         * stdlib/tst-secure-getenv.c: New.
36035         * stdlib/Makefile (tests): Add testcase.
36036         * manual/startup.texi (Environment Access): Document
36037         secure_getenv.
36038         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
36039         __libc_secure_getenv.
36040         * inet/ruserpass.c (ruserpass): Likewise.
36041         * malloc/mtrace.c (mtrace): Likewise.
36042         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
36043         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
36044         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
36045         * sysdeps/posix/tempname.c: Likewise.  Evaluate
36046         HAVE_SECURE_GETENV.
36047         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
36048         __secure_getenv to __libc_secure_getenv.
36049         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
36050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36051         Likewise.
36052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36053         Likewise.
36054         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36055         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36056         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36057         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36058         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36062 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
36064         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
36065         (struct La_i86_retval): Likewise.
36066         (struct La_x86_64_regs): Likewise.
36067         (struct La_x86_64_retval): Likewise.
36068         (struct La_x32_regs): Likewise.
36069         (struct La_x32_retval): Likewise.
36070         (struct La_ppc32_regs): Likewise.
36071         (struct La_ppc32_retval): Likewise.
36072         (struct La_ppc64_regs): Likewise.
36073         (struct La_ppc64_retval): Likewise.
36074         (struct La_sh_regs): Likewise.
36075         (struct La_sh_retval): Likewise.
36076         (struct La_s390_32_regs): Likewise.
36077         (struct La_s390_32_retval): Likewise.
36078         (struct La_s390_64_regs): Likewise.
36079         (struct La_s390_64_retval): Likewise.
36080         (struct La_sparc32_regs): Likewise.
36081         (struct La_sparc32_retval): Likewise.
36082         (struct La_sparc64_regs): Likewise.
36083         (struct La_sparc64_retval): Likewise.
36084         (struct audit_ifaces): Remove architecture-specific pltenter and
36085         pltexit members.
36086         * sysdeps/i386/ldsodefs.h: New file.
36087         * sysdeps/powerpc/ldsodefs.h: Likewise.
36088         * sysdeps/s390/ldsodefs.h: Likewise.
36089         * sysdeps/sh/ldsodefs.h: Likewise.
36090         * sysdeps/sparc/ldsodefs.h: Likewise.
36091         * sysdeps/x86_64/ldsodefs.h: Likewise.
36093 2012-07-25  Marek Polacek  <polacek@redhat.com>
36095         [BZ #6808]
36096         * math/libm-test.inc (yn_test): Add another test.
36097         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
36098         to ERANGE when the result is +-Inf.
36099         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
36100         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
36101         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
36102         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
36104 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
36106         * conform/data/time.h-data (NULL): Use macro-constant.  Require
36107         equal to 0.
36108         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
36109         clock_t.
36110         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
36112 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
36114         * configure.in <sysdeps resolving>: Correct printing
36115         Implies_before.
36116         * configure: Regenerate.
36118 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
36120         * math/w_ilogb.c: Include <limits.h>.
36121         * math/w_ilogbl.c: Likewise.
36123 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36125         * manual/lang.texi (__va_copy): Document primarily as ISO C99
36126         va_copy.  Document allowing for unavailable va_copy only as
36127         pre-C99 compatibility.
36128         * manual/string.texi (Copying and Concatenation): Use va_copy
36129         instead of __va_copy in concat example.
36131 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
36133         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
36134         (__sendto): Use create_address_port.  Initialize APORT and deallocate
36135         it if not null.
36137         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
36138         with O_NOLINK passed to __file_name_lookup.
36140         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
36141         with O_NOLINK passed to __file_name_lookup.
36143         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
36144         negative N or less than NGIDS.
36146         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
36147         type to string_t.  Set ERANGE as errno and return it if NAME is not big
36148         enough.  Use memcpy instead of strncpy.
36150 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
36152         * elf/Makefile (check-data): Remove.
36153         (localplt.data): New vpath directive.
36154         ($(objpfx)check-localplt.out): Use localplt.data from vpath
36155         instead of $(check-data).
36156         * scripts/data/localplt-generic.data: Move to ...
36157         * sysdeps/generic/localplt.data: ... here.
36158         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
36159         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
36160         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
36161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
36162         ... here.
36163         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
36164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
36165         ... here.
36166         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
36167         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
36168         ... here.
36169         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
36170         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
36171         ... here.
36172         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
36173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
36174         ... here.
36175         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
36176         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
36177         ... here.
36179 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36181         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
36182         PPC32 and PPC64 files.
36183         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
36184         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
36186 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36188         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
36189         __makecontext_ret to ...
36190         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
36191         ... here and call exit if uc_link is NULL.  New file.
36192         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
36193         __makecontext_ret.S.
36194         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
36195         __makecontext_ret to ...
36196         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
36197         ... here and call exit if uc_link is NULL.  New file.
36198         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
36199         __makecontext_ret.S.
36201 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36203         * elf/elf.h (R_390_IRELATIVE): New definition.
36204         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
36205         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
36206         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
36207         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
36208         (elf_machine_lazy_rel): Likewise.
36209         * sysdeps/s390/dl-irel.h: New file.
36210         * sysdeps/s390/s390-64/memcpy.S: New asm code.
36211         * sysdeps/s390/s390-64/memset.S: New asm code.
36212         * sysdeps/s390/s390-64/memcmp.S: New asm code.
36213         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
36214         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
36215         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
36216         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
36217         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
36218         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
36219         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
36220         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
36221         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
36222         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
36223         * sysdeps/s390/s390-32/memcpy.S: New asm code.
36224         * sysdeps/s390/s390-32/memset.S: New asm code.
36225         * sysdeps/s390/s390-32/memcmp.S: New asm code.
36227 2012-07-17  Marek Polacek  <polacek@redhat.com>
36229         [BZ #14349]
36230         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
36231         * sysdeps/s390/s390-64/configure.in: Likewise.
36232         * sysdeps/sparc/configure.in: Likewise.
36233         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
36234         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
36235         * sysdeps/i386/configure.in: Likewise.
36236         * sysdeps/x86_64/configure.in: Likewise.
36237         * sysdeps/sh/configure.in: Likewise.
36238         * sysdeps/s390/s390-32/configure: Regenerated.
36239         * sysdeps/s390/s390-64/configure: Likewise.
36240         * sysdeps/x86_64/configure: Likewise.
36241         * sysdeps/sh/configure: Likewise.
36242         * sysdeps/powerpc/powerpc64/configure: Likewise.
36243         * sysdeps/powerpc/powerpc32/configure: Likewise.
36244         * sysdeps/sparc/configure: Likwise.
36245         * sysdeps/i386/configure: Likewise.
36247         * elf/dl-open.c: Comment fixes.
36249 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
36251         * Makefile [CXX] (check-data): Remove.
36252         [CXX] (c++-types.data): New vpath directive.
36253         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
36254         vpath.  Do not allow for C++ type data being missing.
36255         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
36256         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
36257         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
36258         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
36259         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
36260         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
36261         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
36262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
36263         ... here.
36264         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
36265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
36266         ... here.
36267         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
36268         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
36269         ... here.
36270         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
36271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
36272         ... here.
36273         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
36274         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
36275         ... here.
36276         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
36277         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
36278         ... here.
36279         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
36280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
36281         ... here.
36282         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
36283         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
36285         * elf/tls-macros.h (TLS_LE): Move architecture-specific
36286         definitions to architecture-specific files.
36287         (TLS_IE): Likewise.
36288         (TLS_LD): Likewise.
36289         (TLS_GD): Likewise.
36290         * sysdeps/i386/tls-macros.h: New file.
36291         * sysdeps/powerpc/tls-macros.h: Likewise.
36292         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
36293         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
36294         * sysdeps/sh/tls-macros.h: Likewise.
36295         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
36296         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
36297         * sysdeps/x86_64/tls-macros.h: Likewise.
36299 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36301         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
36302         zero value for regular exit case.
36304         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
36305         (__start_context): Preserve zero value for regular exit case.
36307 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
36308             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36310         * manual/setjmp.texi (setcontext): Clarify normal process
36311         termination when uc_link is the null pointer.
36312         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
36313         exit call.
36315 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
36317         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
36318         preprocessor.  Test for each exception mask separately.
36320 2012-07-16  Andreas Jaeger  <aj@suse.de>
36322         * po/ru.po: Update from translation team.
36324 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
36326         * conform/data/string.h-data (NULL): Use macro-constant.  Require
36327         equal to 0.
36328         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
36329         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
36330         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
36331         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
36332         [ISO || ISO99 || ISO11] (*_t): Do not allow.
36334 2012-07-13  Andreas Jaeger  <aj@suse.de>
36336         * po/fr.po: Update from translation team.
36338 2012-07-12  Marek Polacek  <polacek@redhat.com>
36340         [BZ #14173]
36341         * math/libm-test.inc (yn_test): Add test for BZ #14173.
36342         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
36343         loop condition.
36345 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
36347         [BZ #13717]
36348         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36349         Change to 2.4.1 where previously 2.4.0.
36350         * sysdeps/unix/sysv/linux/configure: Regenerated.
36351         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
36352         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
36353         version.
36354         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
36355         (__ASSUME_AT_CLKTCK): Remove.
36356         (__ASSUME_AT_PAGESIZE): Likewise.
36357         (__ASSUME_AT_XID): Likewise.
36358         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
36359         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
36360         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
36361         unconditionally.
36362         (HAVE_AUX_PAGESIZE): Likewise.
36363         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
36364         [__ASSUME_AT_CLKTCK]: Make code unconditional.
36365         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
36367 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
36369         [BZ #14307]
36370         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
36371         the temporary buffer used to invoke __gethostbyname2_r,
36372         __gethostbyaddr_r and gethostbyname4_r to make room for struct
36373         host_data / struct gaih_addrtuple.
36374         * resolv/nss_dns/dns-host.c (global scope): Move definition of
36375         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
36376         header file nss/nsswitch.h.
36377         * nss/nsswitch.h (global scope): Add definition of implementation
36378         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
36379         resolv/nss_dns/dns-host.c).
36381 2012-07-11  Andreas Jaeger  <aj@suse.de>
36383         * po/fr.po: Update from translation team.
36385         * po/sv.po: Update from translation team
36386         * po/fr.po: Another update from translation team.
36388 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36390         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
36391         for subnormals or multiply small sinh result by itself.
36392         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36393         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36395 2012-07-11  David S. Miller  <davem@davemloft.net>
36397         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36399 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
36401         [BZ #14347]
36402         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
36403         (INTERNAL_MARK): Shift it here.
36405 2012-07-10  Marek Polacek  <polacek@redhat.com>
36407         [BZ #14151]
36408         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
36409         libc_cv_asm_global_directive with .globl.
36410         * configure: Regenerated.
36411         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
36412         with .globl.
36413         * sysdeps/i386/configure: Regenerated.
36414         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
36415         with .globl.
36416         * sysdeps/x86_64/configure: Regenerated.
36417         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
36418         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
36419         * elf/tst-unique2mod2.c: Likewise.
36420         * elf/tst-unique2mod1.c: Likewise.
36421         * elf/tst-unique1mod2.c: Likewise.
36422         * elf/tst-unique1mod1.c: Likewise.
36423         * sysdeps/s390/s390-32/sysdep.h: Likewise.
36424         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36425         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36426         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36427         * sysdeps/mach/sysdep.h: Likewise.
36428         * sysdeps/i386/sysdep.h: Likewise.
36429         * sysdeps/i386/i386-mcount.S: Likewise.
36430         * sysdeps/x86_64/_mcount.S: Likewise.
36431         * sysdeps/x86_64/sysdep.h: Likewise.
36432         * sysdeps/sh/_mcount.S: Likewise.
36433         * sysdeps/sh/sysdep.h: Likewise.
36434         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
36435         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
36436         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
36437         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36438         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
36439         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
36440         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
36441         * locale/localeinfo.h: Likewise.
36442         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
36443         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
36445 2012-07-09  Roland McGrath  <roland@hack.frob.com>
36447         [BZ #14336]
36448         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
36449         system".
36450         * manual/message.texi (The Uniforum approach): Likewise.
36451         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
36452         (glibc iconv Implementation): Likewise.
36454 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
36456         [BZ #14337]
36457         * math/s_clog.c (__clog): Avoid scaling a value down where that
36458         could result in underflow.
36459         * math/s_clog10.c (__clog10): Likewise.
36460         * math/s_clog10f.c (__clog10f): Likewise.
36461         * math/s_clog10l.c (__clog10l): Likewise.
36462         * math/s_clogf.c (__clogf): Likewise.
36463         * math/s_clogl.c (__clogl): Likewise.
36464         * math/libm-test.inc (clog_test): Add more tests.
36465         (clog10_test): Likewise.
36466         * sysdeps/i386/fpu/libm-test-ulps: Update.
36467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36469 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
36471         [BZ #14283]
36472         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
36473         by 7 not 8 to examine high bit of fractional part.
36475         [BZ #14042]
36476         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
36477         for call to __mcount_internal.
36478         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
36479         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
36480         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
36482 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
36484         [BZ #14154]
36485         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
36486         approximation for values within 0x1p-13f of an odd multiple of
36487         pi/4.
36488         * math/libm-test.inc (tan_test): Do not allow spurious underflow
36489         exception.  Add more tests.
36490         * sysdeps/i386/fpu/libm-test-ulps: Update.
36492         [BZ #6778]
36493         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
36494         inputs and return -1 for them.  Do not check for +Inf in case not
36495         reachable for +Inf.
36496         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
36497         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
36498         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36499         and return -1 for them.  Do not check for +Inf in case not
36500         reachable for +Inf.
36501         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
36502         define.
36503         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
36504         and return -1 for them.  Do not check for +Inf in case not
36505         reachable for +Inf.
36506         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
36507         spurious underflow.
36508         * sysdeps/i386/fpu/libm-test-ulps: Update.
36509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36511 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
36513         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
36515 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
36517         [BZ #14157]
36518         [BZ #14331]
36519         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
36520         could result in spurious underflow.  Scale down values above
36521         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
36522         * math/s_csqrtf.c (__csqrtf): Likewise.
36523         * math/s_csqrtl.c (__csqrtl): Likewise.
36524         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
36525         spurious underflow.
36526         * sysdeps/i386/fpu/libm-test-ulps: Update.
36527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36529 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
36531         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
36532         xopen-msg.sed.
36533         * catgets/xopen-msg.awk: New file.
36534         * catgets/xopen-msg.sed: Removed.
36536         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
36537         po2text.sed.
36538         * intl/po2test.awk: New file.
36539         * intl/po2test.sed: Removed.
36541 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
36543         [BZ #14328]
36544         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
36545         or multiply small sinh result by itself.
36546         * math/s_ctanf.c (__ctanf): Likewise.
36547         * math/s_ctanh.c (__ctanh): Likewise.
36548         * math/s_ctanhf.c (__ctanhf): Likewise.
36549         * math/s_ctanhl.c (__ctanhl): Likewise.
36550         * math/s_ctanl.c (__ctanl): Likewise.
36551         * math/libm-test.inc (ctan_test_tonearest): New function.
36552         (ctan_test_towardzero): Likewise.
36553         (ctan_test_downward): Likewise.
36554         (ctan_test_upward): Likewise.
36555         (ctanh_test_tonearest): Likewise.
36556         (ctanh_test_towardzero): Likewise.
36557         (ctanh_test_downward): Likewise.
36558         (ctanh_test_upward): Likewise.
36559         (main): Call these new functions.
36560         * sysdeps/i386/fpu/libm-test-ulps: Update.
36561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36563 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
36565         * .gitignore: Delete /ports entry.
36567 2012-07-03  Andreas Jaeger  <aj@suse.de>
36569         * po/bg.po: Update from translation team.
36570         * po/cs.po: Likewise.
36571         * po/de.po: Likewise.
36572         * po/hr.po: Likewise.
36573         * po/nl.pl: Likewise.
36574         * po/pl.po: Likewise.
36575         * po/vi.po: Likewise.
36577 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
36579         * Makeconfig [!+link] (+link-before-libc): New variable.
36580         [!+link] (+link-after-libc): Likewise.
36581         [!+link] (+link-tests): Likewise.
36582         [!+link] (+link): Define in terms of $(+link-before-libc) and
36583         $(+link-after-libc).
36584         [!+link-static] (+link-static-before-libc): New variable.
36585         [!+link-static] (+link-static-after-libc): Likewise.
36586         [!+link-static] (+link-static-tests): Likewise.
36587         [!+link-static] (+link-static): Define in terms of
36588         $(+link-static-before-libc) and $(+link-static-after-libc).
36589         [build-shared] (link-libc-before-gnulib): New variable.
36590         [build-shared] (link-libc-tests): Likewise.
36591         [build-shared] (link-libc): Define in terms of
36592         $(link-libc-before-gnulib).
36593         [!build-shared] (link-libc-tests): New variable.
36594         (link-libc-static-tests): New variable.
36595         [!gnulib] (gnulib-arch): New variable.
36596         [!gnulib] (gnulib-tests): Likewise.
36597         [!gnulib] (static-gnulib-arch): Likewise.
36598         [!gnulib] (static-gnulib-tests): Likewise.
36599         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
36600         Define with "=" instead of ":=".
36601         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
36602         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
36603         * Rules (binaries-all-notests): New variable.
36604         (binaries-all-tests): Likewise.
36605         (binaries-static-notests): Likewise.
36606         (binaries-static-tests): Likewise.
36607         (binaries-all): Define using $(binaries-all-notests) and
36608         $(binaries-all-tests).
36609         (binaries-static): Define using $(binaries-static-notests) and
36610         $(binaries-static-tests).
36611         (binaries-shared-tests): New variable.
36612         (binaries-shared-notests): Likewise.
36613         (binaries-shared): Remove variable.
36614         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
36615         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
36616         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
36617         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
36618         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
36619         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
36620         * elf/Makefile (sln-modules): New variable.
36621         (extra-objs): Add $(sln-modules:=.o).
36622         (ldconfig-modules): Add static-stubs.
36623         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
36624         * elf/static-stubs.c: New file.
36626         [BZ #14283]
36627         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
36628         by 7 not 8 to examine high bit of fractional part.  Use volatile
36629         variables when splitting into final array of floats if
36630         __FLT_EVAL_METHOD__ != 0.
36631         * math/libm-test.inc (cos_test): Add another test.
36632         (sin_test): Likewise.
36633         * sysdeps/i386/fpu/libm-test-ulps: Update.
36635         [BZ #14273]
36636         * math/libm-test.inc (cosh_test): Add more tests.
36638         * version.h (RELEASE): Set to "development".
36639         (VERSION): Set to "2.16.90".
36641 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
36643         * NEWS: Update copyright. Remove last-updated date.
36644         Mention math library bug fixes and timezone data changes.
36645         * README: Mention GNU/Hurd, x32, and HPPA support status.
36647 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
36649         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
36651 2012-06-27  Andreas Jaeger  <aj@suse.de>
36653         * manual/contrib.texi (Contributors): Add Samuel Thibault.
36655 2012-06-25  Andreas Jaeger  <aj@suse.de>
36657         * sysdeps/s390/fpu/libm-test-ulps: Update.
36659 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
36660             Thomas Schwinge  <thomas@codesourcery.com>
36662         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
36663         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
36664         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
36665         fanotify_mark.
36667 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
36669         * sysdeps/mach/start.c: Remove file.
36670         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
36671         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
36672         * sysdeps/sh/init-first.c: Likewise.
36674         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
36675         registers for frame unwinding purposes, add CFI directives.
36676         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36677         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
36678         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
36679         Likewise.
36681         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
36682         __fortify_fail returning.
36683         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
36685         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
36686         sysdeps/sh/____longjmp_chk.S.
36687         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
36688         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
36689         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
36690         (gen-as-const-headers): Append sigaltstack-offsets.sym.
36692         * sysdeps/sh/abort-instr.h: New file.
36693         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
36694         process in case exit returns.
36696         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
36697         initialize the GOT register before use.
36699         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
36700         calculation of ARGC > 4.
36702         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
36703         meaningful names to some local labels.
36705 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36706             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36708         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
36709         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
36710         (__arch_compare_and_exchange_val_16_acq): Likewise.
36711         (__arch_compare_and_exchange_val_32_acq): Likewise.
36712         (atomic_exchange_and_add): Fix gUSA sequence.
36713         (atomic_add): Likewise.
36714         (atomic_add_negative): Likewise.
36715         (atomic_add_zero): Likewise.
36716         (atomic_bit_test_set): Likewise.
36718 2012-06-22  Andreas Schwab  <schwab@redhat.com>
36720         [BZ #13579]
36721         * include/link.h (struct link_map): Add l_free_initfini.
36722         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
36723         l_initfini.
36724         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
36725         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
36726         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
36727         set.
36729 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
36731         * configure.in: Use AC_LANG_SOURCE.
36732         * configure: Regenerate.
36734 2012-06-22  Roland McGrath  <roland@hack.frob.com>
36736         * configure.in (libc_cv_localstatedir): New substituted variable.
36737         * configure: Regenerated.
36738         * config.make.in (localstatedir): New variable, substituted from
36739         libc_cv_localstatedir.
36740         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
36741         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
36742         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
36743         * sysdeps/gnu/configure: Regenerated.
36745 2012-06-21  Jeff Law  <law@redhat.com>
36747         [BZ #14277]
36748         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
36749         free.  Simplify list management for _LIBC case.
36751 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
36753         [BZ #14273]
36754         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
36755         Clear sign bit of 64-bit integer value before comparing against
36756         overflow value.
36758         * sysdeps/mach/configure: Regenerated.
36760 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
36762         [BZ #14278]
36763         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
36765 2012-06-21  Jeff Law  <law@redhat.com>
36767         [BZ #13882]
36768         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
36769         uint16_t for elements in the "seen" array to avoid char overflows.
36770         * elf/dl-fini.c (_dl_sort_fini): Likewise.
36771         * elf/dl-open.c (dl_open_worker): Likewise.
36773 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
36775         * scripts/list-sources.sh: Scan PORTS for translations.
36776         * po/libc.pot: Regenerated.
36778 2012-06-21  Andreas Jaeger  <aj@suse.de>
36780         [BZ #12194]
36781         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
36782         warning.
36783         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
36784         * bits/byteswap-16.h (__bswap_16): Likewise.
36785         * bits/byteswap.h (__bswap_constant_16): Likewise.
36787 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
36789         [BZ #14117]
36790         * sysdeps/i386/fpu_control.h: Removed.
36791         * sysdeps/x86_64/fpu_control.h: Moved to ...
36792         * sysdeps/x86/fpu_control.h: Here.
36794         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
36795         (_FPU_SETCW): Likewise.
36797 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
36799         [BZ #14117]
36800         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
36801         * sysdeps/x86/fpu/bits/mathinline.h: This.
36802         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
36804         [BZ #14050]
36805         [BZ #14117]
36806         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
36807         functions if __x86_64__ is defined.
36809 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
36811         * string/endian.h: Add !__ASSEMBLER__ condition for including
36812         conversion interfaces.
36814 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
36816         [BZ #14241]
36817         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
36818         of ABS(x) in calculating zero to negative powers other than odd
36819         integers.
36820         * math/libm-test.inc (pow_test): Add more tests.
36822 2012-06-15  Andreas Jaeger  <aj@suse.de>
36824         * manual/contrib.texi (Contributors): Update entry of Liubov
36825         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
36826         Machado Filho.
36828 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
36830         * string/string.h: Add __wur to GNU version of strerror_r.
36832 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
36834         [BZ #14229]
36835         * string/Makefile (tests): Add tst-strtok_r.
36836         * string/tst-strtok_r.c: New file.
36837         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
36838         RAX_LP/RDX_LP on SAVE_PTR.
36840 2012-06-14  Roland McGrath  <roland@hack.frob.com>
36842         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
36844 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
36846         * libm_test.inc (csqrt_test): Allow more spurious underflow
36847         exceptions.
36848         (j0_test): Likewise.
36849         (j1_test): Likewise.
36850         (y0_test): Likewise.
36851         (y1_test): Likewise.
36853 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
36855         * po/Makefile (libc.pot): Use UTF-8 charset.
36857 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
36859         [BZ #14210]
36860         Suppress sign-conversion warning from FD_SET.
36861         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
36862         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
36863         not unsigned long int.
36864         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
36866 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
36868         [BZ #14050]
36869         [BZ #14117]
36870         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
36871         __extern_always_inline instead of __extern_inline.
36872         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
36873         (__signbit): Likewise.
36874         (__signbitl): Support C++ namespace.
36875         (lrintf): New inline function.
36876         (lrint): Likewise.
36877         (llrintf): Likewise.
36878         (llrint): Likewise.
36879         (fmaxf): Likewise.
36880         (fmax): Likewise.
36881         (fminf): Likewise.
36882         (fmin): Likewise.
36883         (rint): Likewise.
36884         (rintf): Likewise.
36885         (ceil): Likewise.
36886         (ceilf): Likewise.
36887         (floor): Likewise.
36888         (floorf): Likewise.
36889         (nearbyint): Likewise.
36890         (nearbyintf): Likewise.
36892 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
36894         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
36895         non-default versions.
36897 2012-06-11  Roland McGrath  <roland@hack.frob.com>
36899         [BZ #14218]
36900         * manual/argp.texi (Argp): Reword argp_parse description slightly.
36902 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
36904         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
36905         (FE_UPWARD, FE_DOWNWARD): Don't define.
36906         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
36907         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
36909         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
36910         reading it.
36911         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
36912         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36914 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36916         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
36917         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
36918         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
36919         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
36921 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
36923         [BZ #14117]
36924         * sysdeps/i386/fpu/bits/fenv.h: Removed.
36925         * sysdeps/i386/fpu/Implies: New file.
36926         * sysdeps/x86_64/fpu/Implies: Likewise.
36927         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
36928         * sysdeps/x86/fpu/bits/fenv.h: This.
36930         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
36931         __SSE_MATH__.
36933 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
36935         [BZ #14134]
36936         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
36937         character 0xffff that matches the last element of the
36938         conversion table.
36940 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36942         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
36943         fmodl commit.
36945 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36947         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
36948         values higher than 25.6283.
36950 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36952         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
36953         subnormal exponent extraction and add some __builtin_expect.
36954         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
36955         Fix for subnormal mantissa calculation.
36957 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
36959         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
36960         cpu2 is -1 and errno is not ENOSYS.
36962 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
36964         [BZ #14117]
36965         * sysdeps/i386/i486/bits/string.h: Renamed to ...
36966         * sysdeps/x86/bits/string.h: This.
36967         * sysdeps/x86_64/bits/string.h: Removed.
36969         * sysdeps/i386/i486/bits/string.h: Define inline functions only
36970         if not compiling for x86-64, but compiling for >= i486.
36972         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
36973         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
36975         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
36976         New macro from Linux kernel 3.4.0.
36977         (FP_XSTATE_MAGIC2): Likewise.
36978         (FP_XSTATE_MAGIC2_SIZE): Likewise.
36979         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
36980         (struct _fpx_sw_bytes): New struct.
36981         (struct _xsave_hdr): Likewise.
36982         (struct _ymmh_state): Likewise.
36983         (struct _xstate): Likewise.
36985         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
36986         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
36987         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
36988         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
36989         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
36990         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
36992         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
36993         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
36994         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
36995         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
36996         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
36997         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
36999 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37001         [BZ #13743]
37002         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
37003         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
37004         (sysdep_headers): Include sys/platform/ppc.h.
37005         * sysdeps/powerpc/test-gettimebase.c: Test for
37006         __ppc_get_timebase() to catch future ISA opcode/insn changes.
37007         * manual/Makefile (appendices): Include platform.texi.
37008         * manual/contrib.texi (Contributors): Update @node pointers.
37009         * manual/maint.texi (Maintenance): Likewise.
37010         (Platform): New node.
37011         * manual/platform.texi: New file.  Document the new features.
37013 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
37014             Jakub Jelinek  <jakub@redhat.com>
37016         [BZ #14188]
37017         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
37018         where __builtin_expect is unavailable.
37020 2012-06-03  David S. Miller  <davem@davemloft.net>
37022         * stdlib/longlong.h: Updated from GCC.
37024 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
37026         [BZ #14042]
37027         * sysdeps/powerpc/powerpc32/mcount.c: New file.
37028         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
37029         __mcount_internal.
37030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37031         (GLIBC_2.16): Likewise.
37033 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37035         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
37037 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37039         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
37040         (default-abi): New variable.
37041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
37042         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
37043         variable.
37044         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
37045         Likewise.
37046         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
37047         Likewise.
37048         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
37049         Likewise.
37051         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
37052         definition.  Document in comment.
37054 2012-06-01  David S. Miller  <davem@davemloft.net>
37056         * stdlib/longlong.h: Updated from GCC.
37058 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37060         [BZ #14117]
37061         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
37062         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
37063         sys/debugreg.h sys/io.h here.
37064         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
37065         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
37066         sys/io.h.
37067         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
37068         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
37069         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
37070         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
37071         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
37072         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
37074         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
37075         Define only if __x86_64__ is defined.
37077 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
37079         [BZ #14048]
37080         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
37081         Use int64_t for variable i.
37082         * math/libm-test.inc (fmod_test): Add more tests.
37084         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
37085         z computation is not scheduled after fetestexcept.
37086         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
37087         Use math_force_eval instead of asm to ensure calculation scheduled
37088         before exception test.
37089         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
37090         Ensure a1 + u.d computation is not scheduled after fetestexcept.
37092 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
37094         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
37095         computation is not scheduled after fetestexcept.
37097 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
37099         [BZ #14117]
37100         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
37101         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
37103 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37105         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
37106         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
37108 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37110         [BZ #14117]
37111         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
37112         <bits/wordsize.h>.
37113         (__WCHAR_MIN): Support __WORDSIZE == 64.
37114         (__WCHAR_MAX): Likewise.
37116         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
37117         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
37119         [BZ #14183]
37120         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
37121         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
37123         [BZ #14117]
37124         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
37125         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
37127         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
37128         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
37130         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
37131         Defined to 1 if __x86_64__ isn't defined.
37132         (_STAT_VER_LINUX_OLD): New.
37133         (st_atime): Remove duplicate.
37134         (st_mtime): Likewise.
37135         (st_ctime): Likewise.
37137 2012-05-31  David S. Miller  <davem@davemloft.net>
37139         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
37140         entries.
37142 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
37144         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
37145         gen-libm-test.pl.
37147         [BZ #14132]
37148         * elf/dl-reloc.c: Include <_itoa.h>.
37149         (_dl_reloc_bad_type): Remove use of INTUSE.
37150         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
37151         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
37152         * stdio-common/psiginfo.c (psiginfo): Likewise.
37153         * stdio-common/psignal.c (psignal): Likewise.
37154         * string/strsignal.c (strsignal): Likewise.
37155         * include/signal.h (_sys_siglist): Declare hidden proto.
37156         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
37157         INTVARDEF with libc_hidden_data_def.
37158         * stdio-common/itoa-udigits.c: Likewise.
37159         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
37160         (_itoa_lower_digits_internal): Remove declaration.
37161         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
37162         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
37163         (_sys_sigabbrev_internal): Remove aliases.
37164         (_sys_siglist): Define hidden alias.
37166 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
37168         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37169         bits/sysctl.h.
37171 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
37173         [BZ #14117]
37174         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
37175         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
37177         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
37178         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
37179         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
37180         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
37181         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
37182         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
37184         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
37185         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
37186         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
37188         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
37189         with __addr.
37190         (insw): Likewise.
37191         (insl): Likewise.
37192         (outsb): Likewise.
37193         (outsw): Likewise.
37194         (outsl): Likewise.
37196         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
37197         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
37198         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
37200         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
37201         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
37202         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
37203         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
37204         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
37205         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
37207         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
37208         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
37210         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
37211         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
37213         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
37214         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
37215         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
37217         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
37218         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
37219         to ...
37220         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
37222         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
37223         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
37224         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
37226         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
37227         for x86-64.
37228         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
37230 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
37232         * math/math.h (M_El): Use two more decimal places.
37233         (M_LOG2El): Likewise.
37234         (M_LOG10El): Likewise.
37235         (M_LN2l): Likewise.
37236         (M_LN10l): Likewise.
37237         (M_PIl): Likewise.
37238         (M_PI_2l): Likewise.
37239         (M_PI_4l): Likewise.
37240         (M_1_PIl): Likewise.
37241         (M_2_PIl): Likewise.
37242         (M_2_SQRTPIl): Likewise.
37243         (M_SQRT2l): Likewise.
37244         (M_SQRT1_2l): Likewise.
37246 2012-05-31  David S. Miller  <davem@davemloft.net>
37248         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
37249         values between float registers.
37250         * sysdeps/sparc/sparc64/memset.S: Likewise.
37251         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
37253 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
37255         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
37256         -D_FORTIFY_SOURCE=1.
37257         (CPPFLAGS-tst-longjmp_chk.c): Define.
37258         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
37259         (CPPFLAGS-tst-longjmp_chk2.c): Define.
37260         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
37261         CFLAGS-tst-wchar-h.c.
37263 2012-05-31  Marek Polacek  <polacek@redhat.com>
37265         [BZ #14132]
37266         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
37267         __endmntent_internal): Remove declaration.
37268         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
37269         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
37270         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
37272 2012-05-30  David S. Miller  <davem@davemloft.net>
37274         * sysdeps/sparc/sparc32/soft-fp/q_util.c
37275         (___Q_simulate_exceptions): Use real FP ops rather than writing
37276         into the %fsr.
37277         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
37278         Likewise.
37280 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37282         [BZ #14117]
37283         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
37284         * sysdeps/x86/bits/xtitypes.h: This.
37286         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
37287         * sysdeps/x86/bits/wordsize.h: This.
37289         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
37290         * sysdeps/x86/bits/huge_vall.h: This.
37292         * sysdeps/i386/bits/select.h: Removed.
37293         * sysdeps/x86_64/bits/select.h: Renamed to ...
37294         * sysdeps/x86/bits/select.h: This.
37296         * sysdeps/i386/bits/setjmp.h: Removed.
37297         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
37298         * sysdeps/x86/bits/setjmp.h: This.
37300         * sysdeps/i386/bits/mathdef.h: Removed.
37301         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
37302         * sysdeps/x86/bits/mathdef.h: This.
37304 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
37306         [BZ #14132]
37307         * include/sys/socket.h (__connect_internal)
37308         (__libc_sa_len_internal): Remove declaration.
37309         (__connect, __libc_sa_len): Declare hidden_proto.
37310         (SA_LEN): Remove use of INTUSE.
37311         * socket/connect.c: Add libc_hidden_def.
37312         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
37313         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
37314         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
37315         alias.
37316         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
37317         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
37318         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
37319         of adding _internal alias.
37321 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37323         [BZ #14117]
37324         * sysdeps/i386/bits/link.h: Removed.
37325         * sysdeps/i386/bits/linkmap.h: Likewise.
37326         * sysdeps/x86_64/bits/link.h: Renamed to ...
37327         * sysdeps/x86/bits/link.h: This.
37328         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
37329         * sysdeps/x86/bits/linkmap.h: This.
37331         * sysdeps/i386/bits/endian.h: Removed.
37332         * sysdeps/x86_64/bits/endian.h: Renamed to ...
37333         * sysdeps/x86/bits/endian.h: This.
37335         * sysdeps/i386/bits/byteswap.h: Removed.
37336         * sysdeps/i386/bits/byteswap-16.h: Likewise.
37337         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
37338         * sysdeps/x86/bits/byteswap.h: This.
37339         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
37340         * sysdeps/x86/bits/byteswap-16.h: This.
37341         * sysdeps/i386/Implies: Add x86.
37342         * sysdeps/x86_64/Implies: Likewise.
37344 2012-05-30  David S. Miller  <davem@davemloft.net>
37346         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
37347         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
37348         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
37349         (FP_TRAPPING_EXCEPTIONS): Define.
37350         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
37351         (FP_TRAPPING_EXCEPTIONS): Define.
37352         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
37353         subnormals only when inexact has been signalled or underflow
37354         exceptions are enabled.
37355         (_FP_PACK_CANONICAL): Likewise.
37357 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37359         [BZ #14183]
37360         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
37361         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
37363 2012-05-30  Richard Henderson  <rth@twiddle.net>
37365         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
37366         with #ifndef NOT_IN_libc.
37368         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
37369         marked to avoid plt entry.
37371 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
37373         [BZ #14112]
37374         * Makeconfig (default-abi): New macro.
37375         (abi-includes): Likewise.
37376         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
37377         $(abi-$(default-abi)-lib-soname) for soname if defined.
37378         ($(common-objpfx)gnu/lib-names.stmp): Generate from
37379         abi-variants.
37380         * Makefile (installed-stubs): Likewise.
37381         * include/stubs-biarch.h: Removed.
37382         * scripts/lib-names.awk: Only handle one library at a time.
37383         * scripts/soversions.awk: Remove WORDSIZE support.
37384         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
37385         entries.
37386         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
37387         Removed.
37388         (syscall-list-default-condition): Likewise.
37389         (syscall-list-default-condition): Likewise.
37390         (syscall-list-includes): Likewise.
37391         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
37392         syscall-list-* with abi-*.  Handle undefined abi-variants.
37393         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
37394         * sysdeps/unix/sysv/linux/i386/Implies: New file.
37395         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
37396         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
37397         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
37398         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
37399         Removed.
37400         (syscall-list-32-options): Likewise.
37401         (syscall-list-32-condition): Likewise.
37402         (syscall-list-64-options): Likewise.
37403         (syscall-list-64-condition): Likewise.
37404         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
37405         macro.
37406         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
37407         Renamed to ...
37408         (abi-*): This.
37409         (abi-64-ld-soname): New macro.
37410         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
37411         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
37412         Renamed to ...
37413         (abi-*): This.
37414         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
37415         * sysdeps/x86_64/x32/shlib-versions: Likewise.
37417 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
37419         * sysdeps/unix/sysv/linux/kernel-features.h
37420         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
37421         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
37422         include <kernel-features.h>.
37423         [!__NR_ftruncate64]: Remove conditional code.
37424         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37425         [__NR_ftruncate64]: Make code unconditional.
37426         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37427         * sysdeps/unix/sysv/linux/truncate64.c: Do not
37428         include <kernel-features.h>.
37429         [!__NR_ftruncate64]: Remove conditional code.
37430         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37431         [__NR_ftruncate64]: Make code unconditional.
37432         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37433         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
37434         include <kernel-features.h>.
37435         [!__NR_ftruncate64]: Remove conditional code.
37436         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37437         [__NR_ftruncate64]: Make code unconditional.
37438         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
37440         include <kernel-features.h>.
37441         [!__NR_ftruncate64]: Remove conditional code.
37442         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37443         [__NR_ftruncate64]: Make code unconditional.
37444         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
37446         * configure.in (libc_cv_fpie): Weaken to a compile test using
37447         LIBC_TRY_CC_OPTION.
37448         * configure: Regenerated.
37450 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
37453         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
37454         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
37455         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
37456         Refreshed.
37457         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
37458         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
37459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
37460         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
37461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
37462         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
37463         Refreshed.
37465 2012-05-27  David S. Miller  <davem@davemloft.net>
37467         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
37468         (___Q_zero): New.
37469         (__Q_simulate_exceptions): Return void.  Change to simulate
37470         exceptions by writing into the %fsr.
37471         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
37472         (__Qp_handle_exceptions): Likewise.
37473         (numbers): Delete.
37474         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
37475         __Qp_handle_exceptions.
37476         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
37477         __Qp_handle_exceptions.
37478         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37479         as unused and give dummy FP_RND_NEAREST initializer.
37480         (FP_INHIBIT_RESULTS): Define.
37481         (___Q_simulate_exceptions): Update declaration.
37482         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
37483         formatting.
37484         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
37485         as unused and give dummy FP_RND_NEAREST initializer.
37486         (__Qp_handle_exceptions): Update declaration.
37487         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
37488         formatting.
37490 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
37492         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
37493         the temporary FPU control word.
37494         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
37495         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
37496         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
37497         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
37498         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
37499         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
37500         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
37501         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
37502         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
37503         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
37504         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
37506 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
37508         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
37509         fields.
37511 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
37513         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
37514         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
37515         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
37516         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
37517         Likewise.
37518         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
37519         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
37520         Likewise.
37522 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
37524         * po/h.po: Update from translation team.
37526 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
37528         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
37530         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
37531         handling of denormals.
37532         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
37533         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
37534         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
37535         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
37536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
37537         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
37538         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
37539         Likewise.
37541 2012-05-26  Marek Polacek  <polacek@redhat.com>
37543         [BZ #14152]
37544         * math/libm-test.inc (fma_test): Don't always expect underflow
37545         exception.
37547 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
37549         [BZ #12416]
37550         * elf/tst-execstack.c: Include stackinfo.h.
37551         (do_test): Adjust test case to ensure that pthread_getattr_np
37552         behaviour remains the same after marking stack executable.
37554 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37556         * sysdeps/unix/sysv/linux/kernel-features.h
37557         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
37558         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
37559         kernel-features.h.
37560         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37561         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37562         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
37563         kernel-features.h.
37564         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
37565         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
37567 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
37569         * configure.in: Define the default includes to being none.
37570         * configure: Regenerated.
37572 2012-05-25  Roland McGrath  <roland@hack.frob.com>
37574         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
37575         * sysdeps/x86_64/setjmp.S: Likewise.
37576         * sysdeps/i386/bsd-setjmp.S: Likewise.
37577         * sysdeps/i386/bsd-_setjmp.S: Likewise.
37578         * sysdeps/i386/setjmp.S: Likewise.
37579         * sysdeps/i386/__longjmp.S: Likewise.
37580         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
37581         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
37583         * include/stap-probe.h: New file.
37584         * configure.in: Handle --enable-systemtap.
37585         * configure: Regenerated.
37586         * config.h.in (USE_STAP_PROBE): New #undef.
37587         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
37588         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
37589         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
37591 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
37593         [BZ #13717]
37594         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
37595         to 2.4.0 where earlier.
37596         * sysdeps/unix/sysv/linux/configure: Regenerated.
37597         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
37606         [__ASSUME_32BITUIDS]: Make code unconditional.
37607         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
37608         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
37609         <kernel-features.h>.
37610         [__ASSUME_32BITUIDS]: Make code unconditional.
37611         [!__ASSUME_32BITUIDS]: Remove conditional code.
37612         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
37613         <kernel-features.h>.
37614         [__ASSUME_32BITUIDS]: Make code unconditional.
37615         [!__ASSUME_32BITUIDS]: Remove conditional code.
37616         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
37617         <kernel-features.h>.
37618         [__ASSUME_32BITUIDS]: Make code unconditional.
37619         [!__ASSUME_32BITUIDS]: Remove conditional code.
37620         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
37621         <kernel-features.h>.
37622         [__ASSUME_32BITUIDS]: Make code unconditional.
37623         [!__ASSUME_32BITUIDS]: Remove conditional code.
37624         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
37625         <kernel-features.h>.
37626         [__ASSUME_32BITUIDS]: Make code unconditional.
37627         [!__ASSUME_32BITUIDS]: Remove conditional code.
37628         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
37629         <kernel-features.h>.
37630         [__ASSUME_32BITUIDS]: Make code unconditional.
37631         [!__ASSUME_32BITUIDS]: Remove conditional code.
37632         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
37633         <kernel-features.h>.
37634         [__ASSUME_32BITUIDS]: Make code unconditional.
37635         [!__ASSUME_32BITUIDS]: Remove conditional code.
37636         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
37637         <kernel-features.h>.
37638         [__ASSUME_32BITUIDS]: Make code unconditional.
37639         [!__ASSUME_32BITUIDS]: Remove conditional code.
37640         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
37641         <kernel-features.h>.
37642         [__ASSUME_32BITUIDS]: Make code unconditional.
37643         [!__ASSUME_32BITUIDS]: Remove conditional code.
37644         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
37645         <kernel-features.h>.
37646         [__ASSUME_32BITUIDS]: Make code unconditional.
37647         [!__ASSUME_32BITUIDS]: Remove conditional code.
37648         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
37649         <kernel-features.h>.
37650         [__NR_setresgid] (__setresgid): Do not declare.
37651         [__ASSUME_32BITUIDS]: Make code unconditional.
37652         [!__ASSUME_32BITUIDS]: Remove conditional code.
37653         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
37654         <kernel-features.h>.
37655         [__NR_setresuid] (__setresuid): Do not declare.
37656         [__ASSUME_32BITUIDS]: Make code unconditional.
37657         [!__ASSUME_32BITUIDS]: Remove conditional code.
37658         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
37659         <kernel-features.h>.
37660         [__ASSUME_32BITUIDS]: Make code unconditional.
37661         [!__ASSUME_32BITUIDS]: Remove conditional code.
37662         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
37663         <kernel-features.h>.
37664         [__ASSUME_32BITUIDS]: Make code unconditional.
37665         [!__ASSUME_32BITUIDS]: Remove conditional code.
37666         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
37667         <kernel-features.h>.
37668         [__ASSUME_32BITUIDS]: Make code unconditional.
37669         [!__ASSUME_32BITUIDS]: Remove conditional code.
37670         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
37671         <kernel-features.h>.
37672         [__ASSUME_32BITUIDS]: Make code unconditional.
37673         [!__ASSUME_32BITUIDS]: Remove conditional code.
37674         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
37675         <kernel-features.h>.
37676         [__ASSUME_32BITUIDS]: Make code unconditional.
37677         [!__ASSUME_32BITUIDS]: Remove conditional code.
37678         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
37679         <kernel-features.h>.
37680         [__ASSUME_32BITUIDS]: Make code unconditional.
37681         [!__ASSUME_32BITUIDS]: Remove conditional code.
37682         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
37683         <kernel-features.h>.
37684         [__ASSUME_32BITUIDS]: Make code unconditional.
37685         [!__ASSUME_32BITUIDS]: Remove conditional code.
37686         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
37687         <kernel-features.h>.
37688         [__ASSUME_32BITUIDS]: Make code unconditional.
37689         [!__ASSUME_32BITUIDS]: Remove conditional code.
37690         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
37691         <kernel-features.h>.
37692         [__ASSUME_32BITUIDS]: Make code unconditional.
37693         [!__ASSUME_32BITUIDS]: Remove conditional code.
37694         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
37695         <kernel-features.h>.
37696         [__ASSUME_32BITUIDS]: Make code unconditional.
37697         [!__ASSUME_32BITUIDS]: Remove conditional code.
37698         * sysdeps/unix/sysv/linux/kernel-features.h
37699         (__ASSUME_SETRESUID_SYSCALL): Remove.
37700         (__ASSUME_SETRESGID_SYSCALL): Likewise.
37701         (__ASSUME_32BITUIDS): Likewise.
37702         (__ASSUME_LDT_WORKS): Likewise.
37703         (__ASSUME_O_DIRECTORY): Likewise.
37704         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
37705         architecture but not kernel version.
37706         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37707         (__ASSUME_MMAP2_SYSCALL): Likewise.
37708         (__ASSUME_STAT64_SYSCALL): Likewise.
37709         (__ASSUME_IPC64): Likewise.
37710         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
37711         <kernel-features.h>.
37712         [__ASSUME_32BITUIDS]: Make code unconditional.
37713         [!__ASSUME_32BITUIDS]: Remove conditional code.
37714         * sysdeps/unix/sysv/linux/opendir.c: Do not include
37715         <kernel-features.h>.
37716         [__ASSUME_O_DIRECTORY]: Make code unconditional.
37717         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
37718         132096]: Remove conditional code.
37719         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
37720         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
37721         <kernel-features.h>.
37722         [__ASSUME_32BITUIDS]: Make code unconditional.
37723         [!__ASSUME_32BITUIDS]: Remove conditional code.
37724         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
37725         <kernel-features.h>.
37726         [__ASSUME_32BITUIDS]: Make code unconditional.
37727         [!__ASSUME_32BITUIDS]: Remove conditional code.
37728         * sysdeps/unix/sysv/linux/setegid.c: Do not include
37729         <kernel-features.h>.
37730         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
37731         unconditional.
37732         (__setresgid): Do not declare.
37733         [__ASSUME_32BITUIDS]: Make code unconditional.
37734         [!__ASSUME_32BITUIDS]: Remove conditional code.
37735         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
37736         <kernel-features.h>.
37737         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
37738         unconditional.
37739         (__setresuid): Do not declare.
37740         [__ASSUME_32BITUIDS]: Make code unconditional.
37741         [!__ASSUME_32BITUIDS]: Remove conditional code.
37742         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
37743         <kernel-features.h>.
37744         [__ASSUME_32BITUIDS]: Make code unconditional.
37745         [!__ASSUME_32BITUIDS]: Remove conditional code.
37746         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
37747         <kernel-features.h>.
37748         [__ASSUME_32BITUIDS]: Make code unconditional.
37749         [!__ASSUME_32BITUIDS]: Remove conditional code.
37751 2012-05-25  Richard Henderson  <rth@twiddle.net>
37753         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
37754         dl_hwcap to ifunc resolver.
37755         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
37756         elf_ifunc_invoke.
37757         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
37758         dl_hwcap to ifunc resolver.
37759         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
37761 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37763         [BZ #14153]
37764         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
37765         for |x| <= 2**-26, not 2**-57.
37766         * math/libm-test.inc (acos_test): Do not allow spurious underflow
37767         exception.
37769 2012-05-24  Jeff Law  <law@redhat.com>
37771         * stdio-common/Makefile (tests): Add bug25.
37772         * stdio-common/bug25.c: New test.
37774 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
37776         [BZ #13576]
37777         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
37778         multiple of MALLOC_ALIGNMENT in size.
37779         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
37781 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
37783         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
37784         Require >= 256.
37785         (FILENAME_MAX): Use macro-int-constant.
37786         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
37787         (_IOFBF): Use macro-int-constant.
37788         (_IOLBF): Likewise.
37789         (_IONBF): Likewise.
37790         (SEEK_CUR): Likewise.
37791         (SEEK_END): Likewise.
37792         (SEEK_SET): Likewise.
37793         (TMP_MAX): Likewise.
37794         (EOF): Use macro-int-constant.  Require < 0.
37795         (NULL): Use macro-constant.  Require == 0.
37796         (stdin): Require type to be FILE *.
37797         (stdout): Likewise.
37798         (stderr): Likewise.
37799         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
37800         macro-int-constant.
37801         (EXIT_SUCCESS): Likewise.
37802         (NULL): Use macro-constant.  Require == 0.
37803         (RAND_MAX): Use macro-int-constant.
37804         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
37805         [C99-based standards] (strtof): Require function.
37806         [C99-based standards] (strtold): Likewise.
37807         [C99-based standards] (strtoll): Likewise.
37808         [C99-based standards] (strtoull): Likewise.
37809         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37810         [ISO || ISO99 || ISO11] (limits.h): Likewise.
37811         [ISO || ISO99 || ISO11] (math.h): Likewise.
37812         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
37813         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37814         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37816 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
37818         [BZ #14132]
37819         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
37820         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
37821         * intl/dgettext.c (DCGETTEXT): Likewise.
37822         * intl/gettext.c (DCGETTEXT): Likewise.
37823         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
37824         * posix/regex_internal.h (gettext): Likewise.
37825         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
37826         Remove declaration.
37827         * include/argz.h (__argz_count_internal)
37828         (__argz_stringify_internal): Remove declaration.
37829         (__argz_count, __argz_stringify): Declare hidden proto.
37830         * intl/dcgettext.c: Remove use of INTDEF.
37831         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
37832         * string/argz-stringify.c: Likewise.
37833         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37834         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37835         Declare hidden proto.
37836         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
37837         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
37838         Declare hidden proto.
37839         * include/stdio.h (__asprintf_internal): Don't declare.
37840         (__asprintf): Don't define as macro.  Declare hidden proto.
37841         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
37842         (__fsetlocking): Declare hidden proto.
37843         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
37844         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
37845         hidden proto.
37846         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
37847         (_IO_setlinebuf): Remove use of INTUSE.
37848         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
37849         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
37850         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
37851         Remove declaration.
37852         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
37853         (_IO_do_flush): Remove use of INTUSE.
37854         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
37855         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
37856         (_IO_adjust_column, _IO_least_wmarker)
37857         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
37858         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
37859         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
37860         (_IO_default_doallocate, _IO_wdefault_doallocate)
37861         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
37862         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
37863         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
37864         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
37865         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
37866         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
37867         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
37868         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
37869         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
37870         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
37871         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
37872         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
37873         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
37874         proto.
37875         (_IO_flush_all_internal, _IO_adjust_column_internal)
37876         (_IO_default_uflow_internal, _IO_default_finish_internal)
37877         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
37878         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
37879         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
37880         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
37881         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
37882         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
37883         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
37884         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
37885         (_IO_file_close_internal, _IO_file_close_it_internal)
37886         (_IO_file_underflow_internal, _IO_file_overflow_internal)
37887         (_IO_file_init_internal, _IO_file_attach_internal)
37888         (_IO_file_fopen_internal, _IO_file_read_internal)
37889         (_IO_file_sync_internal, _IO_file_seek_internal)
37890         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
37891         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
37892         (_IO_str_underflow_internal, _IO_str_overflow_internal)
37893         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
37894         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
37895         (_IO_list_all_internal, _IO_link_in_internal)
37896         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
37897         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
37898         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
37899         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
37900         (_IO_do_write_internal, _IO_padn_internal)
37901         (_IO_getline_info_internal, _IO_getline_internal)
37902         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
37903         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
37904         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
37905         (_IO_vfscanf_internal, _IO_vfprintf_internal)
37906         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
37907         (_IO_init_internal, _IO_un_link_internal): Don't declare.
37908         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
37909         with libc_hidden_ver, remove use of INTUSE.
37910         * libio/genops.c: Likewise.
37911         * libio/freopen.c: Likewise.
37912         * libio/freopen64.c: Likewise.
37913         * libio/iofclose.c: Likewise.
37914         * libio/iofdopen.c: Likewise.
37915         * libio/iofflush.c: Likewise.
37916         * libio/iofflush_u.c: Likewise.
37917         * libio/iofgets.c: Likewise.
37918         * libio/iofgets_u.c: Likewise.
37919         * libio/iofopen.c: Likewise.
37920         * libio/iofopncook.c: Likewise.
37921         * libio/iofread.c: Likewise.
37922         * libio/iofread_u.c: Likewise.
37923         * libio/ioftell.c: Likewise.
37924         * libio/iofwrite.c: Likewise.
37925         * libio/iogetline.c: Likewise.
37926         * libio/iogets.c: Likewise.
37927         * libio/iogetwline.c: Likewise.
37928         * libio/iopadn.c: Likewise.
37929         * libio/iopopen.c: Likewise.
37930         * libio/ioseekoff.c: Likewise.
37931         * libio/ioseekpos.c: Likewise.
37932         * libio/iosetbuffer.c: Likewise.
37933         * libio/iosetvbuf.c: Likewise.
37934         * libio/ioungetc.c: Likewise.
37935         * libio/ioungetwc.c: Likewise.
37936         * libio/iovdprintf.c: Likewise.
37937         * libio/iovsprintf.c: Likewise.
37938         * libio/iovsscanf.c: Likewise.
37939         * libio/memstream.c: Likewise.
37940         * libio/obprintf.c: Likewise.
37941         * libio/oldfileops.c: Likewise.
37942         * libio/oldiofclose.c: Likewise.
37943         * libio/oldiofdopen.c: Likewise.
37944         * libio/oldiofopen.c: Likewise.
37945         * libio/oldiopopen.c: Likewise.
37946         * libio/oldstdfiles.c: Likewise.
37947         * libio/putc.c: Likewise.
37948         * libio/setbuf.c: Likewise.
37949         * libio/setlinebuf.c: Likewise.
37950         * libio/stdfiles.c: Likewise.
37951         * libio/strops.c: Likewise.
37952         * libio/vasprintf.c: Likewise.
37953         * libio/vscanf.c: Likewise.
37954         * libio/vsnprintf.c: Likewise.
37955         * libio/vswprintf.c: Likewise.
37956         * libio/wfiledoalloc.c: Likewise.
37957         * libio/wfileops.c: Likewise.
37958         * libio/wgenops.c: Likewise.
37959         * libio/wmemstream.c: Likewise.
37960         * libio/wstrops.c: Likewise.
37961         * libio/__fpurge.c: Likewise.
37962         * libio/__fsetlocking.c: Likewise.
37963         * assert/assert.c: Likewise.
37964         * debug/fgets_chk.c: Likewise.
37965         * debug/fgets_u_chk.c: Likewise.
37966         * debug/fread_chk.c: Likewise.
37967         * debug/fread_u_chk.c: Likewise.
37968         * debug/gets_chk.c: Likewise.
37969         * debug/obprintf_chk.c: Likewise.
37970         * debug/vasprintf_chk.c: Likewise.
37971         * debug/vdprintf_chk.c: Likewise.
37972         * debug/vsnprintf_chk.c: Likewise.
37973         * debug/vsprintf_chk.c: Likewise.
37974         * malloc/mtrace.c: Likewise.
37975         * misc/error.c: Likewise.
37976         * misc/syslog.c: Likewise.
37977         * stdio-common/asprintf.c: Likewise.
37978         * stdio-common/fxprintf.c: Likewise.
37979         * stdio-common/getw.c: Likewise.
37980         * stdio-common/isoc99_fscanf.c: Likewise.
37981         * stdio-common/isoc99_scanf.c: Likewise.
37982         * stdio-common/isoc99_vfscanf.c: Likewise.
37983         * stdio-common/isoc99_vscanf.c: Likewise.
37984         * stdio-common/isoc99_vsscanf.c: Likewise.
37985         * stdio-common/printf-prs.c: Likewise.
37986         * stdio-common/printf_fp.c: Likewise.
37987         * stdio-common/printf_fphex.c: Likewise.
37988         * stdio-common/printf_size.c: Likewise.
37989         * stdio-common/putw.c: Likewise.
37990         * stdio-common/scanf.c: Likewise.
37991         * stdio-common/sprintf.c: Likewise.
37992         * stdio-common/tmpfile.c: Likewise.
37993         * stdio-common/vfprintf.c: Likewise.
37994         * stdio-common/vfscanf.c: Likewise.
37995         * stdlib/strfmon_l.c: Likewise.
37996         * sunrpc/openchild.c: Likewise.
37997         * sunrpc/xdr_stdio.c: Likewise.
37998         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
37999         * sysdeps/mach/hurd/tmpfile.c: Likewise.
38001 2012-05-24  Roland McGrath  <roland@hack.frob.com>
38003         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38005         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
38006         in the third column, to generate for the shared library an IFUNC
38007         that uses _dl_vdso_vsym.
38008         * Makerules (COMPILE.c, compile-stdin.c): New variables.
38009         * Makeconfig (object-suffixes-noshared): New variable.
38011         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
38012         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
38013         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
38014         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
38016         [BZ #14132]
38017         * include/sys/time.h (__gettimeofday): Remove macro.
38018         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
38019         * time/gettimeofday.c (__gettimeofday): Remove #undef.
38020         Remove INTDEF.
38021         (__gettimeofday): Add libc_hidden_def.
38022         (gettimeofday): Add libc_hidden_weak.
38023         * sysdeps/mach/gettimeofday.c: Likewise.
38024         * sysdeps/posix/gettimeofday.c: Likewise.
38025         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
38026         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
38027         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
38028         (__gettimeofday_internal): Remove strong_alias.
38029         (__gettimeofday): Add libc_hidden_def.
38030         (gettimeofday): Add libc_hidden_weak.
38031         * sysdeps/unix/syscalls.list (gettimeofday):
38032         Remove __gettimeofday_internal alias.
38034 2012-05-24  Daniel Jacobowitz  <drow@false.org>
38035             H.J. Lu  <hongjiu.lu@intel.com>
38037         [BZ #12495]
38038         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
38039         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
38040         (largebin_index_32_big): New.
38041         (largebin_index): Use it for 16-byte alignment.
38042         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
38043         correction with front_misalign.
38045 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
38047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
38048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
38049         Likewise.
38050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
38051         Likewise.
38052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
38053         Likewise.
38054         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
38055         Likewise.
38056         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
38057         Likewise.
38058         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
38059         Likewise.
38060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
38061         Likewise.
38062         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
38063         Likewise.
38064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
38065         Likewise.
38066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
38067         Likewise.
38068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
38069         Likewise.
38070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
38071         Likewise.
38073         * scripts/data/c++-types-x32-linux-gnu.data: New file.
38074         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
38076 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
38078         [BZ #10846]
38079         [BZ #14036]
38080         * math/libm-test.inc (exp_test): Add test from bug 14036.
38081         (pow_test): Add test from bug 10846.
38083         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
38084         and other flags.
38085         (special_function): Do not include flags in test name.
38086         (parse_args): Likewise.
38087         * sysdeps/i386/fpu/libm-test-ulps: Update.
38088         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
38089         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
38090         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
38091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38093         * math/gen-libm-test.pl (%beautify): Add entries for underflow
38094         exceptions.
38095         * math/libm-test.inc ("Philosophy"): Update comment about
38096         exception testing.
38097         (UNDERFLOW_EXCEPTION): New macro.
38098         (UNDERFLOW_EXCEPTION_OK): Likewise.
38099         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
38100         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
38101         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
38102         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
38103         (INVALID_EXCEPTION_OK): Update value.
38104         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
38105         (OVERFLOW_EXCEPTION_OK): Likewise.
38106         (IGNORE_ZERO_INF_SIGN): Likewise.
38107         (test_exceptions): Handle underflow exceptions.
38108         (acos_test): Update for underflow exception expectations.
38109         (cexp_test): Likewise.
38110         (clog_test): Likewise.
38111         (clog10_test): Likewise.
38112         (csqrt_test): Likewise.
38113         (ctan_test): Likewise.
38114         (ctanh_test): Likewise.
38115         (exp_test): Likewise.
38116         (exp10_test): Likewise.
38117         (exp2_test): Likewise.
38118         (expm1_test): Likewise.
38119         (fma_test): Likewise.
38120         (j0_test): Likewise.
38121         (jn_test): Likewise.
38122         (nexttoward_test): Likewise.
38123         (pow_test): Likewise.
38124         (scalbn_test): Likewise.
38125         (scalbln_test): Likewise.
38126         (tan_test): Likewise.
38127         (y1_test): Likewise.
38128         * sysdeps/i386/fpu/libm-test-ulps: Update.
38129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38131 2012-05-23  David S. Miller  <davem@davemloft.net>
38133         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
38134         (__libc_sigaction): Remove unused local variables.
38136 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38138         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
38140 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
38142         mktime: avoid signed integer overflow
38143         * time/mktime.c (__mktime_internal): Do not mishandle the case
38144         where diff == INT_MIN.
38146         mktime: simplify computation of average
38147         * time/mktime.c (ranged_convert): Use new time_t_avg function
38148         instead of rolling our own (probably-slower) code.
38150         mktime: do not assume signed right shift propagates sign bit
38151         * time/mktime.c (isdst_differ): New static function.
38152         (__mktime_internal): No need to normalize tm_isdst now.
38153         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
38154         tm_isdst values.
38156         mktime: merge another wrapv change from gnulib
38157         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
38158         from some compilers.
38160         mktime: remove incorrect attempt at unusual arithmetics
38161         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
38162         The code didn't really work on such machines anyway.
38163         (TYPE_MINIMUM): Assume two's complement.
38164         (twos_complement_arithmetic): Verify that long_int and time_t
38165         are two's complement (or unsigned, in the latter case).
38167         mktime: check signed shifts on long_int and time_t, too
38168         * time/mktime.c (SHR): Check that shifts work as desired
38169         on the types long_int and time_t too, as SHR is used on
38170         such types.
38172         mktime: do not assume 'long' is wide enough
38173         * time/mktime.c (verify): Move decl up.
38174         (long_int): New type.
38175         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
38176         to remove assumption in the code that 'long' is wide enough to
38177         store year values.  This assumption is not true on x32 and on
38178         some non-glibc platforms.
38180         mktime: merge wrapv change from gnulib
38181         * time/mktime.c (WRAPV): New macro.
38182         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
38183         (guess_time_tm, __mktime_internal): Do not assume that signed
38184         integer overflow wraps around; modern compilers generate code
38185         where this assumption is no longer valid.
38187 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38189         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38190         Replace "jmp L(pseudo_end)" with "ret".
38191         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
38192         Likewise.
38194 2012-05-23  Andreas Jaeger  <aj@suse.de>
38196         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
38197         * sysdeps/unix/sysv/linux/poll.c: Remove file.
38199 2012-05-23  Andreas Jaeger  <aj@suse.de>
38200             Maximilian Attems  <max@stro.at>
38202         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
38203         New macros.
38205 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
38207         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
38208         code so that pseudo_end is just ret and the stack pointer is
38209         correct also for static library in error case.
38211 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
38213         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
38214         move to syscalls.list.
38215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38217         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38218         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38220         * manual/install.texi (Running make install): Do not mention Linux
38221         kernel version for which pt_chown is not needed.
38222         (Linux): Do not mention problems with nscd with 2.0 kernels.
38223         * INSTALL: Regenerated.
38225 2012-05-23  Andreas Jaeger  <aj@suse.de>
38227         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
38228         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
38229         macro.
38230         * sysdeps/unix/sysv/linux/s390/bits/mman.h
38231         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38232         * sysdeps/unix/sysv/linux/sh/bits/mman.h
38233         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38234         * sysdeps/unix/sysv/linux/i386/bits/mman.h
38235         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38236         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
38237         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38238         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
38239         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
38240         * sysdeps/unix/sysv/linux/bits/in.h
38241         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
38243 2012-05-22  Roland McGrath  <roland@hack.frob.com>
38245         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
38246         (PREPARE_VERSION): Just use assert instead, it will be elided
38247         under [NDEBUG] anyway.
38249 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38251         * sysdeps/unix/sysv/linux/Makefile: Include
38252         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
38253         (sysdep_routines): Remove sysctl.
38254         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
38255         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
38256         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
38257         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
38258         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
38260 2012-05-22  Andreas Jaeger  <aj@suse.de>
38262         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
38263         that pseudo_end is just ret and the stack pointer is correct also
38264         for static library in error case.
38266 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38268         [BZ #14122]
38269         * nss/nsswitch.c (defconfig_entries): New variable.
38270         (__nss_database_lookup): Don't leak defconfig entries.
38271         (nss_parse_service_list): Don't leak on error paths.
38272         (free_database_entries): New function.
38273         (free_defconfig): New function.
38274         (free_mem): Move common code to free_database_entries.
38276 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38278         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
38279         Add arch_prctl.
38280         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
38282         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38283         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
38284         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
38285         New macro.
38286         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
38287         (INTERNAL_SYSCALL_TYPES): Likewise.
38288         (LOAD_ARGS_TYPES_[1-6]): Likewise.
38289         (LOAD_REGS_TYPES_[1-6]): Likewise.
38290         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
38291         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
38293 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38295         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
38296         copysignl for GLIBC_2_0.
38297         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
38298         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
38299         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
38300         logbl for GLIBC_2_0.
38301         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
38302         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
38304 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38306         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
38307         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38309         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
38310         Use "neg %eax".
38312         * time/mktime.c: Update copyright years.
38314 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
38316         mktime: merge comment-quoting-style change from gnulib
38317         * time/mktime.c: Quote 'like this' in comments.
38318         The GNU coding standards suggest that we no longer quote `like this',
38319         as "`" and "'" are typically rendered asymmetrically nowadays.
38320         The typical gnulib style is to quote 'like this' when quoting
38321         code, and "like this" when quoting English.
38323         * time/mktime.c (compile-command): Add "-I.".
38325         mktime: merge mktime-internal.h change from gnulib
38326         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
38328         mktime: merge time_r change from gnulib
38329         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
38331         mktime: merge DEBUG change from gnulib
38332         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
38333         case system <time.h> has a #define.
38335         mktime: merge <sys/types.h> change from gnulib
38336         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
38337         since <time.t> is now guaranteed to define time_t.
38339         mktime: merge HAVE_CONFIG_H change from gnulib
38340         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
38342 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
38344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38345         Use "neg %eax".
38347         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
38348         __rlim_t cast.
38349         (struct rusage): Use anonymous union to pad each field to
38350         __syscall_slong_t.
38352 2012-05-21  David S. Miller  <davem@davemloft.net>
38354         * Makefules (o-iterator): Remove .s cases.
38355         (compile-command.s): Delete.
38356         (COMPILE.s): Delete.
38357         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
38359 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
38361         * configure.in (libc_cv_predef_stack_protector): Only consider
38362         "foobar" and "__stack_chk_fail" lines in libc_undefs.
38363         * configure: Regenerated.
38365 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38367         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
38368         New macro.  Use R*LP on int and pointer.
38369         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
38370         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
38371         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
38372         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
38374         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
38375         [__WORDSIZE_TIME64_COMPAT32] instead of
38376         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
38377         (struct utmp): Likewise.
38378         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
38379         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
38380         Renamed to ...
38381         (__WORDSIZE_TIME64_COMPAT32): This.
38382         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
38383         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
38384         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
38385         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
38386         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
38387         (__WORDSIZE_TIME64_COMPAT32): New macro.
38389 2012-05-21  Andreas Jaeger  <aj@suse.de>
38391         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
38392         only if [SHARED]. Add prototype for __wcschr_ia32.
38394 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38396         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
38397         of %rbp unmolested in the jmp_buf while mangling the low bits.
38398         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
38399         unmolested high bits of %rbp while demangling the low bits.
38400         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
38402 2012-05-21  Andreas Jaeger  <aj@suse.de>
38404         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
38405         * sunrpc/svc_simple.c: Use it for registerrpc.
38406         * sunrpc/xcrypt.c: Use it for passwd2des.
38408         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
38410 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38412         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
38413         Don't define if [__SYSCALL_WORDSIZE != 32].
38414         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
38415         New macro.
38417 2012-05-21  Bruno Haible  <bruno@clisp.org>
38418             Andreas Jaeger  <aj@suse.de>
38420         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
38421         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
38422         inptr and inend for must_buffer_ch.
38423         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
38424         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
38425         * stdio-common/Makefile (tests): Remove bug15.
38426         (bug15-ENV): Remove macro.
38427         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
38428         anymore.
38430 2012-05-19  Andreas Jaeger  <aj@suse.de>
38431             Roland McGrath  <roland@hack.frob.com>
38433         * manual/contrib.texi: Completely rewritten. It contains now an
38434         alphabetical list of contributors and their contributions.
38436 2012-05-21  Richard Henderson  <rth@twiddle.net>
38438         * misc/getauxval.c (__getauxval): Use unsigned long int.
38439         * misc/sys/auxv.h: Include <sys/cdefs.h>.
38440         (getauxval): Use unsigned long int.
38442 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
38444         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
38446 2012-05-21  Roland McGrath  <roland@hack.frob.com>
38448         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
38449         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
38450         __alignof__ (long double).
38452 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38456 2012-05-20  Richard Henderson  <rth@twiddle.net>
38458         * misc/getauxval.c: New file.
38459         * misc/sys/auxv.h: New file.
38460         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
38461         (routines): Add getauxval.
38462         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
38463         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
38464         * elf/dl-sysdep.c (_dl_auxv): Remove.
38465         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
38466         * elf/dl-support.c (_dl_auxv): New variable.
38467         (_dl_aux_init): Initialize it.
38468         * manual/startup.texi (Auxiliary Vector): New node.
38469         * sysdeps/generic/bits/hwcap.h: New file.
38470         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
38471         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
38472         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
38473         * sysdeps/sparc/sysdep.h: ... here.  Include it.
38474         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
38475         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
38476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
38477         Update.
38478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
38479         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
38480         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
38481         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
38482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38483         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
38484         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
38485         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
38487 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38489         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38491 2012-05-19  David S. Miller  <davem@davemloft.net>
38493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38495 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38497         [BZ #14123]
38498         * math/s_ccosh.c: Include <float.h>
38499         (__ccosh): Avoid internal overflow calculating sinh and cosh
38500         values before multiplying by sin and cos values.
38501         * math/s_ccoshf.c: Likewise.
38502         * math/s_ccoshl.c: Likewise.
38503         * math/s_csin.c: Likewise.
38504         * math/s_csinf.c: Likewise.
38505         * math/s_csinl.c: Likewise.
38506         * math/s_csinh.c: Likewise.
38507         * math/s_csinhf.c: Likewise.
38508         * math/s_csinhl.c: Likewise.
38509         * math/libm-test.inc (ccos_test): Add more tests.
38510         (ccosh_test): Likewise.
38511         (csin_test): Likewise.
38512         (csinh_test): Likewise.
38513         * sysdeps/i386/fpu/libm-test-ulps: Update.
38514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38516 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
38518         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
38519         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
38521         * sysdeps/x86_64/x32/_itoa.h: Add comment.
38523 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
38525         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
38526         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
38527         * sysdeps/powerpc/soft-fp/Versions: Likewise.
38528         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
38529         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
38530         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
38531         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
38532         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
38533         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
38534         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
38535         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
38536         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
38537         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
38538         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
38539         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
38540         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
38541         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
38542         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
38543         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
38544         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
38545         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
38546         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
38547         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
38548         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
38549         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
38550         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
38551         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
38552         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
38553         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
38554         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
38555         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
38557 2012-05-18  Andreas Jaeger  <aj@suse.de>
38559         * csu/.gitignore: Delete.
38561 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38563         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
38564         (timex): Use __syscall_slong_t.
38566 2012-05-18  Andreas Jaeger  <aj@suse.de>
38567             Carlos O'Donell  <carlos_odonell@mentor.com>
38569         * manual/install.texi (Configuring and compiling): Update
38570         description about files modified in the source directory.
38571         * INSTALL: Regenerated.
38573 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38575         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
38576         value.  Use "or" to set return value to -1.
38577         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
38578         negate return value.
38580 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38582         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
38583         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
38584         failure if the compiler has Graphite support disabled.
38585         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
38586         Likewise.
38587         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
38588         (CFLAGS-memmove.c): Likewise.
38589         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
38590         Likewise.
38592 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
38594         * sysdeps/x86_64/x32/_itoa.h: New file.
38596         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
38597         getdents system call only if kernel and user dirents have the
38598         same d_ino and d_off.
38600         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
38601         LLONG_MAX != LONG_MAX.
38602         (_itoa_word): Use _ITOA_WORD_TYPE on value.
38603         (_fitoa_word): Likewise.
38605         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
38606         years.
38607         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
38608         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
38609         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
38611         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
38612         include <bits/wordsize.h>.  Check __x86_64__ instead of
38613         __WORDSIZE.
38614         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
38615         if __x86_64__ is defined.  Use anonymous union on fpstate.
38617         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
38618         anonymous union.
38620 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
38622         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
38623         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
38624         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
38625         Refer to _rtld_local_ro instead of _rtld_global_ro.
38626         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
38627         Likewise.
38628         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
38629         Likewise.
38630         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
38631         Likewise.
38632         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
38633         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
38634         of _rtld_global, and rtld_progname instead of _dl_argv[0].
38636         * sysdeps/powerpc/powerpc32/dl-machine.c
38637         (__elf_machine_runtime_setup) [PROF]: Don't reference
38638         _dl_prof_resolve.
38640 2012-05-18  Andreas Jaeger  <aj@suse.de>
38642         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
38643         function only available for GCCs before 3.4 since GCC 3.4
38644         introduced a builtin.
38645         (lrint): Likewise.
38646         (llrintf): Likewise.
38647         (llrint): Likewise.
38648         (fmaxf): Likewise.
38649         (fmax): Likewise.
38650         (fminf): Likewise.
38651         (fmin): Likewise.
38652         (rint): Likewise.
38653         (rintf): Likewise.
38654         (nearbyint): Likewise.
38655         (nearbyintf): Likewise.
38656         (ceil): Likewise.
38657         (ceilf): Likewise.
38658         (floor): Likewise.
38659         (floorf): Likewise.
38661 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38663         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
38664         on both fields and cast pointer to __syscall_ulong_t.
38666         * bits/types.h (__fsword_t): New type.
38667         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
38668         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
38669         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38670         (__FSWORD_T_TYPE): Likewise.
38671         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38672         (__FSWORD_T_TYPE): Likewise.
38673         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38674         (__FSWORD_T_TYPE): Likewise.
38675         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
38676         (__FSWORD_T_TYPE): Likewise.
38677         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
38678         __SWORD_TYPE with __fsword_t.
38679         (statfs64): Likewise.
38681 2012-05-17  David S. Miller  <davem@davemloft.net>
38683         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
38685 2012-05-17  Andreas Jaeger  <aj@suse.de>
38687         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
38688         warning.
38690 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38692         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
38694 2012-05-17  Andreas Jaeger  <aj@suse.de>
38696         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
38697         when it is used.
38699 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38701         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
38703 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
38705         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
38706         * sysdeps/x86_64/tst-mallocalign1.c: New file.
38708 2012-05-17  Andreas Jaeger  <aj@suse.de>
38709             Carlos O'Donell  <carlos_odonell@mentor.com>
38711         [BZ #14059]
38712         * sysdeps/x86_64/multiarch/init-arch.h
38713         (bit_YMM_Usable): Rename to...
38714         (bit_AVX_Usable): ... this.
38715         (bit_FMA4_Usable): New macro.
38716         (bit_XMM_state): New macro.
38717         (bit_YMM_state): New macro.
38718         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
38719         [__ASSEMBLER__] (index_AVX_Usable): ... this.
38720         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
38721         (CPUID_OSXSAVE): New macro.
38722         (CPUID_AVX): New macro.
38723         (CPUID_FMA4): New macro.
38724         (index_YMM_Usable): Rename to...
38725         (index_AVX_Usable): ... this.
38726         (HAS_AVX): Use HAS_ARCH_FEATURE.
38727         (HAS_FMA4): Likewise.
38728         (HAS_YMM_USABLE): Remove.
38729         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38730         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
38731         are present.
38732         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
38733         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
38734         * sysdeps/x86_64/multiarch/Makefile: Likewise.
38735         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
38736         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
38738 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
38740         * math/libm-test.c: Support platforms without multiple rounding modes.
38741         * math/bug-nextafter.c: Support platforms without FP exceptions.
38742         * math/bug-nexttoward.c: Likewise.
38743         * math/test-fenv.c: Likewise.
38744         * math/test-misc.c: Likewise.
38745         * stdlib/bug-getcontext.c: Likewise.
38747 2012-05-17  Andreas Jaeger  <aj@suse.de>
38749         * manual/examples/search.c (critter_cmp): Change signature to
38750         avoid warnings.
38751         * manual/string.texi (Collation Functions): Likewise.
38753 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38755         * bits/types.h: Fold copyright years.
38756         * bits/typesizes.h: Likewise.
38757         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
38758         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
38759         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
38760         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
38761         * time/time.h: Likewise.
38763 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
38765         [BZ #208]
38766         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
38767         in instead of returning them.  Return void.
38768         (__libc_mallinfo): Accumulate over all arenas.
38769         (__malloc_stats): Adjust for change in int_mallinfo interface.
38771 2012-05-16  Roland McGrath  <roland@hack.frob.com>
38773         [BZ #10375]
38774         * configure.in (NM): Add AC_CHECK_TOOL for it.
38775         (libc_extra_cflags): New substituted variable.
38776         Check for -fstack-protector being used implicitly.
38777         * configure: Regenerated.
38778         * config.make.in (config-extra-cflags): New variable,
38779         gets @libc_extra_cflags@.
38780         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
38782         [BZ #10375]
38783         * configure.in: Check for _FORTIFY_SOURCE being predefined.
38784         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
38785         * configure: Regenerated.
38786         * config.make.in (CPPUNDEFS): New substituted variable.
38787         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
38788         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
38789         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
38791 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38793         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
38794         (mq_attr): Use __syscall_slong_t.
38796 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38798         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
38799         Check __x86_64__ instead of __WORDSIZE.
38800         (_STAT_VER_LINUX): Likewise.
38801         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
38802         __syscall_ulong_t and __syscall_slong_t.
38803         (stat64): Likewise.
38805 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38807         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
38809 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38811         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
38813 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38815         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
38816         __syscall_ulong_t.
38818         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
38819         include <bits/wordsize.h>.  Check __x86_64__ instead of
38820         __WORDSIZE.
38821         (greg_t): Use "__extension__ long long int" if __x86_64__ is
38822         defined.
38823         (mcontext_t): Replace "unsigned long" with "unsigned long long".
38825         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
38826         include <bits/wordsize.h>.  Check __x86_64__ instead of
38827         __WORDSIZE.
38828         (user_regs_struct): Use "__extension__ unsigned long long"
38829         instead of "unsigned long" if __x86_64__ is defined.
38830         (user): Likewise.  Pad after pointer field if __ILP32__ is
38831         defined.
38833 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
38835         * configure.in (makeinfo): Require version 4.5 or later.  Allow
38836         versions 5 to 9.
38837         * configure: Regenerated.
38838         * manual/install.texi (texinfo): Increase version requirement to
38839         4.5 or later.
38840         * INSTALL: Regenerated.
38842         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
38844 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
38846         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
38848         * sysdeps/x86_64/x32/ffs.c: New file.
38850         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
38851         __syscall_ulong_t.
38852         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
38853         defined.  Use __syscall_ulong_t.
38854         (shminfo): Use __syscall_ulong_t.
38855         (shm_info): Likewise.
38857         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
38858         __syscall_ulong_t.
38860         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
38861         <bits/wordsize.h>.
38862         (msgqnum_t): Use __syscall_ulong_t.
38863         (msglen_t): Likewise.
38864         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
38865         __syscall_ulong_t.
38867         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
38868         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38870         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
38872         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
38873         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
38875         * sysvipc/sys/msg.h (msgbuf): Replace long int with
38876         __syscall_slong_t.
38878         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
38879         include <bits/wordsize.h>.  Check __x86_64__ instead of
38880         __WORDSIZE.
38882         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
38883         "unsigned long long int" if __x86_64__ is defined.
38884         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
38886         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
38887         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
38888         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
38890         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
38891         <stdint.h>.
38892         (GET_PC): Cast to uintptr_t first.
38893         (GET_FRAME): Likewise.
38894         (GET_STACK): Likewise.
38896         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
38897         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
38898         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
38899         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
38900         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
38901         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
38902         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
38903         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
38904         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
38905         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
38906         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
38907         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
38908         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38909         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
38910         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
38911         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
38912         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
38913         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
38914         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
38915         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
38916         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
38917         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
38918         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
38919         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
38920         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
38921         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
38922         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
38923         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
38924         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
38926 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
38928         * Makerules (+depfiles): Also collect depfiles from .oS in
38929         $(extra-objs).
38930         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
38931         .oS, $(libnldbl-routines)).
38933         * Makerules (native-compile-mkdep-flags): Define.
38934         * sunrpc/Makefile (extra-objs): Add $(addprefix
38935         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
38936         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
38937         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
38938         calling $(make-target-directory).
38940 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38942         * bits/types.h (__snseconds_t): Removed.
38943         * time/time.h (struct timespec): Replace __snseconds_t with
38944         __syscall_slong_t.
38945         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
38946         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
38947         Likewise.
38948         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38949         (__SNSECONDS_T_TYPE): Likewise.
38950         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38951         (__SNSECONDS_T_TYPE): Likewise.
38952         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38953         (__SNSECONDS_T_TYPE): Likewise.
38955 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38957         * sysdeps/mach/hurd/bits/typesizes.h
38958         (__SYSCALL_SLONG_TYPE): New macro.
38959         (__SYSCALL_ULONG_TYPE): Likewise.
38961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38963         * bits/types.h (__syscall_slong_t): New type.
38964         (__syscall_ulong_t): Likewise.
38966         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
38967         (__SYSCALL_ULONG_TYPE): Likewise.
38968         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38969         (__SYSCALL_SLONG_TYPE): Likewise.
38970         (__SYSCALL_ULONG_TYPE): Likewise.
38971         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38972         (__SYSCALL_SLONG_TYPE): Likewise.
38973         (__SYSCALL_ULONG_TYPE): Likewise.
38974         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38975         (__SYSCALL_SLONG_TYPE): Likewise.
38976         (__SYSCALL_ULONG_TYPE): Likewise.
38978 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
38980         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
38981         Add sigaltstack-offsets.sym.
38982         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
38983         <sigaltstack-offsets.h>.
38984         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
38985         longjmp_msg pointer.
38986         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
38987         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
38988         signal stack.
38989         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
38991 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
38993         * elf/stackguard-macros.h: Remove file.
38994         * sysdeps/generic/stackguard-macros.h: New file.
38995         * sysdeps/i386/stackguard-macros.h: Likewise.
38996         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
38997         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
38998         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
38999         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
39000         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
39001         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
39002         * sysdeps/x86_64/stackguard-macros.h: Likewise.
39003         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
39004         <elf/stackguard-macros.h>.
39006         [BZ #14109]
39007         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
39008         __aligned__ in attribute.
39009         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
39010         (gregset_t): Likewise.
39012 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39014         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
39015         * sysdeps/x86_64/64/Implies-after: Here.  New file.
39016         * sysdeps/x86_64/x32/Implies-after: New file.
39018 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39020         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
39021         and access return value for _dl_profile_fixup.  Use R10_LP to
39022         load frame size.
39024 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39026         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
39028 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39030         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
39031         * sysdeps/x86_64/x32/sysdep.h: New file.
39033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39035         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
39036         * sysdeps/x86_64/setjmp.S: Likewise.
39038 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39040         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
39041         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
39042         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
39043         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
39044         remove unused global constant.
39046 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
39048         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
39049         include of <not-cancel.h>.
39051 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39053         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
39055 2012-05-15  Jeff Law  <law@redhat.com>
39056             Andreas Jaeger  <aj@suse.de>
39058         [BZ #13594]
39059         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
39060         out from...
39061         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
39062         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
39063         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
39064         code changing __hst_map_handle.map.
39066 2012-05-15  Roland McGrath  <roland@hack.frob.com>
39068         * configure.in (sysnames): Look for Implies-before and Implies-after
39069         files.
39070         * configure: Regenerated.
39072 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
39075         8-byte data alignment with LP_SIZE alignment.
39077 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39079         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
39080         into R10_LP.
39082 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39084         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
39086 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39088         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
39089         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
39090         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
39091         Likewise.
39092         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39094 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39096         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
39097         (stackinfo_sub_sp): Likewise.
39099 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39101         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
39102         RAX_LP.
39104 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39106         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
39107         into R*_LP.
39109 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39111         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
39112         sizes into R*_LP.
39114 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39116         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
39118 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39120         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
39121         into R11_LP and load __x86_64_shared_cache_size_half into
39122         R8_LP.
39124 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
39126         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
39127         R8_LP.
39129 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39131         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
39132         logb for POWER7.
39133         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
39134         logbf for POWER7.
39135         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
39136         logbl for POWER7.
39137         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
39138         powerpc32/power7/fpu/s_logb.c via #include.
39139         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
39140         powerpc32/power7/fpu/s_logbf.c via #include.
39141         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
39142         powerpc32/power7/fpu/s_logbl.c via #include.
39144 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
39146         * README.libm: Remove file.
39148 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39150         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
39151         count for x32.  Use R*_LP and omit operand-size suffix.
39153 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39155         * shlib-versions: Move x86_64-.*-linux.* entries to ...
39156         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
39157         * sysdeps/x86_64/x32/shlib-versions: New file.
39159 2012-05-14  Roland McGrath  <roland@hack.frob.com>
39161         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
39162         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
39163         Use _dl_fatal_printf instead.
39165 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39167         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
39168         set if not set by the user.  Do not allow for being unset.
39169         * sysdeps/unix/sysv/linux/configure: Regenerated.
39171 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39173         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
39174         the `q' suffix from lea and replace .quad with ASM_ADDR.
39176 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39178         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
39179         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
39180         instead of $17.
39181         (PTR_DEMANGLE): Likewise.
39183 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39185         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
39186         (LP_OP): Likewise.
39187         (ASM_ADDR): Likewise.
39188         (RAX_LP): Likewise.
39189         (RBP_LP): Likewise.
39190         (RBX_LP): Likewise.
39191         (RCX_LP): Likewise.
39192         (RDI_LP): Likewise.
39193         (RSI_LP): Likewise.
39194         (RSP_LP): Likewise.
39195         (R8_LP): Likewise.
39196         (R9_LP): Likewise.
39197         (R10_LP): Likewise.
39198         (R10_LP): Likewise.
39199         (R11_LP): Likewise.
39200         (R12_LP): Likewise.
39201         (R13_LP): Likewise.
39202         (R14_LP): Likewise.
39203         (R15_LP): Likewise.
39205 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39207         * sysdeps/x86_64/x32/dl-machine.h: New file.
39209 2012-05-14  Andreas Jaeger  <aj@suse.de>
39211         * manual/Makefile (subdir): Remove export of subdir.
39212         (all): Remove target.
39213         (.PHONY): Remove all from list.
39214         (mkinstalldirs): Remove.
39215         (.PHONY): Remove installdirs from list.
39216         ($(inst_infodir)/libc.info): Use make-target-directory.
39217         (installdirs): Remove.
39218         (subdir_%): Remove.
39219         (glibc-targets): Remove.
39220         (lib): Remove.
39221         (stubs): Remove.
39222         ($(objpfx)stubs ../po/manual.pot): Remove.
39223         ($(objpfx)stamp%): Remove.
39224         (make-target-directory): Remove.
39225         (subdir_install): Remove.
39226         (routines): Remove.
39227         (aux): Remove.
39228         (sources): Remove.
39229         (objects): Remove.
39230         (headers): Remove.
39232         [BZ #13750]
39233         * manual/.gitignore: Remove, it's not needed anymore.
39234         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
39235         all files in it.
39236         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
39237         directory.
39238         (texis): Renamed to $(objpfx)texis.
39239         (texis-path): New, contains path to generated files.
39240         (chapters.%): Use texis-path for complete path, add extra argument
39241         libc-texinfo.sh.
39242         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
39243         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
39244         (summary,texi, stamp-summary): Use complete path of
39245         files. Generate files in build dir.
39246         (dir-add.texi): Build in build dir.
39247         (libm-err.texi,stamp-libm-err): Likewise.
39248         (version.texi, stamp-version): Likewise.
39249         (.%c.texi): Likewise.
39250         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
39251         (mostlyclean): Remove target.
39252         (realclean): Remove target.
39253         (generated): Add new variable with contents from mostlyclean and
39254         realclean, remove entries duplicated in common-mostlyclean, add
39255         stamp-libm-err and stamp-version.
39256         (generated-dirs): Add libc directory.
39257         ($(inst_infodir)/libc.info): Install files from build dir.
39259         * manual/install.texi (Configuring and compiling): Adjust since
39260         the info files are not part of the tar ball anymore.
39262 2012-05-14  Andreas Jaeger  <aj@suse.de>
39264         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
39265         variable.
39267 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
39269         [BZ #13717]
39270         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39271         to 2.2.0 where earlier.
39272         * sysdeps/unix/sysv/linux/configure: Regenerated.
39273         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
39274         Remove conditional code.
39275         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
39276         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
39277         Remove conditional code.
39278         [!__NR_lchown]: Likewise.
39279         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39280         [__NR_lchown]: Likewise.
39281         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
39282         comment referencing __ASSUME_LCHOWN_SYSCALL.
39283         * sysdeps/unix/sysv/linux/i386/sigaction.c
39284         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39285         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39286         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
39287         Remove conditional code.
39288         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
39289         (__protocol_available): Remove #if 0 code.
39290         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
39291         conditional code.
39292         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
39293         * sysdeps/unix/sysv/linux/kernel-features.h
39294         (__ASSUME_GETCWD_SYSCALL): Don't define.
39295         (__ASSUME_REALTIME_SIGNALS): Likewise.
39296         (__ASSUME_PREAD_SYSCALL): Likewise.
39297         (__ASSUME_PWRITE_SYSCALL): Likewise.
39298         (__ASSUME_POLL_SYSCALL): Likewise.
39299         (__ASSUME_LCHOWN_SYSCALL): Likewise.
39300         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
39301         non-SPARC.
39302         (__ASSUME_SIOCGIFNAME): Don't define.
39303         (__ASSUME_MSG_NOSIGNAL): Likewise.
39304         (__ASSUME_SENDFILE): Define unconditionally.
39305         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
39306         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
39307         conditional code.
39308         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
39309         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
39310         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39311         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39312         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
39313         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
39314         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
39315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
39316         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39317         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
39319         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39320         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
39322         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39323         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
39325         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39326         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
39328         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39329         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
39331         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
39332         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
39334         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39335         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
39337         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39338         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39339         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
39340         Remove conditional code.
39341         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39342         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39343         Remove conditional code.
39344         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39345         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
39346         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
39347         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39348         Remove conditional code.
39349         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39350         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
39351         Remove conditional code.
39352         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39353         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
39354         Remove conditional code.
39355         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39356         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
39357         Remove conditional code.
39358         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
39359         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
39360         Remove conditional code.
39361         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39362         * sysdeps/unix/sysv/linux/sh/pwrite64.c
39363         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
39364         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
39365         * sysdeps/unix/sysv/linux/sigaction.c
39366         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39367         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39368         * sysdeps/unix/sysv/linux/sigpending.c
39369         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39370         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39371         * sysdeps/unix/sysv/linux/sigprocmask.c
39372         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39373         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39374         * sysdeps/unix/sysv/linux/sigsuspend.c
39375         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
39376         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
39377         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39378         (__libc_missing_rt_sigs): Remove.
39379         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
39380         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
39381         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
39382         Remove conditional code.
39383         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
39384         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
39385         return 1.
39386         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
39387         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
39388         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
39389         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
39391 2012-05-14  Andreas Jaeger  <aj@suse.de>
39393         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
39394         it's not used in glibc.
39395         (__coshm1): Likewise.
39396         (__acosh1p): Likewise.
39397         (__sgn): Likewise.
39399         * manual/string.texi (Copying and Concatenation): Add missing
39400         variable in concat example.
39401         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
39403 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39405         [BZ #14103]
39406         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
39407         __builtin_clzl with __builtin_clzll.
39409 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
39411         [BZ #14104]
39412         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
39413         libc_freeres_ptr.
39415 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39417         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
39418         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
39419         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
39420         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
39422 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
39424         * NEWS: Update ia64 info.
39426 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
39428         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
39429         used as bcopy.
39431 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
39433         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
39434         * sysdeps/unix/syscalls.list (dup3): Likewise.
39435         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
39436         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
39438 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39440         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
39441         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
39443 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
39445         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
39446         thread pointer.
39447         (TLS_IE): Use mov/add instead of movq/addq to load thread
39448         pointer.
39449         (TLS_GD_PREFIX): New.
39450         (TLS_GD): Use it.
39452 2012-05-11  David S. Miller  <davem@davemloft.net>
39454         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
39455         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
39456         (_FPU_SETCW): Likewise.
39458 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39460         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
39461         is 32-byte aligned.
39463 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
39465         [BZ #11837]
39466         * iconvdata/gb18030.c: Update tables.
39467         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
39468         characters specially.
39469         (BODY for TO_LOOP): Add encoding of missing ranges.
39471 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
39473         [BZ #13673]
39474         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
39475         * sysdeps/mach/hurd/dup3.c: Likewise.
39476         * sysdeps/mach/hurd/readlinkat.c: Likewise.
39477         * sysdeps/powerpc/memmove.c:: Likewise.
39479 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39481         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
39482         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
39484 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39486         * elf/elf.h (R_X86_64_RELATIVE64): New.
39487         (R_X86_64_NUM): Updated.
39488         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
39489         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
39490         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
39491         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
39492         tst-quad1pie tst-quad2pie
39493         (modules-names): Add tst-quadmod1 tst-quadmod2.
39494         ($(objpfx)tst-quad1): New dependency.
39495         ($(objpfx)tst-quad2): Likewise.
39496         ($(objpfx)tst-quad1pie): Likewise.
39497         ($(objpfx)tst-quad2pie): Likewise.
39498         * sysdeps/x86_64/tst-quad1.c: New file.
39499         * sysdeps/x86_64/tst-quad1pie.c: New file.
39500         * sysdeps/x86_64/tst-quad2.c: Likewise.
39501         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
39502         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
39503         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
39504         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
39505         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
39507 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39509         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
39510         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
39511         * streams/stropts.h (t_scalar_t): Define type.
39513         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
39514         (_PATH_PRESERVE): Set to "/var/lib".
39515         (_PATH_RWHODIR): Set to "/var/spool/rwho".
39517         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
39518         instead of int.
39520         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
39521         if __dir_mkfile succeeded.
39523         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
39524         checking for _hurd_dtablesize.  Unlock it right after having
39525         finished _hurd_dtable allocation.
39527 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39529         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
39530         * sysdeps/mach/hurd/configure: Regenerated.
39531         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
39532         special-casing to...
39533         * sysdeps/gnu/configure.in: ... this new file.
39534         * sysdeps/unix/sysv/linux/configure: Regenerated.
39535         * sysdeps/gnu/configure: New generated file.
39537         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
39538         for Linux: use nsec instead of usec, as well as:
39539         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
39540         members of type struct timespec.
39541         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
39542         New macros.
39543         (struct stat64): Likewise.
39544         (_STATBUF_ST_NSEC): New macro.
39545         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
39547         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39548         __strtoul_internal rather than strtoul.
39550 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39552         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
39553         and reject them.
39555 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39557         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
39558         which preserves existing values.
39559         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
39561 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39563         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
39564         TIMEOUT values.  Return EINVAL for NFDS values either negative or
39565         greater than FD_SETSIZE.
39567 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39569         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
39570         allocated, call __vm_protect to finish enabling the existing space, and
39571         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
39572         allocate the remainder.
39574 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39576         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
39577         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
39579 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39581         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
39582         sysdeps/mach/hurd/readlink.c.
39584         * posix/tst-sysconf.c (posix_options): Only use
39585         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
39586         _POSIX_SYNCHRONIZED_IO when they are defined
39587         * sysdeps/mach/hurd/bits/posix_opt.h:
39588         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
39589         (_XOPEN_REALTIME): Undefine macro.
39590         (_XOPEN_REALTIME_THREADS): Undefine macro.
39591         (_XOPEN_SHM): Undefine macro.
39592         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
39593         macro to -1.
39594         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
39595         macro to -1.
39596         (_POSIX_ASYNC_IO): Undefine macro.
39597         (_POSIX_PRIORITIZED_IO): Undefine macro.
39598         (_POSIX_SPIN_LOCKS): Define macro to -1.
39600         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
39601         SA_NODEFER, SA_RESETHAND.
39602         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
39603         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
39604         F_DUPFD_CLOEXEC.
39606 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39608         * elf/Makefile (pldd-modules): Define unconditionally.
39610 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39612         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
39614 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39616         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
39617         Return ENOENT when name is empty.
39618         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
39620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39622         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
39624         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
39626 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39628         Fix mlock in all cases except non-readable pages.
39629         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
39630         instead of VM_PROT_ALL as parameter to __vm_wire function.
39632         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
39633         (__mkdir): When path is `/', just fail with EEXIST.
39634         * sysdeps/mach/hurd/mkdirat.c: Likewise.
39636 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39638         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
39639         <sys/uio.h> (for writev).
39640         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
39641         and <sys/param.h> (for MIN).
39643 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
39645         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
39646         REQUESTED_TIME.  Properly set the remaining time and return EINTR
39647         if interrupted.
39649 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39651         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
39652         Depend on against $(link-rpcuserlibs).
39654 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39656         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
39657         (__libc_stack_end): Do not use attribute_relro.
39658         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
39659         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
39660         to libthread-provided value.
39661         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
39662         attribute_relro.
39664 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39666         [BZ #3748]
39667         * bits/libc-lock.h (__libc_once_get): New macro.
39668         * sysdeps/mach/bits/libc-lock.h: Likewise.
39669         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
39670         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
39671         instead of using implementation details.
39673         * libio/fileops.c: Unconditionally include <kernel-features.h>.
39674         * libio/freopen.c: Likewise.
39675         * libio/freopen64.c: Likewise.
39676         * misc/syslog.c: Likewise.
39677         * nscd/connections.c: Likewise.
39678         * nscd/netgroupcache.c: Likewise.
39679         * sysdeps/posix/getcwd.c: Likewise.
39681 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39683         * math/w_ilogbf.c: Add #include <limits.h>.
39685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39687         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
39688         path instead of returning without unlocking.
39690         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
39691         immediate-write ioctls.
39692         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
39694 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39696         * sysdeps/mach/hurd/i386/init-first.c (init): Use
39697         __builtin_frame_address instead of making assumptions about the
39698         location of the return address relative to DATA.  Force early load of
39699         the return address.
39700         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
39701         __builtin_frame_address.
39703         dup3 for GNU Hurd.
39704         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
39705         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
39706         implement dup3 and do some further code clean-ups.
39707         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
39708         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
39710 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39712         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
39714         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
39715         HURD_CRITICAL_END around holding _hurd_dtable_lock.
39716         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
39717         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
39718         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
39719         d->port.lock.
39721         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
39722         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
39723         when handler == SIG_ERR, not when handler != SIG_ERR.
39725 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39727         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
39728         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
39729         definitions.
39731         accept4 for GNU Hurd.
39732         * include/sys/socket.h (__libc_accept4): New prototype.
39733         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
39734         to implement __libc_accept4.
39735         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
39736         __libc_accept4.
39737         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
39739         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
39740         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
39741         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
39742         signal-defines.sym.
39744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39746         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
39748 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
39750         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
39751         assertion on O_CLOEXEC flag.
39752         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
39753         * hurd/intern-fd.c: Likewise.
39754         * hurd/port2fd.c: Likewise.
39756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39758         [BZ #3906]
39759         * bits/in.h (IPV6_PKTINFO): Define new macro.
39760         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
39762 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39764         [BZ #13954]
39765         [BZ #13955]
39766         [BZ #13956]
39767         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
39768         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39769         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
39770         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39771         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39772         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39773         * math/libm-test.inc (logb_test) : Additional logb tests.
39775 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
39776             Andreas Jaeger  <aj@suse.de>
39778         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
39779         * configure: Regenerated.
39780         * config.h.in (LINK_OBSOLETE_RPC): New macro.
39781         * config.make.in (link-obsolete-rpc): New substituted variable.
39782         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
39783         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
39784         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39785         (shared-only-routines): Don't set it under [link-obsolete-rpc],
39786         so that libc.a contains the symbols.
39787         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
39788         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
39789         * sunrpc/auth_none.c: Likewise.
39790         * sunrpc/auth_unix.c: Likewise.
39791         * sunrpc/authdes_prot.c: Likewise.
39792         * sunrpc/authuxprot.c: Likewise.
39793         * sunrpc/clnt_gen.c: Likewise.
39794         * sunrpc/clnt_perr.c: Likewise.
39795         * sunrpc/clnt_raw.c: Likewise.
39796         * sunrpc/clnt_simp.c: Likewise.
39797         * sunrpc/clnt_tcp.c: Likewise.
39798         * sunrpc/clnt_udp.c: Likewise.
39799         * sunrpc/clnt_unix.c: Likewise.
39800         * sunrpc/des_crypt.c: Likewise.
39801         * sunrpc/des_soft.c: Likewise.
39802         * sunrpc/get_myaddr.c: Likewise.
39803         * sunrpc/key_call.c: Likewise.
39804         * sunrpc/key_prot.c: Likewise.
39805         * sunrpc/netname.c: Likewise.
39806         * sunrpc/pm_getmaps.c: Likewise.
39807         * sunrpc/pm_getport.c: Likewise.
39808         * sunrpc/pmap_clnt.c: Likewise.
39809         * sunrpc/pmap_prot.c: Likewise.
39810         * sunrpc/pmap_prot2.c: Likewise.
39811         * sunrpc/pmap_rmt.c: Likewise.
39812         * sunrpc/publickey.c: Likewise.
39813         * sunrpc/rpc_cmsg.c: Likewise.
39814         * sunrpc/rpc_common.c: Likewise.
39815         * sunrpc/rpc_dtable.c: Likewise.
39816         * sunrpc/rpc_prot.c: Likewise.
39817         * sunrpc/rpc_thread.c: Likewise.
39818         * sunrpc/rtime.c: Likewise.
39819         * sunrpc/svc.c: Likewise.
39820         * sunrpc/svc_auth.c: Likewise.
39821         * sunrpc/svc_raw.c: Likewise.
39822         * sunrpc/svc_run.c: Likewise.
39823         * sunrpc/svc_tcp.c: Likewise.
39824         * sunrpc/svc_udp.c: Likewise.
39825         * sunrpc/svc_unix.c: Likewise.
39826         * sunrpc/svcauth_des.c: Likewise.
39827         * sunrpc/xcrypt.c: Likewise.
39828         * sunrpc/xdr.c: Likewise.
39829         * sunrpc/xdr_array.c: Likewise.
39830         * sunrpc/xdr_float.c: Likewise.
39831         * sunrpc/xdr_intXX_t.c: Likewise.
39832         * sunrpc/xdr_mem.c: Likewise.
39833         * sunrpc/xdr_rec.c: Likewise.
39834         * sunrpc/xdr_ref.c: Likewise.
39835         * sunrpc/xdr_sizeof.c: Likewise.
39836         * sunrpc/xdr_stdio.c: Likewise.
39838 2012-05-10  Roland McGrath  <roland@hack.frob.com>
39840         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
39841         change.  Update copyright years.
39843 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39845         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
39847 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
39848             Joseph Myers  <joseph@codesourcery.com>
39849             Paul Pluzhnikov  <ppluzhnikov@google.com>
39851         [BZ #14012]
39852         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
39853         requiring rpcgen.
39854         [cross-compiling] (extra-libs): Likewise.
39855         [cross-compiling] (extra-libs-others): Likewise.
39856         [cross-compiling] (librpcsvc-routines): Likewise.
39857         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
39858         [cross-compiling] (omit-deps): Likewise.
39859         (sunrpc-CPPFLAGS): New variable.
39860         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
39861         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
39862         (cross-rpcgen-objs): New variable.
39863         (extra-objs): Append $(cross-rpcgen-objs).
39864         ($(cross-rpcgen-objs)): New rule.
39865         ($(objpfx)cross-rpcgen): Likewise.
39866         (rpcgen-cmd): Define to use $(built-program-file).  Expand
39867         comment.
39868         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
39869         ($(objpfx)x%.stmp): Likewise.
39870         * sunrpc/proto.h [IS_IN_build] (_): Define.
39871         [IS_IN_build] (_libc_intl_domainname): Likewise.
39873 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
39875         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
39876         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
39877         and R_X86_64_TPOFF64.
39879 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
39881         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
39882         sysdeps/unix/sysv/syscalls.list.
39883         (stime): Likewise.
39884         (utime): Likewise.
39885         * sysdeps/unix/sysv/syscalls.list: Remove file.
39887 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
39889         [BZ #3440]
39890         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
39891         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
39892         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
39893         (__LC_IDENTIFICATION): Make these macros useful in #if
39894         expressions, as required by C99.
39896 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
39898         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
39899         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
39900         after this.
39902 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
39904         * stdlib/longlong.h: Updated from GCC.
39906 2012-05-09  Andreas Jaeger  <aj@suse.de>
39908         * nscd/nscd.c (run_modes): Make named enum, reorder so that
39909         default is first entry.
39910         (run_mode): Set type.
39911         (main): Remove informal message about syslog.
39912         (options): Fix typo.
39914         [BZ #14053]
39915         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
39916         to asm.
39917         (lrint): Likewise.
39918         (llrintf): Likewise.
39919         (llrint): Likewise.
39920         (rint): Likewise.
39921         (rintf): Likewise.
39922         (nearbyint): Likewise.
39923         (nearbyintf): Likewise.
39925 2012-05-09  Andreas Jaeger  <aj@suse.de>
39926             Pedro Alves  <palves@redhat.com>
39928         * nscd/nscd.c (run_mode): Use enum.
39929         (main): Cleanup coding style issue.
39931 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
39932             Andreas Jaeger  <aj@suse.de>
39934         * nscd/nscd.c (go_background): Replaced with...
39935         (run_mode): ... this.
39936         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
39937         (options): Add -F --foreground.
39938         (main): Implement it.
39939         (parse_opt): Parse it.
39941 2012-05-09  Andreas Jaeger  <aj@suse.de>
39943         [BZ #14083]
39944         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
39945         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
39946         -Wconversion warning.
39947         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
39948         Likewise.
39950 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
39952         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
39953         == 0.
39954         (LC_ALL): Use macro-int-constant.
39955         (LC_COLLATE): Likewise.
39956         (LC_CTYPE): Likewise.
39957         (LC_MESSAGES): Likewise.
39958         (LC_MONETARY): Likewise.
39959         (LC_NUMERIC): Likewise.
39960         (LC_TIME): Likewise.
39961         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
39962         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
39963         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39964         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
39965         Specify type.
39966         [C99-based standards] (float_t): Expect type.
39967         [C99-based standards] (double_t): Expect type.
39968         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
39969         type.
39970         [C99-based standards] (HUGE_VALL): Likewise.
39971         [C99-based standards] (INFINITY): Likewise.
39972         [C99-based standards] (NAN): Likewise.
39973         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
39974         [C99-based standards] (FP_NAN): Likewise.
39975         [C99-based standards] (FP_NORMAL): Likewise.
39976         [C99-based standards] (FP_SUBNORMAL): Likewise.
39977         [C99-based standards] (FP_ZERO): Likewise.
39978         [C99-based standards] (FP_FAST_FMA): Use
39979         optional-macro-int-constant.  Specify type.  Require == 1.
39980         [C99-based standards] (FP_FAST_FMAF): Likewise.
39981         [C99-based standards] (FP_FAST_FMAL): Likewise.
39982         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
39983         [C99-based standards] (FP_ILOGBNAN): Likewise.
39984         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
39985         Specify type.
39986         [C99-based standards] (MATH_ERREXCEPT): Likewise.
39987         [C99-based standards] (math_errhandling): Specify type.
39988         [ISO99 || ISO11] (signgam): Do not allow.
39989         [non-C99-based standards] (copysignf): Do not allow.
39990         [non-C99-based standards] (exp2f): Likewise.
39991         [non-C99-based standards] (log2f): Likewise.
39992         [non-C99-based standards] (modff): Allow.
39993         [non-C99-based standards] (erff): Do not allow.
39994         [non-C99-based standards] (erfcf): Likewise.
39995         [non-C99-based standards] (gammaf): Likewise.
39996         [non-C99-based standards] (hypotf): Likewise.
39997         [non-C99-based standards] (j0f): Likewise.
39998         [non-C99-based standards] (j1f): Likewise.
39999         [non-C99-based standards] (jnf): Likewise.
40000         [non-C99-based standards] (lgammaf): Likewise.
40001         [non-C99-based standards] (tgammaf): Likewise.
40002         [non-C99-based standards] (y0f): Likewise.
40003         [non-C99-based standards] (y1f): Likewise.
40004         [non-C99-based standards] (ynf): Likewise.
40005         [non-C99-based standards] (isnanf): Likewise.
40006         [non-C99-based standards] (acoshf): Likewise.
40007         [non-C99-based standards] (asinhf): Likewise.
40008         [non-C99-based standards] (atanhf): Likewise.
40009         [non-C99-based standards] (cbrtf): Likewise.
40010         [non-C99-based standards] (expm1f): Likewise.
40011         [non-C99-based standards] (ilogbf): Likewise.
40012         [non-C99-based standards] (log1pf): Likewise.
40013         [non-C99-based standards] (logbf): Likewise.
40014         [non-C99-based standards] (nextafterf): Likewise.
40015         [non-C99-based standards] (remainderf): Likewise.
40016         [non-C99-based standards] (rintf): Likewise.
40017         [non-C99-based standards] (scalbf): Likewise.
40018         [non-C99-based standards] (copysignl): Likewise.
40019         [non-C99-based standards] (exp2l): Likewise.
40020         [non-C99-based standards] (log2l): Likewise.
40021         [non-C99-based standards] (modfl): Allow.
40022         [non-C99-based standards] (erfl): Do not allow.
40023         [non-C99-based standards] (erfcl): Likewise.
40024         [non-C99-based standards] (gammal): Likewise.
40025         [non-C99-based standards] (hypotl): Likewise.
40026         [non-C99-based standards] (j0l): Likewise.
40027         [non-C99-based standards] (j1l): Likewise.
40028         [non-C99-based standards] (jnl): Likewise.
40029         [non-C99-based standards] (lgammal): Likewise.
40030         [non-C99-based standards] (tgammal): Likewise.
40031         [non-C99-based standards] (y0l): Likewise.
40032         [non-C99-based standards] (y1l): Likewise.
40033         [non-C99-based standards] (ynl): Likewise.
40034         [non-C99-based standards] (isnanl): Likewise.
40035         [non-C99-based standards] (acoshl): Likewise.
40036         [non-C99-based standards] (asinhl): Likewise.
40037         [non-C99-based standards] (atanhl): Likewise.
40038         [non-C99-based standards] (cbrtl): Likewise.
40039         [non-C99-based standards] (expm1l): Likewise.
40040         [non-C99-based standards] (ilogbl): Likewise.
40041         [non-C99-based standards] (log1pl): Likewise.
40042         [non-C99-based standards] (logbl): Likewise.
40043         [non-C99-based standards] (nextafterl): Likewise.
40044         [non-C99-based standards] (remainderl): Likewise.
40045         [non-C99-based standards] (rintl): Likewise.
40046         [non-C99-based standards] (scalbl): Likewise.
40047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40048         [non-C99-based standards] (FP_*): Do not allow.
40049         [C99-based standards] (FP_*): Change to
40050         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
40051         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40052         allow.
40053         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
40054         (SIG_ERR): Likewise.
40055         [X/Open-based standards] (SIG_HOLD): Likewise.
40056         (SIG_IGN): Likewise.
40057         (SIGABRT): Use macro-int-constant.  Specify type.  Require
40058         positive value.
40059         (SIGFPE): Likewise.
40060         (SIGILL): Likewise.
40061         (SIGINT): Likewise.
40062         (SIGSEGV): Likewise.
40063         (SIGTER): Likewise.
40064         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
40065         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
40066         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
40067         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
40068         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
40069         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
40070         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
40071         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
40072         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
40073         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
40074         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
40075         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
40076         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
40077         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
40078         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
40079         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
40080         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
40081         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
40082         [X/Open-based standards] (SIGTRAP): Likewise.
40083         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
40084         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
40085         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
40086         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
40087         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40088         allow.
40090 2012-05-08  Ian Wienand  <ianw@vmware.com>
40092         [BZ #14080]
40093         * time/tzset.c (__tzset_parse_tz): Update default rules for
40094         daylight time changes in the Energy Policy Act of 2005.
40096 2012-05-09  Andreas Jaeger  <aj@suse.de>
40098         [BZ #13983]
40099         * elf/ldconfig.c (parse_conf): Change string to make clear that
40100         ldconfig only issued a warning if ld.so.conf does not exist.
40102 2012-05-08  David S. Miller  <davem@davemloft.net>
40104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
40105         movxtod instead of popping the value on the stack.
40107         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40109 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
40111         * config.h.in: Add HAVE_ARM_PCS_VFP.
40113 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
40115         [BZ #13979]
40116         * include/features.h: Warn if user requests __FORTIFY_SOURCE
40117         checking but the checks are disabled for any reason.
40119 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
40121         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
40122         and ELF64_R_TYPE with ELFW(R_TYPE).
40124 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
40126         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
40127         (ulimit): Likewise.
40129         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
40130         (settimeofday): Likewise.
40132 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
40134         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
40135         a struct th_u2 inside the union, and move tu_block/tu_code into
40136         a new th_u3 union of tu_block/tu_code inside of that.  Move
40137         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
40138         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
40139         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
40140         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
40141         (th_stuff): Change to th_u1.tu_stuff.
40142         (th_data): Define.
40143         (th_msg): Change to th_u1.th_u2.tu_data.
40145 2012-05-07  David S. Miller  <davem@davemloft.net>
40147         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40149         [BZ #14074]
40150         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
40151         (SETUP_PIC_REG): Use it.
40152         (SETUP_PIC_REG_LEAF): Use it.
40154 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
40156         [BZ #13885]
40157         [BZ #13923]
40158         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40159         USE_AS_EXPM1L.
40160         (EXPL_FINITE): Likewise.
40161         (FLDLOG): Likewise.
40162         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40163         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40164         e_expl.S.
40165         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40166         USE_AS_EXPM1L.
40167         (EXPL_FINITE): Likewise.
40168         (FLDLOG): Likewise.
40169         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
40170         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
40171         e_expl.S.
40172         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
40173         test of -max_value argument for long double.
40174         * sysdeps/i386/fpu/libm-test-ulps: Update.
40175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40177 2012-05-06  David S. Miller  <davem@davemloft.net>
40179         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
40180         quad soft-float symbols whose references which are compiler
40181         generated.
40182         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40184 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
40186         [BZ #13884]
40187         [BZ #13914]
40188         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40189         USE_AS_EXP10L.
40190         (EXPL_FINITE): Likewise.
40191         (FLDLOG): Likewise.
40192         (c0): Likewise.
40193         (c1): Likewise.
40194         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40195         Adjust comments for base varying.
40196         (__expl_finite): Change alias to EXPL_FINITE.
40197         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
40198         e_expl.S.
40199         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
40200         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
40201         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
40202         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
40203         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
40204         USE_AS_EXP10L.
40205         (EXPL_FINITE): Likewise.
40206         (FLDLOG): Likewise.
40207         (c0): Likewise.
40208         (c1): Likewise.
40209         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
40210         Adjust comments for base varying.
40211         (__expl_finite): Change alias to EXPL_FINITE.
40212         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
40213         tests for bugs.
40214         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40216         [BZ #14064]
40217         * math/libm-test.inc (check_float_internal): Correct ulp
40218         calculation for subnormal expected results.
40220 2012-05-06  Andreas Jaeger  <aj@suse.de>
40222         * Makeconfig (+math-flags): New, set to -frounding-math.
40223         (+cflags): Add +math-flags so that all of glibc gets compiled with
40224         it.
40226         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
40228 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
40230         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
40231         Disable one test.
40233         [BZ #13787]
40234         [BZ #13922]
40235         [BZ #14036]
40236         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
40237         (__ieee754_expl): Allow for and saturate large arguments.
40238         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
40239         (u_threshold): Likewise.
40240         (__exp): Call __ieee754_exp before checking for overflow and
40241         underflow.
40242         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
40243         (u_threshold): Likewise.
40244         (__expf): Call __ieee754_expf before checking for overflow and
40245         underflow.
40246         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
40247         (u_threshold): Likewise.
40248         (__expl): Call __ieee754_expl before checking for overflow and
40249         underflow.
40250         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
40251         (__ieee754_expl): Allow for and saturate large arguments.
40252         * math/libm-test.inc (exp_test): Add another test.  Do not allow
40253         missing overflow exception on overflow.
40254         (expm1_test): Do not allow missing overflow exception on overflow.
40256         * sysdeps/i386/fpu/e_expl.c: Move to ...
40257         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
40258         rather than using inline asm.
40259         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
40260         * sysdeps/x86_64/fpu/e_expl.S: Copy from
40261         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
40263         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
40264         (nice): Likewise.
40265         (poll): Likewise.
40266         (signal): Likewise.
40267         (time): Likewise.
40268         (times): Likewise.
40270 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40272         * sysdeps/unix/syscalls.list (adjtime): Add entry from
40273         sysdeps/unix/common/syscalls.list.
40274         (fchmod): Likewise.
40275         (fchown): Likewise.
40276         (ftruncate): Likewise.
40277         (getrusage): Likewise.
40278         (gettimeofday): Likewise.
40279         (setpgid): Likewise.
40280         (setregid): Likewise.
40281         (setreuid): Likewise.
40282         (sigaction): Likewise.
40283         (truncate): Likewise.
40284         (vhangup): Likewise.
40285         * sysdeps/unix/common/syscalls.list: Remove file.
40286         * sysdeps/unix/bsd/Implies: Don't include unix/common.
40287         * sysdeps/unix/sysv/linux/Implies: Likewise.
40289 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
40291         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
40292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
40293         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
40294         Moved to ...
40295         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
40296         Here.
40297         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
40298         to ...
40299         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
40300         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
40301         to ...
40302         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
40303         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
40304         to ...
40305         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
40306         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
40307         to ...
40308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
40309         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
40310         to ...
40311         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
40312         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
40313         to ...
40314         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
40315         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
40316         to ...
40317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
40318         Here.
40319         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
40320         to ...
40321         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
40322         Here.
40323         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
40324         to ...
40325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
40326         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
40327         Moved to ...
40328         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
40329         Here.
40330         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
40331         to ...
40332         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
40334 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40336         * sysdeps/unix/common/bits/dirent.h: Remove file.
40337         * sysdeps/unix/common/bits/fcntl.h: Likewise.
40339         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
40340         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
40341         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
40342         * sysdeps/unix/bsd/isatty.c: Likewise.
40343         * sysdeps/unix/bsd/tcdrain.c: Likewise.
40344         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
40345         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
40347 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40349         [BZ #13563]
40350         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
40351         long double comparison inaccuracies.
40352         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
40353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40355 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
40357         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
40358         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
40360 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
40362         [BZ #14049]
40363         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
40364         nonzero digits before rounding a hex value.
40365         * stdlib/tst-strtod.c (tests): Add another test.
40367 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40369         * sysdeps/s390/fpu/libm-test-ulps: Update.
40371 2012-05-03  Andreas Jaeger  <aj@suse.de>
40373         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
40374         does not get optimized out.
40375         (malloc_opt_barrier): New.
40377 2012-05-03  Andreas Jaeger  <aj@suse.de>
40378             Roland McGrath  <roland@hack.frob.com>
40380         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
40381         intermediate file deletion.
40382         (generated): Add .symlist files.
40384 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
40386         [BZ #13775]
40387         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
40388         Redirect under this condition.
40389         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40390         [__USE_GNU] (__dprintf_chk): Not under this condition.
40391         [__USE_GNU] (__vdprintf_chk): Likewise.
40392         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
40393         under this condition.
40394         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
40395         [__USE_XOPEN2K8] (dprintf): Define under this condition.
40396         [__USE_XOPEN2K8] (vdprintf): Likewise.
40397         [__USE_GNU] (__dprintf_chk): Not under this condition.
40398         [__USE_GNU] (__vdprintf_chk): Likewise.
40399         [__USE_GNU] (dprintf): Likewise.
40400         [__USE_GNU] (vdprintf): Likewise.
40402 2012-05-03  Roland McGrath  <roland@hack.frob.com>
40404         * elf/Makefile (common-generated): Set this instead of generated for
40405         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
40406         $(all-built-dso)-derived lists.
40408 2012-05-03  Andreas Jaeger  <aj@suse.de>
40410         * sysdeps/i386/fpu/libm-test-ulps: Update.
40412         * FAQ: Removed.
40413         * FAQ.in: Likewise.
40414         * scripts/gen-FAQ.pl: Likewise.
40415         * manual/install.texi (Installation): Point to online location of
40416         FAQ.
40417         * Makefile (files-for-dist): Remove FAQ.
40418         (FAQ): Remove.
40420 2012-05-02  Allan McRae  <allan@archlinux.org>
40422         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
40423         (LDFLAGS-reldepmod5.so): Likewise.
40424         (LDFLAGS-reldep6mod1.so): Likewise.
40425         (LDFLAGS-reldep6mod4.so): Likewise.
40426         (LDFLAGS-reldep8mod3.so): Likewise.
40427         (LDFLAGS-unload4mod1.so): Likewise.
40428         (LDFLAGS-unload4mod2.so): Likewise.
40429         (LDFLAGS-tst-initorder): Likewise.
40430         (LDFLAGS-tst-initordera2.so): Likewise.
40431         (LDFLAGS-tst-initordera3.so): Likewise.
40432         (LDFLAGS-tst-initordera4.so): Likewise.
40433         (LDFLAGS-tst-initorderb2.so): Likewise.
40434         (LDFLAGS-noload): Likewise.
40435         (LDFLAGS-next): Likewise.
40436         (LDFLAGS-order2mod1.so): Likewise.
40437         (LDFLAGS-order2mod2.so): Likewise.
40438         (LDFLAGS-tst-initorder2): Likewise.
40439         (LDFLAGS-tst-initorder2a.so): Likewise.
40440         (LDFLAGS-tst-initorder2b.so): Likewise.
40441         (LDFLAGS-tst-initorder2c.so): Likewise.
40442         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
40444 2012-05-02  David S. Miller  <davem@davemloft.net>
40446         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40448 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
40450         [BZ #14055]
40451         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
40453 2012-05-02  Andreas Jaeger  <aj@suse.de>
40455         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
40456         since we manipulate rounding mode.
40457         (CPPFLAGS-test-idouble.c): Likewise.
40458         (CPPFLAGS-test-ifloat.c): Likewise.
40459         (CFLAGS-test-ldouble.c): Likewise.
40460         (CFLAGS-test-double.c): Likewise.
40461         (CFLAGS-test-float.c): Likewise.
40462         (CFLAGS-test-misc.c): Likewise.
40463         (CFLAGS-test-test-fenv.c): Likewise.
40465 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40467         [BZ #2550]
40468         [BZ #2570]
40469         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
40470         comparisons to determine direction to adjust input.
40472 2012-05-01  Roland McGrath  <roland@hack.frob.com>
40474         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
40475         output to the target.
40477         * scripts/localplt.awk: New file.
40478         * elf/Makefile ($(objpfx)check-localplt): Target removed.
40479         (check-localplt-CFLAGS): Variable removed.
40480         ($(all-built-dso:=.jmprel)): New static pattern rule.
40481         (generated): Add those targets.
40482         (localplt-built-dso): New variable.
40483         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
40485         * elf/check-localplt.c: File removed.
40487         * scripts/check-execstack.awk: New file.
40488         * elf/Makefile ($(objpfx)check-execstack): Target removed.
40489         (check-execstack-CFLAGS): Variable removed.
40490         ($(objpfx)check-execstack.h): Target removed.
40491         ($(objpfx)execstack-default): New target.
40492         (generated): Add that instead of check-execstack.h.
40493         ($(all-built-dso:=.phdr)): New static pattern rule.
40494         (generated): Add those targets.
40495         * elf/check-execstack.c: File removed.
40497         * scripts/check-textrel.awk: New file.
40498         * elf/Makefile ($(objpfx)check-textrel): Target removed.
40499         (check-textrel-CFLAGS): Variable removed.
40500         (all-built-dso): Use := to define.o
40501         ($(all-built-dso:=.dyn)): New static pattern rule.
40502         (generated): Add those targets.
40503         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
40504         * config.make.in (READELF): New substituted variable.
40505         * elf/check-textrel.c: File removed.
40507 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40509         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
40510         allow.
40511         * conform/data/ctype.h-data [C99-based standards] (isblank):
40512         Expect function.
40513         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
40514         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
40515         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40516         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
40517         Specify type.  Require positive value.
40518         (EILSEQ): Likewise.
40519         (ERANGE): Likewise.
40520         [ISO || POSIX] (EILSEQ): Do not expect.
40521         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
40522         Specify type.  Require positive value.
40523         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
40524         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
40525         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
40526         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
40527         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
40528         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
40529         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
40530         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
40531         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
40532         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
40533         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
40534         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
40535         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
40536         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
40537         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
40538         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
40539         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
40540         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
40541         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
40542         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
40543         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
40544         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
40545         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
40546         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
40547         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
40548         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
40549         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
40550         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
40551         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
40552         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
40553         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
40554         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
40555         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
40556         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
40557         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
40558         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
40559         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
40560         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
40561         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
40562         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
40563         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
40564         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
40565         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
40566         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
40567         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
40568         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
40569         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
40570         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
40571         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
40572         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
40573         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
40574         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
40575         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
40576         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
40577         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
40578         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
40579         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
40580         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
40581         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
40582         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
40583         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
40584         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
40585         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
40586         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
40587         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
40588         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
40589         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
40590         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
40591         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
40592         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
40593         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
40594         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
40595         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
40596         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
40597         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
40598         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
40599         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
40600         Require >= 2.
40601         (FLT_ROUNDS): Expect as macro, not constant.
40602         (FLT_MANT_DIG): Use macro-int-constant.
40603         (DBL_MANT_DIG): Likewise.
40604         (LDBL_MANT_DIG): Likewise.
40605         (FLT_DIG): Likewise.
40606         (DBL_DIG): Likewise.
40607         (LDBL_DIG): Likewise.
40608         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
40609         (DBL_MIN_EXP): Likewise.
40610         (LDBL_MIN_EXP): Likewise.
40611         (FLT_MAX_EXP): Use macro-int-constant.
40612         (DBL_MAX_EXP): Likewise.
40613         (LDBL_MAX_EXP): Likewise.
40614         (FLT_MAX_10_EXP): Likewise.
40615         (DBL_MAX_10_EXP): Likewise.
40616         (LDBL_MAX_10_EXP): Likewise.
40617         (FLT_MAX): Use macro-constant.
40618         (DBL_MAX): Likewise.
40619         (LDBL_MAX): Likewise.
40620         (FLT_EPSILON): Use macro-constant.  Give upper bound.
40621         (DBL_EPSILON): Likewise.
40622         (LDBL_EPSILON): Likewise.
40623         (FLT_MIN): Likewise.
40624         (DBL_MIN): Likewise.
40625         (LDBL_MIN): Likewise.
40626         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
40627         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
40628         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
40629         [ISO11] (FLT_HAS_SUBNORM): Likewise.
40630         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
40631         [ISO11] (DBL_DECIMAL_DIG): Likewise.
40632         [ISO11] (FLT_DECIMAL_DIG): Likewise.
40633         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
40634         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
40635         [ISO11] (FLT_TRUE_MIN): Likewise.
40636         [ISO11] (LDBL_TRUE_MIN): Likewise.
40637         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40638         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
40639         (SCHAR_MIN): Use macro-int-constant.  Specify type.
40640         (SCHAR_MAX): Likewise.
40641         (UCHAR_MAX): Likewise.
40642         (CHAR_MIN): Likewise.
40643         (CHAR_MAX): Likewise.
40644         (MB_LEN_MAX): Use macro-int-constant.
40645         (SHRT_MIN): Use macro-int-constant.  Specify type.
40646         (SHRT_MAX): Likewise.
40647         (USHRT_MAX): Likewise.
40648         (INT_MAX): Likewise.
40649         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
40650         bound negative.
40651         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40652         bound with "U".
40653         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40654         bound with "L".
40655         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
40656         bound negative.  Suffix upper bound with "L".
40657         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
40658         bound with "UL".
40659         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
40660         Specify type.
40661         [C99-based standards] (LLONG_MAX): Likewise.
40662         [C99-based standards] (ULLONG_MAX): Likewise.
40663         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
40664         == 0.
40665         [ISO11] (max_align_t): Require type.
40666         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40668         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
40669         from $CFLAGS, without defining away __attribute__ calls.
40670         (checknamespace): Use $CFLAGS_namespace.
40672         * conform/conformtest.pl (@keywords): Only include C99 keywords
40673         for standards based on C99 or C11.
40675         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
40676         Disable tests.
40677         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
40678         UNIX98]: Likewise.
40680         * conform/conformtest.pl: Handle "macro-int-constant" and test for
40681         usability of symbols in #if.
40683         * conform/conformtest.pl: If macro or constant types start
40684         "promoted:", expect the symbol to be of the following type
40685         promoted by the integer promotions.
40687         * conform/conformtest.pl: Parse all "constant" and "macro" lines
40688         in one place.  Also handle "macro-constant".
40690         * conform/conformtest.pl: Only accept expected macro values with
40691         "==".  Parse all "macro" lines in one place.
40692         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
40694         * conform/conformtest.pl: Handle braced types on "constant" lines
40695         instead of handling "typed-constant".
40696         * conform/data/signal.h-data: Use "constant" instead of
40697         "typed-constant".
40699         * conform/conformtest.pl: Handle "optional-" at start of lines in
40700         one place rather than duplicating several cases.  Handle each
40701         format of "macro" line with initial "optional-".
40703         * conform/conformtest.pl: Only accept expected constant or
40704         optional-constant values with "==".  Parse all "constant" lines in
40705         one place.  Parse all "optional-constant" lines in one place.
40706         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
40707         * conform/data/fmtmsg.h-data: Likewise.
40708         * conform/data/netinet/in.h-data: Likewise.
40709         * conform/data/tar.h-data: Likewise.
40710         * conform/data/limits.h-data: Use "==" form on "constant" and
40711         "optional-constant" lines.
40713         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
40714         Use -std=c99 for XOPEN2K.
40715         (@knownproblems): Remove.
40716         (newtoken): Don't check %isknown.
40718         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
40719         Do not expect macro.
40720         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
40721         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
40722         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
40723         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
40724         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
40725         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
40726         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
40727         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
40728         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
40729         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
40730         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
40731         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
40732         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
40733         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
40734         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
40735         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
40736         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
40737         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
40738         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
40739         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
40740         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
40741         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
40742         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
40743         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
40744         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
40745         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
40746         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
40747         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
40748         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
40749         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
40750         [XPG3] (acosh): Likewise.
40751         [XPG3] (asinh): Likewise.
40752         [XPG3] (atanh): Likewise.
40753         [XPG3] (cbrt): Likewise.
40754         [XPG3] (expm1): Likewise.
40755         [XPG3] (ilogb): Likewise.
40756         [XPG3] (log1p): Likewise.
40757         [XPG3] (logb): Likewise.
40758         [XPG3] (nextafter): Likewise.
40759         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
40760         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
40761         [XPG3] (remainder): Likewise.
40762         [XPG3] (rint): Likewise.
40763         [XPG3 || XPG4 || UNIX98] (round): Likewise.
40764         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
40765         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
40766         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
40767         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
40768         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
40769         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
40770         [UNIX98 || XOPEN2K] (scalb): Expect.
40771         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
40772         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
40773         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
40774         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
40775         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
40776         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
40777         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
40778         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
40779         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
40780         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
40781         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
40782         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
40783         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
40784         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
40785         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
40786         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
40787         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
40788         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
40789         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
40790         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
40791         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
40792         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
40793         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
40794         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
40795         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
40796         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
40797         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
40798         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
40799         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
40800         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
40801         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
40802         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
40803         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
40804         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
40805         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
40806         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
40807         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
40808         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
40809         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
40810         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
40811         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
40812         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
40813         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
40814         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
40815         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
40816         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
40817         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
40818         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
40819         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
40820         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
40821         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
40822         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
40823         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
40824         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
40825         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
40826         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
40827         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
40828         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
40829         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
40830         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
40831         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
40832         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
40833         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
40834         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
40835         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
40836         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
40837         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
40838         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
40839         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
40840         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
40841         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
40842         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
40843         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
40844         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
40845         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
40846         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
40847         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
40848         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
40849         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
40850         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
40851         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
40852         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
40853         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
40854         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
40855         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
40856         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
40857         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
40858         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
40859         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
40860         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
40861         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
40862         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
40863         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
40864         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
40865         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
40866         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
40867         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
40868         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
40869         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
40870         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
40871         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
40872         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
40873         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
40874         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
40875         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
40876         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
40877         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
40878         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
40879         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
40880         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
40881         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
40882         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
40883         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
40884         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
40885         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
40886         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
40887         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
40888         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
40889         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
40890         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
40891         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
40892         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
40893         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
40894         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
40895         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
40896         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
40897         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
40898         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
40899         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
40900         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
40901         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
40902         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
40903         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
40904         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
40905         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
40906         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
40907         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
40909         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
40910         _XOPEN_SOURCE_EXTENDED for XPG4.
40912         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
40914         * Makeconfig (localtime): Remove variable.
40915         (inst_localtime-file): Likewise.
40917 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
40920         Update.
40921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40922         Update.
40923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
40924         Update.
40925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
40926         Update.
40927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
40928         Update.
40929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
40930         Update.
40931         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
40932         Update.
40933         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
40934         Update.
40935         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
40936         Update.
40938 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
40940         [BZ #2550]
40941         [BZ #2570]
40942         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
40943         comparisons to determine direction to adjust input.
40944         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
40945         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
40946         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
40947         Likewise.
40948         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
40949         Likewise.
40950         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
40951         Likewise.
40952         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
40953         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
40954         Likewise.
40955         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
40956         Likewise.
40957         * math/libm-test.inc (nexttoward_test): Add more tests.
40959 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
40961         [BZ #14040]
40962         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
40963         in version GLIBC_2.1, not GLIBC_2.0.
40964         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
40965         Likewise.
40967 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
40969         [BZ #13942]
40970         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
40971         (1 - x) * (1 + x).
40972         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40973         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
40974         * math/libm-test.inc (acos_test): Add more tests.
40975         (asin_test): Likewise.
40976         * sysdeps/i386/fpu/libm-test-ulps: Update.
40977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40979         [BZ #14034]
40980         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
40981         of square root.
40982         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
40983         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
40984         * math/libm-test.inc (acos_test_tonearest): New function.
40985         (acos_test_towardzero): Likewise.
40986         (acos_test_downward): Likewise.
40987         (acos_test_upward): Likewise.
40988         (asin_test_tonearest): Likewise.
40989         (asin_test_towardzero): Likewise.
40990         (asin_test_downward): Likewise.
40991         (asin_test_upward): Likewise.
40992         (main): Call the new functions.
40993         * sysdeps/i386/fpu/libm-test-ulps: Update.
40994         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40996         [BZ #13884]
40997         [BZ #13924]
40998         * math/e_exp10.c: Include <float.h>.
40999         (__ieee754_exp10): Handle underflow here rather than multiplying
41000         large negative argument by M_LN10.
41001         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
41002         of __ieee754_expf.
41003         * math/e_exp10l.c: Include <float.h>.
41004         (__ieee754_exp10l): Handle underflow here rather than multiplying
41005         large negative argument by M_LN10l.
41006         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
41007         spurious overflow exception on underflow.
41009 2012-04-29  Marek Polacek  <polacek@redhat.com>
41011         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
41012         (__fortify_function): New macro.
41013         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
41014         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
41015         __extern_always_inline.
41016         * libio/bits/stdio2.h: Likewise.
41017         * libio/bits/stdio.h: Likewise.
41018         * string/string.h: Likewise.
41019         * string/bits/string3.h: Likewise.
41020         * include/stdio.h: Likewise.
41021         * stdlib/bits/stdlib.h: Likewise.
41022         * stdlib/stdlib.h: Likewise.
41023         * rt/bits/mqueue2.h: Likewise.
41024         * rt/mqueue.h: Likewise.
41025         * posix/bits/unistd.h: Likewise.
41026         * posix/unistd.h: Likewise.
41027         * io/bits/poll2.h: Likewise.
41028         * io/bits/fcntl2.h: Likewise.
41029         * io/fcntl.h: Likewise.
41030         * io/sys/poll.h: Likewise.
41031         * misc/bits/syslog.h: Likewise.
41032         * misc/bits/syslog-ldbl.h: Likewise.
41033         * misc/sys/syslog.h: Likewise.
41034         * socket/bits/socket2.h: Likewise.
41035         * socket/sys/socket.h: Likewise.
41036         * debug/tst-chk1.c: Likewise.
41037         * wcsmbs/bits/wchar2.h: Likewise.
41038         * wcsmbs/bits/wchar-ldbl.h: Likewise.
41039         * wcsmbs/wchar.h: Likewise.
41041 2012-04-29  Andreas Jaeger  <aj@suse.de>
41043         * Makerules (tests): Remove enable-check-abi protection.
41044         (check-abi-warn): Remove.
41045         (check-abi-%): Remove check-abi-warn usage.
41047         * configure.in: Remove check-abi configure option.
41048         * configure: Regenerated.
41049         * config.make.in (enable-check-abi): Remove.
41051 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
41053         [BZ #14033]
41054         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
41055         double functions to double *_finite functions.
41057         [BZ #13941]
41058         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
41059         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
41060         LDBL_MIN_EXP.
41061         * stdio-common/Makefile (tests): Add tst-sprintf3.
41062         * stdio-common/tst-sprintf3.c: New file.
41064         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
41065         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
41067 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41069         * conform/conformtest.pl: Remove duplicate typed-constant
41070         handling.
41072 2012-04-28  David S. Miller  <davem@davemloft.net>
41074         * Makerules (%.abilist): Add vpath on sysdep_dirs.
41075         (check-abi-%): Remove AWK script prerequisite and explicit
41076         abilist directory.
41077         (check-abi): Rewrite to just diff the symlist with the abilist.
41078         (config-tls, config-abi-config): Delete, no longer used.
41079         (update-abi-%): Remove AWK script and explicit abilist directory.
41080         (update-abi): Rewrite to simply compare and conditionally copy the
41081         symlist and the sysdep abilist file.  Remove update-abi-config
41082         checks.
41083         * abilist/ld.abilist: Remove.
41084         * abilist/libBrokenLocale.abilist: Remove.
41085         * abilist/libanl.abilist: Remove.
41086         * abilist/libcrypt.abilist: Remove.
41087         * abilist/libdl.abilist: Remove.
41088         * abilist/librt.abilist: Remove.
41089         * abilist/libthread_db.abilist: Remove.
41090         * abilist/libutil.abilist: Remove.
41091         * scripts/extract-abilist.awk: Remove.
41092         * scripts/merge-abilist.awk: Remove.
41093         * sysdeps/generic/libcidn.abilist: New file.
41094         * sysdeps/generic/libnss_compat.abilist: New file.
41095         * sysdeps/generic/libnss_db.abilist: New file.
41096         * sysdeps/generic/libnss_dns.abilist: New file.
41097         * sysdeps/generic/libnss_files.abilist: New file.
41098         * sysdeps/generic/libnss_hesiod.abilist: New file.
41099         * sysdeps/generic/libnss_nis.abilist: New file.
41100         * sysdeps/generic/libnss_nisplus.abilist: New file.
41101         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
41102         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
41103         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
41104         file.
41105         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
41106         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
41107         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
41108         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
41109         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
41110         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
41111         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
41112         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
41113         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
41114         file.
41115         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
41116         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
41117         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
41118         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
41119         file.
41120         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
41121         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
41122         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
41123         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
41124         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
41125         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
41126         file.
41127         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
41128         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
41129         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
41130         file.
41131         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
41132         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
41133         New file.
41134         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
41135         New file.
41136         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
41137         New file.
41138         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
41139         New file.
41140         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
41141         New file.
41142         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
41143         New file.
41144         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
41145         New file.
41146         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
41147         New file.
41148         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
41149         New file.
41150         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
41151         New file.
41152         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
41153         New file.
41154         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
41155         New file.
41156         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
41157         New file.
41158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
41159         file.
41160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
41161         New file.
41162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
41163         New file.
41164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
41165         file.
41166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
41167         New file.
41168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
41169         New file.
41170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
41171         file.
41172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
41173         New file.
41174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
41175         New file.
41176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
41177         New file.
41178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
41179         New file.
41180         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
41181         New file.
41182         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
41183         New file.
41184         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
41185         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
41186         file.
41187         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
41188         New file.
41189         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
41190         file.
41191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
41192         file.
41193         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
41194         file.
41195         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
41196         file.
41197         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
41198         file.
41199         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41200         New file.
41201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
41202         file.
41203         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
41204         file.
41205         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
41206         New file.
41207         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
41208         file.
41209         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
41210         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
41211         file.
41212         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
41213         New file.
41214         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
41215         file.
41216         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
41217         file.
41218         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
41219         file.
41220         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
41221         file.
41222         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
41223         file.
41224         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41225         New file.
41226         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
41227         file.
41228         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
41229         file.
41230         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
41231         New file.
41232         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
41233         file.
41234         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
41235         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
41236         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
41237         file.
41238         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
41239         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
41240         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
41241         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
41242         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
41243         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
41244         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
41245         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
41246         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
41247         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
41248         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
41249         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
41250         file.
41251         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
41252         New file.
41253         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
41254         file.
41255         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
41256         file.
41257         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
41258         file.
41259         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
41260         file.
41261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
41262         file.
41263         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
41264         New file.
41265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
41266         New file.
41267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
41268         file.
41269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
41270         New file.
41271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
41272         file.
41273         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
41274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
41275         file.
41276         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
41277         New file.
41278         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
41279         file.
41280         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
41281         file.
41282         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
41283         file.
41284         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
41285         file.
41286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
41287         file.
41288         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
41289         New file.
41290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
41291         New file.
41292         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
41293         file.
41294         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
41295         New file.
41296         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
41297         file.
41299 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
41301         * conform/conformtest.pl: Fix typo in handling typed-constant from
41302         allow-header.
41304 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41306         * README: Cut down references to pre-2.6 Linux kernels and
41307         Linuxthreads.  Update lists of configurations in libc and ports
41308         and sort alphabetically.  Say "or newer" with Linux kernel version
41309         requirements.
41311         * config.h.in [IS_IN_build]: Allow compiling without optimization.
41313 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
41315         [BZ #887]
41316         * math/libm-test.inc (logb_test_downward): New test to expose
41317         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
41318         rounding mode.
41320 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
41322         [BZ #14027]
41323         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
41324         to be done.
41325         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
41326         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
41328 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
41330         * sysdeps/unix/i386/brk.S: Remove file.
41331         * sysdeps/unix/i386/dl-brk.S: Likewise.
41332         * sysdeps/unix/i386/pipe.S: Likewise.
41333         * sysdeps/unix/i386/sigreturn.S: Likewise.
41334         * sysdeps/unix/i386/syscall.S: Likewise.
41335         * sysdeps/unix/i386/vfork.S: Likewise.
41336         * sysdeps/unix/i386/wait.S: Likewise.
41338         * sysdeps/unix/common/tcsendbrk.c: Move to ...
41339         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
41341         * configure.in (arm*-none*): Do not allow without
41342         --enable-hacker-mode.
41343         (netbsd*): Remove case setting base_os.
41344         (386bsd*): Likewise.
41345         (freebsd*): Likewise.
41346         (bsdi*): Likewise.
41347         (osf*): Likewise.
41348         (sunos*): Likewise.
41349         (ultrix*): Likewise.
41350         (newsos*): Likewise.
41351         (dynix*): Likewise.
41352         (*bsd*): Likewise.
41353         (sysv*): Likewise.
41354         (isc*): Likewise.
41355         (esix*): Likewise.
41356         (sco*): Likewise.
41357         (minix*): Likewise.
41358         (irix4*): Likewise.
41359         (irix6*): Likewise.
41360         (solaris[2-9]*): Likewise.
41361         (none): Likewise.
41362         * configure: Regenerated.
41364 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41366         [BZ #11521]
41367         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
41368         overflow or cancellation in calculating denominator.
41369         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
41370         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
41371         down expression to avoid unexpected rounding in newer GCCs.
41372         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
41374 2012-04-26  David S. Miller  <davem@davemloft.net>
41376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
41377         long-double compat symbols.
41378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
41379         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
41380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
41381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
41382         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
41383         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
41384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
41385         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
41386         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
41387         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
41388         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
41389         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
41390         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
41392 2012-04-25  David S. Miller  <davem@davemloft.net>
41394         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
41395         HWCAP_* values only after the memory barriers have been defined.
41396         (atomic_full_barrier): Define.
41397         (atomic_read_barrier): Define.
41398         (atomic_write_barrier): Define.
41400 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41402         * shlib-versions: Add libgcc_s version information.
41403         * sysdeps/generic/libgcc_s.h: Remove.
41404         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
41405         libgcc_s.h.
41406         * sysdeps/gnu/unwind-resume.c: Likewise.
41407         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
41409 2012-04-25  David S. Miller  <davem@davemloft.net>
41411         * sysdeps/unix/sparc/brk.S: Delete.
41412         * sysdeps/unix/sparc/dl-brk.S: Delete.
41413         * sysdeps/unix/sparc/pipe.S: Delete.
41414         * sysdeps/unix/sparc/sysdep.S: Delete.
41415         * sysdeps/unix/sparc/sysdep.h: Delete.
41416         * sysdeps/unix/sparc/vfork.S: Delete.
41417         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
41418         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
41419         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
41420         (ret_ERRVAL, r0, r1, MOVE): Define.
41421         (JUMPTARGET): Remove.
41422         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
41423         sysdeps/unix/sparc/sysdep.h
41424         (ENTRY, END): Remove.
41425         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
41427 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
41429         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
41430         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
41431         -DIS_IN_build.
41433         * timezone/README: Update upstream location and email address for
41434         tzcode and tzdata.
41435         * timezone/zdump.c: Update from tzcode 2012b.
41436         * timezone/zic.c: Likewise.
41438         * configure.in (libc_cv_as_needed): Remove test.
41439         * configure: Regenerated.
41440         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
41441         conditional definition.
41442         [$(have-as-needed) != yes] (no-as-needed): Likewise.
41443         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
41444         * config.make.in (have-as-needed): Remove variable.
41446 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
41447             Paul Pluzhnikov  <ppluzhnikov@google.com>
41449         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
41450         strings correctly.
41452 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
41454         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
41455         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
41456         * sysdeps/sh/strlen.S: Likewise.
41458 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41460         * sysdeps/unix/fork.S: Remove file.
41461         * sysdeps/unix/i386/fork.S: Likewise.
41462         * sysdeps/unix/sparc/fork.S: Likewise.
41464         * sysdeps/unix/system.c: Remove file.
41465         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
41467         * sysdeps/unix/getegid.S: Remove file.
41468         * sysdeps/unix/geteuid.S: Likewise.
41470 2012-04-24  Roland McGrath  <roland@hack.frob.com>
41472         * scripts/check-localplt.awk: New file.
41473         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
41474         of diff.
41475         * scripts/data/localplt-generic.data: Add a comment.
41477         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
41478         NODE when __dir_mkfile failed.
41479         * sysdeps/mach/hurd/symlinkat.c: Likewise.
41480         Reported by Ludovic Courtès <ludo@gnu.org>.
41482 2012-04-24  Andreas Jaeger  <aj@suse.de>
41484         * Makerules (common-clean): Also remove gen-as-const-headers
41485         files.
41487 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41489         * Makerules (native-compile): Do not change working directory for
41490         build.  Use $(OUTPUT_OPTION) in command.
41491         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
41493 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41495         [BZ #13886]
41496         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
41497         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
41498         * math/libm-test.inc (floor_test): Add more tests.
41499         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
41501 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
41503         * sysdeps/unix/getdents.c: Remove file.
41504         * sysdeps/unix/sysv/getdents.c: Likewise.
41505         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
41507         * sysdeps/unix/syscalls.list (madvise): Add syscall from
41508         sysdeps/unix/mman/syscalls.list.
41509         (mmap): Likewise.
41510         (mprotect): Likewise.
41511         (msync): Likewise.
41512         (munmap): Likewise.
41513         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
41514         * sysdeps/unix/mman/syscalls.list: Remove.
41515         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
41517         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
41518         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
41519         * configure: Regenerated.
41520         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
41521         $(libgcc_s_suffix).
41522         * config.make.in (libgcc_s_suffix): Remove variable.
41524 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
41526         * sysdeps/unix/sysv/gethostname.c: Move to ...
41527         * sysdeps/posix/gethostname.c: ... here.
41529         * sysdeps/unix/execve.S: Remove file.
41531         * sysdeps/unix/_exit.S: Remove file.
41533 2012-04-23  Andreas Jaeger  <aj@suse.de>
41535         [BZ #13739]
41536         * manual/Makefile: Remove make dist support, there's no
41537         need for a stand-alone documentation tar ball.
41538         (TEXI2DVI): Define always, it's not in Makeconfig.
41539         (dist): Removed.
41540         (tar-it): Removed.
41541         (edition): Removed.
41542         (glibc-doc-$(edition).tar): Removed
41543         (%.Z): Removed.
41544         (%.gz): Removed.
41545         (%.uu): Removed.
41546         (ETAGS): Remove, it's in Makeconfig.
41547         (move-if-change): Remove, it's in Makeconfig.
41549 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
41551         [BZ #13970]
41552         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
41553         (strtod, strtof, strtold, strtol, strtoul, strtoq)
41554         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
41555         (strtod_l, strtof_l, strtold_l): Remove __wur.
41556         It is not necessarily an error to ignore strtol's return value.
41557         One can reliably look at the stored endptr to decide whether
41558         the number had valid syntax.
41560 2012-04-21  Andreas Jaeger  <aj@suse.de>
41562         [BZ #13739]
41563         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
41565 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
41567         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
41568         * sysdeps/unix/sysv/Versions: Remove file.
41570 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
41572         [BZ #13927]
41573         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41575 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
41577         [BZ #7064]
41578         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
41579         version from __vm86.
41581 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
41583         * sysdeps/unix/common/lxstat.c: Remove file.
41584         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
41586         * sysdeps/unix/sysv/Makefile: Remove file.
41588         * sysdeps/unix/sysv/direct.h: Remove file.
41590         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
41591         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
41592         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
41593         * sysdeps/unix/sysv/bits/signum.h: Likewise.
41594         * sysdeps/unix/sysv/bits/stat.h: Likewise.
41595         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
41596         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
41598         * sysdeps/unix/sysv/setrlimit.c: Remove file.
41600         * sysdeps/unix/xmknod.c: Remove file.
41601         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
41603         * sysdeps/unix/sysv/settimeofday.c: Remove file.
41605         * sysdeps/unix/sysv/i386/time.S: Remove file.
41607         * sysdeps/unix/fxstat.c: Remove file.
41608         * sysdeps/unix/xstat.c: Likewise.
41609         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
41611         * sysdeps/unix/sysv/sigaction.c: Remove file.
41613         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
41614         (sysdep_headers): Remove variable.
41615         [termio.h not in sysdep_headers] (generated): Likewise.
41616         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
41617         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
41618         * sysdeps/unix/sysv/tcdrain.c: Likewise.
41619         * sysdeps/unix/sysv/tcflow.c: Likewise.
41620         * sysdeps/unix/sysv/tcflush.c: Likewise.
41621         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
41622         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
41623         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
41624         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
41625         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
41627         * sysdeps/unix/siglist.c: Remove file.
41629         * sysdeps/unix/getppid.S: Remove file.
41631         * sysdeps/unix/mkdir.c: Remove file.
41632         * sysdeps/unix/rmdir.c: Likewise.
41634 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
41636         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
41637         ERR_MAX value.
41638         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
41639         errlist-compat value.
41641 2012-04-18  David S. Miller  <davem@davemloft.net>
41643         * sysdeps/generic/memcopy.h (reg_char): Delete.
41644         * debug/strcat_chk.c: Use char, not reg_char.
41645         * debug/strcpy_chk.c: Likewise.
41646         * debug/strncat_chk.c: Likewise.
41647         * debug/strncpy_chk.c: Likewise.
41648         * string/memchr.c: Likewise.
41649         * string/memrchr.c: Likewise.
41650         * string/rawmemchr.c: Likewise.
41651         * string/strcat.c: Likewise.
41652         * string/strchr.c: Likewise.
41653         * string/strchrnul.c: Likewise.
41654         * string/strcmp.c: Likewise.
41655         * string/strcpy.c: Likewise.
41656         * string/strncat.c: Likewise.
41657         * string/strncmp.c: Likewise.
41658         * string/strncpy.c: Likewise.
41660 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41662         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
41663         __builtin_memcopy is called when src and dest ranges are known to not
41664         overlap.
41666 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41668         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
41669         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
41670         fwd_align_merge macro call.
41671         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
41672         bwd_align_merge macro call.
41673         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41675 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
41677         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
41678         bwd_align_merge macros.
41679         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
41680         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
41681         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
41683 2012-04-18  David S. Miller  <davem@davemloft.net>
41685         * sysdeps/sparc/sparc64/memcopy.h: Delete.
41687 2012-04-18  Andreas Jaeger  <aj@suse.de>
41689         [BZ# 6794]
41690         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
41691         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
41692         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41694         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
41695         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
41696         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41698         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
41699         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
41700         Adjust for changed ldbl-128 files.
41702         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
41703         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
41704         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
41706 2012-04-17  David S. Miller  <davem@davemloft.net>
41708         * sysdeps/sparc/sparc32/memcopy.h: Delete.
41710 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
41712         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
41713         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
41714         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
41715         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
41716         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
41717         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
41719 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41721         [BZ #6794]
41722         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
41723         * math/libm-test.inc: Add ilogb errno and exception tests.
41724         * math/w_ilogb.c: New file: ilogb wrapper.
41725         * math/w_ilogbf.c: New file: ilogbf wrapper.
41726         * math/w_ilogbl.c: New file: ilogbl wrapper.
41727         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
41728         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
41729         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
41730         exception being thrown with 0.0 as argument.
41731         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
41732         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
41733         exception being thrown with 0.0 as argument.
41734         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
41735         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41736         exception being thrown with 0.0 as argument.
41737         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
41738         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
41739         exception being thrown with 0.0 as argument.
41740         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
41741         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
41742         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
41743         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
41744         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
41745         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
41746         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
41747         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
41748         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
41750 2012-04-17  Petr Baudis  <pasky@ucw.cz>
41752         * include/sys/uio.h: Change __vector to __iovec to avoid clash
41753         with altivec.
41755 2012-04-16  Marek Polacek  <polacek@redhat.com>
41757         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
41759 2012-04-16  Marek Polacek  <polacek@redhat.com>
41761         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
41762         operands of fdivp instruction.
41764 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41766         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
41767         * elf/tst-auditmod3b.c: Likewise.
41768         * elf/tst-auditmod4b.c: Likewise.
41769         * elf/tst-auditmod5b.c: Likewise.
41770         * elf/tst-auditmod6b.c: Likewise.
41771         * elf/tst-auditmod6c.c: Likewise.
41772         * elf/tst-auditmod7b.c: Likewise.
41773         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
41774         * sysdeps/x86_64/preconfigure.in: Likewise.
41775         * sysdeps/x86_64/preconfigure: Regenerated.
41777 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
41779         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
41780         __ILP32__.
41782 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
41784         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
41785         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
41787 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
41789         [BZ #13973]
41790         * locale/iso-639.def: Fix gl language name. Spotted by
41791         Yaron Shahrabani.
41793 2012-04-12  Roland McGrath  <roland@hack.frob.com>
41795         [BZ #2074]
41796         * libio/libio.h (__io_write_fn): Update comment.
41798 2012-04-12  Petr Baudis  <pasky@ucw.cz>
41800         [BZ #2074]
41801         * stdio.texi (Hook Functions): The user provided writer function
41802         is not allowed to return -1.
41804 2012-04-11  David S. Miller  <davem@davemloft.net>
41806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41808 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
41810         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
41811         Add a leading slash to rtkaio.
41813 2012-04-11  Jim Meyering  <meyering@redhat.com>
41815         [BZ #11959]
41816         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
41817         It is not necessarily an error to ignore fwrite's return
41818         value.  One can reliably use ferror to test for errors after
41819         the fact.
41821 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41823         * bits/types.h (__snseconds_t): New type.
41824         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
41826         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
41827         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41828         (__SNSECONDS_T_TYPE): Likewise.
41829         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41830         (__SNSECONDS_T_TYPE): Likewise.
41831         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41832         (__SNSECONDS_T_TYPE): Likewise.
41834 2012-04-10  Andreas Jaeger  <aj@suse.de>
41836         [BZ #2636]
41837         * manual/time.texi (Processor Time): Return type of times is
41838         elapsed real time since an arbitrary point in the past.
41839         (CPU Time): Move CLK_TCK from here...
41840         (Processor Time): ...to here.  Correct description.
41841         * manual/conf.texi (Constants for Sysconf): Correct description of
41842         _SC_CLK_TCK.
41844 2012-04-10  David S. Miller  <davem@davemloft.net>
41846         [BZ #13967]
41847         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
41848         where the is a gap between DT_REL(A) and DT_JMPREL.
41850 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
41852         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
41853         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41854         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41856 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41858         * elf/dl-support.c (_dl_inhibit_cache): New variable.
41859         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
41860         (dl_main): Handle --inhibit-cache.
41861         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
41862         _dl_inhibit_cache.
41863         * elf/dl-load.c (_dl_map_object): Use it.
41864         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
41866 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41868         [BZ #13872]
41869         * sysdeps/i386/fpu/e_powl.S (p78): New object.
41870         (__ieee754_powl): Saturate large exponents rather than testing for
41871         overflow of y*log2(x).
41872         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
41873         * math/libm-test.inc (pow_test): Do not permit spurious overflow
41874         exceptions.
41876         [BZ #11521]
41877         * math/s_ctan.c: Include <float.h>.
41878         (__ctan): Avoid internal overflow or cancellation in calculating
41879         denominator.
41880         * math/s_ctanf.c: Likewise.
41881         * math/s_ctanl.c: Likewise.
41882         * math/s_ctanh.c: Likewise.
41883         * math/s_ctanhf.c: Likewise.
41884         * math/s_ctanhl.c: Likewise.
41885         * math/libm-test.inc (ctan_test): Add more tests.
41886         (ctanh_test): Likewise.
41887         * sysdeps/i386/fpu/libm-test-ulps: Update.
41888         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41890 2012-04-09  Andreas Jaeger  <aj@suse.de>
41892         [BZ #6894]
41893         * manual/filesys.texi (Directory Entries): Mention that d_namlen
41894         is an optional BSD extension.
41896         [BZ #10254]
41897         * manual/stdio.texi (Opening Streams): Document additional fopen
41898         parameters.
41900 2012-04-09  Roland McGrath  <roland@hack.frob.com>
41902         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
41903         %eax without telling the compiler.
41905 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
41907         [BZ # 13963]
41908         * manual/install.texi: Use sourceware.org.
41910 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
41912         [BZ #13873]
41913         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
41914         (__ieee754_pow): Generate overflow and underflow using huge*huge
41915         and tiny*tiny rather than just returning constant infinity or zero
41916         for large exponents.
41917         * math/libm-test.inc (pow_test): Require overflow exceptions for
41918         applicable cases of large exponents.
41920         [BZ #706]
41921         * sysdeps/i386/fpu/e_pow.S (p10): New object.
41922         (__ieee754_pow): Use iterative multiplication algorithm only for
41923         integer exponents with absolute value below 1024.  Check for odd
41924         integer exponents when using algorithm for real exponents.
41925         * math/libm-test.inc (pow_test): Add more tests.
41926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41928 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
41930         [BZ #13705]
41931         * math/libm-test.inc (exp_test): Do not allow overflow exception
41932         on underflow test.
41934 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
41936         [BZ #13705]
41937         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
41938         instead of __kernel_standard_f.
41940 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
41942         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
41943         * sysdeps/x86_64/memset_chk.S: Likewise.
41945 2012-04-08  Andreas Jaeger  <aj@suse.de>
41947         [BZ #10153]
41948         * manual/startup.texi (Environment Access): Describe return value
41949         for putenv and setenv.
41951         [BZ #6895]
41952         * manual/filesys.texi (Directory Entries): Add description for
41953         DT_LNK.
41955         [BZ #6890]
41956         * manual/filesys.texi (Directory Entries): Clarify that it's file
41957         system not operating system in the description of DT_UNKNOWN.
41959         [BZ #6578]
41960         * manual/syslog.texi (closelog): Fix reference, it's openlog.
41962 2012-04-08  Stephen Compall  <s11@member.fsf.org>
41964         [BZ #6649]
41965         * manual/llio.texi (Opening and Closing Files): Add cross
41966         reference to explain mode argument.
41968 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
41970         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
41971         * sysdeps/x86_64/memset_chk.S: Likewise.
41973 2012-04-07  David S. Miller  <davem@davemloft.net>
41975         * elf/elf.h (R_SPARC_WDISP10): Define.
41976         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
41977         R_SPARC_SIZE32.
41978         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
41979         R_SPARC_SIZE64 and R_SPARC_H34.
41981 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
41983         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
41984         conditions and remove no longer applicable assertion.
41986 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41988         * bits/byteswap.h: Include <features.h>.
41989         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
41990         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
41992 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
41994         * bits/byteswap.h (__bswap_16): Removed.
41995         Include <bits/byteswap-16.h> to get __bswap_16.
41996         * sysdeps/i386/bits/byteswap.h: Likewise.
41997         * sysdeps/s390/bits/byteswap.h: Likewise.
41998         * sysdeps/x86_64/bits/byteswap.h: Likewise.
41999         * bits/byteswap-16.h: New file.
42000         * sysdeps/i386/bits/byteswap-16.h: Likewise.
42001         * sysdeps/s390/bits/byteswap-16.h: Likewise.
42002         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
42003         * string/Makefile (headers): Add bits/byteswap-16.h.
42005 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42007         [BZ #13895]
42008         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
42009         extra indirection.
42010         * nss/Makefile (tests-static, tests): Add tst-nss-static.
42011         * nss/tst-nss-static.c: New.
42013 2012-04-06  Robert Millan  <rmh@gnu.org>
42015         [BZ #6486]
42016         * manual/llio.texi (File Position Primitive): lseek
42017         refers to WHENCE when it really means OFFSET.
42019 2012-04-06  Andreas Jaeger  <aj@suse.de>
42021         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
42022         strncmp declarations.
42024         * abilist/libc.abilist: Add __poll and __ppoll.
42026 2012-04-05  David S. Miller  <davem@davemloft.net>
42028         * scripts/check-local-headers.sh: Accept a host triplet in the
42029         path matched by the exclude regexp.
42031         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
42032         definition.
42033         * sysdeps/powerpc/powerpc32/dl-machine.h
42034         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
42035         * sysdeps/s390/s390-32/dl-machine.h
42036         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42037         * sysdeps/sparc/sparc32/dl-machine.h
42038         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42039         * sysdeps/sparc/sparc64/dl-machine.h
42040         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
42042         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
42043         lazy binding.
42044         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
42045         undefined symbol errors.
42047         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
42048         DT_NEEDED entries.
42050 2012-04-05  Michael Matz  <matz@suse.de>
42052         [BZ #13592]
42053         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
42055 2012-04-05  Andreas Jaeger  <aj@suse.de>
42057         [BZ #13908]
42058         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
42059         comment.
42061 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42063         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
42064         which ROUND is no valid rounding mode.
42066 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42068         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
42069         read again.
42070         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
42072 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42074         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
42075         an exception using FPU order intentionally.
42077 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
42079         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
42080         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
42081         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
42082         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
42084 2012-04-05  Simon Josefsson  <simon@josefsson.org>
42086         [BZ #12340]
42087         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
42088         EINVAL when BUFLEN is too smal.
42090 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
42092         [BZ #13553]
42093         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
42094         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
42096 2012-04-03  Andreas Jaeger  <aj@suse.de>
42098         [BZ #13938]
42099         * manual/setjmp.texi (System V contexts): Fix sentence.
42101         [BZ #13926]
42102         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
42103         New macro for this case.
42104         [!__GNUC__] (__bswap_64): New inline function for this case.
42105         * sysdeps/x86_64/bits/byteswap.h: Likewise.
42106         * bits/byteswap.h: Likewise.
42107         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
42108         ull, guard with __GLIBC_HAVE_LONG_LONG.
42110         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
42111         __GLIBC_HAVE_LONG_LONG.
42113         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
42114         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
42116 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42118         [BZ #13691]
42119         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
42120         inptr and inend, rather than using last_ch.
42122 2012-04-02  David S. Miller  <davem@davemloft.net>
42124         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
42125         * stdio-common/printf-parse.h (read_int): Change return type to
42126         'int', return -1 on INT_MAX overflow.
42127         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
42128         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
42129         overflows INT_MAX.  Check for overflow of in-format-string precision
42130         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
42131         SIZE_MAX not INT_MAX for integer overflow test.
42132         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
42133         skip the construct in the format string but do not record anything.
42134         * stdio-common/bug22.c: Adjust to test both width/prevision
42135         INT_MAX overflow as well as total length INT_MAX overflow.  Check
42136         explicitly for proper errno values.
42138 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
42140         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
42141         CHAR_MAX.
42142         * string/test-strcmp.c [! WIDE]: Likewise.
42143         * time/tst-mktime2.c: Likewise for INT_MAX.
42144         * string/test-string.h: #include <sys/param.h> for MIN.
42146         * csu/init-first.c (__libc_init_first): Call __ctype_init.
42147         * sysdeps/i386/init-first.c (init): Likewise.
42148         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
42149         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
42150         * sysdeps/sh/init-first.c (init): Likewise.
42152 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
42154         * po/ru.po: Update from translation team.
42155         * po/vi.po: Likewise.
42157 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
42159         * resolv/nss_dns/dns-host.c: Merge copyright years.
42161 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42163         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
42164         Optimize memcpy with prefetch if
42165         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
42166         src, dst pointers have unequal 16 byte alignments.
42168 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
42170         [BZ #13928]
42171         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
42172         from a CNAME entry and return the minimum ttl for the query.
42173         (gaih_getanswer_slice): Likewise.
42175 2012-03-30  Jeff Law  <law@redhat.com>
42177         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
42178         due to long keys.
42179         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
42180         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
42182         * resolv/nss_dns/dns-host.c: Update copyright year.
42184 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
42186         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
42187         requests to save a system call.  Fix check that all bytes are sent.
42189         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
42190         comments for sendmmsg.
42192 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42194         [BZ #13691]
42195         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
42196         with only 1 character between 0x0041 and 0x01b0.
42197         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
42198         * wcsmbs/tst-mbsnrtowcs.c: New file.
42200 2012-03-29  David S. Miller  <davem@davemloft.net>
42202         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
42203         small copies by hand.
42205 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
42207         [BZ #13761]
42208         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
42209         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
42210         group memberships.
42212 2012-03-28  David S. Miller  <davem@davemloft.net>
42214         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
42215         that branches into memcpy.
42216         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
42217         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42218         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42219         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42220         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
42221         bits.
42222         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
42223         implementation too.
42224         * sysdeps/sparc/mempcpy.S: New file.
42226         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
42227         the IFUNC routine in the libc case.
42228         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42230         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
42231         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
42232         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
42233         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
42234         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
42235         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
42236         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
42237         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
42239         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
42240         loop to 256 bytes instead of 64 bytes and fix test signedness.
42242         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
42243         * sysdeps/sparc/sparc32/Makefile: rather than here...
42244         * sysdeps/sparc/sparc64/Makefile: and here.
42246 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
42248         * malloc/mallocbug.c: Avoid warnings about unused variables.
42250 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
42252         [BZ #13760]
42253         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
42254         in the right place. Discard and retry query if response is
42255         larger than input buffer size.
42257 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
42259         [BZ #369]
42260         [BZ #2678]
42261         [BZ #3866]
42262         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
42263         x for large integer exponent.
42264         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
42265         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
42266         sign of result as needed afterwards.
42267         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
42268         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
42269         result for underflowing pow the same as for overflow.
42270         (__kernel_standard_l): Handle powl overflow and underflow here
42271         rather than calling __kernel_standard.
42272         * math/libm-test.inc (pow_test): Add more tests.
42274         [BZ #3868]
42275         [BZ #13879]
42276         [BZ #13910]
42277         [BZ #13911]
42278         [BZ #13912]
42279         [BZ #13913]
42280         [BZ #13915]
42281         [BZ #13916]
42282         [BZ #13917]
42283         [BZ #13918]
42284         [BZ #13919]
42285         [BZ #13920]
42286         [BZ #13921]
42287         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
42288         * sysdeps/ieee754/k_standard.c: Include <float.h>.
42289         (__kernel_standard_l): New function.
42290         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
42291         __kernel_standard.
42292         * math/w_acosl.c (__acosl): Likewise.
42293         * math/w_asinl.c (__asinl): Likewise.
42294         * math/w_atan2l.c (__atan2l): Likewise.
42295         * math/w_atanhl.c (__atanhl): Likewise.
42296         * math/w_coshl.c (__coshl): Likewise.
42297         * math/w_exp10l.c (__exp10l): Likewise.
42298         * math/w_exp2l.c (__exp2l): Likewise.
42299         * math/w_fmodl.c (__fmodl): Likewise.
42300         * math/w_hypotl.c (__hypotl): Likewise.
42301         * math/w_j0l.c (__j0l, __y0l): Likewise.
42302         * math/w_j1l.c (__j1l, __y1l): Likewise.
42303         * math/w_jnl.c (__jnl, __ynl): Likewise.
42304         * math/w_lgammal.c (__lgammal): Likewise.
42305         * math/w_log10l.c (__log10l): Likewise.
42306         * math/w_log2l.c (__log2l): Likewise.
42307         * math/w_logl.c (__logl): Likewise.
42308         * math/w_powl.c (__powl): Likewise.
42309         * math/w_remainderl.c (__remainderl): Likewise.
42310         * math/w_scalbl.c (sysv_scalbl): Likewise.
42311         * math/w_sinhl.c (__sinhl): Likewise.
42312         * math/w_sqrtl.c (__sqrtl): Likewise.
42313         * math/w_tgammal.c (__tgammal): Likewise.
42314         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
42315         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
42316         * math/libm-test.inc (acos_test): Add more tests.
42317         (acosh_test): Likewise.
42318         (asin_test): Likewise.
42319         (atanh_test): Likewise.
42320         (exp_test): Likewise.
42321         (exp10_test): Likewise.
42322         (exp2_test): Likewise.
42323         (expm1_test): Likewise.
42324         (lgamma_test): Likewise.
42325         (log_test): Likewise.
42326         (log10_test): Likewise.
42327         (log1p_test): Likewise.
42328         (log2_test): Likewise.
42329         (pow_test): Do not allow some spurious overflow exceptions.
42330         (sqrt_test): Add more tests.
42331         (tgamma_test): Likewise.
42332         (y0_test): Likewise.
42333         (y1_test): Likewise.
42334         (yn_test): Likewise.
42336 2012-03-27  Anton Blanchard  <anton@samba.org>
42338         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
42339         MAP_HUGETLB.
42340         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
42341         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
42342         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
42344 2012-03-27  David S. Miller  <davem@davemloft.net>
42346         * conform/Makefile: Run run-conformtest.sh using $(BASH).
42348         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
42349         have-as-vis3 check.
42351 2012-03-27  Andreas Jaeger  <aj@suse.de>
42353         * sysdeps/x86_64/elf/configure.in: Moved to ...
42354         * sysdeps/x86_64/configure.in: ... here.
42355         * sysdeps/x86_64/elf/start.S: Moved to ...
42356         * sysdeps/x86_64/start.S: ... here.
42357         * sysdeps/x86_64/elf/configure: Delete.
42359         * sysdeps/x86_64/configure.in: Merge contents from
42360         sysdeps/i386/configure.in (without i686 check).
42362         * sysdeps/i386/elf/Versions: Merge into ...
42363         * sysdeps/i386/Versions: ... this.
42364         * sysdeps/i386/elf/Versions: Delete file.
42365         * sysdeps/i386/elf/start.S: Moved to ...
42366         * sysdeps/i386/start.S: ...here.
42367         * sysdeps/i386/elf/configure.in: Merge into...
42368         * sysdeps/i386/configure.in: ...here.
42369         * sysdeps/i386/elf/configure.in: Delete file.
42370         * sysdeps/i386/elf/configure: Delete file.
42372         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
42373         * debug/backtracesyms.c: ... here.
42374         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
42375         * debug/backtracesymsfd.c: ... here.
42376         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
42377         * sysdeps/generic/ifunc-sel.h: ... here.
42379         * sysdeps/unix/i386/start.c: Delete file.
42380         * sysdeps/unix/sparc/start.c: Delete file.
42381         * sysdeps/unix/start.c: Delete file.
42383         * sysdeps/sh/elf/configure.in: Moved to ...
42384         * sysdeps/sh/configure.in: ... here.
42385         * sysdeps/sh/elf/start.S: Moved to ...
42386         * sysdeps/sh/start.S: ... here.
42387         * sysdeps/sh/elf/configure: Delete file.
42389         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
42390         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
42391         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
42392         * sysdeps/powerpc/powerpc64/entry.h: ... here.
42393         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
42394         * sysdeps/powerpc/powerpc64/start.S: here.
42395         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
42396         * sysdeps/powerpc/powerpc64/Makefile: ... this.
42397         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
42398         * sysdeps/powerpc/powerpc64/configure.in: ... this.
42399         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
42401         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
42402         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
42403         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
42404         * sysdeps/powerpc/powerpc32/start.S: ... here.
42405         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
42406         * sysdeps/powerpc/powerpc32/configure.in: ... this.
42407         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
42409         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
42410         * sysdeps/powerpc/ifunc-sel.h: ... here.
42411         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
42412         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
42414         * sysdeps/sparc/elf/configure.in: Moved to ...
42415         * sysdeps/sparc/configure.in: ... here.
42416         * sysdeps/sparc/elf/configure: Delete file.
42417         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
42418         * sysdeps/sparc/sparc32/start.S: ... here.
42419         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
42420         * sysdeps/sparc/sparc64/start.S: ... here.
42421         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
42422         * sysdeps/sparc/sparc32/Makefile: ... this.
42423         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
42424         * sysdeps/sparc/sparc64/Makefile: ... this.
42426         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
42427         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
42428         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
42429         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
42430         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
42431         * sysdeps/s390/s390-32/setjmp.S: ... here.
42432         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
42433         * sysdeps/s390/s390-32/configure.in: ... here.
42434         * sysdeps/s390/s390-32/elf/configure: Delete file.
42435         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
42436         * sysdeps/s390/s390-32/start.S: ... here.
42438         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
42439         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
42440         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
42441         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
42442         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
42443         * sysdeps/s390/s390-64/setjmp.S: ... here.
42444         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
42445         * sysdeps/s390/s390-64/configure.in: ... here
42446         * sysdeps/s390/s390-64/elf/configure: Delete file.
42447         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
42448         * sysdeps/s390/s390-64/start.S: ... here.
42449         * sysdeps/s390/s390-64/elf/configure: Delete.
42451         * configure.in: Remove support for elf directories in sysdeps.
42453         * configure: Regenerated.
42454         * sysdeps/i386/configure: Regenerated.
42455         * sysdeps/powerpc/powerpc32/configure: Regenerated.
42456         * sysdeps/powerpc/powerpc64/configure: Regenerated.
42457         * sysdeps/s390/s390-32/configure: Regenerated.
42458         * sysdeps/s390/s390-64/configure: Regenerated.
42459         * sysdeps/sh/configure: Regenerated.
42460         * sysdeps/sparc/configure: Regenerated.
42461         * sysdeps/x86_64/configure: Regenerated.
42463 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
42465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42467         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
42468         denormal result into account.
42470 2012-03-25  Roland McGrath  <roland@hack.frob.com>
42472         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
42473         Reported by Allan McRae <allan@archlinux.org>.
42475 2012-03-23  Jeff Law  <law@redhat.com>
42477         * nss/getnssent.c (__nss_getent): Fix typo.
42479 2012-03-23  David S. Miller  <davem@davemloft.net>
42481         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42483 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
42485         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
42486         to pad to uint64_t for each field.
42487         (dl_tls_index): Replace unsigned long with uint64_t.
42489 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
42490         Paul Pluzhnikov  <ppluzhnikov@google.com>
42492         [BZ #6528]
42493         * grp/Makefile (otherlibs): Don't set it.
42494         * inet/Makefile (otherlibs): Likewise.
42495         * login/Makefile (otherlibs): Likewise.
42496         * nscd/Makefile (otherlibs): Likewise.
42497         * posix/Makefile (otherlibs): Likewise.
42498         * pwd/Makefile (otherlibs): Likewise.
42499         * rt/Makefile (otherlibs): Likewise.
42500         * sunrpc/Makefile (otherlibs): Likewise.
42501         * nss/Makefile (otherlibs): Likewise.
42502         Add libnss_files to routines and static-only-routines.
42503         ($(objpfx)getent): Remove rule.
42504         * resolv/Makefile: Add libnss_dns and libresolv to routines and
42505         static-only-routines.
42507 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42509         [BZ #13892]
42510         * math/s_cexp.c: Include <float.h>.
42511         (__cexp): Handle exp result overflowing not necessarily
42512         overflowing both real and imaginary parts of result.
42513         * math/s_cexpf.c: Likewise.
42514         * math/s_cexpl.c: Likewise.
42515         * math/libm-test.inc (cexp_test): Add more tests.
42516         * sysdeps/i386/fpu/libm-test-ulps: Update.
42517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42519 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42521         * include/link.h (ELFW): New macro.
42522         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
42523         Replace ELF64_R_TYPE with ELFW(R_TYPE).
42525 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42527         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
42528         with uint64_t.
42530 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42532         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
42533         declaration.
42534         (struct La_x32_retval): Likewise.
42536 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
42538         * sysdeps/x86_64/preconfigure.in: New file.
42539         * sysdeps/x86_64/preconfigure: New generated file.
42541 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
42543         [BZ #13824]
42544         * math/e_exp2l.c: Include <float.h>.
42545         (__ieee754_exp2l): Handle overflow and underflow cases
42546         separately.  Only pass fractional part of argument to
42547         __ieee754_expl.
42548         * math/libm-test.inc (exp2_test): Add more tests.
42550         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
42551         negating x to take absolute value.
42552         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
42553         Likewise.
42554         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
42555         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
42556         Likewise.
42557         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
42558         computing low part if x was negated.
42559         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
42561 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42563         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
42564         la_x32_gnu_pltexit.
42565         (pltexit): Cast int_retval to ptrdiff_t.
42566         * elf/tst-auditmod3b.c: Likewise.
42567         * elf/tst-auditmod4b.c: Likewise.
42568         * elf/tst-auditmod5b.c: Likewise.
42569         * elf/tst-auditmod6b.c: Likewise.
42570         * elf/tst-auditmod6c.c: Likewise.
42571         * elf/tst-auditmod7b.c: Likewise.
42573         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
42574         and x32_gnu_pltexit.
42576         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
42577         __ELF_NATIVE_CLASS.
42578         (La_x32_regs): New macro.
42579         (La_x32_retval): Likewise.
42580         (la_x32_gnu_pltenter): New function prototype.
42581         (la_x32_gnu_pltexit): Likewise.
42583 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
42585         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
42586         exponent.
42588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42590         * configure.in (libc_cv_cc_nofma): Check for option to disable
42591         generation of FMA instructions.
42592         * configure: Regenerate.
42593         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
42594         * sysdeps/ieee754/dbl-64/Makefile: New file.
42595         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
42596         Remove brandred-fma4.
42597         (CFLAGS-brandred-fma4.c): Remove.
42598         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
42599         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
42600         define.
42601         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
42602         define.
42604 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42606         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42607         LLONG_MAX != LONG_MAX.
42608         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42609         (_fitoa_word): Likewise.
42610         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
42611         LLONG_MAX != LONG_MAX.
42612         * stdio-common/_itowa.h: Include <_itoa.h>.
42613         (_itowa_word): Use _ITOA_WORD_TYPE on value.
42614         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
42615         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
42616         only if not defined.
42617         (_ITOA_WORD_TYPE): Likewise.
42618         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42619         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
42621 2012-03-21  David S. Miller  <davem@davemloft.net>
42623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42625 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
42627         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
42628         of x86_64 when setting libc_cv_slibdir, libdir and
42629         libc_cv_localedir.
42630         * sysdeps/unix/sysv/linux/configure: Regenerated.
42632 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42634         * manual/lang.texi (Old Varargs): Remove section.
42635         (How Variadic): Update menu.
42636         (va_start): Do not mention varargs.h.
42638 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42639             Joseph Myers  <joseph@codesourcery.com>
42641         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
42642         link test.
42643         * configure: Regenerated.
42645 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
42647         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
42648         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
42649         conformtest.pl
42651 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42653         * NOTES: Remove.
42654         * Makefile (files-for-dist): Remove NOTES.
42655         (NOTES): Remove rule.
42656         * README: Don't refer to NOTES.
42657         * manual/creature.texi: Don't include macros.texi.
42658         * manual/intro.texi (creature.texi): Remove comment referring to
42659         NOTES.
42661         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
42662         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
42663         * configure: Regenerated.
42664         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
42665         LIBC_TRY_CC_OPTION.
42666         (libc_cv_as_i686): Likewise.
42667         (libc_cv_cc_avx): Likewise.
42668         (libc_cv_cc_sse2avx): Likewise.
42669         (libc_cv_cc_fma4): Likewise.
42670         (libc_cv_cc_novzeroupper): Likewise.
42671         * sysdeps/i386/configure: Regenerated.
42673         [BZ #13883]
42674         * sysdeps/i386/fpu/s_cexp.S: Remove.
42675         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
42676         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
42677         * math/libm-test.inc (cexp_test): Add more tests.
42678         * sysdeps/i386/fpu/libm-test-ulps: Update.
42679         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42681 2012-03-21  Allan McRae  <allan@archlinux.org>
42683         * timezone/Makefile: Do not install iso3166.tab and zone.tab
42685 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
42687         [BZ #13871]
42688         * math/w_exp2.c: Do not include <float.h>.
42689         (o_threshold, u_threshold): Remove.
42690         (__exp2): Calculate result before checking finiteness and calling
42691         __kernel_standard.
42692         * math/w_exp2f.c: Likewise.
42693         * math/w_exp2l.c: Likewise.
42694         * math/libm-test.inc (exp2_test): Require overflow exception for
42695         1e6 input.
42697         [BZ #3866]
42698         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
42699         range of signed 64-bit integers before using fistpll.  Remove
42700         checks for whether integers fit in mantissa bits.
42701         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
42702         the range of signed 32-bit integers before using fistpl.  Remove
42703         checks for whether integers fit in mantissa bits.
42704         * sysdeps/i386/fpu/e_powl.S (p64): New object.
42705         (__ieee754_powl): Test for y outside the range of signed 64-bit
42706         integers before using fistpll.  Reduce 64-bit values to 63-bit
42707         ones as needed.
42708         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
42709         divide-by-zero is raised for zero to large negative powers.
42710         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
42711         (__ieee754_powl): Test for y outside the range of signed 64-bit
42712         integers before using fistpll.  Reduce 64-bit values to 63-bit
42713         ones as needed.
42714         * math/libm-test.inc (pow_test): Add more tests.
42716 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42718         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
42719         <stdio-common/_itoa.h>.
42720         * debug/segfault.c: Likewise.
42721         * elf/dl-cache.c: Likewise.
42722         * elf/dl-minimal.c: Likewise.
42723         * elf/dl-misc.c: Likewise.
42724         * elf/dl-sysdep.c: Likewise.
42725         * elf/dl-version.c: Likewise.
42726         * elf/rtld.c: Likewise.
42727         * hurd/hurdsock.c: Likewise.
42728         * hurd/lookup-retry.c: Likewise.
42729         * malloc/malloc.c: Likewise.
42730         * malloc/mtrace.c: Likewise.
42731         * nscd/nscd_getgr_r.c: Likewise.
42732         * nscd/nscd_getpw_r.c: Likewise.
42733         * nscd/nscd_getserv_r.c: Likewise.
42734         * posix/getopt_init.c: Likewise.
42735         * posix/wordexp.c: Likewise.
42736         * stdio-common/_itoa.c: Likewise.
42737         * stdio-common/printf_fphex.c: Likewise.
42738         * stdio-common/vfprintf.c: Likewise.
42739         * string/_strerror.c: Likewise.
42740         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
42741         * sysdeps/i386/i686/hp-timing.h: Likewise.
42742         * sysdeps/mach/_strerror.c: Likewise.
42743         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
42744         * sysdeps/mach/hurd/sethostid.c: Likewise.
42745         * sysdeps/mach/hurd/xmknodat.c: Likewise.
42746         * sysdeps/mach/xpg-strerror.c: Likewise.
42747         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
42748         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
42749         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
42750         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
42751         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
42752         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
42753         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
42754         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
42755         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
42756         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
42757         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
42758         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
42759         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
42760         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
42761         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
42762         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
42763         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
42764         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
42765         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
42766         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
42767         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
42769         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
42771         * stdio-common/_itoa.h: Moved to ...
42772         * sysdeps/generic/_itoa.h: Here.
42774         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
42776         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
42777         instead of "_itoa.h" and "_itowa.h".
42778         * stdio-common/vfprintf.: Likewise.
42780 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42782         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
42783         <bits/wordsize.h>.
42784         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
42785         (__signbit): Likwise.
42786         (llrintf): Likwise.
42787         (llrint): Likwise.
42789 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42791         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
42792         __WORDSIZE != 64.
42794 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
42796         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
42797         OVERFLOW_EXCEPTION_OK.
42798         * math/libm-test.inc ("Philosophy"): Update comment about
42799         exception testing.
42800         (OVERFLOW_EXCEPTION): Define.
42801         (OVERFLOW_EXCEPTION_OK): Likewise.
42802         (INVALID_EXCEPTION_OK): Renumber.
42803         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42804         (IGNORE_ZERO_INF_SIGN): Likewise.
42805         (test_exceptions): Handle FE_OVERFLOW.
42806         (exp10_test): Expect overflow exceptions.
42807         (exp2_test): Likewise.
42808         (expm1_test): Likewise.
42809         (nextafter_test): Likewise.
42810         (pow_test): Likewise.
42811         (scalbn_test): Likewise.
42812         (scalbln_test): Likewise.
42814 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42816         * sysdeps/x86_64/bits/atomic.h
42817         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
42818         64bit integer.
42819         (atomic_exchange_acq): Likewise.
42820         (__arch_exchange_and_add_body): Likewise.
42821         (__arch_add_body): Likewise.
42822         (atomic_add_negative): Likewise.
42823         (atomic_add_zero): Likewise.
42825 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42827         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
42828         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
42830 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42832         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
42833         Check __x86_64__ instead of __WORDSIZE.
42835 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42837         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
42839 2012-03-19  David S. Miller  <davem@davemloft.net>
42841         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42843         * sysdeps/sparc/fpu/fenv_private.h: New file.
42844         * sysdeps/sparc/fpu/math_private.h: Use it.
42845         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
42846         Remove.
42847         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
42848         (libc_feholdexcept_setroundl): Remove.
42849         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
42850         Remove.
42851         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
42852         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
42854 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42856         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
42857         int64_t instead of long int.
42858         (INSERT_WORDS64): Likwise.
42860 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
42862         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
42863         _Unwind_GetCFA return to _Unwind_Ptr first.
42865 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
42867         [BZ #13629]
42868         * math/s_clog.c: Include <float.h>.
42869         (__clog): Scale large or subnormal inputs.
42870         * math/s_clogf.c: Likewise.
42871         * math/s_clogl.c: Likewise.
42872         * math/s_clog10.c: Include <float.h>.
42873         (M_LOG10_2): Define.
42874         (__clog10): Scale large or subnormal inputs.
42875         * math/s_clog10f.c: Likewise.
42876         * math/s_clog10l.c: Likewise.
42877         * math/libm-test.inc (clog_test): Add more tests.
42878         (clog10_test): Likewise.
42879         * sysdeps/i386/fpu/libm-test-ulps: Update.
42880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42882         [BZ #11451]
42883         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
42884         x and y.
42885         * math/libm-test.inc (atan2_test): Add another test.
42887         * Makerules (common-objdir-compile): Remove.
42888         * sysdeps/unix/Makefile (config-generated): Do not add
42889         $(unix-generated) to variable.
42890         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
42891         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
42892         Remove rule.
42893         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
42894         Likewise.
42895         [generic bits/local_lim.h] (before-compile): Do not append to
42896         variable.
42897         [generic bits/local_lim.h] (common-generated): Likewise.
42898         [generic sys/param.h] (before-compile): Do not append to variable.
42899         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
42900         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
42901         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
42902         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
42903         include.
42904         [generic sys/param.h] (sys/param.h-includes): Remove variable.
42905         [generic sys/param.h] (sys/param.h-includes): Remove rule.
42906         [generic sys/param.h] ($(addprefix
42907         $(common-objpfx),$(sys/param.h-includes))): Likewise.
42908         [generic sys/param.h] (common-generated): Do not append to
42909         variable.
42910         [generic sys/param.h] (sysdep_headers): Likewise.
42911         [generic bits/errno.h] (before-compile): Do not append to
42912         variable.
42913         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
42914         rule.
42915         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
42916         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
42917         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
42918         [generic bits/errno.h] (common-generated): Do not append to
42919         variable.
42920         [generic bits/ioctls.h] (before-compile): Do not append to
42921         variable.
42922         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
42923         rule.
42924         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
42925         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
42926         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
42927         rule.
42928         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
42929         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
42930         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
42931         [generic bits/ioctls.h] (common-generated): Do not append to
42932         variable.
42933         [generic sys/syscall.h] (syscall.h): Remove variable.
42934         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
42935         rule.
42936         [generic sys/syscall.h] (before-compile): Do not append to
42937         variable.
42938         [generic sys/syscall.h] (common-generated): Likewise.
42939         * sysdeps/unix/errnos-tmpl.c: Remove file.
42940         * sysdeps/unix/errnos.awk: Likewise.
42941         * sysdeps/unix/ioctls-tmpl.c: Likewise.
42942         * sysdeps/unix/ioctls.awk: Likewise.
42943         * sysdeps/unix/mk-local_lim.c: Likewise.
42944         * sysdeps/unix/snarf-ioctls: Likewise.
42946 2012-03-19  Richard Henderson  <rth@twiddle.net>
42948         * sysdeps/i386/fpu/fenv_private.h: New file.
42949         * sysdeps/i386/fpu/math_private.h: Use it.
42950         (math_opt_barrier, math_force_eval): Remove.
42951         (libc_feholdexcept_setround_53bit): Remove.
42952         (libc_feupdateenv_53bit): Remove.
42953         * sysdeps/x86_64/fpu/math_private.h: Likewise.
42954         (math_opt_barrier, math_force_eval): Remove.
42955         (libc_feholdexcept): Remove.
42956         (libc_feholdexcept_setround): Remove.
42957         (libc_fetestexcept, libc_fesetenv): Remove.
42958         (libc_feupdateenv_test): Remove.
42959         (libc_feupdateenv, libc_feholdsetround): Remove.
42960         (libc_feresetround): Remove.
42962         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
42963         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
42965         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
42966         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
42967         (libc_feupdateenv_testl): New.
42968         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
42969         (libc_feupdateenv_testf): New.
42970         (libc_feupdateenv): Use libc_feupdateenv_test.
42971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
42972         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
42974         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
42975         (libc_feholdsetroundf, libc_feholdsetroundl): New.
42976         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
42977         (libc_feresetround_noex): New.
42978         (libc_feresetround_noexf): New.
42979         (libc_feresetround_noexl): New.
42980         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
42981         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
42982         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
42983         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
42984         SET_RESTORE_ROUND.
42985         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
42986         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
42987         (__cos): Likewise.
42988         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
42989         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
42990         SET_RESTORE_ROUND_NOEX.
42991         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
42992         SET_RESTORE_ROUND_NOEXF.
42993         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
42994         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
42995         (libc_feholdsetroundf): New.
42996         (libc_feresetround, libc_feresetroundf): New.
42998         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
42999         (libc_feholdexcept_setround_53bit): Convert from macro to function.
43000         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
43002         * sysdeps/generic/math_private.h: Include <fenv.h>.
43003         (default_libc_feholdexcept): New.
43004         (default_libc_feholdexcept_setround): New.
43005         (default_libc_fesetenv, default_libc_feupdateenv): New.
43006         (libc_feholdexcept): Only define if undefined.
43007         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
43008         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
43009         (libc_feholdexcept_setroundl): Likewise.
43010         (libc_feholdexcept_setround_53bit): Likewise.
43011         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
43012         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
43013         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
43014         (libc_feupdateenv_53bit): Likewise.
43015         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
43016         (libc_feholdexcept): Convert from macro to inline function.
43017         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
43018         (libc_fesetenv, libc_feupdateenv): Likewise.
43020         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
43021         not previously defined.
43022         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
43023         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
43024         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
43025         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
43026         * sysdeps/ieee754/flt-32/math_private.h: New file.
43027         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
43028         math_private.h below SET_FLOAT_WORD.
43029         (__isnan, __isinf_ns, __finite): Remove.
43030         (__isnanf, __isinf_nsf, __finitef): Remove.
43032 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
43034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43036 2012-03-17  David S. Miller  <davem@davemloft.net>
43038         [BZ #6471]
43039         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
43040         for 2.16.
43042 2012-03-16  David S. Miller  <davem@davemloft.net>
43044         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
43045         warnings.
43047         [BZ #6471]
43048         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
43049         properly.
43050         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
43051         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
43052         sysdep_routines when subdir is sysvipc.
43053         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
43054         __getshmlba helper.
43056         * sysdeps/sparc/fpu/libm-test/ulps: Update.
43058 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43060         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
43061         [__LP64__].
43063 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43065         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
43066         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
43067         (__lround): Renamed to ...
43068         (__llround): This.  Replace long int with long long int.
43069         Define lround functions as aliases of llround functions.
43070         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
43072 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43074         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
43075         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
43076         adresses to uintptr_t.  Replace "long int" and "unsigned long
43077         int" with "greg_t" on va_arg.
43079 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43081         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
43082         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
43084         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
43085         Move e_machine check before EI_CLASS check.  Handle x32
43086         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
43087         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
43088         SKIP_EM_IA_64 and include
43089         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
43091         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
43092         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
43093         (add_system_dir): New macro.
43095         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
43096         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
43098 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43100         [BZ #2551]
43101         [BZ #2552]
43102         [BZ #2553]
43103         [BZ #2554]
43104         [BZ #2562]
43105         [BZ #2563]
43106         [BZ #2565]
43107         [BZ #2566]
43108         [BZ #2576]
43109         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
43110         (y0): Likewise.
43111         * math/w_j0f.c (j0f): Likewise.
43112         (y0f): Likewise.
43113         * math/w_j0l.c (__j0l): Likewise.
43114         (__y0l): Likewise.
43115         * math/w_j1.c (j1): Likewise.
43116         (y1): Likewise.
43117         * math/w_j1f.c (j1f): Likewise.
43118         (y1f): Likewise.
43119         * math/w_j1l.c (__j1l): Likewise.
43120         (__y1l): Likewise.
43121         * math/w_jn.c (jn): Likewise.
43122         (yn): Likewise.
43123         * math/w_jnf.c (jnf): Likewise.
43124         (ynf): Likewise.
43125         * math/w_jnl.c (__jnl): Likewise.
43126         (__ynl): Likewise.
43127         * math/libm-test.inc (j0_test): Add more tests.
43128         (j1_test): Likewise.
43129         (jn_test): Likewise.  Add trailing semicolon to existing test.
43130         (y0_test): Likewise.
43131         (y1_test): Likewise.
43132         * sysdeps/i386/fpu/libm-test-ulps: Update.
43133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43135         [BZ #13851]
43136         [BZ #13854]
43137         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
43138         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
43139         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
43140         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
43141         (__tanl): Set errno for infinite argument.
43142         * sysdeps/i386/fpu/mptan.c: Remove.
43143         * sysdeps/i386/fpu/s_tan.S: Likewise.
43144         * sysdeps/i386/fpu/s_tanl.S: Likewise.
43145         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
43146         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
43147         * math/libm-test.inc (tan_test): Add more tests and enable more
43148         tests for double and long double.
43149         * sysdeps/i386/fpu/libm-test-ulps: Update.
43150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43152 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
43154         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
43155         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
43157 2012-03-16  Roland McGrath  <roland@hack.frob.com>
43159         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
43160         * configure.in: Use it for both main tree and add-ons.
43161         * configure: Regenerated.
43163 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
43165         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
43167 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
43169         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
43170         in comment.
43172         [BZ #13851]
43173         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
43174         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
43175         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
43176         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
43177         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
43178         infinite argument.
43179         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
43180         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
43181         != 0 for prec == 2.
43182         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
43183         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
43184         * sysdeps/i386/fpu/s_cosl.S: Likewise.
43185         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
43186         * sysdeps/i386/fpu/s_sinl.S: Likewise.
43187         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
43188         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
43189         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
43190         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
43191         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
43192         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
43193         * math/libm-test.inc (cos_test): Add more tests and enable more
43194         tests for long double.
43195         (sin_test): Likewise.
43196         (sincos_test): Likewise.
43197         * sysdeps/i386/fpu/libm-test-ulps: Update.
43198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43200 2012-03-16  David S. Miller  <davem@davemloft.net>
43202         * sysdeps/sparc/fpu/math_private.h: New file.
43204 2012-03-15  David S. Miller  <davem@davemloft.net>
43206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
43207         file.
43208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
43209         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
43210         file.
43211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
43212         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
43213         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
43214         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
43215         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
43216         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
43217         sysdep routines.
43218         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43220         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
43221         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
43223         * sysdeps/sparc/sparc-ifunc.h: New file.
43224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
43225         sparc-ifunc.h
43226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
43227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
43228         Likewise.
43229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
43230         Likewise.
43231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
43232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
43233         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
43234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
43235         Likewise.
43236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43237         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
43238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
43239         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
43240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
43241         Likewise.
43242         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
43243         Likewise.
43244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
43245         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
43246         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
43247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
43248         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
43249         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
43250         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
43251         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
43252         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
43253         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
43254         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
43255         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
43256         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
43257         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
43258         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
43259         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
43260         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
43261         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
43262         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
43263         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
43264         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
43265         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
43266         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
43267         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
43269 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43271         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
43272         scaling.
43273         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43275 2012-03-15  Andreas Jaeger  <aj@suse.de>
43277         [BZ #13852]
43278         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
43279         ieee754/flt-32 implementation for sin, cos and sincos.
43280         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
43281         * sysdeps/i386/fpu/s_cosf.S: Likewise.
43282         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
43283         * sysdeps/i386/fpu/s_sinf.S: Likewise.
43284         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
43285         ieee754/flt-32 implementation for tan.
43287         * math/libm-test.inc (cos_test): Enable some large input tests for
43288         float as well
43289         (sin_test): Likewise.
43290         (sincos_test): Likewise.
43291         (tan_test): Add tests for large input.
43293         * sysdeps/i386/fpu/libm-test-ulps: Update.
43295 2012-03-15  Andreas Jaeger  <aj@suse.de>
43297         [BZ #13658]
43298         * math/libm-test.inc (cos_test): Add more test cases.
43299         (sin_test): Likewise.
43300         (sincos_test): Likewise.
43302 2012-03-15  Andreas Jaeger  <aj@suse.de>
43304         [BZ #13837]
43305         * math/libm-test.inc (cos_test): Add a test case for large input
43306         value.
43307         (sin_test): Likewise.
43308         (sincos_test): Likewise.
43310 2012-03-15  Andreas Jaeger  <aj@suse.de>
43311             Joseph Myers  <joseph@codesourcery.com>
43313         [BZ #13658]
43314         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
43315         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
43316         * sysdeps/i386/fpu/branred.c: Likewise.
43317         * sysdeps/i386/fpu/dosincos.c: Likewise.
43318         * sysdeps/i386/fpu/mpa.c: Likewise.
43319         * sysdeps/i386/fpu/s_cos.S: Likewise.
43320         * sysdeps/i386/fpu/s_sin.S: Likewise.
43321         * sysdeps/i386/fpu/s_sincos.S: Likewise.
43322         * sysdeps/i386/fpu/sincos32.c: Likewise.
43324         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
43325         Define.
43326         (libc_feupdateenv_53bit): Define.
43327         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
43328         Define.
43329         (libc_feupdateenv_53bit): Define.
43331         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
43332         53 bit (without extend i386 double precision).
43334         * math/libm-test.inc (sincos_test): Add tests for large input.
43335         (sin): Likewise.
43336         (cos): Likewise.
43338         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43340 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
43342         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43344 2012-03-15  David S. Miller  <davem@davemloft.net>
43346         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
43347         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
43348         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
43349         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
43350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
43351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
43352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
43353         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
43354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
43355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
43356         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
43357         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
43358         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
43359         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
43360         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
43361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
43362         file.
43363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
43364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
43365         file.
43366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
43367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
43368         file.
43369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
43370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
43371         file.
43372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
43373         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
43374         fmin/fmax sysdep routines.
43375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
43377 2012-03-14  David S. Miller  <davem@davemloft.net>
43379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
43380         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
43381         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
43382         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
43383         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
43384         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
43385         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
43386         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
43387         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
43388         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
43389         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
43390         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
43391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
43392         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
43393         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
43394         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
43395         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
43396         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
43397         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
43398         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
43399         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
43400         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
43401         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
43402         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
43403         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
43404         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
43405         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
43406         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
43407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
43408         routines.
43409         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
43410         file.
43411         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
43412         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
43413         file.
43414         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
43415         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
43416         file.
43417         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
43418         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
43419         file.
43420         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
43421         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
43422         file.
43423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
43424         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
43425         file.
43426         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
43427         file.
43428         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
43429         file.
43430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
43431         file.
43432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
43433         New file.
43434         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
43435         file.
43436         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
43437         file.
43438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
43439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
43440         file.
43441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
43442         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
43443         file.
43444         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
43445         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
43446         file.
43447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
43448         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
43449         VIS3 routines.
43451         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
43452         New file.
43454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43456         * sysdeps/sparc/configure.in: New file.
43457         * sysdeps/sparc/configure: Generate.
43458         * configure.in (libc_cv_sparc_as_vis3): Substitute.
43459         * configure: Regenerate.
43460         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
43461         * config.make.in (have-as-vis3): New.
43462         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
43463         available use -Av9d instead of -Av9a.
43464         * sysdeps/sparc/sparc64/Makefile: Likewise.
43465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
43466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
43467         New file.
43468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
43469         file.
43470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
43471         New file.
43472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
43473         file.
43474         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
43475         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
43476         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
43477         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
43478         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
43480         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
43481         fzeros/fnegs to load 0x80000000 into a float register instead of
43482         using the stack.
43483         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
43485 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43487         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43488         bits/syscall.h.
43489         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
43490         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
43491         ($(inst_includedir)/bits/syscall.h): Remove rule.
43492         ($(objpfx)bits/syscall.d): Include instead of
43493         $(objpfx)syscall-list.d.
43494         (generated): Change syscall-list.h and syscall-list.d to
43495         bits/syscall.h and bits/syscall.d.
43497 2012-03-14  Roland McGrath  <roland@hack.frob.com>
43499         [BZ #13846]
43500         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
43502 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
43504         [BZ #13841]
43505         * math/s_csqrt.c: Include <float.h>.
43506         (__csqrt): Scale large or subnormal inputs.
43507         * math/s_csqrtf.c: Likewise.
43508         * math/s_csqrtl.c: Likewise.
43509         * math/libm-test.inc (csqrt_test): Add more tests.
43510         * sysdeps/i386/fpu/libm-test-ulps: Update.
43511         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43513         [BZ #13840]
43514         * math/libm-test.inc (hypot_test): Add more tests.
43516 2012-03-13  David S. Miller  <davem@davemloft.net>
43518         [BZ #13840]
43519         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
43520         double-precision for the calculation instead of scaling.
43522 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
43524         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
43525         manipulate bits before adding and subtracting TWO52[sx].
43526         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
43527         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
43528         Likewise.
43529         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
43531 2012-03-13  David S. Miller  <davem@davemloft.net>
43533         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
43534         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
43535         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
43536         rtld-global-offsets.h
43537         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
43539         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
43540         large parameters.
43542         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
43544         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
43545         'err' in the ifdef scope in which it is actually used.
43547         * nss/nss_db/db-init.c: Include string.h
43549 2012-03-12  David S. Miller  <davem@davemloft.net>
43551         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
43552         masking out of the most significant byte of random value used.
43553         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43554         Fix coding style in previous change.
43556         * sysdeps/unix/sysv/linux/kernel-features.h
43557         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
43558         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
43559         expression.
43560         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
43561         later.
43563 2012-03-11  David S. Miller  <davem@davemloft.net>
43565         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
43566         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
43567         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
43568         for 'resultvar' otherwise things get truncated on 64-bit.
43570         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
43571         Fix masking out of the most significant byte of random value used.
43573         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43575 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
43577         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43579 2012-03-09  David S. Miller  <davem@davemloft.net>
43581         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
43582         variables with appropriate CPP guards.
43583         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
43584         from the frame pointer, not the stack pointer.  Correct layout
43585         comments.  Fix test on resulting framesize and the management of
43586         the outregs buffer for pltexit.  Preserve floating point return
43587         values across _dl_call_pltexit call.
43588         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
43589         framesize and the management of the outregs buffer for pltexit.
43590         Preserve floating point return values across _dl_call_pltexit
43591         call.
43592         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
43593         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
43594         (la_sparc64_gnu_pltexit): New functions.
43595         (print_exit): Fix format string for return register value.
43597 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
43599         * sunrpc/Makefile (others): Add rpcgen.
43600         ($(objpfx)rpcgen): Remove special build rule and dependency on
43601         libc.
43602         * sunrpc/rpcgen.c: New file.
43604 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
43606         [BZ #13673]
43607         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
43608         * stdio-common/bug-vfprintf-nargs.c: Likewise.
43609         * sysdeps/i386/crti.S: Likewise.
43610         * sysdeps/i386/crtn.S: Likewise.
43611         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
43612         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
43613         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
43614         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
43615         * sysdeps/sh/crti.S: Likewise.
43616         * sysdeps/sh/crtn.S: Likewise.
43617         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
43619         [BZ #13673]
43620         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
43621         with URL.
43622         * locale/programs/locfile-kw.gperf: Likewise.
43623         * locale/programs/charmap-kw.h: Regenerated.
43624         * locale/programs/locfile-kw.h: Likewise.
43626         [BZ #13673]
43627         * intl/plural.y: Replace FSF snail mail address with URL.
43628         * intl/plural.c: Regenerated.
43630 2012-03-09  Richard Henderson  <rth@twiddle.net>
43632         * include/math_private.h: Remove file.
43633         * math/math_private.h: Move file ...
43634         * sysdeps/generic/math_private.h: ... here.
43636         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
43637         * sysdeps/powerpc/fpu/math_private.h: Likewise.
43638         * sysdeps/x86_64/fpu/math_private.h: Likewise.
43640         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
43641         and <math_private.h>.
43642         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
43643         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
43644         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
43645         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
43646         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
43647         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
43648         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
43649         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
43650         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
43651         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
43652         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
43653         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
43654         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
43655         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
43656         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
43657         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
43658         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
43659         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
43660         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
43661         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
43662         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
43663         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
43664         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
43665         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
43666         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
43667         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
43668         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
43669         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
43670         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
43671         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
43672         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
43673         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
43674         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
43675         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
43676         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
43677         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
43678         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
43679         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
43680         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
43681         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
43682         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
43683         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
43684         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
43685         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
43686         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
43687         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
43688         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
43689         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
43690         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
43691         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
43692         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
43693         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
43694         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
43695         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
43696         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
43697         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
43698         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
43699         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
43700         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
43701         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
43702         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
43703         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
43704         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
43705         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
43706         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
43707         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
43708         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
43709         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
43710         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
43711         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
43712         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
43713         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
43714         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
43715         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
43716         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
43717         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
43718         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
43719         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
43720         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
43721         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
43722         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
43723         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
43724         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
43725         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
43726         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
43727         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
43728         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
43729         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
43730         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
43731         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
43732         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
43733         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
43734         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
43735         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
43736         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
43737         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
43738         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
43739         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
43740         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
43741         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
43742         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
43743         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
43744         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
43745         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
43746         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
43747         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
43748         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
43749         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
43750         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
43751         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
43752         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
43753         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
43754         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
43755         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
43756         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
43757         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
43758         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
43759         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
43760         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
43761         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
43762         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
43763         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
43764         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
43765         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
43766         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
43767         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
43768         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
43769         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
43770         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
43771         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
43772         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
43773         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
43774         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
43775         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
43776         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
43777         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
43778         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
43779         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
43780         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
43781         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
43782         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
43783         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
43784         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
43785         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
43786         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
43787         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
43788         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
43789         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
43790         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
43791         * sysdeps/ieee754/k_standard.c: Likewise.
43792         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
43793         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
43794         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
43795         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
43796         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
43797         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
43798         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
43799         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
43800         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
43801         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
43802         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
43803         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
43804         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
43805         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
43806         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
43807         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
43808         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
43809         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
43810         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
43811         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
43812         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
43813         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
43814         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
43815         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
43816         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
43817         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
43818         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
43819         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
43820         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
43821         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
43822         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
43823         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
43824         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
43825         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
43826         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
43827         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
43828         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
43829         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
43830         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
43831         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
43832         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
43833         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
43834         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
43835         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
43836         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
43837         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
43838         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
43839         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
43840         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
43841         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
43842         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
43843         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
43844         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
43845         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
43846         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
43847         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
43848         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
43849         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
43850         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
43851         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
43852         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
43853         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
43854         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
43855         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
43856         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
43857         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
43858         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
43859         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
43860         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
43861         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
43862         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
43863         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
43864         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
43865         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
43866         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
43867         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
43868         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
43869         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
43870         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
43871         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
43872         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
43873         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
43874         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
43875         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
43876         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
43877         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43878         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
43879         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
43880         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
43881         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
43882         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
43883         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
43884         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43885         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
43886         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43887         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
43888         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
43889         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43890         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43891         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
43892         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
43893         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43894         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
43895         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
43896         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
43897         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
43898         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43899         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43900         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
43901         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
43902         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
43903         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
43904         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
43905         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
43906         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
43907         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
43908         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
43909         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
43910         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
43911         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
43912         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
43913         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
43914         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43915         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
43916         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
43917         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
43918         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43919         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
43920         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
43921         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
43922         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43923         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43924         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43925         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43926         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
43927         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
43928         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
43929         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43930         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43931         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
43932         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
43933         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43934         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
43935         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
43936         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
43937         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43938         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43939         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
43940         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
43941         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
43942         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43943         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
43944         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
43945         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43946         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
43947         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
43948         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
43949         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
43950         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
43951         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43952         * sysdeps/ieee754/s_lib_version.c: Likewise.
43953         * sysdeps/ieee754/s_matherr.c: Likewise.
43954         * sysdeps/ieee754/s_signgam.c: Likewise.
43955         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
43956         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
43957         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
43958         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
43959         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
43960         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
43961         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
43962         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
43963         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
43964         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
43965         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
43966         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
43967         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
43968         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
43969         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
43970         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
43971         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
43972         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
43973         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
43974         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
43975         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
43977 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43979         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
43980         * sunrpc/rpc_main.c: Likewise.
43981         * sunrpc/rpc_svcout.c: Likewise.
43983 2012-03-09  David S. Miller  <davem@davemloft.net>
43985         * include/math_private.h: New file.
43987 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
43989         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
43990         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
43991         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
43992         from <bits/socket_type.h>.
43993         (enum __socket_type): Don't define here.
43994         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
43995         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
43996         bits/socket_type.h.
43998         [BZ #13566]
43999         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
44000         checking __USE_GNU.
44002         * Makerules ($(inst_includedir)/%.h): New rule.
44003         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
44004         (install-others): Remove variable setting.
44005         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
44007 2012-03-08  Richard Henderson  <rth@twiddle.net>
44009         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
44010         from macro to inline function; merge with the
44011         !__LIBC_INTERNAL_MATH_INLINES version.
44012         (__ieee754_sqrtf): Likewise.
44014         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
44015         to inline function.
44016         (__rintf, __floor, __floorf): Likewise.
44018         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
44019         macro to inline function.
44020         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
44022         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
44023         not <math/math_private.h>.
44025 2012-03-08  David S. Miller  <davem@davemloft.net>
44027         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
44028         copyright year.
44029         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
44031 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
44033         * resolv/gai_misc.c (handle_requests): Fix struct timespec
44034         normalization.
44035         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
44036         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
44038 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
44040         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
44041         be defined individually, they must be defined as a block.  Define
44042         S for printing a string instead of hidint the different by using a
44043         macro for adding the 'l'.
44044         * stdio-common/tst-fphex-wide.c: Adjust.
44046 2012-03-07  Marek Polacek  <polacek@redhat.com>
44048         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
44050 2012-03-08  Marek Polacek  <polacek@redhat.com>
44052         [BZ #13806]
44053         * stdio-common/Makefile (tests): Add tst-fphex-wide.
44054         * stdio-common/tst-fphex.c: Define a few macros to make the
44055         test reusable.  Use them.
44056         * stdio-common/tst-fphex-wide.c: New file.
44058 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
44060         [BZ #6911]
44061         * manual/macros.texi (gnusystems): New macro.
44062         (nongnusystems): Likewise.
44063         (gnulinuxhurdsystems): Likewise.
44064         (gnuhurdsystems): Likewise..
44065         (gnulinuxsystems): Likewise.
44066         * manual/charset.texi: Use new macros or @theglibc{} to refer to
44067         variants of the GNU system, not "GNU system".
44068         * manual/conf.texi: Likewise.
44069         * manual/errno.texi: Likewise.  Update example of errno macro
44070         expansion.
44071         * manual/filesys.texi: Likewise.
44072         (getumask): Document as specific to GNU/Hurd.
44073         * manual/install.texi: Likewise.  Reword some references to
44074         GNU/Linux.
44075         * manual/intro.texi: Likewise.
44076         * manual/io.texi: Likewise.
44077         (File Name Portability): Detail which constraints are inapplicable
44078         to all GNU systems and which are only inapplicable to GNU/Hurd.
44079         * manual/job.texi: Likewise.
44080         * manual/llio.texi: Likewise.
44081         (O_NOCTTY): Document as present on GNU/Linux.
44082         * manual/maint.texi: Likewise.
44083         * manual/memory.texi: Likewise.
44084         * manual/pattern.texi: Likewise.
44085         * manual/pipe.texi: Likewise.
44086         * manual/process.texi: Likewise.
44087         * manual/resource.texi: Likewise.
44088         (RUSAGE_CHILDREN): Remove statement about specifying a particular
44089         child on GNU/Hurd.
44090         * manual/setjmp.texi: Likewise.
44091         * manual/signal.texi: Likewise.
44092         * manual/startup.texi: Likewise.
44093         * manual/stdio.texi: Likewise.
44094         * manual/terminal.texi: Likewise.
44095         (ONLCR): Document as POSIX.
44096         (OXTABS): Document availability on GNU/Linux as XTABS.
44097         (ONOEOT): Document availability separately from other bits.
44098         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
44099         * manual/time.texi: Likewise.
44100         * manual/users.texi: Likewise.
44101         * INSTALL: Regenerated.
44102         * sysdeps/gnu/errlist.c: Regenerated.
44104         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
44105         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
44106         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
44107         puts.
44108         * configure: Regenerated.
44110 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
44112         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
44113         default includes instead of AC_HEADER_CHECK.
44114         * sysdeps/i386/configure: Regenerated.
44116         [BZ #10716]
44117         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
44118         * math/s_cacoshf.c (__cacoshf): Likewise.
44119         * math/s_cacoshl.c (__cacoshl): Likewise.
44120         * math/s_casinh.c (__casinh): Set signs of result from argument.
44121         * math/s_casinhf.c (__casinhf): Likewise.
44122         * math/s_casinhl.c (__casinhl): Likewise.
44123         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
44124         (casinh_test): Add more tests.
44125         * sysdeps/i386/fpu/libm-test-ulps: Update.
44126         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44128 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
44130         * po/zh_TW.po: Update from translation team.
44132         * login/Makefile (distribute): Remove variable.
44133         * catgets/Makefile: Likewise.
44134         * mach/Makefile: Likewise.
44135         * malloc/Makefile: Likewise.
44136         * misc/Makefile: Likewise.
44137         * iconv/Makefile: Likewise.
44138         * nscd/Makefile: Likewise.
44139         * hurd/Makefile: Likewise.
44140         * manual/Makefile: Likewise.
44141         * locale/Makefile: Likewise.
44142         * intl/Makefile: Likewise.
44143         * conform/Makefile: Likewise.
44144         * nss/Makefile: Likewise.
44145         * time/Makefile: Likewise.
44146         * soft-fp/Makefile: Likewise.
44147         * dirent/Makefile: Likewise.
44148         * gmon/Makefile: Likewise.
44149         * po/Makefile: Likewise.
44150         * rt/Makefile: Likewise.
44151         * socket/Makefile: Likewise.
44152         * math/Makefile: Likewise.
44153         * signal/Makefile: Likewise.
44154         * debug/Makefile: Likewise.
44155         * elf/Makefile: Likewise.
44156         * timezone/Makefile: Likewise.
44157         * stdlib/Makefile: Likewise.
44158         * iconvdata/Makefile: Likewise.
44159         * sunrpc/Makefile: Likewise.
44160         * io/Makefile: Likewise.
44161         * argp/Makefile: Likewise.
44162         * inet/Makefile: Likewise.
44163         * hesiod/Makefile: Likewise.
44164         * grp/Makefile: Likewise.
44165         * csu/Makefile: Likewise.
44166         * wctype/Makefile: Likewise.
44167         * crypt/Makefile: Likewise.
44168         * libio/Makefile: Likewise.
44169         * string/Makefile: Likewise.
44170         * nis/Makefile: Likewise.
44171         * resolv/Makefile: Likewise.
44172         * stdio-common/Makefile: Likewise.
44173         * wcsmbs/Makefile: Likewise.
44174         * dlfcn/Makefile: Likewise.
44175         * posix/Makefile: Likewise.
44177         [BZ #6959]
44178         * timezone/Makefile: Don't install timezone files, just the programs
44179         and scripts.
44181 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
44183         * nss/databases.def: Add missing gshadow entry.
44185         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
44187 2012-03-06  Marek Polacek  <polacek@redhat.com>
44189         [BZ #13726]
44190         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
44191         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
44192         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
44193         * stdio-common/tst-long-dbl-fphex.c: New file.
44195 2012-03-06  David S. Miller  <davem@davemloft.net>
44197         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44198         (set_obp_int): New function.
44199         (get_obp_int): New function.
44200         (__get_clockfreq_via_dev_openprom): Likewise.
44201         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
44202         Avoid unused variable warnings on 'val' and use builtin_expect.
44203         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
44204         __builtin_expect.
44205         (INLINE_CLONE_SYSCALL): Likewise.
44207 2012-03-05  David S. Miller  <davem@davemloft.net>
44209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44211 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
44213         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44215         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
44216         only for |x| >= 40.
44217         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
44219 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
44221         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
44222         Replace gettimeofday with __vdso_gettimeofday.
44224         * sysdeps/unix/sysv/linux/x86_64/init-first.c
44225         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
44226         __vdso_clock_gettime and __vdso_getcpu.
44228         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
44229         time with __vdso_time.
44231 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44233         * manual/lang.texi (size_t): Note types to which size_t may be
44234         equivalent with the GNU C Library, but do not describe when
44235         differences between them are significant.
44237 2012-03-05  Andreas Jaeger  <aj@suse.de>
44239         * sysdeps/i386/fpu/libm-test-ulps: Update.
44241 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
44243         [BZ #3976]
44244         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
44245         (__ieee754_pow): Save and restore rounding mode and use
44246         round-to-nearest for main computations.
44247         * math/libm-test.inc (pow_test_tonearest): New function.
44248         (pow_test_towardzero): Likewise.
44249         (pow_test_downward): Likewise.
44250         (pow_test_upward): Likewise.
44251         (main): Call the new functions.
44252         * sysdeps/i386/fpu/libm-test-ulps: Update.
44253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44255         [BZ #3976]
44256         * math/libm-test.inc (cosh_test_tonearest): New function.
44257         (cosh_test_towardzero): Likewise.
44258         (cosh_test_downward): Likewise.
44259         (cosh_test_upward): Likewise.
44260         (sinh_test_tonearest): Likewise.
44261         (sinh_test_towardzero): Likewise.
44262         (sinh_test_downward): Likewise.
44263         (sinh_test_upward): Likewise.
44264         (main): Call the new functions.
44265         * sysdeps/i386/fpu/libm-test-ulps: Update.
44266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44268 2012-03-05  Tom de Vries  <tom@codesourcery.com>
44270         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
44271         default stack guard is set in last bytes.
44272         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
44274 2012-03-05  Kees Cook  <keescook@chromium.org>
44276         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
44278         [BZ #13656]
44279         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
44280         possibly allocate from heap instead of stack.
44281         * stdio-common/bug-vfprintf-nargs.c: New file.
44282         * stdio-common/Makefile (tests): Add nargs overflow test.
44284 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
44286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44288 2012-03-03  Marek Polacek  <polacek@redhat.com>
44290         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
44291         * math/math_private.h: Likewise.
44292         * stdlib/tst-strtod.c: Likewise.
44293         * sysdeps/i386/i486/bits/atomic.h: Likewise.
44294         * sysdeps/x86_64/bits/atomic.h: Likewise.
44296 2012-03-02  David S. Miller  <davem@davemloft.net>
44298         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
44299         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
44300         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
44301         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
44302         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
44303         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
44304         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
44305         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
44307 2012-03-02  Roland McGrath  <roland@hack.frob.com>
44309         [BZ #13792]
44310         * manual/examples/README: New file, says the example source files
44311         can be used under GPL>=2.
44312         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
44313         line containing just "*/".
44314         * manual/examples/add.c: Add copyright header (GPL>=2).
44315         * manual/examples/argp-ex1.c: Likewise.
44316         * manual/examples/argp-ex2.c: Likewise.
44317         * manual/examples/argp-ex3.c: Likewise.
44318         * manual/examples/argp-ex4.c: Likewise.
44319         * manual/examples/atexit.c: Likewise.
44320         * manual/examples/db.c: Likewise.
44321         * manual/examples/dir.c: Likewise.
44322         * manual/examples/dir2.c: Likewise.
44323         * manual/examples/execinfo.c: Likewise.
44324         * manual/examples/filecli.c: Likewise.
44325         * manual/examples/filesrv.c: Likewise.
44326         * manual/examples/fmtmsgexpl.c: Likewise.
44327         * manual/examples/genpass.c: Likewise.
44328         * manual/examples/inetcli.c: Likewise.
44329         * manual/examples/inetsrv.c: Likewise.
44330         * manual/examples/isockad.c: Likewise.
44331         * manual/examples/longopt.c: Likewise.
44332         * manual/examples/memopen.c: Likewise.
44333         * manual/examples/memstrm.c: Likewise.
44334         * manual/examples/mkfsock.c: Likewise.
44335         * manual/examples/mkisock.c: Likewise.
44336         * manual/examples/mygetpass.c: Likewise.
44337         * manual/examples/pipe.c: Likewise.
44338         * manual/examples/popen.c: Likewise.
44339         * manual/examples/rprintf.c: Likewise.
44340         * manual/examples/search.c: Likewise.
44341         * manual/examples/select.c: Likewise.
44342         * manual/examples/setjmp.c: Likewise.
44343         * manual/examples/sigh1.c: Likewise.
44344         * manual/examples/sigusr.c: Likewise.
44345         * manual/examples/stpcpy.c: Likewise.
44346         * manual/examples/strdupa.c: Likewise.
44347         * manual/examples/strftim.c: Likewise.
44348         * manual/examples/strncat.c: Likewise.
44349         * manual/examples/subopt.c: Likewise.
44350         * manual/examples/swapcontext.c: Likewise.
44351         * manual/examples/termios.c: Likewise.
44352         * manual/examples/testopt.c: Likewise.
44353         * manual/examples/testpass.c: Likewise.
44354         * manual/examples/timeval_subtract.c: Likewise.
44356         [BZ #13792]
44357         * manual/time.texi (Elapsed Time): Move timeval_subtract example
44358         function to ...
44359         * manual/timeval_subtract.c.texi: ... here, new file.
44361 2012-03-02  David S. Miller  <davem@davemloft.net>
44363         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
44365 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
44367         [BZ #3976]
44368         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
44369         (__sin): Save and restore rounding mode and use round-to-nearest
44370         for all computations.
44371         (__cos): Save and restore rounding mode and use round-to-nearest
44372         for all computations.
44373         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
44374         <fenv.h>.
44375         (tan): Save and restore rounding mode and use round-to-nearest for
44376         all computations.
44377         * math/libm-test.inc (cos_test_tonearest): New function.
44378         (cos_test_towardzero): Likewise.
44379         (cos_test_downward): Likewise.
44380         (cos_test_upward): Likewise.
44381         (sin_test_tonearest): Likewise.
44382         (sin_test_towardzero): Likewise.
44383         (sin_test_downward): Likewise.
44384         (sin_test_upward): Likewise.
44385         (tan_test_tonearest): Likewise.
44386         (tan_test_towardzero): Likewise.
44387         (tan_test_downward): Likewise.
44388         (tan_test_upward): Likewise.
44389         (main): Call the new functions.
44390         * sysdeps/i386/fpu/libm-test-ulps: Update.
44391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44393         [BZ #10135]
44394         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
44395         small n, then large n, before computing and testing k+n.
44396         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
44397         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
44398         Likewise.
44399         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
44400         Likewise.
44401         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
44402         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
44403         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
44404         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
44405         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
44406         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
44407         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
44408         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
44409         * math/libm-test.inc (scalbn_test): Add more tests.
44410         (scalbln_test): Likewise.
44412         * manual/filesys.texi (mode_t): Describe constraints on size and
44413         signedness, not exact equivalence to a particular type.
44414         (ino_t): Likewise.
44415         (ino64_t): Likewise.
44416         (dev_t): Likewise.
44417         (nlink_t): Likewise.
44418         (blkcnt_t): Likewise.
44419         (blkcnt64_t): Likewise.
44420         * manual/llio.texi (off_t): Likewise.
44422         [BZ #3976]
44423         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
44424         (__ieee754_exp): Save and restore rounding mode and use
44425         round-to-nearest for all computations.
44426         * math/libm-test.inc (exp_test_tonearest): New function.
44427         (exp_test_towardzero): Likewise.
44428         (exp_test_downward): Likewise.
44429         (exp_test_upward): Likewise.
44430         (main): Call the new functions.
44431         * sysdeps/i386/fpu/libm-test-ulps: Update.
44432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44434 2012-03-01  Chris Demetriou  <cgd@google.com>
44436         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
44437         have predictable order.
44439 2012-03-01  David S. Miller  <davem@davemloft.net>
44441         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
44443         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
44444         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
44445         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
44446         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
44448         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
44449         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
44450         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
44451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
44452         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
44453         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
44454         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
44455         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
44456         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
44458         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44460         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
44461         * sysdeps/sparc/fpu/libm-test-ulps: to here.
44462         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
44464         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
44465         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
44466         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
44467         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
44468         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
44469         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
44470         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
44471         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
44472         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
44473         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
44474         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
44475         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
44476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
44477         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
44478         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
44479         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44480         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
44481         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
44482         * sysdeps/sparc/elf/configure: Regenerated.
44484 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
44486         * configure.in (AS, LD): Require binutils 2.20 or later.
44487         * configure: Regenerated.
44488         * manual/install.texi (Tools for Compilation): Give binutils 2.20
44489         as required minimum version.
44490         * INSTALL: Regenerated.
44492         [BZ #2541]
44493         [BZ #4108]
44494         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
44495         before squaring exponent.
44496         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
44497         bottom long double and 27 bits of top long double before squaring
44498         exponent.
44499         * math/libm-test.inc (erfc_test): Add more tests.
44500         * sysdeps/i386/fpu/libm-test-ulps: Update.
44501         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
44502         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44504 2012-03-01  Kai Tietz  <ktietz@redhat.com>
44506         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
44507         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
44508         containing bit-fields.
44509         * soft-fp/extended.h (_FP_UNION_E): Likewise.
44510         * soft-fp/single.h (_FP_UNION_S): Likewise.
44511         * soft-fp/double.h (_FP_UNION_D): Likewise.
44513 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44515         [BZ #13786]
44516         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
44517         not include ../strcmp.S.
44518         [USE_AS_STRNCASECMP_L]: Likewise.
44519         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
44520         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
44521         * sysdeps/i386/i686/multiarch/strncase_l-c.c
44522         (__strncasecmp_l_ia32): Define as alias to
44523         __strncasecmp_l_nonascii.
44525         [BZ #5794]
44526         * math/libm-test.inc (expm1_test): Add test for bug 5794.
44527         * sysdeps/i386/fpu/libm-test-ulps: Update.
44528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44530         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
44531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44533 2012-02-29  Jeff Law  <law@redhat.com>
44535         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
44536         out of bounds read.
44538 2012-02-29  Marek Polacek  <polacek@redhat.com>
44540         [BZ #13706]
44541         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
44542         * elf/Makefile: Add rules to run tst-unused-dep.out.
44544 2012-02-28  David S. Miller  <davem@davemloft.net>
44546         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
44547         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
44548         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
44549         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
44550         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
44551         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
44553 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
44555         * math/libm-test.inc (llround_test): Move one test from
44556         lround_test.  Use TEST_f_L in moved test.
44557         (lround_test): Move misplaced test to llround_test.  Add testcase
44558         from bug 2561.
44560 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
44562         * sysdeps/x86_64/fpu/e_expf.S: New file.
44563         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
44565 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
44567         [BZ #13637]
44568         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
44569         of remain_len that may cause incomplete multi-byte character and
44570         false match.
44571         * posix/bug-regex33.c: New file.
44572         * posix/Makefile (tests): Add bug-regex33.
44574 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
44576         * manual/macros.texi: New file.
44577         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
44578         * manual/libc.texinfo: Include macros.texi.
44579         * manual/creatute.texi: Likewise.
44580         * manual/install.texi: Likewise.
44581         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
44582         @glibcadj{} in references to the GNU C Library.
44583         * manual/charset.texi: Likewise.
44584         * manual/conf.texi: Likewise.
44585         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
44586         when not using those macros.
44587         * manual/creature.texi: Likewise.
44588         * manual/crypt.texi: Likewise.
44589         * manual/errno.texi: Likewise.
44590         * manual/filesys.texi: Likewise.
44591         * manual/header.texi: Likewise.
44592         * manual/install.texi: Likewise.
44593         * manual/intro.texi: Likewise.
44594         * manual/io.texi: Likewise.
44595         * manual/job.texi: Likewise.
44596         * manual/lang.texi: Likewise.
44597         * manual/libc.texiinfo: Likewise.
44598         * manual/llio.texi: Likewise.
44599         * manual/locale.texi: Likewise.
44600         * manual/maint.texi: Likewise.
44601         * manual/math.texi: Likewise.
44602         * manual/memory.texi: Likewise.
44603         * manual/message.texi: Likewise.
44604         * manual/nss.texi: Likewise.
44605         * manual/pattern.texi: Likewise.
44606         * manual/process.texi: Likewise.
44607         * manual/resource.texi: Likewise.
44608         * manual/search.texi: Likewise.
44609         * manual/setjmp.texi: Likewise.
44610         * manual/signal.texi: Likewise.
44611         * manual/socket.texi: Likewise.
44612         * manual/startup.texi: Likewise.
44613         * manual/stdio.texi: Likewise.
44614         * manual/string.texi: Likewise.
44615         * manual/sysinfo.texi: Likewise.
44616         * manual/syslog.texi: Likewise.
44617         * manual/terminal.texi: Likewise.
44618         * manual/time.texi: Likewise.
44619         * manual/users.texi: Likewise.
44620         * INSTALL: Regenerated.
44621         * NOTES: Regenerated.
44622         * sysdeps/gnu/errlist.c: Regenerated.
44624 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
44626         * include/dirent.h: Include <dirstream.h> before
44627         <dirent/dirent.h>.
44629 2012-02-28  David S. Miller  <davem@davemloft.net>
44631         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
44632         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
44633         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
44634         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
44636 2012-02-27  David S. Miller  <davem@davemloft.net>
44638         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
44639         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
44640         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
44641         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
44643         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
44644         frame pointer instead of stack pointer relative arg slot.
44645         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44646         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44647         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44649 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
44651         [BZ #3992]
44652         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
44654 2012-02-27  David S. Miller  <davem@davemloft.net>
44656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
44657         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
44658         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44659         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
44660         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
44661         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
44662         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
44663         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
44665 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44667         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
44668         later.  Allow versions 5-9.
44669         * configure: Regenerated.
44670         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
44671         required minimum version and 4.6 as recommended version.  Do not
44672         mention bugs in GCC 2.7 and 2.8.
44673         * INSTALL: Regenerated.
44675 2012-02-27  David S. Miller  <davem@davemloft.net>
44677         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
44678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
44679         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
44680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
44681         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
44682         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
44683         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
44684         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
44686         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
44687         manipulate bits before adding and subtracting TWO112[sx].
44688         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
44690 2012-02-27  Roland McGrath  <roland@hack.frob.com>
44692         [BZ #13775]
44693         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
44694         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
44695         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
44696         being in POSIX, because they are in 1003.1-2008.
44698         * rt/tst-aio.c: Include <fcntl.h>.
44699         * rt/tst-aio7.c: Likewise.
44700         * rt/tst-aio64.c: Likewise.
44702         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
44704 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
44706         * manual/install.texi (--with-headers): Describe headers as
44707         interface headers, not private headers.
44708         (Specific advice for GNU/Linux systems): Describe use of headers
44709         from "make headers_install", not private headers from older
44710         kernels.
44711         * INSTALL: Regenerated.
44712         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
44713         Change to 2.6.19.
44714         * sysdeps/unix/sysv/linux/configure: Regenerated.
44716         * manual/llio.texi (fclean): Remove documentation.
44718         * manual/Makefile (libc-texi-generated): New variable.  Include
44719         version.texi.
44720         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
44721         $(libc-texi-generated), not duplicated list of files.
44722         (version.texi, stamp-version): New rules.
44723         (realclean): Remove $(libc-texi-generated), not individual files
44724         from that list.  Do not remove dir-add.texinfo.
44725         * manual/libc.texinfo: Comment out uses of edition numbers and
44726         references to printed manual.  Remove last-updated dates.
44727         (EDITION): Comment out.
44728         (ISBN): Likewise.
44729         (VERSION, UPDATED): Remove.
44730         (version.texi): Include.
44732 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
44734         * sysdeps/posix/spawni.c: Include <signal.h>.
44735         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
44736         * sysdeps/pthread/aio_fsync.c: Likewise.
44738 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
44740         * conform/Makefile (tests): Run only when not cross-compiling and
44741         when fast-check is not defined.
44743         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
44744         * conform/data/limits.h-data: Fixes for POSIX2008.
44745         * conform/run-conformtest.sh: Run all tests.
44746         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
44747         headers.
44748         * include/bits/dlfcn.h: Likewise.
44749         * include/langinfo.h: Likewise.
44750         * include/monetary.h: Likewise.
44751         * include/sys/poll.h: Likewise.
44753         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
44754         for __USE_GNU.
44755         * posix/spawn.h: Define __need_sigset_t.
44756         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
44757         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
44758         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
44759         to get sigevent_t only.
44760         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
44761         only for __USE_GNU.
44762         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
44763         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
44764         process_vm_writev only for __USE_GNU.
44765         * termios/termios.h: Declare tcgetsid also for POSIX2008.
44767         * conform/Makefile: For now ignore errors from run-conformtest.
44768         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
44769         POSIX to avoid namespace pollution.  Don't prepend headers.
44770         * conform/data/aio.h-data: Fixes for POSIX testing.
44771         * conform/data/fcntl.h-data: Likewise.
44772         * conform/data/glob.h-data: Likewise.
44773         * conform/data/grp.h-data: Likewise.
44774         * conform/data/pthread.h-data: Likewise.
44775         * conform/data/pwd.h-data: Likewise.
44776         * conform/data/signal.h-data: Likewise.
44777         * conform/data/spawn.h-data: Likewise.
44778         * conform/data/stdio.h-data: Likewise.
44779         * conform/data/stdlib.h-data: Likewise.
44780         * conform/data/stropts.h-data: Likewise.
44781         * conform/data/sys/mman.h-data: Likewise.
44782         * conform/data/sys/stat.h-data: Likewise.
44783         * conform/data/sys/types.h-data: Likewise.
44784         * conform/data/sys/wait.h-data: Likewise.
44785         * conform/data/time.h-data: Likewise.
44786         * conform/data/unistd.h-data: Likewise.
44787         * conform/data/utime.h-data: Likewise.
44789         * io/sys/stat.h: fchmod was always in POSIX.
44790         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
44791         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
44792         * rt/aio.h: Define __need_timespec before including <time.h>.
44793         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
44794         struct.  Add forward declaration of pthread_attr_t and use it in
44795         sigevent.
44796         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
44797         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
44798         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
44799         always remove CLK_TCK definition.
44801 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
44803         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
44805 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
44807         * conform/run-conformtest.sh: New file.
44808         * conform/Makefile: Run run-conformtest for tests.
44809         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
44810         support.
44812         * conform/data/uchar.h-data: New file.
44813         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
44814         * conform/data/arpa/inet.h-data: Likewise.
44815         * conform/data/assert.h-data: Likewise.
44816         * conform/data/complex.h-data: Likewise.
44817         * conform/data/cpio.h-data: Likewise.
44818         * conform/data/ctype.h-data: Likewise.
44819         * conform/data/dirent.h-data: Likewise.
44820         * conform/data/dlfcn.h-data: Likewise.
44821         * conform/data/errno.h-data: Likewise.
44822         * conform/data/fcntl.h-data: Likewise.
44823         * conform/data/float.h-data: Likewise.
44824         * conform/data/fmtmsg.h-data: Likewise.
44825         * conform/data/fnmatch.h-data: Likewise.
44826         * conform/data/ftw.h-data: Likewise.
44827         * conform/data/glob.h-data: Likewise.
44828         * conform/data/grp.h-data: Likewise.
44829         * conform/data/iconv.h-data: Likewise.
44830         * conform/data/inttypes.h-data: Likewise.
44831         * conform/data/langinfo.h-data: Likewise.
44832         * conform/data/libgen.h-data: Likewise.
44833         * conform/data/limits.h-data: Likewise.
44834         * conform/data/locale.h-data: Likewise.
44835         * conform/data/math.h-data: Likewise.
44836         * conform/data/monetary.h-data: Likewise.
44837         * conform/data/mqueue.h-data: Likewise.
44838         * conform/data/ndbm.h-data: Likewise.
44839         * conform/data/net/if.h-data: Likewise.
44840         * conform/data/netdb.h-data: Likewise.
44841         * conform/data/netinet/in.h-data: Likewise.
44842         * conform/data/nl_types.h-data: Likewise.
44843         * conform/data/poll.h-data: Likewise.
44844         * conform/data/pthread.h-data: Likewise.
44845         * conform/data/pwd.h-data: Likewise.
44846         * conform/data/regex.h-data: Likewise.
44847         * conform/data/sched.h-data: Likewise.
44848         * conform/data/search.h-data: Likewise.
44849         * conform/data/semaphore.h-data: Likewise.
44850         * conform/data/setjmp.h-data: Likewise.
44851         * conform/data/signal.h-data: Likewise.
44852         * conform/data/spawn.h-data: Likewise.
44853         * conform/data/stdarg.h-data: Likewise.
44854         * conform/data/stdio.h-data: Likewise.
44855         * conform/data/stdlib.h-data: Likewise.
44856         * conform/data/string.h-data: Likewise.
44857         * conform/data/strings.h-data: Likewise.
44858         * conform/data/stropts.h-data: Likewise.
44859         * conform/data/sys/ipc.h-data: Likewise.
44860         * conform/data/sys/mman.h-data: Likewise.
44861         * conform/data/sys/msg.h-data: Likewise.
44862         * conform/data/sys/resource.h-data: Likewise.
44863         * conform/data/sys/select.h-data: Likewise.
44864         * conform/data/sys/sem.h-data: Likewise.
44865         * conform/data/sys/shm.h-data: Likewise.
44866         * conform/data/sys/socket.h-data: Likewise.
44867         * conform/data/sys/stat.h-data: Likewise.
44868         * conform/data/sys/statvfs.h-data: Likewise.
44869         * conform/data/sys/time.h-data: Likewise.
44870         * conform/data/sys/timeb.h-data: Likewise.
44871         * conform/data/sys/times.h-data: Likewise.
44872         * conform/data/sys/types.h-data: Likewise.
44873         * conform/data/sys/uio.h-data: Likewise.
44874         * conform/data/sys/un.h-data: Likewise.
44875         * conform/data/sys/utsname.h-data: Likewise.
44876         * conform/data/sys/wait.h-data: Likewise.
44877         * conform/data/syslog.h-data: Likewise.
44878         * conform/data/tar.h-data: Likewise.
44879         * conform/data/termios.h-data: Likewise.
44880         * conform/data/utime.h-data: Likewise.
44881         * conform/data/utmpx.h-data: Likewise.
44882         * conform/data/varargs.h-data: Likewise.
44883         * conform/data/wchar.h-data: Likewise.
44884         * conform/data/wctype.h-data: Likewise.
44885         * conform/data/wordexp.h-data: Likewise.
44887         * include/stropts.h: New file.
44888         * include/uchar.h: New file.
44889         * include/aio.h: Changes to allow conformtest.pl to use the headers.
44890         * include/assert.h: Likewise.
44891         * include/ctype.h: Likewise.
44892         * include/dirent.h: Likewise.
44893         * include/dlfcn.h: Likewise.
44894         * include/fcntl.h: Likewise.
44895         * include/fnmatch.h: Likewise.
44896         * include/glob.h: Likewise.
44897         * include/grp.h: Likewise.
44898         * include/libio.h: Likewise.
44899         * include/locale.h: Likewise.
44900         * include/math.h: Likewise.
44901         * include/net/if.h: Likewise.
44902         * include/netdb.h: Likewise.
44903         * include/netinet/in.h: Likewise.
44904         * include/pthread.h: Likewise.
44905         * include/pwd.h: Likewise.
44906         * include/regex.h: Likewise.
44907         * include/sched.h: Likewise.
44908         * include/search.h: Likewise.
44909         * include/setjmp.h: Likewise.
44910         * include/signal.h: Likewise.
44911         * include/stdio.h: Likewise.
44912         * include/stdlib.h: Likewise.
44913         * include/string.h: Likewise.
44914         * include/sys/cdefs.h: Likewise.
44915         * include/sys/mman.h: Likewise.
44916         * include/sys/msg.h: Likewise.
44917         * include/sys/resource.h: Likewise.
44918         * include/sys/select.h: Likewise.
44919         * include/sys/socket.h: Likewise.
44920         * include/sys/stat.h: Likewise.
44921         * include/sys/statvfs.h: Likewise.
44922         * include/sys/time.h: Likewise.
44923         * include/sys/times.h: Likewise.
44924         * include/sys/uio.h: Likewise.
44925         * include/sys/utsname.h: Likewise.
44926         * include/sys/wait.h: Likewise.
44927         * include/termios.h: Likewise.
44928         * include/time.h: Likewise.
44929         * include/ulimit.h: Likewise.
44930         * include/unistd.h: Likewise.
44931         * include/utime.h: Likewise.
44932         * include/wchar.h: Likewise.
44933         * include/wctype.h: Likewise.
44934         * include/wordexp.h: Likewise.
44936         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
44938         * time/time.h: TIME_UTC must be a macro.
44939         Make timespec_get available for ISO C11 only as well.
44941 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
44943         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
44944         Reported by Peng Haitao <penght@cn.fujitsu.com>.
44946 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44948         * configure.in: Use -o not -a in test for unsupported multi-arch.
44950 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44952         * manual/texinfo.tex: Update to version 2012-01-19.16.
44954 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
44956         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
44958 2012-02-24  Roland McGrath  <roland@hack.frob.com>
44960         [BZ #13738]
44961         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
44962         * manual/fdl-1.3.texi: New file.
44963         * manual/fdl-1.1.texi: File removed.
44965         [BZ #13738]
44966         * manual/libc.texinfo (FDL_VERSION): New @set.
44967         Use it for mention of FDL in cover text.
44968         (Documentation License): Use it in @include file name.
44970 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44971             Roland McGrath  <roland@hack.frob.com>
44973         [BZ #5461]
44974         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
44975         (not LONG_LONG_MAX and LONG_LONG_MIN.
44976         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
44977         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
44978         name.
44979         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
44981 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44983         [BZ #2547]
44984         [BZ #11365]
44985         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
44986         manipulate bits before adding and subtracting TWO23[sx].
44987         * math/libm-test.inc (nearbyint_test): Add more tests.
44989 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
44991         [BZ #2548]
44992         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
44993         bits before adding and subtracting TWO23[sx].
44994         * math/libm-test.inc (rint_test): Add more tests.
44995         (rint_test_tonearest): Likewise.
44996         (rint_test_towardzero): Likewise.
44997         (rint_test_downward): Likewise.
44998         (rint_test_upward: Likewise.
45000 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45002         [BZ #10110]
45003         * include/stdc-predef.h: New file.  Extracted from features.h.
45004         * include/features.h: Include stdc-predef.h.
45005         * Makefile (headers): Add stdc-predef.h.
45006         * CONFORMANCE (Compiler limitations): Update.
45008 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
45010         * manual/libc.texinfo (VERSION, UPDATED): Revert.
45012 2012-02-21  David S. Miller  <davem@davemloft.net>
45014         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
45015         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45017 2012-02-20  David S. Miller  <davem@davemloft.net>
45019         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
45020         using a normal save/restore sequence, rather than allocating a
45021         dummy stack frame just to store a frame pointer and restore.
45022         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45024 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45026         * manual/install.texi: Fix stray word in line-wrapped comment.
45028 2012-02-20  David S. Miller  <davem@davemloft.net>
45030         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
45031         both binutils and gcc support GOTDATA.
45033         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
45034         "rd %pc" in the PIC register setup sequences.
45036         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
45037         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
45038         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45039         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
45040         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45041         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45042         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45043         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45044         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
45045         (SYSCALL_ERROR_HANDLER): Likewise.
45046         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45047         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45048         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
45049         (SYSCALL_ERROR_HANDLER): Likewise.
45051         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
45052         (HAVE_GCC_GOTDATA): New.
45053         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
45054         relocation support in both binutils and gcc.
45055         * sysdeps/sparc/elf/configure: Regenerate.
45057         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
45058         * sysdeps/sparc/sparc32/elf/configure: Delete.
45059         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
45060         * sysdeps/sparc/sparc64/elf/configure: Delete.
45061         * sysdeps/sparc/elf/configure.in: New file.
45062         * sysdeps/sparc/elf/configure: Generate.
45064         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
45065         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
45066         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
45067         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
45068         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
45070 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45072         * manual/install.texi: Do not mention specific glibc version
45073         numbers.
45074         * manual/libc.texinfo (VERSION, UPDATED): Update.
45075         (@copying): Use @copyright{} and range of years.
45077 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
45079         [BZ #13695]
45080         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
45081         [crti.S not in sysdirs] (generated): Do not append.
45082         [crti.S not in sysdirs] (omit-deps): Likewise.
45083         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
45084         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
45085         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
45086         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
45087         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
45088         Likewise.
45089         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
45090         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
45091         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
45092         * csu/defs.awk: Remove file.
45093         * sysdeps/generic/initfini.c: Likewise.
45094         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
45095         variable.
45096         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
45097         Likewise.
45099 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45101         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
45102         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
45103         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
45104         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
45105         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
45106         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
45107         <bits/epoll.h>.
45108         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
45109         (__EPOLL_PACKED): Define to empty if not defined by
45110         <bits/epoll.h>.
45111         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
45112         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45113         bits/epoll.h.
45115 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45117         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
45118         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
45119         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
45120         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
45121         <bits/timerfd.h>.
45122         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
45123         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45124         bits/timerfd.h.
45126 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
45128         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
45129         in C locale.
45130         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45131         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
45132         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
45133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45135 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
45137         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45138         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
45140 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
45142         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
45143         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
45144         defined.
45145         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
45146         Likewise.
45147         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
45148         entry for 2.16.
45150 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
45152         * math/w_acos.c: Use non-signaling floating-point comparisons.
45153         * math/w_acosf.c: Likewise.
45154         * math/w_acosh.c: Likewise.
45155         * math/w_acoshf.c: Likewise.
45156         * math/w_acoshl.c: Likewise.
45157         * math/w_acosl.c: Likewise.
45158         * math/w_asin.c: Likewise.
45159         * math/w_asinf.c: Likewise.
45160         * math/w_asinl.c: Likewise.
45161         * math/w_atanh.c: Likewise.
45162         * math/w_atanhf.c: Likewise.
45163         * math/w_atanhl.c: Likewise.
45164         * math/w_exp2.c: Likewise.
45165         * math/w_exp2f.c: Likewise.
45166         * math/w_exp2l.c: Likewise.
45167         * math/w_j0.c: Likewise.
45168         * math/w_j0f.c: Likewise.
45169         * math/w_j0l.c: Likewise.
45170         * math/w_j1.c: Likewise.
45171         * math/w_j1f.c: Likewise.
45172         * math/w_j1l.c: Likewise.
45173         * math/w_jn.c: Likewise.
45174         * math/w_jnf.c: Likewise.
45175         * math/w_log.c: Likewise.
45176         * math/w_log10.c: Likewise.
45177         * math/w_log10f.c: Likewise.
45178         * math/w_log10l.c: Likewise.
45179         * math/w_log2.c: Likewise.
45180         * math/w_log2f.c: Likewise.
45181         * math/w_log2l.c: Likewise.
45182         * math/w_logf.c: Likewise.
45183         * math/w_logl.c: Likewise.
45184         * math/w_sqrt.c: Likewise.
45185         * math/w_sqrtf.c: Likewise.
45186         * math/w_sqrtl.c: Likewise.
45187         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45188         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
45189         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45190         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
45191         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
45193 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45195         [BZ #9739]
45196         * manual/string.texi (strnlen): Use correct parameter name in
45197         equivalent expression.
45199 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45201         [BZ #11174]
45202         * manual/users.texi (seteuid): Consistently use neweuid for
45203         argument name.
45205 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
45207         [BZ #13704]
45208         * manual/nss.texi (Services in the NSS configuration): Correct
45209         list of services in example configuration file.
45211 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
45213         [BZ #11322]
45214         * manual/arith.texi: Remove statements about negative zero
45215         behaving identically to zero.
45217 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45219         [BZ #5993]
45220         * manual/install.texi: Do not document upgrading from libc5.
45222 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
45224         [BZ #4596]
45225         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
45227 2012-02-18  David S. Miller  <davem@davemloft.net>
45229         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
45230         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
45231         %o7 across the call.
45232         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
45233         instead.
45234         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
45235         SETUP_PIC_REG_LEAF.
45236         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45237         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
45238         * sysdeps/sparc/crtn.S: Likewise.
45240 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
45242         * aout/Makefile: Remove.
45244 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
45246         [BZ #13058]
45247         * manual/examples/argp-ex1.c (main): Format definition in GNU
45248         style.
45249         * manual/examples/argp-ex2.c (main): Likewise.
45250         * manual/examples/argp-ex3.c (main): Likewise.
45251         * manual/examples/argp-ex4.c (main): Likewise.
45252         * manual/examples/longopt.c (main): Use new-style prototype
45253         definition.
45254         * manual/examples/strncat.c (main): Specify return type and use
45255         (void) for arguments.
45256         * manual/examples/subopt.c (main): Use char **argv argument.
45258 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45260         [BZ #5077]
45261         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
45262         rounding modes.
45264 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
45266         [BZ #6907]
45267         * manual/string.texi (strchr): Change when strchrnul is
45268         recommended.
45270 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
45272         [BZ #174]
45273         * manual/locale.texi (setlocale): Document LOCPATH.
45275 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45277         [BZ #10210]
45278         * manual/process.texi (execle): Move @dots{} before last argument.
45280 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
45282         [BZ #12047]
45283         * manual/charset.texi (Generic Charset Conversion): Fix typo
45284         (LC_TYPE -> LC_CTYPE).
45286 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
45288         [BZ #5805]
45289         * manual/arith.texi (scalbn): Use @var{} on parameter names.
45290         (scalbnf): Likewise.
45291         (scalbnl): Likewise.
45292         (scalbln): Likewise.
45293         (scalblnf): Likewise.
45294         (scalblnl): Likewise.
45295         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
45296         (vwarnx): Likewise.
45297         (verr): Likewise.
45298         (verrx): Likewise.
45299         * manual/filesys.texi (telldir): Use braces around return type.
45300         * manual/llio.texi (mmap): Add space after comma.
45301         (mmap64): Likewise.
45302         * manual/math.texi (jn): Use @var{} on parameter names.
45303         (jnf): Likewise.
45304         (jnl): Likewise.
45305         (yn): Likewise.
45306         (ynf): Likewise.
45307         (ynl): Likewise.
45308         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
45309         line.
45310         * manual/resource.texi (ulimit): Use @dots{} instead of literal
45311         "...".
45312         (sched_get_priority_min): Remove semicolon on @deftypefun line.
45313         (sched_get_priority_max): Likewise.
45314         * manual/signal.texi (sigvec): Add space after comma.
45315         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
45316         names.
45317         (if_indextoname): Likewise.
45318         (if_freenameindex): Likewise.
45319         (sendto): Use ',' instead of '.' in prototype.
45320         * manual/startup.texi (syscall): Use @dots{} instead of literal
45321         "...".
45322         * manual/stdio.texi (__fpending): Separate initial words of
45323         paragraph from @deftypefun line.
45324         * manual/syslog.texi (syslog): Use @dots{} instead of literal
45325         "...".
45326         (vsyslog): Use @var{} on parameter names.
45327         * manual/terminal.texi (stty): Use @var{} on parameter names.
45328         * manual/users.texi (getutmp): Use @var{} on parameter names.
45329         (getutmpx): Likewise.
45331 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45333         [BZ #6884]
45334         * manual/stdio.texi (fopen): Fix typos in description of
45335         ",ccs=STRING".
45337 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
45339         [BZ #4026]
45340         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
45341         get clock_id definition.
45343 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
45345         [BZ #4822]
45346         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
45347         (madvise): Cast every argument to void on its own.
45349 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45351         [BZ #9902]
45352         * manual/startup.texi (Exit Status): Fix typo.
45354 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
45356         [BZ #10140]
45357         * manual/examples/argp-ex1.c: Include <stdlib.h>.
45358         * manual/examples/argp-ex2.c: Likewise.
45359         * manual/examples/argp-ex3.c: Likewise.
45361 2012-02-16  Richard Henderson  <rth@redhat.com>
45363         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
45364         * sysdeps/s390/s390-32/initfini.c: Remove.
45365         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
45366         * sysdeps/s390/s390-64/initfini.c: Remove.
45368 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45370         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
45371         compiler output for sysdeps/generic/initfini.c.
45372         * sysdeps/sh/elf/initfini.c: Remove file.
45374 2012-02-16  David S. Miller  <davem@davemloft.net>
45376         [BZ #11494]
45377         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
45379         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
45380         * sysdeps/sparc/crti.S: New file.
45381         * sysdeps/sparc/crtn.S: New file.
45382         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
45383         * sysdeps/sparc/sparc64/Makefile: Likewise.
45385 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
45387         [BZ #3335]
45388         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
45390 2012-02-15  Roland McGrath  <roland@hack.frob.com>
45392         [BZ #4822]
45393         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
45395         * mach/devstream.c (cookie_io_functions_t): Macro removed.
45396         (write, read, close): Likewise.
45397         Patch by Aurelien Jarno <aurelien@aurel32.net>.
45399 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
45401         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
45402         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
45403         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
45404         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
45405         <bits/signalfd.h>.
45406         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
45407         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45408         bits/signalfd.h.
45410 2012-02-14  Marek Polacek  <polacek@redhat.com>
45412         * sysdeps/x86_64/crti.S: New file.
45413         * sysdeps/x86_64/crtn.S: New file.
45414         * sysdeps/x86_64/elf/initfini.c: Remove file.
45416 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45418         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
45419         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
45420         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
45421         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
45422         <bits/inotify.h>.
45423         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
45424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45425         bits/inotify.h.
45427 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
45429         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
45430         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
45431         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
45432         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
45433         <bits/eventfd.h>.
45434         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
45435         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45436         bits/eventfd.h.
45438 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
45440         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
45441         __feraiseexcept instead of feraiseexcept.
45443         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
45444         nanosleep invocations.
45445         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
45446         strings, and add error checking for a nanosleep invocations.
45448 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
45450         Replace FSF snail mail address with URLs, as per GNU coding standards.
45451         Most of the snail mail addresses were wrong anyway, and omitting
45452         them makes the source code easier to maintain.  Almost all of the
45453         changes are to license notices and to locale LC_IDENTIFICATION
45454         addresses, except for this one:
45455         * manual/libc.texinfo: In "Published by", give the FSF's URL,
45456         not its snail mail address.
45458 2012-02-09  Richard Henderson  <rth@twiddle.net>
45460         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
45461         of kernel-features.h.
45463         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
45465 2012-02-08  Marek Polacek  <polacek@redhat.com>
45467         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
45468         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
45469         * sysdeps/gnu/_G_config.h: Likewise.
45470         * sysdeps/generic/_G_config.h: Likewise.
45472 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
45474         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
45475         tests.
45476         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45478         * sysdeps/powerpc/powerpc32/crti.S: New file.
45479         * sysdeps/powerpc/powerpc32/crtn.S: New file.
45480         * sysdeps/powerpc/powerpc64/crti.S: New file.
45481         * sysdeps/powerpc/powerpc64/crtn.S: New file.
45483         * Makeconfig (have-initfini): Don't set.
45484         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
45485         * configure.in (nopic_initfini): Don't substitute.
45486         * config.h.in (HAVE_INITFINI): Don't #undef.
45487         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
45488         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
45490 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
45492         Support crti.S and crtn.S provided directly by architectures.
45493         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
45494         [crti.S in sysdirs] (omit-deps): Likewise.
45495         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
45496         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
45497         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
45498         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
45499         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
45500         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
45501         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
45502         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
45503         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
45504         compiler output for sysdeps/generic/initfini.c.
45505         * sysdeps/i386/elf/Makefile: Remove file.
45506         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
45508 2012-02-07  Marek Polacek  <polacek@redhat.com>
45510         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
45511         * sysdeps/gnu/_G_config.h: Likewise.
45512         * sysdeps/mach/hurd/_G_config.h: Likewise.
45514 2012-02-07  Marek Polacek  <polacek@redhat.com>
45516         * math/Makefile (tests): Add tst-CMPLX2.
45517         * math/tst-CMPLX2.c: New file.
45519 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
45521         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
45523         * math/libm-test.inc (jn_test): Add missing L suffix.
45525 2012-02-06  Marek Polacek  <polacek@redhat.com>
45527         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
45528         * sysdeps/i386/fpu/e_powf.S: Likewise.
45529         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
45530         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45531         * sysdeps/i386/fpu/e_acosh.S: Likewise.
45532         * sysdeps/i386/fpu/e_pow.S: Likewise.
45533         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
45534         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
45535         * sysdeps/i386/fpu/s_expm1.S: Likewise.
45536         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
45537         * sysdeps/i386/fpu/e_log2.S: Likewise.
45538         * sysdeps/i386/fpu/e_log2l.S: Likewise.
45539         * sysdeps/i386/fpu/e_scalb.S: Likewise.
45540         * sysdeps/i386/fpu/e_powl.S: Likewise.
45541         * sysdeps/i386/fpu/s_log1p.S: Likewise.
45542         * sysdeps/i386/fpu/e_log10f.S: Likewise.
45543         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
45544         * sysdeps/i386/fpu/e_logl.S: Likewise.
45545         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
45546         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
45547         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
45548         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
45549         * sysdeps/i386/fpu/e_log2f.S: Likewise.
45550         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
45551         * sysdeps/i386/fpu/e_log.S: Likewise.
45552         * sysdeps/i386/fpu/s_cexp.S: Likewise.
45553         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
45554         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
45555         * sysdeps/i386/fpu/e_logf.S: Likewise.
45556         * sysdeps/i386/fpu/e_log10l.S: Likewise.
45557         * sysdeps/i386/fpu/e_atanh.S: Likewise.
45558         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
45559         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
45560         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45561         * sysdeps/i386/fpu/e_log10.S: Likewise.
45562         * sysdeps/i386/fpu/s_frexp.S: Likewise.
45563         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
45564         * sysdeps/i386/fpu/s_asinh.S: Likewise.
45565         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
45566         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
45567         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
45568         * sysdeps/i386/asm-syntax.h: Likewise.
45569         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
45570         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45571         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
45572         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
45573         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
45574         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
45575         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
45576         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
45577         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
45578         * sysdeps/powerpc/sysdep.h: Likewise.
45579         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
45580         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
45582 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45584         [BZ #411]
45585         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
45587 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
45589         * sysdeps/i386/sysdep.h: Include <features.h>.
45590         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
45591         version.
45593 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
45595         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
45596         Define.
45597         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
45598         LOAD_PIC_REG_STR.
45600 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45602         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
45603         (SETUP_PIC_REG): Use GET_PC_THUNK.
45604         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
45605         macro.
45607 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45609         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
45610         for non-PIC compilation.
45611         (SETUP_PIC_REG): Add .p2align directive.
45612         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
45613         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
45614         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
45615         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
45616         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
45617         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
45618         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
45619         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
45620         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
45621         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
45622         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
45623         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
45624         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
45625         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
45626         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
45627         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
45628         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
45629         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
45630         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
45631         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
45632         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
45633         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
45634         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
45635         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
45636         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
45637         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
45638         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
45639         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
45640         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
45641         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
45642         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
45643         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
45644         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
45645         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
45646         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
45647         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
45648         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
45649         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
45650         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
45651         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
45652         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
45654 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
45656         * math/tst-CMPLX.c: Include <stdio.h>.
45658 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
45660         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
45661         float.
45662         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45663         * sysdeps/sparc/bits/mathdef.h: Likewise.
45665 2012-01-31  Marek Polacek  <polacek@redhat.com>
45667         * libio/libio.h: Don't define _PARAMS.
45668         * locale/programs/config.h: Don't define PARAMS.
45669         * stdlib/strtol_l.c: Likewise.
45670         (__strtol_l): Remove PARAMS from the prototype.
45672 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
45674         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
45675         names.  Just use the correct names.  Remove unnecessary wrapper
45676         functions.
45677         * malloc/arena.c: Likewise.
45678         * malloc/hooks.c: Likewise.
45680         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
45681         ARENA_TEST says not to.  Simplify test for creation of a new arena.
45682         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
45684 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
45686         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
45687         into tail calls.
45688         (update_get_addr): New function.
45689         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
45690         GET_ADDR_MODULE parameter.
45692 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45694         * crypt/cert.c: Remove __STDC__ conditionals.
45695         * crypt/crypt-entry.c: Likewise.
45696         * crypt/crypt_util.c: Likewise.
45697         * libio/filedoalloc.c: Likewise.
45698         * libio/fileops.c: Likewise.
45699         * libio/genops.c: Likewise.
45700         * libio/iofclose.c: Likewise.
45701         * libio/iofdopen.c: Likewise.
45702         * libio/iofopen.c: Likewise.
45703         * libio/iofopen64.c: Likewise.
45704         * libio/iogetdelim.c: Likewise.
45705         * libio/iopopen.c: Likewise.
45706         * libio/obprintf.c: Likewise.
45707         * libio/oldfileops.c: Likewise.
45708         * libio/oldiofclose.c: Likewise.
45709         * libio/oldiofdopen.c: Likewise.
45710         * libio/oldiofopen.c: Likewise.
45711         * libio/oldiopopen.c: Likewise.
45712         * libio/wfiledoalloc.c: Likewise.
45713         * libio/wgenops.c: Likewise.
45714         * locale/programs/xmalloc.c: Likewise.
45715         * misc/syslog.c: Likewise.
45716         * stdio-common/xbug.c: Likewise.
45717         * string/memchr.c: Likewise.
45718         * string/memcmp.c: Likewise.
45719         * string/memrchr.c: Likewise.
45720         * string/rawmemchr.c: Likewise.
45721         * sysdeps/posix/getcwd.c: Likewise.
45722         * time/strftime_l.c: Likewise.
45724 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
45726         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
45727         * config.make.in (config-cflags-sse2avx): Define.
45728         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
45729         Fix typo.
45731 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
45733         * scripts/config.guess: Update from upstream config git repository.
45734         * scripts/config.sub: Likewise.
45736 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
45738         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
45739         (EM_NUM): Update.
45740         (R_TILEPRO_*, R_TILEGX_*): New macros.
45742         * scripts/firstversions.awk: Fix bug in version range handling.
45744         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
45746         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
45748         * include/sys/epoll.h: New file.
45749         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
45750         libc_hidden_def.
45752 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
45754         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
45755         Avoid unnecessary __WORDSIZE == 64 test.
45756         (fmaxf): Use VEX format if possible.
45757         (fmax): Likewise.
45758         (fminf): Likewise.
45759         (fmin): Likewise.
45761         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
45762         * math/math_private.h: Remove libc_fegetround* and
45763         libc_fesetround*.
45764         * sysdeps/i386/configure.in: Check for -msse2avx.
45765         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
45766         also if SSE2AVX is defined.
45767         Remove libc_fegetround* and libc_fesetround*.
45768         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
45769         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
45770         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
45771         of HAS_YMM_USABLE.
45772         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45773         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45774         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45775         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45776         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45778         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
45780 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45782         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
45783         size is not set.
45784         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
45786 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
45788         [BZ #13618]
45789         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
45790         relocation.
45791         * Makeconfig (libm): Define.
45792         * elf/Makefile: Add rules to build and run tst-relsort1.
45793         * elf/tst-relsort1.c: New file.
45794         * elf/tst-relsort1mod1.c: New file.
45795         * elf/tst-relsort1mod2.c: New file.
45797 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
45799         * math/s_ldexp.c: Remove __STDC__ conditionals.
45800         * math/s_ldexpf.c: Likewise.
45801         * math/s_ldexpl.c: Likewise.
45802         * math/s_nextafter.c: Likewise.
45803         * math/s_nexttowardf.c: Likewise.
45804         * math/s_significand.c: Likewise.
45805         * math/s_significandf.c: Likewise.
45806         * math/s_significandl.c: Likewise.
45807         * math/w_jnl.c: Likewise.
45808         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45809         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45810         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45811         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45812         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45813         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45814         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
45815         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45816         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45817         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45818         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45819         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45820         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45821         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45822         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45823         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45824         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45825         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45826         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45827         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45828         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45829         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45830         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45831         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45832         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45833         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45834         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45835         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45836         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45837         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45838         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45839         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45840         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45841         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45842         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45843         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45844         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45845         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45846         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45847         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45848         * sysdeps/ieee754/k_standard.c: Likewise.
45849         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45850         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45851         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45852         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45853         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45854         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45855         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45856         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45857         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45858         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45859         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45860         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45861         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45862         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45863         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45864         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45865         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45866         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45867         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45868         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45869         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45870         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45871         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45872         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45873         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45874         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45875         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45876         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45877         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45878         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45879         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45880         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
45881         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45882         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45883         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45884         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45885         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
45886         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45887         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45888         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
45889         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
45890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45891         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
45892         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
45893         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45894         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
45895         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
45896         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45897         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45898         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
45899         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
45900         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45901         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45902         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45903         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45904         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45905         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
45906         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45907         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45908         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45909         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45910         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45911         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45912         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45913         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45914         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45915         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45916         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45917         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45918         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45919         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45920         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45921         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45922         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45923         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45924         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45925         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45926         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45927         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45928         * sysdeps/ieee754/s_matherr.c: Likewise.
45929         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45930         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45931         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45932         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45934 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45936         * crypt/md5.h: Remove __STDC__ conditionals.
45937         * libio/libioP.h: Likewise.
45938         * locale/programs/config.h: Likewise.
45939         * sysdeps/generic/sysdep.h: Likewise.
45940         * sysdeps/i386/asm-syntax.h: Likewise.
45941         * sysdeps/s390/asm-syntax.h: Likewise.
45942         * sysdeps/unix/sysdep.h: Likewise.
45943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
45944         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
45946 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
45948         * libio/libio.h: Remove __STDC__ conditionals.
45949         * malloc/obstack.h: Likewise.
45950         * math/complex.h: Likewise.
45951         * math/math.h: Likewise.
45952         * sysdeps/generic/_G_config.h: Likewise.
45953         * sysdeps/gnu/_G_config.h: Likewise.
45954         * sysdeps/mach/hurd/_G_config.h: Likewise.
45955         * sysdeps/powerpc/bits/mathdef.h: Likewise.
45956         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
45957         * sysdeps/sparc/bits/mathdef.h: Likewise.
45959 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
45961         [BZ #13583]
45962         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
45963         Clean up HAS_* macros.
45964         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
45965         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
45966         possible.
45967         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
45968         HAS_AVX.
45969         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
45970         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
45971         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
45972         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
45973         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
45975 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
45977         * elf/tst-unique3.cc (gets): Remove declaration.
45978         * elf/tst-unique3lib.cc (gets): Likewise.
45979         * elf/tst-unique3lib2.cc (gets): Likewise.
45980         * elf/tst-unique4.cc (gets): Likewise.
45982 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
45984         * include/stdio.h: Add C++ protection.  Add gets declarations and
45985         definitions.
45986         * debug/tst-chk1.c: Don't declare gets here.
45987         * stdio-common/tst-gets.c: Likewise.
45989 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45991         * posix/glob: Remove directory.
45993 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
45995         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
45997 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
45999         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
46000         of the non-standard EPFNOSUPPORT.
46002 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46004         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
46005         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
46006         ANYWHERE set to 1 only on KERN_NO_SPACE error.
46008 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
46010         * wcsmbs/uchar.h: Test __STDC_VERSION__.
46012 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
46014         * nscd/aicache.c (addhstaiX): Do not cache negative results of
46015         transient errors.
46016         * nscd/grpcache.c (cache_addgr): Likewise.
46017         * nscd/hstcache.c (cache_addhst): Likewise.
46018         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46019         * nscd/pwdcache.c (cache_addpw): Likewise.
46020         * nscd/servicescache.c (cache_addserv): Likewise.
46022 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
46024         * malloc/malloc.c: Various cleanups.
46025         * malloc/hooks.c: Likewise.
46027         * stdlib/Makefile (tests): Add bug-fmtmsg1.
46028         * stdlib/bug-fmtmsg1.c: New file.
46030         * stdlib/fmtmsg.c (init): Add missing unlock.
46031         Patch by Peng Haitao <penght@cn.fujitsu.com>.
46033 2012-01-12  Marek Polacek  <polacek@redhat.com>
46035         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
46036         and _GNU_SOURCE.
46038 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
46040         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
46041         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
46042         macro to ensure uniqueness of label name.
46043         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46044         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46046 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
46048         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
46050         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
46051         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46052         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
46053         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
46055 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
46057         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
46059         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
46060         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46061         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
46063         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
46065         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
46066         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46067         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46068         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
46070         * math/bits/math-finite.h: Add ldexp support.
46072 2012-01-10  Marek Polacek  <polacek@redhat.com>
46074         * locale/programs/localedef.h (show_archive_content): Add noreturn
46075         attribute.
46077 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
46079         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
46081 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46083         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
46085         * io/Makefile (headers): Add bits/poll2.h.
46087 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
46089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
46090         typo #include statement.
46092 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46094         * include/sys/cdefs.h: Define __attribute_alloc_size.
46095         * catgets/gencat.c: Add alloc_size attribute and apply consistently
46096         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
46097         * elf/pldd.c: Likewise.
46098         * iconv/iconv_charmap.c: Likewise.
46099         * iconv/iconvconfig.c: Likewise.
46100         * iconv/strtab.c: Likewise.
46101         * locale/programs/locale.c: Likewise.
46102         * locale/programs/localedef.h: Likewise.
46103         * locale/programs/simple-hash.c: Likewise.
46104         * nscd/nscd.h: Likewise.
46105         * nss/makedb.c: Likewise.
46106         * sysdeps/generic/ldconfig.h: Likewise.
46107         * locale/programs/localedef.c: Remove xmalloc prototype.
46108         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
46110 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
46112         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
46113         appropriate.
46115 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
46117         * math/Makefile (tests): Add tst-CMPLX.
46118         * math/tst-CMPLX.c: New file.
46120         * math/complex.h (CMPLXL): Fix typo.
46122         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
46123         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
46124         GLIBC_2.16.
46125         * debug/tst-chk1.c: Add poll and ppoll tests.
46126         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
46127         * include/sys/poll.h: Add hidden proto for ppoll.
46128         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
46129         * sysdeps/mach/hurd/ppoll.c: Likewise.
46130         * io/ppoll.c: Likewise.
46131         * debug/poll_chk.c: New file.
46132         * debug/ppoll_chk.c: New file.
46133         * include/bits/poll2.h: New file.
46134         * io/bits/poll2.h: New file.
46136         [BZ #1350]
46137         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
46139         * configure.in: static is always set to yes.  Remove.
46140         * config.make.in: Don't set build-static.
46141         * Makeconfig: Remove use of build-static.
46142         * dlfcn/Makefile: Likewise.
46143         * elf/Makefile: Likewise.
46144         * math/Makefile: Likewise.
46145         * misc/Makefile: Likewise.
46146         * nptl/Makefile: Likewise.
46147         * sysdeps/mach/hurd/Makefile: Likewise.
46149         * configure.in: PWD_P is not used anymore.
46150         * config.make.in: Remove PWD_P entry.
46152         * configure.in: Remove last remnants of RANLIB.
46153         No need to check for signed size_t anymore.
46154         Don't set libc_commonpagesize and libc_relro_required here for Alpha
46155         and IA-64.
46156         Remove __builtin_expect test because we require at least gcc 3.4.
46157         * aclocal.m4: Likewise.
46159         * wcsmbs/mbrtoc16.c: Implement using towc function.
46160         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
46161         * wcsmbs/wcsmbsload.c: Likewise.
46162         * iconv/gconv_simple.c: Likewise.
46163         * iconv/gconv_int.h: Likewise.
46164         * iconv/gconv_builtin.h: Likewise.
46165         * iconv/iconv_prog.c: Remove CHAR16 handling.
46167         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
46169         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
46171         * configure.in: Remove --with-elf and --enable-bounded options.
46172         Dont set base_machine for ia64.  More non-ELF conditions removed.
46173         Remove testing and setting of leading underscore information.
46174         * config.make.in (build-bounded): Set to no.
46175         * config.h.in: Remove NO_UNDERSCORES entry.
46176         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
46177         them.
46178         * csu/start.c: Remove !NO_UNDERSCORE code.
46179         * locale/localeinfo.h: Likewise.
46180         * sysdeps/generic/machine-gmon.h: Likewise.
46181         * sysdeps/generic/sysdep.h: Likewise.
46182         * sysdeps/i386/sysdep.h: Likewise.
46183         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46184         * sysdeps/mach/sysdep.h: Likewise.
46185         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46186         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46187         * sysdeps/sh/sysdep.h: Likewise.
46188         * sysdeps/sparc/sparc32/alloca.S: Likewise.
46189         * sysdeps/unix/i386/sysdep.S: Likewise.
46190         * sysdeps/unix/sparc/start.c: Likewise.
46191         * sysdeps/unix/sparc/sysdep.S: Likewise.
46192         * sysdeps/unix/sparc/sysdep.h: Likewise.
46193         * sysdeps/unix/start.c: Likewise.
46194         * sysdeps/unix/x86_64/sysdep.S: Likewise.
46195         * sysdeps/x86_64/sysdep.h: Likewise.
46197 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
46199         [BZ #13553]
46200         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
46201         for non-gcc.
46202         * argp/argp-fmtstream.h: Use const instead __const.
46203         * argp/argp.h: Likewise.
46204         * assert/assert.h: Likewise.
46205         * bits/fenv.h: Likewise.
46206         * bits/sched.h: Likewise.
46207         * bits/sigset.h: Likewise.
46208         * bits/sigthread.h: Likewise.
46209         * catgets/nl_types.h: Likewise.
46210         * conform/data/pthread.h-data: Likewise.
46211         * crypt/crypt-private.h: Likewise.
46212         * crypt/crypt.h: Likewise.
46213         * crypt/crypt_util.c: Likewise.
46214         * ctype/ctype.h: Likewise.
46215         * debug/execinfo.h: Likewise.
46216         * debug/mbsnrtowcs_chk.c: Likewise.
46217         * debug/mbsrtowcs_chk.c: Likewise.
46218         * debug/wcsnrtombs_chk.c: Likewise.
46219         * debug/wcsrtombs_chk.c: Likewise.
46220         * debug/wcstombs_chk.c: Likewise.
46221         * dirent/dirent.h: Likewise.
46222         * dlfcn/dlfcn.h: Likewise.
46223         * elf/neededtest4.c: Likewise.
46224         * grp/grp.h: Likewise.
46225         * gshadow/gshadow.h: Likewise.
46226         * iconv/gconv.h: Likewise.
46227         * iconv/gconv_int.h: Likewise.
46228         * iconv/gconv_simple.c: Likewise.
46229         * iconv/iconv.h: Likewise.
46230         * iconv/loop.c: Likewise.
46231         * iconv/skeleton.c: Likewise.
46232         * include/aio.h: Likewise.
46233         * include/aliases.h: Likewise.
46234         * include/argz.h: Likewise.
46235         * include/arpa/inet.h: Likewise.
46236         * include/assert.h: Likewise.
46237         * include/dirent.h: Likewise.
46238         * include/dlfcn.h: Likewise.
46239         * include/execinfo.h: Likewise.
46240         * include/fcntl.h: Likewise.
46241         * include/fenv.h: Likewise.
46242         * include/glob.h: Likewise.
46243         * include/grp.h: Likewise.
46244         * include/libintl.h: Likewise.
46245         * include/mntent.h: Likewise.
46246         * include/netdb.h: Likewise.
46247         * include/pwd.h: Likewise.
46248         * include/rpc/netdb.h: Likewise.
46249         * include/sched.h: Likewise.
46250         * include/search.h: Likewise.
46251         * include/shadow.h: Likewise.
46252         * include/signal.h: Likewise.
46253         * include/stdio.h: Likewise.
46254         * include/stdlib.h: Likewise.
46255         * include/string.h: Likewise.
46256         * include/sys/socket.h: Likewise.
46257         * include/sys/stat.h: Likewise.
46258         * include/sys/statfs.h: Likewise.
46259         * include/sys/statvfs.h: Likewise.
46260         * include/sys/syslog.h: Likewise.
46261         * include/sys/time.h: Likewise.
46262         * include/sys/uio.h: Likewise.
46263         * include/time.h: Likewise.
46264         * include/unistd.h: Likewise.
46265         * include/utmp.h: Likewise.
46266         * include/wchar.h: Likewise.
46267         * include/wctype.h: Likewise.
46268         * inet/aliases.h: Likewise.
46269         * inet/arpa/inet.h: Likewise.
46270         * inet/netinet/ether.h: Likewise.
46271         * inet/netinet/in.h: Likewise.
46272         * intl/libintl.h: Likewise.
46273         * io/bits/fcntl2.h: Likewise.
46274         * io/fcntl.h: Likewise.
46275         * io/ftw.h: Likewise.
46276         * io/sys/poll.h: Likewise.
46277         * io/sys/stat.h: Likewise.
46278         * io/sys/statfs.h: Likewise.
46279         * io/sys/statvfs.h: Likewise.
46280         * io/utime.h: Likewise.
46281         * libio/bits/stdio.h: Likewise.
46282         * libio/bits/stdio2.h: Likewise.
46283         * libio/libio.h: Likewise.
46284         * libio/libioP.h: Likewise.
46285         * libio/stdio.h: Likewise.
46286         * locale/lc-ctype.c: Likewise.
46287         * locale/locale.h: Likewise.
46288         * login/utmp.h: Likewise.
46289         * malloc/arena.c: Likewise.
46290         * malloc/malloc.c: Likewise.
46291         * malloc/malloc.h: Likewise.
46292         * malloc/mcheck.c: Likewise.
46293         * malloc/mtrace.c: Likewise.
46294         * math/bits/mathcalls.h: Likewise.
46295         * math/fenv.h: Likewise.
46296         * math/math_private.h: Likewise.
46297         * misc/bits/error.h: Likewise.
46298         * misc/bits/syslog.h: Likewise.
46299         * misc/err.h: Likewise.
46300         * misc/error.h: Likewise.
46301         * misc/fstab.h: Likewise.
46302         * misc/mntent.h: Likewise.
46303         * misc/regexp.h: Likewise.
46304         * misc/search.h: Likewise.
46305         * misc/sgtty.h: Likewise.
46306         * misc/sys/mman.h: Likewise.
46307         * misc/sys/syslog.h: Likewise.
46308         * misc/sys/uio.h: Likewise.
46309         * misc/sys/xattr.h: Likewise.
46310         * misc/ttyent.h: Likewise.
46311         * nis/rpcsvc/ypclnt.h: Likewise.
46312         * nss/nss.h: Likewise.
46313         * posix/bits/unistd.h: Likewise.
46314         * posix/fnmatch.h: Likewise.
46315         * posix/glob.h: Likewise.
46316         * posix/sched.h: Likewise.
46317         * posix/spawn.h: Likewise.
46318         * posix/sys/wait.h: Likewise.
46319         * posix/unistd.h: Likewise.
46320         * posix/wordexp.h: Likewise.
46321         * pwd/pwd.h: Likewise.
46322         * resolv/netdb.h: Likewise.
46323         * resource/sys/resource.h: Likewise.
46324         * rt/aio.h: Likewise.
46325         * rt/bits/mqueue2.h: Likewise.
46326         * rt/mqueue.h: Likewise.
46327         * shadow/shadow.h: Likewise.
46328         * signal/signal.h: Likewise.
46329         * socket/send.c: Likewise.
46330         * socket/sendto.c: Likewise.
46331         * socket/sys/socket.h: Likewise.
46332         * stdio-common/printf.h: Likewise.
46333         * stdlib/bits/stdlib.h: Likewise.
46334         * stdlib/fmtmsg.h: Likewise.
46335         * stdlib/monetary.h: Likewise.
46336         * stdlib/stdlib.h: Likewise.
46337         * stdlib/ucontext.h: Likewise.
46338         * streams/stropts.h: Likewise.
46339         * string/argz.h: Likewise.
46340         * string/bits/string2.h: Likewise.
46341         * string/string.h: Likewise.
46342         * string/strings.h: Likewise.
46343         * sunrpc/rpc/auth.h: Likewise.
46344         * sunrpc/rpc/auth_des.h: Likewise.
46345         * sunrpc/rpc/clnt.h: Likewise.
46346         * sunrpc/rpc/netdb.h: Likewise.
46347         * sunrpc/rpc/pmap_clnt.h: Likewise.
46348         * sunrpc/rpc/xdr.h: Likewise.
46349         * sysdeps/generic/inttypes.h: Likewise.
46350         * sysdeps/generic/net/if.h: Likewise.
46351         * sysdeps/generic/sys/swap.h: Likewise.
46352         * sysdeps/gnu/net/if.h: Likewise.
46353         * sysdeps/gnu/utmpx.h: Likewise.
46354         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
46355         * sysdeps/i386/i486/bits/string.h: Likewise.
46356         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
46357         * sysdeps/s390/bits/string.h: Likewise.
46358         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
46359         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
46360         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
46361         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
46362         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
46363         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
46364         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
46365         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
46366         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
46367         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
46368         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
46369         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
46370         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
46371         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
46372         * sysdeps/unix/sysv/linux/readv.c: Likewise.
46373         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
46374         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46375         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46376         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
46377         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
46378         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46379         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
46380         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
46381         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
46382         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
46383         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
46384         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
46385         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46386         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
46387         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
46388         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
46389         * sysvipc/sys/ipc.h: Likewise.
46390         * sysvipc/sys/msg.h: Likewise.
46391         * sysvipc/sys/sem.h: Likewise.
46392         * sysvipc/sys/shm.h: Likewise.
46393         * termios/termios.h: Likewise.
46394         * time/sys/time.h: Likewise.
46395         * time/time.h: Likewise.
46396         * wcsmbs/bits/wchar2.h: Likewise.
46397         * wcsmbs/uchar.h: Likewise.
46398         * wcsmbs/wchar.h: Likewise.
46399         * wctype/wctype.h: Likewise.
46401         [BZ #13551]
46402         * Makeconfig: Remove all but ELF support including AIX support.
46403         * Makerules: Likewise.
46404         * config.h.in: Likewise.
46405         * config.make.in: Likewise.
46406         * configure: Likewise.
46407         * configure.in: Likewise.
46408         * csu/Makefile: Likewise.
46409         * csu/version.c: Likewise.
46410         * debug/Makefile: Likewise.
46411         * dlfcn/Makefile: Likewise.
46412         * elf/Makefile: Likewise.
46413         * extra-lib.mk: Likewise.
46414         * iconv/Makefile: Likewise.
46415         * include/libc-symbols.h: Likewise.
46416         * include/shlib-compat.h: Likewise.
46417         * resolv/Makefile: Likewise.
46418         * resolv/res_libc.c: Likewise.
46419         * rt/Makefile: Likewise.
46420         * sysdeps/i386/asm-syntax.h: Likewise.
46421         * sysdeps/i386/sysdep.h: Likewise.
46422         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
46423         * sysdeps/mach/sysdep.h: Likewise.
46424         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
46425         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
46426         * sysdeps/s390/asm-syntax.h: Likewise.
46427         * sysdeps/s390/s390-32/sysdep.h: Likewise.
46428         * sysdeps/s390/s390-64/sysdep.h: Likewise.
46429         * sysdeps/sh/sysdep.h: Likewise.
46430         * sysdeps/unix/sparc/sysdep.h: Likewise.
46431         * sysdeps/wordsize-32/divdi3.c: Likewise.
46432         * sysdeps/x86_64/sysdep.h: Likewise.
46434         * argp/Versions: Remove _argp_unlock_xxx.
46436         [BZ #13559]
46437         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
46438         * abilist/libBrokenLocale.abilist: Likewise.
46439         * abilist/libanl.abilist: Likewise.
46440         * abilist/libc.abilist: Likewise.
46441         * abilist/libcrypt.abilist: Likewise.
46442         * abilist/libdl.abilist: Likewise.
46443         * abilist/libm.abilist: Likewise.
46444         * abilist/libnsl.abilist: Likewise.
46445         * abilist/libpthread.abilist: Likewise.
46446         * abilist/libresolv.abilist: Likewise.
46447         * abilist/librt.abilist: Likewise.
46448         * abilist/libthread_db.abilist: Likewise.
46449         * abilist/libutil.abilist: Likewise.
46450         * abilist/libnss_db.abilist: New file.
46452         * scripts/abilist.awk: Add support for indirect functions.
46454         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
46456         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
46458         * shlib-versions: Remove entries for ports architectures.
46460         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
46461         files in ports.
46462         * elf/stackguard-macros.h: Remove support for IA-64.
46463         * elf/tst-auditmod1.c: Likewise.
46464         * sysdeps/generic/ldsodefs.h: Likewise.
46466         * sysdeps/unix/sysv/linux/configure.in: Ports should define
46467         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
46468         configure files.
46470         [BZ #13552]
46471         * configure.in: Remove --enable-omitfp support.
46472         * FAQ.in: Adjust.
46473         * config.make.in: Likewise.
46474         * Makeconfig: Likewise.
46475         * manual/install.texi: Likewise.
46477         In case anyone cares, the IA-64 architecture could move to ports.
46478         * sysdeps/ia64/*: Removed.
46479         * sysdeps/unix/sysv/linux/ia64/*: Removed.
46480         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
46482         [BZ #13555]
46483         * configure.in: Remove entries for unsupported architectures.
46485         [BZ #13533]
46486         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
46487         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
46488         routines.
46489         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
46490         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
46491         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
46492         fall back to using wcrtomb.
46493         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
46494         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
46495         renaming.
46496         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
46497         * wcsmbs/tst-c16c32-1.c: New file.
46499         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
46500         local variable.
46502         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
46504         * elf/tst-unique3.cc: Add explicit declaration of gets.
46505         * elf/tst-unique3lib.cc: Likewise.
46506         * elf/tst-unique3lib2.cc: Likewise.
46507         * elf/tst-unique4.cc: Likewise.
46509         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
46511 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
46513         [BZ #13566]
46514         * assert/assert.h (static_assert): Don't define for C++.
46515         * libio/stdio.h (gets): Do declare for C++ <= C++11.
46516         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
46518 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
46520         * iconv/loop.c (single loop): Fix assertion in storing of
46521         remaining bytes.
46523         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
46525 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
46527         * posix/getconf.c: Update copyright year.
46528         * nss/getent.c: Likewise.
46529         * nss/makedb.c: Likewise.
46530         * iconv/iconvconfig.c: Likewise.
46531         * iconv/iconv_prog.c: Likewise.
46532         * elf/ldconfig.c: Likewise.
46533         * elf/pldd.c: Likewise.
46534         * elf/sotruss.ksh: Likewise.
46535         * catgets/gencat.c: Likewise.
46536         * csu/version.c: Likewise.
46537         * elf/ldd.bash.in: Likewise.
46538         * elf/sprof.c (print_version): Likewise.
46539         * locale/programs/locale.c: Likewise.
46540         * locale/programs/localedef.c: Likewise.
46541         * login/programs/pt_chown.c: Likewise.
46542         * nscd/nscd.c (print_version): Likewise.
46543         * debug/xtrace.sh: Likewise.
46544         * malloc/memusage.sh: Likewise.
46545         * malloc/mtrace.pl: Likewise.
46546         * debug/catchsegv.sh: Likewise.
46548 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
46550         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
46551         pure attribute.
46553 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
46555         [BZ #13533]
46556         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
46557         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
46558         transformations.
46559         * iconv/gconv_int.h: Likewise.
46560         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
46561         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
46562         from libc for GLIBC_2.16.
46563         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
46564         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
46565         * wcsmbs/uchar.h: Really define mbstate_t.
46566         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
46567         * wcsmbs/c16rtomb.c: New file.
46568         * wcsmbs/mbrtoc16.c: New file.
46569         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
46570         for C/POSIX locale.
46571         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
46572         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
46574         * wcsmbs/wchar.h: Add missing __restrict.
46576 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46578         [BZ #13532]
46579         * time/Makefile (routines): Add timespec_get.
46580         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
46581         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
46582         timespec for ISO C11.
46583         * time/timespec_get.c: New file.
46584         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
46585         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
46587         [BZ #13531]
46588         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
46589         * stdlib/stdlib.h: Declare aligned_alloc.
46590         * Versions.def: Add GLIBC_2.16 for libc.
46591         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
46593         [BZ 13527]
46594         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
46595         ISO C11.
46597         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
46598         code.
46600         [BZ #13528]
46601         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
46603         [BZ #13529]
46604         * assert/assert.h (static_assert): Define.
46606         * version.h: Update for 2.16 development version.
46608         [BZ #13526]
46609         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
46610         _ISOC11_SOURCE.
46612         * version.h (RELEASE): Bump for 2.15 release.
46613         * include/features.h (__GLIBC_MINOR__): Bump to 15.
46615         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
46616         Patch by Marek Polacek <mpolacek@redhat.com>.
46618         * bits/byteswap.h: Protect long long constants with __extension__.
46619         * sysdeps/i386/bits/byteswap.h: Likewise.
46620         * sysdeps/ia64/bits/byteswap.h: Likewise.
46621         * sysdeps/s390/bits/byteswap.h: Likewise.
46622         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46624 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46626         [BZ #13540]
46627         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
46628         destination buffer.
46629         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
46631 2011-12-23  Marek Polacek  <polacek@redhat.com>
46633         * elf/dl-addr.c (determine_info): Add inline keyword.
46634         * elf/tst-auditmod4b.c (check_avx): Likewise.
46635         * elf/tst-auditmod6b.c (check_avx): Likewise.
46636         * elf/tst-auditmod6c.c (check_avx): Likewise.
46637         * elf/tst-auditmod7b.c (check_avx): Likewise.
46639 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
46641         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
46642         !__SSE_MATH__.
46644 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46646         [BZ #13540]
46647         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
46648         processing for last bytes.
46650 2011-08-06  Bruno Haible  <bruno@clisp.org>
46652         [BZ #13061]
46653         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
46654         U+0385, not to U+1FEE.
46656         [BZ #13062]
46657         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
46658         entry for U+00A5 U+0301.
46660 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46662         [BZ #13166]
46663         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
46664         buffer for the output is too small.
46666         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
46667         optimization.
46669         [BZ #13185]
46670         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
46671         SSE flags if possible.
46673 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46675         [BZ #13540]
46676         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
46677         processing for last bytes.
46679 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
46681         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
46682         (syscall-list-default-options, syscall-list-default-condition)
46683         (syscall-list-includes): Define.
46684         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
46685         list of ABIs and options and #if conditions for each ABI.  Do not
46686         handle common syscalls between ABIs specially.
46687         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
46688         Remove.
46689         (syscall-list-variants, syscall-list-32bit-options)
46690         (syscall-list-32bit-condition, syscall-list-64bit-options)
46691         (syscall-list-64bit-condition): Define.
46692         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
46693         (syscall-list-variants, syscall-list-32bit-options)
46694         (syscall-list-32bit-condition, syscall-list-64bit-options)
46695         (syscall-list-64bit-condition): Define.
46696         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
46697         Remove.
46698         (syscall-list-variants, syscall-list-32bit-options)
46699         (syscall-list-32bit-condition, syscall-list-64bit-options)
46700         (syscall-list-64bit-condition): Define.
46701         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
46702         Remove.
46703         (syscall-list-variants, syscall-list-32bit-options)
46704         (syscall-list-32bit-condition, syscall-list-64bit-options)
46705         (syscall-list-64bit-condition): Define.
46707 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
46709         * locale/iso-639.def: Add brx entry.
46711         [BZ #13328]
46712         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
46713         Proposed by Mariusz_Cukr <marcukr@op.pl>.
46715         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
46716         __feraiseexcept_renamed.
46718 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46720         [BZ #13538]
46721         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
46722         EPOLLET with unsigned values.
46723         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46724         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
46726         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
46727         to large cancellation.
46728         * math/s_cacoshf.c: Likewise.
46729         * math/s_cacoshl.c: Likewise.
46731 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
46733         [BZ #13305]
46734         [BZ #12786]
46735         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
46736         * math/s_cacoshf.c: Likewise.
46737         * math/s_cacoshl.c: Likewise.
46739 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
46741         [BZ #13439]
46742         * iconv/gconv.h: Define __GCONV_SWAP.
46743         * iconvdata/unicode.c: The swap bit must be stored in __flags.
46744         * iconvdata/utf-16.c: Likewise.
46745         * iconvdata/utf-32.c: Likewise.
46747 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
46749         [BZ #13524]
46750         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
46751         numerator after shifting it by one limb.
46753 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
46755         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
46756         under [__USE_EXTERN_INLINES].
46758 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46760         [BZ #13446]
46761         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
46763 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46765         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
46766         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
46767         optimized code.
46768         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
46769         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
46770         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
46771         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
46772         for strncasecmp/strncasecmp_l compilation.
46773         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
46774         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
46776 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
46778         [BZ #13484]
46779         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
46780         of __asm__.
46782 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
46784         [BZ #13506]
46785         * time/tzfile.c (__tzfile_read): Check values from file header.
46787 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
46789         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
46790         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
46791         * powerpc/powerpc32/dl-start.S: Likewise.
46792         * powerpc/powerpc32/elf/start.S: Likewise.
46793         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
46794         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
46795         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
46796         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
46797         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
46798         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
46799         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
46800         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
46801         * powerpc/powerpc32/fpu/s_round.S: Likewise.
46802         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
46803         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
46804         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
46805         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
46806         * powerpc/powerpc32/memset.S: Likewise.
46807         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
46808         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
46809         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
46810         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
46811         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
46812         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
46813         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
46814         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
46815         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
46816         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
46817         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
46818         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
46819         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
46821 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46823         * math/libm-test.inc: Added more nearbyint tests.
46824         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
46825         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
46826         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
46827         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
46829 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
46831         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
46832         FD_CLOEXEC.
46834 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46836         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
46837         Add wcscpy-ssse3 wcscpy-c.
46838         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
46839         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
46840         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
46841         * sysdeps/x86_64/wcschr.S: New file.
46842         * sysdeps/x86_64/wcsrchr.S: New file.
46843         * string/test-strcmp.c: Remove checking of wcscmp function for
46844         wrong alignments.
46845         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
46846         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
46847         wcsrchr-sse2 wcsrchr-c.
46848         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
46849         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
46850         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
46851         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
46852         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
46853         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
46854         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
46855         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
46856         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
46857         * wcsmbc/wcschr.c (WCSCHR): New macro.
46859 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46861         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
46862         * wcsmbs/test-wcsrchr.c: New file.
46863         * string/test-strrchr.c: Add wcsrchr support.
46864         (WIDE): New macro.
46865         * wcsmbs/test-wcscpy.c: New file.
46866         * string/test-strcpy.c: Add wcscpy support.
46867         (WIDE): New macro.
46869 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
46871         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
46872         the inner loop.
46874 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
46876         [BZ #13472]
46877         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
46879 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
46881         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
46882         Minor optimizations.
46884         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
46885         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
46886         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
46888 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
46890         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
46891         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
46892         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
46893         for gcc to avoid warnings.
46894         * inet/Makefile (tests): Add tst-checks.
46895         * inet/tst-checks.c: New file.
46897         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
46898         warning.
46900         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
46901         __wmemcmp_sse2.
46903         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
46904         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
46906         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
46908 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
46910         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
46911         problem.
46913         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
46915 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
46917         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
46918         conditional on GCC version.
46919         (__arch_compare_and_exchange_val_8_acq)
46920         (__arch_compare_and_exchange_val_16_acq)
46921         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
46922         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
46923         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
46925 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
46927         * sysdeps/sh/backtrace.c: New file.
46929 2011-12-02  Andreas Schwab  <schwab@redhat.com>
46931         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
46932         parenthesis.
46934 2011-12-01  Andreas Schwab  <schwab@redhat.com>
46936         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
46937         falling back to utime.
46939 2011-11-30  Andreas Schwab  <schwab@redhat.com>
46941         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
46942         expectations for float.
46944 2011-11-29  Andreas Schwab  <schwab@redhat.com>
46946         * locale/weight.h (findidx): Add parameter len.
46947         * locale/weightwc.h (findidx): Likewise.
46948         * posix/fnmatch_loop.c (FCT): Adjust caller.
46949         * posix/regcomp.c (build_equiv_class): Likewise.
46950         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
46951         * posix/regexec.c (check_node_accept_bytes): Likewise.
46952         * string/strcoll_l.c (STRCOLL): Likewise.
46953         * string/strxfrm_l.c (STRXFRM): Likewise.
46955 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
46957         * Makefile.in: Remove CVSOPT handling.
46958         * configure.in: Remove use of AC_REVISION.
46959         * iconvdata/Makefile (distribute): No need to filter out CVS.
46960         * scripts/list-sources.sh: Remove CVS, subversion and monotone
46961         handling.
46963 2011-11-16  Andreas Schwab  <schwab@redhat.com>
46965         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
46966         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
46967         [USE_AS_STRNCASECMP_L]: Likewise.
46968         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
46969         NO_TLS_DIRECT_SEG_REFS.
46970         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
46971         Fix argument offsets for non-PIC.
46972         [USE_AS_STRNCASECMP_L]: Likewise.
46973         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
46974         NO_TLS_DIRECT_SEG_REFS.
46976 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46978         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
46979         O_CLOEXEC.
46980         * locale/loadlocale.c (_nl_load_locale): Likewise.
46982 2011-11-15  Andreas Schwab  <schwab@redhat.com>
46984         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
46985         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
46986         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
46987         (SYSCALL_GETTIME): Set errno on error.
46989         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
46990         count references to noai6ai_cached.
46992 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
46994         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
46996         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
46997         FD_CLOEXEC for /proc/self/maps.
46999         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
47000         FD_CLOEXEC for /proc/meminfo.
47002         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
47003         gai.conf.
47005         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
47006         FD_CLOEXEC for given file.
47008         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
47010         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
47011         FD_CLOEXEC for /etc/hosts.
47012         (_gethtent): Likewise.
47014         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
47016         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
47017         cancellation and set FD_CLOEXEC for /etc/netgroup.
47019         * nss/nss_files/files-key.c (search): Don't allow cancellation when
47020         reading /etc/publickey.
47022         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
47023         allow cancellation when reading /etc/group.
47025         * nss/nss_files/files-alias.c (internal_setent): Don't allow
47026         cancellation.
47027         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
47029         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
47030         when using data file.
47032         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
47034         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
47035         (write_nis_obj): Use "c" and "e" in fopen.
47037         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
47039         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
47041         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
47043         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
47045         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
47046         locale.alias.
47048         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
47050         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
47052         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
47054         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
47055         file parsing and set FD_CLOEXEC.
47057 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47059         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
47061 2011-11-14  Andreas Schwab  <schwab@redhat.com>
47063         * malloc/arena.c (arena_get2): Don't call reused_arena when
47064         _int_new_arena failed.
47066 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
47068         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
47069         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
47070         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
47071         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47072         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47073         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
47074         to compile strcasecmp and strncasecmp.
47075         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
47076         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
47078         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
47080 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
47082         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
47083         locale-defines.sym to gen-as-const-headers.
47084         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
47085         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
47086         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
47087         to compile strcasecmp and strncasecmp.
47088         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
47089         strcasecmp_l and strncasecmp_l.
47090         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
47091         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
47092         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
47093         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
47094         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
47095         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
47096         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
47097         * sysdeps/i386/i686/multiarch/strncase.S: New file.
47098         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
47099         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
47100         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
47102 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
47104         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
47105         result of SYSDEP_GETTIME_CPU to retval.
47106         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
47107         parameter list to macro.  Remove trailing semicolon.  Adjust users.
47109         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
47110         variable.
47112         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
47113         mantissa words.
47114         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
47116         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
47117         from unused variable.
47119         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
47120         DWARF definitions.
47121         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
47122         for assembling.
47124         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
47125         over namespaces.
47127         * sunrpc/rpc_prot.c (rejected): Fix case value.
47129         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
47130         unsigned long long int to avoid warnings in shift.
47132         * posix/regex_internal.c (re_string_reconstruct): Actually use result
47133         of use of trans.
47134         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
47135         variable tmp.
47137         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
47138         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
47139         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
47141         * nis/nis_table.c (nis_list): Use variable of correct type for
47142         result of __follow_path call.
47144 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47146         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
47147         of math functions ceil, trunc, floor, round, and sqrt, when
47148         avaliable on the platform.
47149         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
47150         name clash.
47151         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
47152         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
47153         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
47155 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
47157         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
47158         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
47160 2011-11-11  Roland McGrath  <roland@hack.frob.com>
47162         * include/unistd.h: Fix __readlink return type.
47163         Reported by Chris Metcalf <cmetcalf@tilera.com>.
47165 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
47167         * stdlib/ucontext.h: Undo last change for makecontext.
47169 2011-11-11  Andreas Schwab  <schwab@redhat.com>
47171         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
47173         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
47174         * setjmp/setjmp.h: Mark functions as non-leaf.
47175         * setjmp/bits/setjmp2.h: Likewise.
47176         * stdlib/ucontext.h: Likewise.
47178 2011-11-10  Andreas Schwab  <schwab@redhat.com>
47180         * malloc/arena.c (_int_new_arena): Don't increment narenas.
47181         (reused_arena): Don't check arena limit.
47182         (arena_get2): Atomically check arena limit.
47184 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
47186         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
47187         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
47189         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
47190         instructions.
47192 2011-11-07  Andreas Schwab  <schwab@redhat.com>
47194         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
47195         handler when locking.
47197         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
47198         Fix size of allocated buffer.
47200 2011-11-04  Andreas Schwab  <schwab@redhat.com>
47202         [BZ #10103]
47203         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
47204         declarations for long double functions.
47205         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
47207         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
47209 2011-11-03  Andreas Schwab  <schwab@redhat.com>
47211         * nscd/nscd.c (main): Don't start AVC thread until credentials are
47212         installed.
47214         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
47215         is disabled.
47217 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47219         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
47221 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
47223         * include/alloca.h (stackinfo_alloca_round): Define.
47224         (extend_alloca): Use it.
47225         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
47226         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
47227         here.
47229         * scripts/check-local-headers.sh: Ignore libaudit.h.
47231         * nscd/Makefile (extra-objs): Make recursively expanded.
47233 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
47235         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
47236         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47238         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
47239         * posix/tst-rfc3484-2.c: Likewise.
47240         * posix/tst-rfc3484-3.c: Likewise.
47242         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47243         process_vm_writev.
47244         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
47245         process_vm_writev.
47246         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
47247         process_vm_writev from libc using GLIBC_2.15 version.
47249         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
47251 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
47253         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
47254         stack usage.
47256 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
47258         [BZ #13367]
47259         * nss/getent.c (initgroups_keys): Show error message in case no group
47260         names are given.
47262         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
47263         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
47264         __bump_nl_timestamp.
47265         * nscd/connections (nscd_init): When host database is served open
47266         netlink socket and request notification about configuration changes.
47267         (main_loop_poll): Track netlink file descriptor and bump timestamp
47268         in case data becomes available.
47269         (main_loop_epoll): Likewise.
47270         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
47271         (database_pers_head): Add extra_data fileds.
47272         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
47273         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
47274         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
47275         Adjust caller.
47276         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
47277         in6ai data, call __free_in6ai.
47278         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
47279         Add -DHAVE_NETLINK.
47280         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
47281         interface information.  Reuse previous data if netlink timestamp
47282         is not changed.
47283         (__bump_nl_timestamp): New function.
47284         (__free_in6ai): New function.
47286 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
47288         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
47289         close_not_cancel_no_status here.
47290         (__check_pf): Reorganize code a bit to not call close twice if OOM.
47292 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47294         [BZ #13276]
47295         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
47296         return value.
47298         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
47299         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
47300         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
47302 2011-07-03  Andreas Jaeger  <aj@suse.de>
47304         [BZ #10709]
47305         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
47306         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
47307         * math/libm-test.inc (sin_test): Add test case.
47309 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
47311         [BZ #13337]
47312         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
47313         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47315         * elf/chroot_canon.c (chroot_canon): Cleanups.
47317         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
47319         [BZ #13335]
47320         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
47321         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
47323         * string/test-strchr.c: Make usable for strchrnul testing.
47324         * string/test-strchrnul.c: New file.
47325         * string/Makefile (strop-tests): Add strchrnul.
47327         * po/it.po: Update from translation team.
47328         * po/es.po: Likewise.
47330 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
47332         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
47333         the three constants needed as parameters.  Drop the others.
47334         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
47335         __m128i_strloadu_tolower.
47336         Create and initialize variable zero and use it in all the places
47337         where _mm_setzero_si128 was used.
47339         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
47340         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
47341         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
47342         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
47343         anymore.
47344         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
47345         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
47346         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
47347         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
47348         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
47349         __mpranred, __mptan.
47350         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
47351         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
47352         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
47353         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
47354         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
47355         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
47356         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
47357         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
47358         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
47360 2011-10-28  Andreas Schwab  <schwab@redhat.com>
47362         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
47363         redefine if SHARED.
47364         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
47366         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
47367         wide char related routines to wcsmbs subdir.
47369 2011-10-27  Andreas Schwab  <schwab@redhat.com>
47371         [BZ #13344]
47372         * misc/sys/cdefs.h (__THROWNL): Define.
47373         * posix/unistd.h: Use __THREADNL instead of __THREAD
47374         for memory synchronization functions.
47376 2011-10-26  Roland McGrath  <roland@hack.frob.com>
47378         [BZ #13349]
47379         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
47380         doesn't exist.
47381         * manual/stdio.texi (Obstack Streams): Node removed.
47383 2011-10-26  Andreas Schwab  <schwab@redhat.com>
47385         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
47386         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47387         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47389         * math/math_private.h (math_force_eval): Allow non-addressable
47390         arguments.
47391         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
47393 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47395         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
47396         file is not needed.
47398         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
47399         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
47400         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47401         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47402         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47403         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47404         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47405         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
47406         Add AVX variants.
47407         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
47408         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
47409         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
47410         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
47411         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
47412         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
47413         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
47414         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
47415         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
47416         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
47417         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
47418         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
47419         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
47420         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
47421         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
47422         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
47423         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
47424         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
47425         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
47427         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
47428         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
47430         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
47431         place.  Use VEX encoding when compiling for AVX.
47433 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47435         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
47436         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
47438         * string/test-strchr.c (do_test): Don't generate NUL bytes.
47440 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47442         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
47443         useless if() expression.
47444         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47445         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47446         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47447         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47448         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47449         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47450         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47451         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47452         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47453         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47454         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47455         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47456         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47457         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47458         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47459         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47460         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47461         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47462         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47464         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
47466 2011-10-25  Andreas Schwab  <schwab@redhat.com>
47468         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
47469         condition.
47470         * elf/dl-fini.c (_dl_sort_fini): Likewise.
47472 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
47474         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
47475         .text section.  Avoid duplicate constants.
47476         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47477         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47478         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47479         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47480         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47481         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47482         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47483         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47484         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47485         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
47486         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47487         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
47488         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
47489         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
47490         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
47491         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
47492         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
47493         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47494         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47495         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47496         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47497         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47498         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47499         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
47500         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
47501         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
47502         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
47503         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
47504         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
47505         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
47506         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
47507         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
47508         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
47509         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
47510         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
47511         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
47512         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
47513         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
47514         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
47515         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
47516         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
47517         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
47518         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
47519         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
47520         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
47522 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
47524         * sysdeps/x86_64/dla.h: Move to ...
47525         * sysdeps/x86_64/fpu/dla.h: ...here.
47526         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
47527         situations.  Use __builtin_fma only for gcc 4.6 and up.
47529         * config.make.in: Add have-mfma4 entry.
47530         * configure.in: Substitute libc_cv_cc_fma4.
47531         * math/Makefile (dbl-only-routines): Add sincostab.
47532         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
47533         Use __sincostab not sincos.
47534         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
47535         name is a macro.
47536         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47537         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47538         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47539         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
47540         using __copysign.
47541         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
47542         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
47543         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
47544         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
47545         and __inv.
47546         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
47547         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
47548         __copysign.
47549         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
47550         define aliases when function name is a macro.
47551         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
47552         sysdeps/ieee754/dbl-64/sincos.tbl.
47553         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
47554         fma4-enabled routines.
47555         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
47556         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
47557         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
47558         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
47559         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
47560         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
47561         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
47562         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
47563         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
47564         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
47565         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
47566         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
47567         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
47568         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
47569         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
47570         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
47571         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
47572         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
47573         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
47574         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
47575         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
47576         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
47577         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
47578         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
47579         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
47580         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
47581         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
47582         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
47583         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
47584         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
47586         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
47587         rename.
47588         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47589         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47590         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47591         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47592         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47593         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47594         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47595         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47597 2011-10-24  Andreas Schwab  <schwab@redhat.com>
47599         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
47601 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47603         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
47605         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
47606         prediction.
47607         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
47609         * string/strnlen.c: Don't define STRNLEN, reverse logic.
47610         Remove unused variable magic_bits.
47611         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
47613         * string/strnlen.c: Define and use STRNLEN macro.
47614         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
47615         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
47616         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
47617         * wcsmbs/wcslen.c: Define and use WCSLEN.
47618         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
47619         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
47620         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
47621         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
47622         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
47623         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
47624         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
47626 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47628         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
47629         strnlen-sse2-no-bsf.
47630         Rename strlen-no-bsf to strlen-sse2-no-bsf.
47631         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
47632         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
47633         Add strnlen support.
47634         (USE_AS_STRNLEN): New macro.
47635         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
47636         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
47637         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
47638         * sysdeps/x86_64/wcslen.S: New file.
47640 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
47642         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47643         XMM-moves are used for copying on small sizes.
47645 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47647         * wcsmbs/Makefile (strop-tests): Add wcschr.
47648         * wcsmbs/test-wcschr.c: New file.
47649         * string/test-strchr.c: Update.
47650         Add wcschr support.
47651         (WIDE): New macro.
47653 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47655         * wcsmbs/Makefile (strop-tests): Add wcslen.
47656         * wcsmbs/test-wcslen.c: New file.
47657         * string/test-strlen.c: Update.
47658         Add wcslen support.
47659         (WIDE): New macro.
47661 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47663         * po/it.po: Update from translation team.
47665 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47667         * sysdeps/x86_64/wcscmp.S: Update.
47668         Fix wrong comparison semantics.
47669         wcscmp shall use signed comparison not unsigned.
47670         Don't use substraction to avoid overflow bug.
47671         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
47672         * wcsmbc/wcscmp.c: Likewise.
47673         * string/test-strcmp.c: Likewise.
47674         Add new tests to check cases with negative values.
47676 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
47678         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
47679         * sysdeps/x86_64/dla.h: ...here.  New file.
47680         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
47681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47682         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47683         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47684         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47685         * sysdeps/ieee754/dbl-64/e_sqrt.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-23  Andreas Schwab  <schwab@linux-m68k.org>
47692         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
47693         __ynl_finite aliases.
47695 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47699         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
47700         define DLA_FMA.
47701         [DLA_FMA] (EMULV): Use DLA_FMA.
47702         [DLA_FMA] (MUL12): Use EMULV.
47703         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
47704         that are not needed.
47705         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47706         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47707         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47708         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47709         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47710         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47711         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47713 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
47715         * math/s_nan.c: Undef __nan.
47716         * math/s_nanf.c: Undef __nanf.
47717         * math/s_nanl.c: Undef __nanl.
47718         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
47719         "math_private.h".
47721 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
47723         * math/s_catan.c: Add branch predictions.
47724         * math/s_catanf.c: Likewise.
47725         * math/s_catanh.c: Likewise.
47726         * math/s_catanhf.c: Likewise.
47727         * math/s_catanhl.c: Likewise.
47728         * math/s_catanl.c: Likewise.
47729         * math/s_cexp.c: Likewise.
47730         * math/s_cexpf.c: Likewise.
47731         * math/s_cexpl.c: Likewise.
47732         * math/s_clog.c: Likewise.
47733         * math/s_clog10.c: Likewise.
47734         * math/s_clog10f.c: Likewise.
47735         * math/s_clog10l.c: Likewise.
47736         * math/s_clogf.c: Likewise.
47737         * math/s_clogl.c: Likewise.
47738         * math/s_csqrt.c: Likewise.
47739         * math/s_csqrtf.c: Likewise.
47740         * math/s_csqrtl.c: Likewise.
47741         * math/s_ctanf.c: Likewise.
47742         * math/s_ctanh.c: Likewise.
47743         * math/s_ctanhf.c: Likewise.
47744         * math/s_ctanhl.c: Likewise.
47745         * math/s_ctanl.c: Likewise.
47747         * math/math_private.h: Define __nan, __nanf, __nanl.
47748         * math/s_cacosh.c: Include <math_private.h>.
47749         * math/s_cacoshl.c: Likewise.
47750         * math/s_casinh.c: Likewise.
47751         * math/s_casinhf.c: Likewise.
47752         * math/s_casinhl.c: Likewise.
47753         * math/s_ccos.c: Rely entire on ccosh.
47754         * math/s_ccosf.c: Rely entire on ccoshf.
47755         * math/s_ccosl.c: Rely entirely on ccoshl.
47756         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
47757         Remove tests for FE_INVALID.
47758         * math/s_ccoshf.c: Likewise.
47759         * math/s_ccoshl.c: Likewise.
47760         * math/s_csin.c: Likewise.
47761         * math/s_csinf.c: Likewise.
47762         * math/s_csinh.c Likewise.
47763         * math/s_csinhf.c: Likewise.
47764         * math/s_csinhl.c: Likewise.
47765         * math/s_csinl.c: Likewise.
47766         * math/s_ctan.c: Likewise.
47767         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
47768         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
47769         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
47771 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
47773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
47774         compilation problems.
47776         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
47777         __builtin_expect.
47779 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
47781         * sysdeps/i386/configure.in: Test for -mfma4 option.
47782         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
47783         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
47784         COMMON_CPUID_INDEX_80000001.
47785         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
47786         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
47787         use it if FMA3 is not supported.
47788         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
47790         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
47791         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
47793 2011-10-20  Andreas Schwab  <schwab@redhat.com>
47795         [BZ #12892]
47796         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
47797         it would create a cycle with a link time dependency.
47799 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
47801         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
47802         instruction.
47803         * string/Makefile (strop-tests): Add rawmemchr.
47804         * string/test-rawmemchr.c: New file.
47806         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
47807         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
47808         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
47809         when compiling str{,n}casecmp and when AVX is available.  Hook up
47810         new optimized code in initializers.
47812 2011-10-19  Andreas Schwab  <schwab@redhat.com>
47814         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
47815         __feraiseexcept instead of feraiseexcept.
47817 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
47819         * math/math_private.h: Define defaults for libc_fetestexcept and
47820         libc_feupdateenv.
47821         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
47822         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
47823         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
47824         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47825         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47826         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47827         libc_fetestexcept and libc_feupdateenv.
47829         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
47830         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
47831         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
47832         * sysdeps/x86_64/fpu/math_private.h: Define special version of
47833         libc_feholdexcept_setround.
47835         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
47836         Add s_nearbyint-c and s_nearbyintf-c.
47837         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
47838         nearbyintf inlines.
47839         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
47840         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
47841         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
47842         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
47844         * math/math_private.h: Define defaults for libc_fegetround,
47845         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
47846         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
47847         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
47848         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
47849         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
47850         standard functions.
47851         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47852         Remove comments and hacks for old compiler versions.
47853         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
47854         libc_fegetround, libc_fesetround, libc_feholdexcept, and
47855         libc_feholdexceptl.
47857 2011-10-18  Andreas Schwab  <schwab@redhat.com>
47859         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
47860         (__feraiseexcept_renamed): Add __NTH.
47861         (feraiseexcept): Add __NTH.  Rename local variables to fix
47862         namespace violations.
47864 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
47866         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
47868         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
47870         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
47871         recently added interfaces.
47872         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
47874         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
47875         about macro parameter expansion.
47877         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
47878         __NO_MATH_INLINES is defined.  Cleanups.
47880         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
47881         and __floorf is target has SSE4.1.
47882         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
47883         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
47884         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
47885         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
47887         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
47888         name.
47889         (floorf): Likewise.
47891         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
47893 2011-10-17  Andreas Schwab  <schwab@redhat.com>
47895         * misc/sys/cdefs.h: Fix last change.
47897         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
47898         database lookup.
47900 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
47902         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
47904         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
47905         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47906         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47907         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47908         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47909         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47910         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47911         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47912         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47913         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
47914         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
47915         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
47916         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
47917         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
47918         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
47919         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
47920         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
47921         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
47922         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
47923         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
47924         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
47925         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
47927         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
47928         ceil, ceilf, floor, floorf.
47930         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
47931         Perform IRELATIVE relocations last.
47933         * elf/do-rel.h: Add another parameter nrelative, replacing the
47934         local variable with the same name.  Change name of the function
47935         to end in Rel or Rela (uppercase).
47936         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
47937         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
47938         elf_dynamic_do_##reloc function.
47940 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
47942         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
47943         is sufficient, at least on modern CPUs.
47945         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
47947         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
47948         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
47950         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
47951         __expl_finite.
47952         * math/bits/math-finite.h: Add entries for exp.
47953         * math/e_expl.c: Add __*_finite alias.
47954         * sysdeps/i386/fpu/e_exp.S: Likewise.
47955         * sysdeps/i386/fpu/e_expf.S: Likewise.
47956         * sysdeps/i386/fpu/e_expl.c: Likewise.
47957         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47958         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
47959         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47960         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47961         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
47962         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
47963         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
47965         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
47966         is sufficient, at least on modern CPUs.
47968         * ctype/ctype-info.c (__ctype_init): Define.
47969         * include/ctype.h (__ctype_init): Declare.
47970         (__ctype_b_loc): The variable is always initialized.
47971         (__ctype_toupper_loc): Likewise.
47972         (__ctype_tolower_loc): Likewise.
47973         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
47974         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
47976 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
47978         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
47980         * configure.in: Also look in $cxxmachine/include for C++ system
47981         headers.
47983 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
47985         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
47986         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
47987         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
47988         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
47989         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
47990         (USE_AS_WMEMCMP): New macro.
47991         Fixing indents.
47992         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
47993         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
47994         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
47995         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
47996         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
47997         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
47998         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
47999         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
48000         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
48001         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
48002         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
48003         (USE_AS_WMEMCMP): New macro.
48004         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
48005         * sysdeps/string/test-memcmp.c: Update.
48006         Fix simple_wmemcmp.
48007         Add new tests.
48008         * wcsmbs/wmemcmp.c: Update.
48009         (WMEMCMP): New macro.
48010         Fix overflow bug.
48012 2011-10-12  Andreas Jaeger  <aj@suse.de>
48014         [BZ #13268]
48015         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
48017 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
48019         * libio/iofwide.c (do_length): Avoid warning.
48021         * ctype/ctype.h (__isctype_f): Add missing __THROW.
48023 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
48025         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
48027         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
48028         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
48029         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
48030         * sysdeps/i386/i686/fpu/e_log.S: New file.
48031         * sysdeps/i386/i686/fpu/e_logf.S: New file.
48032         * sysdeps/i386/i686/fpu/e_logl.S: New file.
48034         * ctype/ctype.h: Add support for inlined isXXX functions when
48035         compiling C++ code.
48037 2011-10-14  Andreas Schwab  <schwab@redhat.com>
48039         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48041         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
48043 2011-10-13  Roland McGrath  <roland@hack.frob.com>
48045         [BZ #13291]
48046         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
48048 2011-10-13  Andreas Schwab  <schwab@redhat.com>
48050         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
48051         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
48052         feraiseexcept.
48054         * sysdeps/x86_64/memrchr.S: Check for zero size.
48056         * string/stratcliff.c: Add memrchr tests.
48058 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48060         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
48061         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
48062         rawmemchr-sse2 rawmemchr-sse2-bsf.
48063         * sysdeps/i386/i686/multiarch/memchr.S: New file.
48064         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
48065         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
48066         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
48067         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
48068         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
48069         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
48070         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
48071         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
48072         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
48073         * string/memrchr.c (MEMRCHR): New macro.
48075 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
48077         Add integration with gcc's -ffinite-math-only and optimize wrapper
48078         functions in libm.
48079         * Versions.def: Define GLIBC_2.15 version for libm.
48080         * math/Makefile (headers): Add bits/math-finite.h.
48081         * math/bits/math-finite.h: New file.
48082         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
48083         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
48084         * math/e_acoshl.c: Add __*_finite alias.
48085         * math/e_acosl.c: Likewise.
48086         * math/e_asinl.c: Likewise.
48087         * math/e_atan2l.c: Likewise.
48088         * math/e_atanhl.c: Likewise.
48089         * math/e_coshl.c: Likewise.
48090         * math/e_exp10.c: Likewise.
48091         * math/e_exp10f.c: Likewise.
48092         * math/e_exp10l.c: Likewise.
48093         * math/e_exp2l.c: Likewise.
48094         * math/e_fmodl.c: Likewise.
48095         * math/e_gammal_r.c: Likewise.
48096         * math/e_hypotl.c: Likewise.
48097         * math/e_j0l.c: Likewise.
48098         * math/e_j1l.c: Likewise.
48099         * math/e_jnl.c: Likewise.
48100         * math/e_lgammal_r.c: Likewise.
48101         * math/e_log10l.c: Likewise.
48102         * math/e_log2l.c: Likewise.
48103         * math/e_logl.c: Likewise.
48104         * math/e_powl.c: Likewise.
48105         * math/e_sinhl.c: Likewise.
48106         * math/e_sqrtl.c: Likewise.
48107         * math/e_scalb.c: Completely rewritten and optimized.
48108         * math/e_scalbf.c: Likewise.
48109         * math/e_scalbl.c: Likewise.
48110         * math/w_acos.c: Likewise.
48111         * math/w_acosf.c: Likewise.
48112         * math/w_acosl.c: Likewise.
48113         * math/w_acosh.c: Likewise.
48114         * math/w_acoshf.c: Likewise.
48115         * math/w_acoshl.c: Likewise.
48116         * math/w_asin.c: Likewise.
48117         * math/w_asinf.c: Likewise.
48118         * math/w_asinl.c: Likewise.
48119         * math/w_atan2.c: Likewise.
48120         * math/w_atan2f.c: Likewise.
48121         * math/w_atan2l.c: Likewise.
48122         * math/w_atanh.c: Likewise.
48123         * math/w_atanhf.c: Likewise.
48124         * math/w_atanhl.c: Likewise.
48125         * math/w_exp10.c: Likewise.
48126         * math/w_exp10f.c: Likewise.
48127         * math/w_exp10l.c: Likewise.
48128         * math/w_fmod.c: Likewise.
48129         * math/w_fmodf.c: Likewise.
48130         * math/w_fmodl.c: Likewise.
48131         * math/w_j0.c: Likewise.
48132         * math/w_j0f.c: Likewise.
48133         * math/w_j0l.c: Likewise.
48134         * math/w_j1.c: Likewise.
48135         * math/w_j1f.c: Likewise.
48136         * math/w_j1l.c: Likewise.
48137         * math/w_jn.c: Likewise.
48138         * math/w_jnf.c: Likewise.
48139         * math/w_log.c: Likewise.
48140         * math/w_logf.c: Likewise.
48141         * math/w_logl.c: Likewise.
48142         * math/w_log10.c: Likewise.
48143         * math/w_log10f.c: Likewise.
48144         * math/w_log10l.c: Likewise.
48145         * math/w_log2.c: Likewise.
48146         * math/w_log2f.c: Likewise.
48147         * math/w_log2l.c: Likewise.
48148         * math/w_pow.c: Likewise.
48149         * math/w_powf.c: Likewise.
48150         * math/w_powl.c: Likewise.
48151         * math/w_remainder.c: Likewise.
48152         * math/w_remainderf.c: Likewise.
48153         * math/w_remainderl.c: Likewise.
48154         * math/w_scalb.c: Likewise.
48155         * math/w_scalbf.c: Likewise.
48156         * math/w_scalbl.c: Likewise.
48157         * math/w_sqrt.c: Likewise.
48158         * math/w_sqrtf.c: Likewise.
48159         * math/w_sqrtl.c: Likewise.
48160         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
48161         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
48162         used.
48163         * math/math_private.h: Declare __kernel_standard_f.
48164         * math/w_cosh.c: Remove cruft and optimize a bit.
48165         * math/w_coshf.c: Likewise.
48166         * math/w_coshl.c: Likewise.
48167         * math/w_exp2.c: Likewise.
48168         * math/w_exp2f.c: Likewise.
48169         * math/w_exp2l.c: Likewise.
48170         * math/w_hypot.c: Likewise.
48171         * math/w_hypotf.c: Likewise.
48172         * math/w_hypotl.c: Likewise.
48173         * math/w_lgamma.c: Likewise.
48174         * math/w_lgamma_r.c: Likewise.
48175         * math/w_lgammaf.c: Likewise.
48176         * math/w_lgammaf_r.c: Likewise.
48177         * math/w_lgammal.c: Likewise.
48178         * math/w_lgammal_r.c: Likewise.
48179         * math/w_sinh.c: Likewise.
48180         * math/w_sinhf.c: Likewise.
48181         * math/w_sinhl.c: Likewise.
48182         * math/w_tgamma.c: Likewise.
48183         * math/w_tgammaf.c: Likewise.
48184         * math/w_tgammal.c: Likewise.
48185         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48186         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48187         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
48188         Minor optimizations.  Pretty printing.  Remove cruft.
48189         * sysdeps/i386/fpu/e_acosf.S: Likewise.
48190         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48191         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48192         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48193         * sysdeps/i386/fpu/e_acosl.c: Likewise.
48194         * sysdeps/i386/fpu/e_asin.S: Likewise.
48195         * sysdeps/i386/fpu/e_asinf.S: Likewise.
48196         * sysdeps/i386/fpu/e_atan2.S: Likewise.
48197         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
48198         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
48199         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48200         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48201         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48202         * sysdeps/i386/fpu/e_exp10.S: Likewise.
48203         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
48204         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
48205         * sysdeps/i386/fpu/e_exp2.S: Likewise.
48206         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
48207         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
48208         * sysdeps/i386/fpu/e_fmod.S: Likewise.
48209         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
48210         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
48211         * sysdeps/i386/fpu/e_hypot.S: Likewise.
48212         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
48213         * sysdeps/i386/fpu/e_log.S: Likewise.
48214         * sysdeps/i386/fpu/e_log10.S: Likewise.
48215         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48216         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48217         * sysdeps/i386/fpu/e_log2.S: Likewise.
48218         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48219         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48220         * sysdeps/i386/fpu/e_logf.S: Likewise.
48221         * sysdeps/i386/fpu/e_logl.S: Likewise.
48222         * sysdeps/i386/fpu/e_pow.S: Likewise.
48223         * sysdeps/i386/fpu/e_powf.S: Likewise.
48224         * sysdeps/i386/fpu/e_powl.S: Likewise.
48225         * sysdeps/i386/fpu/e_remainder.S: Likewise.
48226         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
48227         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
48228         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48229         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48230         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48231         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
48232         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
48233         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
48234         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48235         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48236         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48237         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48238         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
48239         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48240         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
48241         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48242         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48243         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48244         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48245         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48246         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48247         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48248         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48249         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48250         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48251         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48252         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48253         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48254         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48255         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48256         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48257         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48258         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48259         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48260         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
48261         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48262         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
48263         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48264         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48265         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48266         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48267         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48268         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48269         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48270         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48271         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48272         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48273         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48274         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48275         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48276         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48277         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48278         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48279         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48280         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48281         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48282         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48283         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
48284         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48285         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48286         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48287         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48288         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48289         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48290         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48291         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48292         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48293         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48294         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48295         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
48296         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48297         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48298         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
48299         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
48300         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
48301         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
48302         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
48303         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
48304         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
48305         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
48306         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
48307         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
48308         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
48309         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48310         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
48311         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
48312         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
48313         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
48314         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48315         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
48316         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
48317         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
48318         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48319         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
48320         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
48321         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
48322         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
48323         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
48324         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
48325         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
48326         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
48327         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
48328         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48329         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48330         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48331         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
48332         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
48333         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
48334         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
48335         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
48336         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
48337         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
48338         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48339         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48340         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48341         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48342         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
48343         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48344         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
48345         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
48346         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
48347         (__isnanf): Likewise.
48348         (__isinf_ns): Likewise.
48349         (__isinf_nsf): Likewise.
48350         (__finite): Likewise.
48351         (__finitef): Likewise.
48352         (__ieee754_sqrt): Define as macro.
48353         (__ieee754_sqrtf): Define as macro.
48354         (__ieee754_sqrtl): Define as macro.
48355         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
48356         inlined copy.
48357         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
48358         __FINITE_MATH_ONLY__ consistent.
48359         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
48361 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
48363         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
48364         of rawmemchr.
48366         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
48368 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
48370         * po/ja.po: Update from translation team.
48372 2011-10-08  Roland McGrath  <roland@hack.frob.com>
48374         * locale/programs/locarchive.c (prepare_address_space): New function.
48375         (create_archive, enlarge_archive, open_archive): Use it.
48377         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
48378         inside [SHARED], where it is used.
48380         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
48382         * nss/getent.c (netgroup_keys): Remove unused variable.
48383         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48385 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
48387         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
48388         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
48389         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
48390         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
48391         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
48392         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
48393         * math/Makefile (libm-calls): Add s_isinf_ns.
48394         * math/divtc3.c: Use __isinf_nsl instead of isinf.
48395         * math/multc3.c: Likewise.
48396         * math/s_casin.c: Likewise.
48397         * math/s_casinf.c: Likewise.
48398         * math/s_casinl.c: Likewise.
48399         * math/s_ccos.c: Likewise.
48400         * math/s_ccosf.c: Likewise.
48401         * math/s_ccosl.c: Likewise.
48402         * math/s_ctan.c: Likewise.
48403         * math/s_ctanf.c: Likewise.
48404         * math/s_ctanh.c: Likewise.
48405         * math/s_ctanhf.c: Likewise.
48406         * math/s_ctanhl.c: Likewise.
48407         * math/s_ctanl.c: Likewise.
48408         * math/w_fmod.c: Likewise.
48409         * math/w_fmodf.c: Likewise.
48410         * math/w_fmodl.c: Likewise.
48411         * math/w_remainder.c: Likewise.
48412         * math/w_remainderf.c: Likewise.
48413         * math/w_remainderl.c: Likewise.
48414         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
48415         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
48416         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
48417         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
48418         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
48419         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
48420         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
48421         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
48423         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
48424         of the number.
48425         * stdio-common/printf_fphex.c: Likewise.
48426         * stdio-common/printf_size.c: Likewise.
48428         * math/e_exp10.c: Include math_private.h using <...> not "...".
48429         * math/e_exp10f.c: Likewise.
48430         * math/e_exp10l.c: Likewise.
48431         * math/e_exp2l.c: Likewise.
48432         * math/e_j0l.c: Likewise.
48433         * math/e_j1l.c: Likewise.
48434         * math/e_jnl.c: Likewise.
48435         * math/e_lgammal_r.c: Likewise.
48436         * math/e_rem_pio2l.c: Likewise.
48437         * math/e_scalb.c: Likewise.
48438         * math/e_scalbf.c: Likewise.
48439         * math/e_scalbl.c: Likewise.
48440         * math/k_cosl.c: Likewise.
48441         * math/k_sinl.c: Likewise.
48442         * math/k_tanl.c: Likewise.
48443         * math/s_cacoshf.c: Likewise.
48444         * math/s_catan.c: Likewise.
48445         * math/s_catanf.c: Likewise.
48446         * math/s_catanh.c: Likewise.
48447         * math/s_catanhf.c: Likewise.
48448         * math/s_catanhl.c: Likewise.
48449         * math/s_catanl.c: Likewise.
48450         * math/s_ccosh.c: Likewise.
48451         * math/s_ccoshf.c: Likewise.
48452         * math/s_ccoshl.c: Likewise.
48453         * math/s_cexp.c: Likewise.
48454         * math/s_cexpf.c: Likewise.
48455         * math/s_cexpl.c: Likewise.
48456         * math/s_clog.c: Likewise.
48457         * math/s_clog10.c: Likewise.
48458         * math/s_clog10f.c: Likewise.
48459         * math/s_clog10l.c: Likewise.
48460         * math/s_clogf.c: Likewise.
48461         * math/s_clogl.c: Likewise.
48462         * math/s_csin.c: Likewise.
48463         * math/s_csinf.c: Likewise.
48464         * math/s_csinh.c: Likewise.
48465         * math/s_csinhf.c: Likewise.
48466         * math/s_csinhl.c: Likewise.
48467         * math/s_csinl.c: Likewise.
48468         * math/s_csqrt.c: Likewise.
48469         * math/s_csqrtf.c: Likewise.
48470         * math/s_csqrtl.c: Likewise.
48471         * math/s_ctan.c: Likewise.
48472         * math/s_ctanf.c: Likewise.
48473         * math/s_ctanh.c: Likewise.
48474         * math/s_ctanhf.c: Likewise.
48475         * math/s_ctanhl.c: Likewise.
48476         * math/s_ctanl.c: Likewise.
48477         * math/s_ldexp.c: Likewise.
48478         * math/s_ldexpf.c: Likewise.
48479         * math/s_ldexpl.c: Likewise.
48480         * math/s_significand.c: Likewise.
48481         * math/s_significandf.c: Likewise.
48482         * math/s_significandl.c: Likewise.
48483         * math/w_acos.c: Likewise.
48484         * math/w_acosf.c: Likewise.
48485         * math/w_acosh.c: Likewise.
48486         * math/w_acoshf.c: Likewise.
48487         * math/w_acoshl.c: Likewise.
48488         * math/w_acosl.c: Likewise.
48489         * math/w_asin.c: Likewise.
48490         * math/w_asinf.c: Likewise.
48491         * math/w_asinl.c: Likewise.
48492         * math/w_atan2.c: Likewise.
48493         * math/w_atan2f.c: Likewise.
48494         * math/w_atan2l.c: Likewise.
48495         * math/w_atanh.c: Likewise.
48496         * math/w_atanhf.c: Likewise.
48497         * math/w_atanhl.c: Likewise.
48498         * math/w_cosh.c: Likewise.
48499         * math/w_coshf.c: Likewise.
48500         * math/w_coshl.c: Likewise.
48501         * math/w_dremf.c: Likewise.
48502         * math/w_exp10.c: Likewise.
48503         * math/w_exp10f.c: Likewise.
48504         * math/w_exp10l.c: Likewise.
48505         * math/w_exp2.c: Likewise.
48506         * math/w_exp2f.c: Likewise.
48507         * math/w_fmod.c: Likewise.
48508         * math/w_fmodf.c: Likewise.
48509         * math/w_fmodl.c: Likewise.
48510         * math/w_hypot.c: Likewise.
48511         * math/w_hypotf.c: Likewise.
48512         * math/w_hypotl.c: Likewise.
48513         * math/w_j0.c: Likewise.
48514         * math/w_j0f.c: Likewise.
48515         * math/w_j0l.c: Likewise.
48516         * math/w_j1.c: Likewise.
48517         * math/w_j1f.c: Likewise.
48518         * math/w_j1l.c: Likewise.
48519         * math/w_jn.c: Likewise.
48520         * math/w_jnf.c: Likewise.
48521         * math/w_jnl.c: Likewise.
48522         * math/w_lgamma.c: Likewise.
48523         * math/w_lgamma_r.c: Likewise.
48524         * math/w_lgammaf.c: Likewise.
48525         * math/w_lgammaf_r.c: Likewise.
48526         * math/w_lgammal.c: Likewise.
48527         * math/w_lgammal_r.c: Likewise.
48528         * math/w_log.c: Likewise.
48529         * math/w_log10.c: Likewise.
48530         * math/w_log10f.c: Likewise.
48531         * math/w_log10l.c: Likewise.
48532         * math/w_log2.c: Likewise.
48533         * math/w_log2f.c: Likewise.
48534         * math/w_log2l.c: Likewise.
48535         * math/w_logf.c: Likewise.
48536         * math/w_logl.c: Likewise.
48537         * math/w_pow.c: Likewise.
48538         * math/w_powf.c: Likewise.
48539         * math/w_powl.c: Likewise.
48540         * math/w_remainder.c: Likewise.
48541         * math/w_remainderf.c: Likewise.
48542         * math/w_remainderl.c: Likewise.
48543         * math/w_scalb.c: Likewise.
48544         * math/w_scalbf.c: Likewise.
48545         * math/w_scalbl.c: Likewise.
48546         * math/w_sinh.c: Likewise.
48547         * math/w_sinhf.c: Likewise.
48548         * math/w_sinhl.c: Likewise.
48549         * math/w_sqrt.c: Likewise.
48550         * math/w_sqrtf.c: Likewise.
48551         * math/w_sqrtl.c: Likewise.
48552         * math/w_tgamma.c: Likewise.
48553         * math/w_tgammaf.c: Likewise.
48554         * math/w_tgammal.c: Likewise.
48556         * po/ja.po: Update from translation team.
48558 2011-09-29  Andreas Jaeger  <aj@suse.de>
48560         [BZ #13179]
48561         * sunrpc/netname.c (netname2host): Fix logic.
48563         [BZ #6779]
48564         [BZ #6783]
48565         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
48566         correctly.
48567         * math/w_remainder.c (__remainder): Likewise.
48568         * math/w_remainderf.c (__remainderf): Likewise.
48569         * math/libm-test.inc (remainder_test): Add test cases.
48571 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
48573         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
48574         sdiv_qrnnd.
48576 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48578         * string/test-memcmp.c: Avoid unncessary #defines.
48579         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
48581 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48583         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
48584         Use new sse2 version for core i3 - i7 as it's faster
48585         than sse42 version.
48586         (bit_Prefer_PMINUB_for_stringop): New.
48587         * sysdeps/x86_64/rawmemchr.S: Update.
48588         Replace with faster SSE2 version.
48589         * sysdeps/x86_64/memrchr.S: New file.
48590         * sysdeps/x86_64/memchr.S: Update.
48591         Replace with faster SSE2 version.
48593 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
48595         * elf/dl-load.c (lose): Add cast to avoid warning.
48597 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
48599         * po/ca.po: Update from translation team.
48601         * inet/getnetgrent_r.c: Hook up nscd.
48602         * nscd/Makefile (routines): Add nscd_netgroup.
48603         (nscd-modules): Add netgroupcache.
48604         (CFLAGS-netgroupcache.c): Define.
48605         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
48606         (cache_search): Add const to second parameter.
48607         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
48608         INNETGR.
48609         (dbs): Add netgrdb entry.
48610         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
48611         (verify_persistent_db): Handle netgrdb.
48612         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
48613         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
48614         GETFDNETGR.
48615         (netgroup_response_header): Define.
48616         (innetgroup_response_header): Define.
48617         (datahead): Add netgroup_response_header and innetgroup_response_header
48618         elements.
48619         * nscd/nscd.conf: Add entries for netgroup cache.
48620         * nscd/nscd.h (dbtype): Add netgrdb.
48621         (_PATH_NSCD_NETGROUP_DB): Define.
48622         (netgroup_iov_disabled): Declare.
48623         (xmalloc, xcalloc, xrealloc): Move declarations here.
48624         (cache_search): Adjust prototype.
48625         Add netgroup-related prototypes.
48626         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
48627         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
48628         (__nscd_innetgr): Declare.
48629         * nscd/selinux.c (perms): Use access_vector_t as element type and
48630         add netgroup-related initializers.
48631         * nscd/netgroupcache.c: New file.
48632         * nscd/nscd_netgroup.c: New file.
48633         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
48634         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
48635         For four parameters use innetgr.
48636         * nss/nss_files/files-init.c: Add definition and callback for netgr.
48637         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
48638         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
48639         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
48641         * nscd/connections.c (register_traced_file): Don't register file
48642         for disabled databases.
48644 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
48646         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
48648         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
48649         from tree and freeing node.
48651 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
48653         * nss/nsswitch.c (__nss_database_lookup): Handle
48654         nss_parse_service_list out of memory case.
48656 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
48658         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
48659         out of memory case.
48661 2011-10-04  Andreas Schwab  <schwab@redhat.com>
48663         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
48664         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
48665         pass it down.
48666         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
48667         elf_machine_rela, elf_machine_lazy_rel.
48668         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
48669         (ELF_DYNAMIC_DO_REL): Likewise.
48670         (ELF_DYNAMIC_DO_RELA): Likewise.
48671         (ELF_DYNAMIC_RELOCATE): Likewise.
48672         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
48673         to ELF_DYNAMIC_DO_REL.
48674         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
48675         (dl_main): In trace mode always set __RTLD_NOIFUNC.
48676         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
48677         elf_machine_rela.
48678         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
48679         skip_ifunc, don't call ifunc function if non-zero.
48680         (elf_machine_rela): Likewise.
48681         (elf_machine_lazy_rel): Likewise.
48682         (elf_machine_lazy_rela): Likewise.
48683         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
48684         (elf_machine_lazy_rel): Likewise.
48685         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
48686         Likewise.
48687         (elf_machine_lazy_rel): Likewise.
48688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48689         Likewise.
48690         (elf_machine_lazy_rel): Likewise.
48691         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
48692         (elf_machine_lazy_rel): Likewise.
48693         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
48694         (elf_machine_lazy_rel): Likewise.
48695         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
48696         (elf_machine_lazy_rel): Likewise.
48697         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
48698         (elf_machine_lazy_rel): Likewise.
48699         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
48700         (elf_machine_lazy_rel): Likewise.
48701         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
48702         (elf_machine_lazy_rel): Likewise.
48704 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
48706         * nss/nss_files/files-init.c (_nss_files_init): Use static
48707         initialization for all the *_traced_file variables.
48709 2011-09-28  Andreas Schwab  <schwab@redhat.com>
48711         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48713 2011-09-27  Roland McGrath  <roland@hack.frob.com>
48715         [BZ #13226]
48716         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
48718 2011-09-27  Andreas Schwab  <schwab@redhat.com>
48720         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48721         Reread the line before reparsing it.
48723 2011-09-26  Andreas Schwab  <schwab@redhat.com>
48725         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
48727 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
48728             Maxim Kuvyrkov  <maxim@codesourcery.com>
48729             Joseph Myers  <joseph@codesourcery.com>
48731         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
48732         if needed for __stack_chk_guard.
48734 2011-09-19  Roland McGrath  <roland@hack.frob.com>
48736         * sysdeps/posix/spawni.c (script_execute): Always define it.
48737         It will be optimized away if unused.
48738         (maybe_script_execute): New function.
48739         (__spawni): Call it.
48741         * Makerules: Don't include tls.make.
48742         (config-tls): Always set to thread.
48743         * tls.make.c: File removed.
48745 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
48747         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
48748         * config.make.in (CPPFLAGS-config): New substituted variable.
48750 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48752         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
48754         [BZ #13192]
48755         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
48756         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
48758 2011-09-15  Roland McGrath  <roland@hack.frob.com>
48760         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
48761         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
48762         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
48763         (CALL_FAIL): Likewise.
48764         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
48765         (CALL_FAIL): Macro removed.
48766         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
48768 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
48770         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
48771         for __FINITE_MATH_ONLY__ == 1.
48773 2011-09-15  Andreas Schwab  <schwab@redhat.com>
48775         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
48776         __ieee754_sqrt instead of sqrt.
48777         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
48778         __ieee754_sqrtf instead of sqrtf.
48779         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
48780         __floorf instead of floorf.
48781         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
48782         __floorf, __truncf instead of floorf, truncf.
48784 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
48786         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
48788         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
48789         __extern_always_inline.
48790         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
48791         32-bit.
48793 2011-09-14  Andreas Schwab  <schwab@redhat.com>
48795         * elf/rtld.c (dl_main): Also relocate in dependency order when
48796         doing symbol dependency testing.
48798 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
48800         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
48801         Always define `refsym'.
48803 2011-09-13  Andreas Schwab  <schwab@redhat.com>
48805         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
48806         (__FD_ELT): Renamed from __FDELT.
48807         * misc/bits/select2.h (__FD_ELT): Likewise.
48808         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
48809         __FD_MASK instead of __FDELT, __FDMASK.
48810         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48811         Likewise.
48812         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
48813         Likewise.
48815         * elf/Makefile (gen-ldd): Fix pattern.
48817         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
48818         (init_tls): Likewise.
48820 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
48822         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
48824 2011-09-12  Andreas Schwab  <schwab@redhat.com>
48826         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
48827         `struct cmsghdr *' instead of `void *'.
48828         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
48829         Likewise.
48831 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
48833         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
48834         if non-absolute.
48835         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
48836         ldd_rewrite_script.
48838 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
48840         * configure.in: Remove --with-tls option.
48841         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
48842         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
48843         out in case it is missing.
48844         * sysdeps/ia64/elf/configure.in: Likewise.
48845         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
48846         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
48847         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
48848         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
48849         * sysdeps/sh/elf/configure.in: Likewise.
48850         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
48851         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48852         * sysdeps/x86_64/elf/configure.in: Likewise.
48853         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
48854         * sysdeps/mach/hurd/tls.h: Likewise.
48856         [BZ #13067]
48857         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
48859         [BZ #13090]
48860         * configure.in: Fix use of AC_INIT.
48862         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
48864 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
48866         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
48867         __set_errno.
48868         * malloc/hooks.c: Likewise.
48870         [BZ #11929]
48871         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
48872         variables statically.
48873         (narenas): Initialize.
48874         (list_lock): Initialize.
48875         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
48876         initializtion of main_arena and list_lock.  Small cleanups.
48877         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
48878         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
48879         Add initializers to main_arena and mp_.
48880         (malloc_state): Remove pagesize member.  Change all users to use
48881         GLRO(dl_pagesize).
48883         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
48884         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
48885         is always initialized.
48887         * malloc/malloc.c: Removed unused configurations and dead code.
48888         * malloc/arena.c: Likewise.
48889         * malloc/hooks.c: Likewise.
48890         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
48892         * include/tls.h: Removed.  USE___THREAD must always be defined.
48893         * bits/libc-tsd.h: Don't handle !USE___THREAD.
48894         * elf/dl-libc.c: Likewise.
48895         * elf/dl-tsd.c: Likewise.
48896         * include/errno.h: Likewise.
48897         * include/netdb.h: Likewise.
48898         * include/resolv.h: Likewise.
48899         * inet/herrno-loc.c: Likewise.
48900         * inet/herrno.c: Likewise.
48901         * malloc/arena.c: Likewise.
48902         * malloc/hooks.c: Likewise.
48903         * malloc/malloc.c: Likewise.
48904         * resolv/res-state.c: Likewise.
48905         * resolv/res_libc.c: Likewise.
48906         * sysdeps/i386/dl-machine.h: Likewise.
48907         * sysdeps/ia64/dl-machine.h: Likewise.
48908         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
48909         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
48910         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
48911         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
48912         * sysdeps/sh/dl-machine.h: Likewise.
48913         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48914         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48915         * sysdeps/unix/i386/sysdep.S: Likewise.
48916         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
48917         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
48918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
48919         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
48920         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
48921         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
48922         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
48923         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48924         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48925         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
48926         * sysdeps/unix/x86_64/sysdep.S: Likewise.
48927         * sysdeps/x86_64/dl-machine.h: Likewise.
48928         * tls.make.c: Likewise.
48930         * configure.in: Remove --with-__thread option.  Make tests for
48931         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
48932         tls_model attribute fail if no support is available.  Remove
48933         USE_IN_LIBIO.
48934         * Makeconfig: Adjust for dropped configure option.  All features are
48935         now mandatory.
48936         * Makerules: Likewise.
48937         * Versions.def: Likewise.
48938         * argp/argp-fmtstream.c: Likewise.
48939         * argp/argp-fmtstream.h: Likewise.
48940         * argp/argp-help.c: Likewise.
48941         * assert/assert.c: Likewise.
48942         * config.h.in: Likewise.
48943         * config.make.in: Likewise.
48944         * configure: Likewise.
48945         * configure.in: Likewise.
48946         * csu/Versions: Likewise.
48947         * csu/init.c: Likewise.
48948         * elf/tst-audit2.c: Likewise.
48949         * elf/tst-tls10.c: Likewise.
48950         * elf/tst-tls10.h: Likewise.
48951         * elf/tst-tls11.c: Likewise.
48952         * elf/tst-tls12.c: Likewise.
48953         * elf/tst-tls14.c: Likewise.
48954         * elf/tst-tlsmod11.c: Likewise.
48955         * elf/tst-tlsmod12.c: Likewise.
48956         * elf/tst-tlsmod13.c: Likewise.
48957         * elf/tst-tlsmod13a.c: Likewise.
48958         * elf/tst-tlsmod14a.c: Likewise.
48959         * elf/tst-tlsmod15b.c: Likewise.
48960         * elf/tst-tlsmod16a.c: Likewise.
48961         * elf/tst-tlsmod16b.c: Likewise.
48962         * elf/tst-tlsmod7.c: Likewise.
48963         * elf/tst-tlsmod8.c: Likewise.
48964         * elf/tst-tlsmod9.c: Likewise.
48965         * gmon/gmon.c: Likewise.
48966         * grp/fgetgrent_r.c: Likewise.
48967         * grp/putgrent.c: Likewise.
48968         * hurd/fopenport.c: Likewise.
48969         * include/libc-symbols.h: Likewise.
48970         * include/tls.h: Likewise.
48971         * intl/gettextP.h: Likewise.
48972         * intl/loadinfo.h: Likewise.
48973         * locale/global-locale.c: Likewise.
48974         * locale/localeinfo.h: Likewise.
48975         * mach/devstream.c: Likewise.
48976         * malloc/arena.c: Likewise.
48977         * malloc/set-freeres.c: Likewise.
48978         * misc/err.c: Likewise.
48979         * misc/getttyent.c: Likewise.
48980         * misc/mntent_r.c: Likewise.
48981         * posix/getopt.c: Likewise.
48982         * posix/wordexp.c: Likewise.
48983         * pwd/fgetpwent_r.c: Likewise.
48984         * resolv/Versions: Likewise.
48985         * resolv/res_hconf.c: Likewise.
48986         * shadow/fgetspent_r.c: Likewise.
48987         * shadow/putspent.c: Likewise.
48988         * stdio-common/printf_fphex.c: Likewise.
48989         * stdio-common/tmpfile.c: Likewise.
48990         * stdlib/abort.c: Likewise.
48991         * stdlib/fmtmsg.c: Likewise.
48992         * sunrpc/auth_unix.c: Likewise.
48993         * sunrpc/clnt_perr.c: Likewise.
48994         * sunrpc/clnt_tcp.c: Likewise.
48995         * sunrpc/clnt_udp.c: Likewise.
48996         * sunrpc/clnt_unix.c: Likewise.
48997         * sunrpc/openchild.c: Likewise.
48998         * sunrpc/svc_simple.c: Likewise.
48999         * sunrpc/svc_tcp.c: Likewise.
49000         * sunrpc/svc_udp.c: Likewise.
49001         * sunrpc/svc_unix.c: Likewise.
49002         * sunrpc/xdr.c: Likewise.
49003         * sunrpc/xdr_array.c: Likewise.
49004         * sunrpc/xdr_rec.c: Likewise.
49005         * sunrpc/xdr_ref.c: Likewise.
49006         * sunrpc/xdr_stdio.c: Likewise.
49008 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49010         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49012 2011-07-03  Andreas Jaeger  <aj@suse.de>
49014         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
49015         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
49016         regenerate with gen-libm-tests.pl.
49018 2010-05-12  Petr Baudis  <pasky@suse.cz>
49020         [BZ #11589]
49021         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
49022         around j0() zero points by switching to j1().
49023         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49024         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49025         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49026         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49028 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49030         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
49031         instead of 0.
49032         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
49033         instead of 0.
49034         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49035         Patch in part by Pavel Roskin <proski@gnu.org>.
49037         [BZ #13138]
49038         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
49039         realloc.
49040         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
49041         Free memory block if necessary.
49043         [BZ #12847]
49044         * libio/genops.c (INTDEF): For string streams the _lock pointer can
49045         be NULL.  Don't lock in this case.
49047 2011-09-09  Roland McGrath  <roland@hack.frob.com>
49049         * elf/elf.h (ELFOSABI_GNU): New macro.
49050         (ELFOSABI_LINUX): Define to that.
49052 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
49054         * string/strncat.c (strncat): Undef the symbol in case it has been
49055         defined in bits/string.h.
49057 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
49059         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
49061         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
49062         link map.
49064 2011-08-17  Andreas Jaeger  <aj@suse.de>
49066         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
49068 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
49069             Ian Lance Taylor  <iant@google.com>
49071         * math/libm-test.inc (lround_test): New testcase.
49072         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
49074 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
49076         * Makefile: Remove support for automatic cvs check-ins.
49077         * Makerules: Likewise.
49078         * config.make.in: Likewise.
49079         * configure.in: Likewise.
49080         * intl/Makefile: Likewise.
49081         * locale/Makefile: Likewise.
49082         * po/Makefile: Likewise.
49083         * posix/Makefile: Likewise.
49084         * sysdeps/gnu/Makefile: Likewise.
49085         * sysdeps/mach/hurd/Makefile: Likewise.
49086         * sysdeps/sparc/sparc32/Makefile: Likewise.
49088         [BZ #13118]
49089         * posix/Makefile (bug-regex32-ENV): Define.
49090         Patch by John Stanley <jpsinthemix@verizon.net>.
49092         * misc/Makefile (headers): Add bits/select2.h.
49093         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
49094         * misc/bits/select2.h: New file.
49095         * include/bits/select2.h: New file.
49096         * debug/Makefile (routines): Add fdelt_chk.
49097         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
49098         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
49099         FD_ISSET.
49100         * debug/fdelt_chk.c: New file.
49102         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
49103         * wcsmbs/test-wmemcmp.c: Likewise.
49104         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
49105         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
49107 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49109         * string/Makefile (strop-tests): Add memcmp.
49110         * string/test-wmemcmp.c: New file.
49111         * string/test-memcmp.c: Add wmemcmp support.
49113 2011-09-08  Roland McGrath  <roland@hack.frob.com>
49115         [BZ #13153]
49116         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
49117         2011-07-19 change.
49119         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
49120         garbage value in a __mach_port_mod_refs call in the cases of the
49121         task-self and thread-self ports.
49123 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49125         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
49127 2011-09-08  Andreas Schwab  <schwab@redhat.com>
49129         * elf/dl-load.c (lose): Check for non-null L.
49131 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49133         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
49135         * elf/dl-libc.c (dlerror_run): Pass back error code from
49136         dl_catch_error.
49138         [BZ #13123]
49139         * elf/dl-load.c (lose): Free l_origin if it is valid.
49141         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
49142         names.
49143         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
49144         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49145         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49146         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49147         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
49148         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
49150 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49152         * sysdeps/powerpc/fpu/e_hypot.c: New file.
49153         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
49154         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
49155         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
49156         * sysdeps/powerpc/fpu/k_cosf.c: New file.
49157         * sysdeps/powerpc/fpu/k_sinf.c: New file.
49158         * sysdeps/powerpc/fpu/s_cosf.c: New file.
49159         * sysdeps/powerpc/fpu/s_sinf.c: New file.
49160         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
49161         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
49163 2011-08-15  Alan Modra  <amodra@gmail.com>
49165         [BZ #13092]
49166         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
49167         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
49168         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
49169         ppc_mcount to static-only-routines.
49170         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
49171         __mcount_internal.
49172         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
49173         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
49175 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
49177         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
49178         for finite and infinity parameters.
49180 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49182         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
49183         and add nop instructions for throughput optimization.
49184         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
49186 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
49188         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
49189         aligned copy for power7 with vector-scalar instructions.
49190         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
49192 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
49194         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
49195         AVX check.
49197 2011-09-07  Andreas Schwab  <schwab@redhat.com>
49199         [BZ #13144]
49200         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
49201         last change.
49203 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
49205         * sysdeps/unix/sysv/linux/x86_64/init-first.c
49206         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
49207         syscall wrapper around clock_gettime in __vdso_clock_gettime.
49208         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
49209         clock_gettime.
49211 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49213         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
49214         Forgot to demangle the pointer.
49216         * sysdeps/i386/sysdep.h: Define atom_text_section.
49217         * sysdeps/x86_64/sysdep.h: Likewise.
49218         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
49219         section with atom_text_section.
49220         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
49221         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
49222         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
49223         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49224         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
49226         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
49227         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
49228         already be defined.  Change to take two parameters and don't assign
49229         result to variable.  Adjust all users.
49230         Define INTERNAL_GETTIME if not already defined.
49231         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
49232         call.
49233         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
49234         HAVE_CLOCK_GETTIME_VSYSCALL.
49235         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
49237         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
49238         gettimeofday vsyscall, just use time.
49240 2011-09-06  Andreas Schwab  <schwab@redhat.com>
49242         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
49243         <errno.h>.
49245 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
49247         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
49248         syscall on x86-64.
49249         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
49250         syscall.
49251         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
49252         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
49253         syscall if possible.
49255 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49257         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
49258         e_ident.  Don't pass to find_mapsXX.
49259         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
49261 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49264         strchr-sse2-no-bsf strrchr-sse2-no-bsf
49265         * sysdeps/x86_64/multiarch/strchr.S: Update.
49266         Check bit_slow_BSF bit.
49267         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49268         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
49269         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
49271 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49273         [BZ #13134]
49274         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
49275         before glibc 2.15.
49276         (tryshell): Define.
49277         (__spawni): Change last parameter to be flag.  Test
49278         SPAWN_XFLAGS_USE_PATH flag to use path or not.
49279         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
49280         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
49281         * posix/spawni.c: Likewise.
49282         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
49283         * posix/spawnp.c: Likewise.  Change normal version to use
49284         SPAWN_XFLAGS_USE_PATH.
49285         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
49286         SPAWN_XFLAGS_TRY_SHELL.
49288         [BZ #13150]
49289         * posix/glob.h: Remove gcc 1.x support.
49291         [BZ #13068]
49292         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
49294 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49296         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49297         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
49298         strrchr-sse2-bsf
49299         * sysdeps/i386/i686/multiarch/strchr.S: New file.
49300         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
49301         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
49302         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
49303         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
49304         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
49306 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49308         * sysdeps/x86_64/wcscmp.S: New file.
49310         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
49311         wcscmp-c wcscmp-sse2
49312         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
49313         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
49314         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
49315         * wcsmbs/wcscmp.c: Allow renaming.
49317 2011-09-05  David S. Miller  <davem@davemloft.net>
49319         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
49320         stack slot, rather than the struct return pointer slot.
49321         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
49322         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
49323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
49324         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
49326 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
49328         * po/ja.po: Update from translation team.
49330         [BZ #13144]
49331         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
49332         kernel in 64-bit binaries.
49334 2011-09-01  David S. Miller  <davem@davemloft.net>
49336         * elf/elf.h (HWCAP_SPARC_*): Move to..
49337         * sysdeps/sparc/sysdep.h: this new file and add new values.
49338         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
49339         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
49340         _DL_HWCAP_COUNT to 24.
49341         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
49342         entries.
49343         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
49344         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
49345         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
49346         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
49347         instead of magic constants.
49348         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
49350 2011-08-31  David S. Miller  <davem@davemloft.net>
49352         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
49353         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
49354         Reimplement to do errno handling inline.
49355         (SYSCALL_ERROR_HANDLER): New macro.
49356         (__SYSCALL_STRING): Do not do errno handling in asm.
49357         (__CLONE_SYSCALL_STRING): Delete.
49358         (__INTERNAL_SYSCALL_STRING): Delete.
49359         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
49360         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
49361         (PSEUDO): Reimplement to do errno handling inline.
49362         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
49363         (SYSCALL_ERROR_HANDLER): New macro.
49364         (__SYSCALL_STRING): Do not do errno handling in asm.
49365         (__CLONE_SYSCALL_STRING): Delete.
49366         (__INTERNAL_SYSCALL_STRING): Delete.
49367         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
49368         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
49369         i386.
49370         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
49371         (inline_syscall*): Add 'err' argument.
49372         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
49373         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
49374         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
49375         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
49377         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
49378         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
49380 2011-08-30  Andreas Schwab  <schwab@redhat.com>
49382         * elf/rtld.c (dl_main): Relocate objects in dependency order.
49384 2011-08-29  Jiri Olsa <jolsa@redhat.com>
49386         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
49387         directive.
49389 2011-08-24  David S. Miller  <davem@davemloft.net>
49391         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
49393 2011-08-24  Andreas Schwab  <schwab@redhat.com>
49395         * elf/Makefile: Add rules to build and run unload8 test.
49396         * elf/unload8.c: New file.
49397         * elf/unload8mod1.c: New file.
49398         * elf/unload8mod1x.c: New file.
49399         * elf/unload8mod2.c: New file.
49400         * elf/unload8mod3.c: New file.
49402         * elf/dl-close.c (_dl_close_worker): Reset private search list if
49403         it wasn't used.
49405 2011-08-23  David S. Miller  <davem@davemloft.net>
49407         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
49408         subtract stack bias.
49409         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
49410         %sp not %fp in calculations.
49411         (_JMPBUF_UNWINDS_ADJ): Likewise.
49413         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
49414         (aio_suspend): Call it to force an exception region around the
49415         AIO_MISC_WAIT() invocation.
49417 2011-08-23  Andreas Schwab  <schwab@redhat.com>
49419         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
49420         backslash.
49422 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
49424         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
49425         protection macro.
49426         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
49427         and <dl-machine.h>.
49428         (Elf64_FuncDesc): Remove.
49430 2011-08-22  David S. Miller  <davem@davemloft.net>
49432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
49433         sigaltstack check, add missing cfi directives.
49434         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
49435         missing cfi directives, and sigaltstack handling.
49437 2011-08-16  Andreas Schwab  <schwab@redhat.com>
49439         [BZ #11724]
49440         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
49441         object is seen twice.
49442         * elf/dl-fini.c (_dl_sort_fini): Likewise.
49444         * elf/Makefile (distribute): Add tst-initorder2.c.
49445         (tests): Add tst-initorder2.
49446         (modules-names): Add tst-initorder2a tst-initorder2b
49447         tst-initorder2c tst-initorder2d.  Add rules to build them.
49448         ($(objpfx)tst-initorder2.out): New rule.
49449         * elf/tst-initorder2.c: New file.
49450         * elf/tst-initorder2.exp: New file.
49452 2011-08-22  Andreas Schwab  <schwab@redhat.com>
49454         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
49456         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
49457         dependencies back to end of function.
49459         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
49460         $(elfobjdir)/ld.so.
49462 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
49464         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
49465         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
49466         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
49467         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
49468         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
49469         of __vdso_gettimeofday.
49470         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
49471         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
49472         attribute_hidden.
49473         (_libc_vdso_platform_setup): Remove initialization of
49474         __vdso_gettimeofday and __vdso_time.
49476 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49478         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
49479         and fgetc_unlocked.
49480         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
49481         getc_unlocked.
49483         * elf/dl-open.c (add_to_global): Report additions to the global scope
49484         for LD_DEBUG=scopes.
49485         (dl_open_worker): Also print scope of newly loaded dependencies.
49486         (_dl_show_scope): Indicate if there is no scope.
49488         [BZ #13114]
49489         * stdio-common/Makefile (tests): Add bug24.
49490         * stdio-common/bug24.c: New file.
49492 2011-08-19  Andreas Jaeger  <aj@suse.de>
49494         [BZ #13114]
49495         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
49496         non-existant file when using close-on-exec mode.
49498 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
49500         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
49501         the very first instruction.
49503         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
49504         the CFI state in the end.
49505         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
49506         inclusion of dl-trampoline.h.
49507         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
49509 2011-08-19  Andreas Schwab  <schwab@redhat.com>
49511         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
49512         expectations for long double.
49514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
49515         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
49517 2011-08-14  David S. Miller  <davem@davemloft.net>
49519         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
49520         artificual limit depends upon the system page size.
49522 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49524         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
49525         * resolv/Makefile: Define CFLAGS-libresolv.
49527 2011-08-17  Andreas Schwab  <schwab@redhat.com>
49529         * nss/makedb.c (compute_tables): Make variables used in nested
49530         function static.
49532 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
49534         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
49535         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
49536         if buffer was too small.
49538         * elf/pldd.c (main): Attach to all threads in the process.
49539         Rewrite /proc handling to use *at functions.
49541 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
49543         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
49544         specifies first scope to show.
49545         (dl_open_worker): Update callers.  Move printing scope of new
49546         object to before the relocation.
49547         * elf/rtld.c (dl_main): Update _dl_show_scope call.
49548         * sysdeps/generic/ldsodefs.h: Update declaration.
49550         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
49551         string for the scope number.
49553 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
49555         * nscd/servicescache.c (cache_addserv): Make sure written is always
49556         initialized.
49558 2011-08-14  Roland McGrath  <roland@hack.frob.com>
49560         * sysdeps/i386/i486/bits/atomic.h
49561         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
49562         statement expression, so as to suppress "set but not used" warning.
49563         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
49565         * string/strncat.c (STRNCAT): Use prototype definition.
49567         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
49568         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
49569         -Iprograms here.
49570         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
49571         (localedef-modules): Add localedef.
49572         (locale-modules): Add locale.
49574         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
49575         * elf/rtld.c (dl_main): Invert order of assignment in last change,
49576         to avoid a warning.
49578 2011-08-14  David S. Miller  <davem@davemloft.net>
49580         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
49581         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
49583 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
49585         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
49586         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
49587         * elf/rtld.c (dl_main): Set l_name of vDSO.
49588         Call _dl_show_scope when DL_DEBUG_SCOPES.
49589         (process_dl_debug): Recognize scopes flag and also set it for all.
49590         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
49591         Declare _dl_show_scope.
49593         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
49594         (do_dlopen): Pass caller_dlopen to dl_open.
49595         (__libc_dlopen_mode): Initialize caller_dlopen.
49597         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
49598         of libc.  Make tolower call locale-independent.  Optimize a bit by
49599         using isdigit instead of isalnum.
49600         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
49602 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
49604         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
49605         was a dependency or dynamically loaded.
49607 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
49609         * intl/l10nflist.c: Allow architecture-specific pop function.
49610         * sysdeps/x86_64/l10nflist.c: New file.
49612         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
49613         classification.
49615 2011-08-10  Andreas Schwab  <schwab@redhat.com>
49617         * include/dirent.h: Add libc_hidden_proto for scandirat and
49618         scandirat64.  Don't declare __scandirat64.
49619         * dirent/scandirat.c: Add libc_hidden_def.
49620         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
49621         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
49623 2011-08-10  David S. Miller  <davem@davemloft.net>
49625         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
49626         enum.
49627         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49628         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49629         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49631 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
49633         * Versions.def [libc]: Add GLIBC_2.15.
49634         * dirent/Makefile (routines): Add scandirat and scandirat64.
49635         * dirent/Versions [libc]: Export scandirat and scandirat64 for
49636         GLIBC_2.15.
49637         * dirent/dirent.h: Declare scandirat and scandirat64.
49638         * dirent/scandirat.c: New file.
49639         * dirent/scandirat64.c: New file.
49640         * sysdeps/wordsize-64/scandirat.c: New file.
49641         * sysdeps/wordsize-64/scandirat64.c: New file.
49642         * dirent/opendir.c: Define opendirat.
49643         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
49644         using scandirat.
49645         * dirent/scandir64.c: Adjust for scandir.c change.
49646         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
49647         __scandirat64, and __scandir_cancel_handler.
49648         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
49649         additional parameter and use openat instead of open (outside of ld.so).
49650         Add new __opendir as wrapper around __opendirat.
49651         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
49652         here without requiring old scandirat implementation.
49654 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
49656         * dirent/scandir.c (cancel_handler): Renamed to
49657         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
49658         defined.  Adjust users.
49659         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
49660         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
49662 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
49664         * string/test-string.h (IMPL): Use __STRING to expand name and then
49665         stringify it.
49667         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
49668         of cleanups.
49670 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49672         * string/Makefile: Update.
49673         (strop-tests): Append strncat.
49674         * string/test-wcscmp.c: New file.
49675         New comprehensive test for wcscmp.
49676         * string/test-strcmp.c: Update.
49677         (WIDE): New define.
49679 2011-07-22  Andreas Schwab  <schwab@redhat.com>
49681         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
49682         line.
49684 2011-07-26  Andreas Schwab  <schwab@redhat.com>
49686         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
49687         encoding to ACE if AI_IDN.
49689 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
49691         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
49692         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
49694 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49696         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
49697         Fix overflow bug in strncat.
49698         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
49700         * string/test-strncat.c: Update.
49701         Add new tests for checking overflow bugs.
49703 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49705         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49706         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
49707         * sysdeps/i386/i686/multiarch/strcat.S: New file.
49708         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
49709         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
49710         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
49711         * sysdeps/i386/i686/multiarch/strncat.S: New file.
49712         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
49713         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
49715         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
49716         (USE_AS_STRCAT): Define.
49717         Add strcat and strncat support.
49718         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
49720 2011-07-25  Andreas Schwab  <schwab@redhat.com>
49722         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
49723         __n bigger than INT_MAX+1.
49724         (__strncmp_g): Likewise.
49726 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
49728         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
49729         * libio/stido.h: Likewise.
49731         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
49732         (AF_NFC): Define.
49733         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
49734         (AF_NFC): Define.
49736         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
49737         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49738         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49739         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
49740         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49742         [BZ #13021]
49743         * scripts/test-installation.pl: Don't expect libnss_test1 to be
49744         installed.
49746         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
49747         typo.
49748         (_dl_x86_64_save_sse): Likewise.
49750 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
49752         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
49753         OSXSAVE.
49754         (_dl_x86_64_save_sse): Likewise.
49756         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
49758         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
49760 2011-07-21  Andreas Schwab  <schwab@redhat.com>
49762         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
49763         change.
49764         (_dl_x86_64_save_sse): Use correct AVX check.
49766 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49768         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
49769         bug in strncpy/strncat.
49770         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
49772 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
49774         * string/tester.c (test_strcat): Add tests for different alignments
49775         of source and destination.
49776         (test_strncat): Likewise.
49778 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49780         [BZ #12852]
49781         * posix/glob.c (glob): Check passed in values before using them in
49782         expressions to avoid some overflows.
49783         (glob_in_dir): Likewise.
49785         [BZ #13007]
49786         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
49787         check for AVX enablement so that we don't crash with old kernels and
49788         new hardware.
49789         * elf/tst-audit4.c: Add same checks here.
49790         * elf/tst-audit6.c: Likewise.
49792         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
49794 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
49796         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
49798 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
49800         * po/cs.po: Update from translation team.
49801         * po/bg.po: Likewise.
49803 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
49805         * misc/sys/cdefs.h: Add support for const attribute.
49806         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
49807         to gnu_dev_{major,minor,makedev} functions.
49809 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
49811         * intl/dcigettext.c (get_output_charset): Add missing bracket.
49813 2011-07-20  Andreas Schwab  <schwab@redhat.com>
49815         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
49816         strlen results.
49818 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49820         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
49821         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
49822         register in order to avoid conflicts with the soft frame pointer
49823         being held in r11 when necessary.
49824         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
49825         (INTERNAL_VSYSCALL_NCS): Likewise.
49827 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
49829         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
49830         * elf/dl-fini.c (_dl_fini): Adjust caller.
49831         * elf/dl-close.c (_dl_close_worker): Likewise.
49832         * sysdeps/generic/ldsodefs.h: Adjust declaration.
49834 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49836         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
49837         "aux_cache->nlibs < 0".
49839         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
49840         in the reload-count case.
49842 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49844         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49845         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
49846         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
49847         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
49848         * sysdeps/x86_64/multiarch/strcat.S: New file.
49849         * sysdeps/x86_64/multiarch/strncat.S: New file.
49850         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
49851         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
49852         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
49853         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
49854         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
49855         (USE_AS_STRCAT): Define.
49856         Add strcat and strncat support.
49857         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
49858         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49859         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
49860         * string/strncat.c: Update.
49861         (USE_AS_STRNCAT): Define.
49862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
49863         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
49864         and i7.
49865         * sysdeps/x86_64/multiarch/init-arch.h
49866         (bit_Prefer_PMINUB_for_stringop): New.
49867         (index_Prefer_PMINUB_for_stringop): Likewise.
49868         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
49869         bit_Prefer_PMINUB_for_stringop.
49871 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49873         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
49874         buffer64.
49875         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
49876         of casting of buffer.
49877         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
49878         buffer32 and buffer64.
49879         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
49880         writes instead of casting of buffer.
49881         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
49882         buffer32.
49883         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
49884         casting of buffer.
49886 2011-07-19  Andreas Schwab  <schwab@redhat.com>
49888         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
49890 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
49892         * nscd/nscd.c (termination_handler): Don't do anything for a database
49893         if it has not yet been initialized.
49895 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49897         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49899 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
49901         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
49903 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
49905         * po/nl.po: Update from translation team.
49906         * po/sv.po: Likewise.
49908 2011-07-16  Roland McGrath  <roland@hack.frob.com>
49910         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
49911         now disallowed by GCC.
49913         * configure.in (use-default-link): Default to yes if a test -shared
49914         link meets our qualifications.
49915         * configure: Regenerated.
49917         * config.make.in (output-format): New variable.
49918         * configure.in: Check for ld --print-output-format support.
49919         * configure: Regenerated.
49920         * Makerules ($(common-objpfx)format.lds)
49921         [$(output-format) != unknown]: Just use $(output-format),
49922         instead of the linker-script munging.
49924 2011-07-14  Roland McGrath  <roland@hack.frob.com>
49926         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
49927         of $(common-objpfx)shlib.lds.
49928         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
49930         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
49931         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
49933         * configure.in (-z relro check): Adjust test code to add a large
49934         writable data section after it.
49935         * configure: Regenerated.
49937 2011-07-11  Roland McGrath  <roland@hack.frob.com>
49939         * configure.in (-z relro check): Fix test code to make the variable
49940         truly const.
49941         * configure: Regenerated.
49943 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
49945         * nscd/nscd.h (struct traced_file): Define.
49946         (struct database_dyn): Remove inotify_descr, reset_res, and filename
49947         elements.  Add traced_files.
49948         (inotify_fd): Declare.
49949         (register_traced_file): Declare.
49950         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
49951         (inotify_fd): Export.
49952         (resolv_conf_descr): Remove.
49953         (nscd_init): Move inotify descriptor creation to main.
49954         Don't register files for notification here.
49955         (register_traced_file): New function.
49956         (invalidate_cache): Don't use reset_res to determine whether to call
49957         res_init, go through the list of registered files.
49958         (main_loop_poll): The inotify descriptors are now stored in the
49959         structures for the traced files.
49960         (main_loop_epoll): Likewise
49961         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
49962         to __nss_disable_nscd.
49963         * nscd/cache.c (prune_cache): There is no single inotify descriptor
49964         for a database anymore.  Check the records for all the registered
49965         files instead.
49966         * nss/Makefile (libnss_files-routines): Add files-init.
49967         (libnss_db-routines): Add db-init.
49968         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
49969         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
49970         * nss/nss_db/db-init.c: New file.
49971         * nss/nss_files/files-init.c: New file.
49972         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
49973         __nss_lookup_function.
49974         (__nss_lookup_function): Call nss_load_library.
49975         (nss_load_all_libraries): New function.
49976         (__nss_disable_nscd): Take parameter with callback function for files
49977         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
49978         used for the cached services.
49979         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
49980         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
49981         options for features to all the files in nscd.
49983         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
49985 2011-07-10  Roland McGrath  <roland@hack.frob.com>
49987         * csu/elf-init.c (__libc_csu_init): Comment typo.
49989 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
49991         * po/pl.po: Update from translation team.
49992         * po/ja.po: Likewise.
49993         * po/ru.po: Likewise.
49994         * po/ko.po: Likewise.
49995         * po/fr.po: Likewise.
49997 2011-07-09  Roland McGrath  <roland@hack.frob.com>
49999         * configure.in (.ctors/.dtors header and trailer check):
50000         Use an empirical test on a built program.
50001         * configure: Regenerated.
50003         * configure.in (-z relro check): Use an empirical test on a built DSO.
50004         Detect, but do not require, on ia64.
50005         * configure: Regenerated.
50007         * configure.in (READELF): Find it with AC_CHECK_TOOL.
50008         Update tests that use readelf to use $READELF instead.
50009         * configure: Regenerated.
50011 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
50013         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
50014         if the result is not used.
50016 2011-07-05  Andreas Jaeger  <aj@suse.de>
50018         [BZ#9696]
50019         * stdlib/tst-strtod.c: Add testcase.
50021 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
50023         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
50024         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
50025         The latter has a higher limit.  Take additional parameter to pass to
50026         the new function.
50027         (__pathconf): Pass file to __statfs_link_max.
50028         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
50029         __statfs_link_max.
50030         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
50031         __statfs_link_max.
50033         [BZ #12868]
50034         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
50035         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50036         Handle Lustre.
50037         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
50038         (__statfs_filesize_max): Likewise.
50039         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
50041 2011-07-05  Andreas Jaeger  <aj@suse.de>
50043         * resolv/res_comp.c (dn_skipname): Remove unused variable.
50045 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
50047         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
50048         `status' variable.
50049         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
50050         Likewise.
50052 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
50054         * Makefile (strop-tests): Add strncat.
50055         * string/test-strncat.c: New file.
50057 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
50059         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
50061 2011-06-21  Andreas Jaeger  <aj@suse.de>
50063         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
50064         Copy rule from iconvdata/Makefile.
50066 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50068         [BZ #12922]
50069         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
50070         but no long options are defined, just return 'W'.
50072 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
50074         [BZ #9696]
50075         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
50077 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
50079         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
50080         netgroups to read.
50081         (innetgr): Likewise.
50083 2011-07-05  Roland McGrath  <roland@hack.frob.com>
50085         * config.make.in (install_root): Default to $(DESTDIR).
50087 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
50089         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
50091 2011-07-02  Roland McGrath  <roland@hack.frob.com>
50093         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
50095         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
50096         containing directory rather than embedding absolute directory names.
50098         * scripts/check-local-headers.sh: Rewritten using awk.
50099         Match by word, not by line.  Print error messages for matches.
50100         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
50102         * Makerules [shlib-lds-flags empty]:
50103         ($(common-objpfx)libc_pic.opts): New target.
50104         ($(common-objpfx)libc_pic.os.clean): New target.
50105         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
50107         * config.make.in (OBJCOPY): New variable.
50108         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
50109         * configure: Regenerated.
50111         * config.make.in (use-default-link): New variable.
50112         * configure.in (use_default_link): Grok --with-default-link to set it.
50113         * configure: Regenerated.
50114         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
50115         (shlib-lds, shlib-lds-flags): Define to empty.
50117         * Makerules (shlib-lds): New variable.
50118         (shlib-lds-flags): New variable.
50119         (build-shlib, build-moduile, build-module-asneeded): Use it.
50120         ($(common-objpfx)libc.so): Use $(shlib-lds).
50121         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
50122         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
50124         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
50125         DT_FLAGS/DT_FLAGS_1 with zero flags.
50127         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
50128         linker script munging.
50130 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
50132         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
50133         as 128-bit value.
50134         * crypt/sha512.c (sha512_process_block): Perform total addition using
50135         128-bit if possible.
50136         (__sha512_finish_ctx): Likewise.
50137         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
50138         as 64-bit value.
50139         * crypt/sha256.c (SWAP64): Define.
50140         (sha256_process_block): Perform total addition using 64-bit if
50141         possible.
50142         (__sha256_finish_ctx): Likewise.
50144 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
50146         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
50147         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50148         * nscd/hstcache.c (cache_addhst): Likewise.
50149         * nscd/grpcache.c (cache_addgr): Likewise.
50150         * nscd/aicache.c (addhstaiX): Likewise
50151         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
50153 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
50155         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
50156         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50157         * nscd/hstcache.c (cache_addhst): Likewise.
50158         * nscd/grpcache.c (cache_addgr): Likewise.
50159         * nscd/aicache.c (addhstaiX): Likewise
50161 2011-07-01  Andreas Schwab  <schwab@redhat.com>
50163         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
50164         domain only when needed.
50166 2011-06-30  Andreas Schwab  <schwab@redhat.com>
50168         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
50169         is always restored.
50171 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
50173         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
50174         are re-adding the entry.
50175         * nscd/servicescache.c (cache_addserv): Likewise.
50177 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
50179         * sysdeps/generic/dl-irel.h: fix protection against multiple
50180         inclusions.
50181         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
50183 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
50185         [BZ #12935]
50186         * malloc/memusage.sh: Fix quoting in message.
50187         * debug/xtrace.sh: Likewise.
50189         * configure.in: Remove support for --experimental-malloc option, make
50190         it the default.
50191         * config.make.in: Likewise.
50192         * malloc/Makefile: Likewise.
50194 2011-06-27  Andreas Schwab  <schwab@redhat.com>
50196         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
50197         two-byte characters.
50199 2011-06-27  Roland McGrath  <roland@hack.frob.com>
50201         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
50202         AC_CACHE_CHECK invocation.
50203         * configure: Regenerated.
50205         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
50207 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
50209         [BZ #12350]
50210         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
50211         bit from old_res_options.
50213         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
50215         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
50216         value type for setfct.
50218 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
50220         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50221         __gettimeofday instead of gettimeofday.
50223 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
50225         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
50227 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
50229         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
50231         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
50232         info.
50234 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50236         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50237         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50238         strcpy-sse2-unaligned strncpy-sse2-unaligned
50239         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
50240         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
50241         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
50242         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
50243         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
50244         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
50245         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
50246         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
50247         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
50248         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
50249         (STRCPY): Support SSE2 and SSSE3 versions.
50251 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
50253         [BZ #12874]
50254         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
50255         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
50256         kernels which artificially limit size of requests.
50258 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
50260         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50261         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
50262         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
50263         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
50264         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
50265         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
50266         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
50267         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
50268         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
50269         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
50270         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
50271         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
50272         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
50273         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
50274         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
50275         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50276         Enable unaligned load optimization for Intel Core i3, i5 and i7
50277         processors.
50278         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
50279         Define.
50280         (index_Fast_Unaligned_Load): Define.
50281         (HAS_FAST_UNALIGNED_LOAD): Define.
50283 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
50285         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
50287 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50289         [BZ #12907]
50290         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
50291         until it is clear that the information is realy needed.
50292         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
50294 2011-06-22  Andreas Schwab  <schwab@redhat.com>
50296         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
50298 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
50300         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
50301         /sys/devices/system/cpu/online if it is usable.
50303         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
50304         reading the information from the /proc filesystem to once a second.
50306 2011-06-21  Andreas Jaeger  <aj@suse.de>
50308         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
50309         NULL after inclusion of kernel headers.
50311 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
50313         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
50314         calls to internal_setent.
50316         [BZ #12885]
50317         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
50318         addresses using gethostbyname4_r ignore IPv4 addresses.
50320         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
50321         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
50323         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
50325 2011-06-20  David S. Miller  <davem@davemloft.net>
50327         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
50328         inclusions.
50329         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
50331         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
50332         (elf_irel): Use it.
50333         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
50334         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
50335         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
50336         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
50337         * sysdeps/x86_64/dl-irel.h: Likewise.
50339         * elf/dl-runtime.c: Use elf_ifunc_invoke.
50340         * elf/dl-sym.c: Likewise.
50342 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50344         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
50345         need to dereference resplen2.
50347 2011-06-14  Andreas Schwab  <schwab@redhat.com>
50349         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
50351 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
50353         * Makeconfig: Define vardbdir and inst_vardbdir.
50354         * nss/Makefile: Add rules to install db-Makefile.
50356         * nss/nss_db/db-XXX.c: Cleanup.
50358         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
50359         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
50360         GLIBC_PRIVATE.
50361         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
50362         * nss/makedb.c: Implement -g option to specify that value strings
50363         are generated and should not be added to table iterated over for
50364         get*ent calls.
50365         * nss/nss_db/db-initgroups.c: New file.
50367         * nss/getent.c: Add support for initgroups lookups through getgrouplist
50368         interface.
50370         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
50371         (internal_getgrouplist): Adjust to name change.
50372         Update use_initgroups_entry if this is not the first call.
50373         * nss/databases.def: Add initgroups entry.
50375         * nss/makedb.c (compute_tables): Check result of multiple hash table
50376         sizes to minimize maximum chain length.
50378 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
50380         * Versions.def: Add entry for libnss_db.
50381         * shlib-versions: Likewise.
50382         * nss/Makefile: Add rules to build libnss_db.
50383         * nss/Versions: Add libnss_db information.  Organize libnss_files
50384         entries better.
50385         * nss/db-Makefile: Add gshadow support.  Change rules for the new
50386         makedb progra.  Some minor improvements to generate smaller files.
50387         * nss/nss_db/nss_db.h: Move NSS database header data structures to
50388         here from...
50389         * nss/makedb.c: ...here.
50390         Improve database format to be smaller and require less memory at
50391         runtime.
50392         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
50393         db anymore.
50394         * nss/nss_db/db-netgrp.c: Likewise.
50395         * nss/nss_db/db-open.c: Likewise.
50396         * nss/nss_files/flies-XXX.x: Adjust comments.
50397         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
50398         * nss/nss_files/files-grp.c: Likewise.
50399         * nss/nss_files/files-hosts.c: Likewise.
50400         * nss/nss_files/files-network.c: Likewise.
50401         * nss/nss_files/files-proto.c: Likewise.
50402         * nss/nss_files/files-pwd.c: Likewise.
50403         * nss/nss_files/files-rpc.c: Likewise.
50404         * nss/nss_files/files-service.c: Likewise.
50405         * nss/nss_files/files-sgrp.c: Likewise.
50406         * nss/nss_files/files-spwd.c: Likewise.
50407         * nss/nss_db/db-alias.c: Removed.
50408         * nss/nss_db/dummy-db.h: Removed.
50410 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
50412         * nss/makedb.c: Rewritten to not use database library.
50413         * nss/Makefile: Update to build new makedb program.
50415 2011-06-14  Andreas Jaeger  <aj@suse.de>
50417         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
50418         memset declaration.
50420 2011-06-10  Andreas Schwab  <schwab@redhat.com>
50422         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
50423         tmpbuf.
50425 2011-06-10  Roland McGrath  <roland@hack.frob.com>
50427         * Makerules (shlib.lds): Fail if the linker script comes out empty.
50428         * elf/Makefile ($(objpfx)ld.so): Likewise.
50430         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
50431         Don't list ld.so twice in dependencies.
50433         * posix/bug-regex31.c: Include <stdlib.h>.
50435         * nscd/hstcache.c (cache_addhst): Remove unused variable.
50437         * nis/nss_compat/compat-spwd.c
50438         (getspent_next_nss_netgr): Remove unused variable.
50439         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
50441         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
50442         nonmembers" output to use the right array.
50444         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
50446         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
50448         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
50449         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
50450         * catgets/gencat.c (read_input_file): Likewise.
50451         * locale/programs/locarchive.c (enlarge_archive): Likewise.
50453         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
50454         variable definition inside #if's controlling its use.
50456         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
50458         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
50460         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
50462         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
50463         unreachable code.
50465         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
50467         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
50468         * configure: Regenerated.
50470         * Makerules: Revert last change.
50471         * elf/Makefile: Likewise.
50473 2011-06-09  Roland McGrath  <roland@hack.frob.com>
50475         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
50476         * elf/Makefile ($(objpfx)librtld.os): Likewise.
50477         (reloc-link): Likewise.
50479 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
50481         * elf/Makefile: Add rules to build pldd.
50482         * elf/pldd.c: New file.
50483         * elf/pldd-xx.c: New file.
50485 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
50487         * version.h: Update for 2.15 development version.
50489 2011-06-07  David S. Miller  <davem@davemloft.net>
50491         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
50492         ifuncs.
50493         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
50494         elf_machine_lazy_rel): Likewise.
50495         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
50496         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
50497         elf_machine_lazy_rel): Likewise.
50498         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
50499         dl_hwcap via passed in argument.
50500         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
50501         Likewise.
50503 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50505         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
50507 2011-06-06  Roland McGrath  <roland@hack.frob.com>
50509         [BZ #12849]
50510         * manual/fdl-1.1.texi: New file, verbatim from:
50511         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
50512         * manual/lgpl-2.1.texi: New file, verbatim from:
50513         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
50514         * manual/Makefile (licenses): New variable, list those new file names.
50515         (texis): Use it.
50516         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
50518         * manual/fdl.texi: File removed.
50519         * manual/lesser.texi: File removed.
50520         * manual/libc.texinfo (Copying, Documentation License):
50521         Use new @include file names, put @appendix directive before @include.
50523 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
50525         [BZ #12841]
50526         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
50527         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
50528         (mq_open): Add __NTH.
50530 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
50532         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50533         Assume Intel Core i3/i5/i7 processor if AVX is available.
50535 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50537         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
50538         typo.
50540 2011-05-31  Andreas Schwab  <schwab@redhat.com>
50542         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
50543         memory.  Use alloca_account.  Fix memory leak when retrying.
50545 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
50547         * version.h (RELEASE): Bump for 2.14 release.
50548         * include/features.h (__GLIBC_MINOR__): Bump to 14.
50550         * config.make.in (RANLIB): Remove entry.
50552 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
50554         * po/Makefile (po-sed-cmd): Add ksh to extensions.
50555         (libc.pot): Work around missing support for .ksh extension in xgettext.
50557         [BZ #12684]
50558         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
50559         if both request failed.
50560         (send_dg): In case of server errors clear resplen or *resplen2.
50562         [BZ #12454]
50563         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
50564         when there are multiple maps.
50565         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
50566         (_dl_fini): Remove test here.
50568         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
50570 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
50572         [BZ #12350]
50573         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
50574         bit from old_res_options.
50575         (gaih_inet): Likewise.
50577         [BZ #11099]
50578         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
50579         as signed.
50581         * resolv/res_init.c (res_setoptions): Make the code more compact.
50583         [BZ #11558]
50584         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
50585         set RES_USEVC.
50587         [BZ #11634]
50588         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
50590         * malloc/malloc.h: Mark malloc hook variables as deprecated.
50592         [BZ #11781]
50593         * malloc/malloc.h: Declare malloc hook variables as volatile.
50595         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
50596         in last patch.
50598         [BZ #11799]
50599         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
50600         raise in the comment.
50601         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50602         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50603         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
50605 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
50607         [BZ #12811]
50608         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
50609         grow the buffers more if it already has to be sufficient.
50610         (build_wcs_upper_buffer): Likewise.
50611         * posix/regexec.c (check_matching): Likewise.
50612         (clean_state_log_if_needed): Likewise.
50613         (extend_buffers): Don't enlarge buffers beyond size of the input
50614         buffer.
50615         Patches mostly by Emil Wojak <emil@wojak.eu>.
50616         * posix/bug-regex32.c: New file.
50617         * posix/Makefile (tests): Add bug-regex32.
50619         * locale/findlocale.c (_nl_find_locale): Return right away if
50620         _nl_explode_name failed.
50621         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
50623         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
50625         * debug/xtrace.sh: Unify messages.
50626         * malloc/memusage.sh: Likewise.
50628         [BZ #12813]
50629         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
50630         time symbol from vDSO.  Substitute with vsyscall if not available.
50631         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
50632         __vdso_time.
50634         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
50635         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
50636         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
50637         Add sendmmsg and internal_sendmmsg.
50638         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
50639         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
50640         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
50642         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
50643         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
50644         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
50646 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
50648         [BZ #12813]
50649         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
50650         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
50651         available.
50652         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
50653         __vdso_getcpu.
50655         [BZ #12814]
50656         * iconvdata/Makefile (tests): Add bug-iconv9.
50657         * iconvdata/bug-iconv9.c: New file.
50659 2011-05-27  Andreas Schwab  <schwab@redhat.com>
50661         [BZ #12814]
50662         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
50664 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
50666         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50667         (struct user_regs_struct): Change intcs field back to cs.
50669 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
50671         * po/ja.po: Update from translation team.
50673 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
50675         [BZ #12795]
50676         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
50677         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
50679 2011-05-20  Andreas Schwab  <schwab@redhat.com>
50681         * stdlib/longlong.h: Update from GCC.
50683 2011-05-23  Andreas Schwab  <schwab@redhat.com>
50685         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
50686         parameter name.
50687         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
50688         Add parameter name.
50689         (__sysconf): Pass it down.
50691 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
50693         [BZ #12671]
50694         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
50695         some situations.
50696         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
50697         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
50698         add in in __libc_use_alloca calls.  Adjust callers.
50699         (glob): Use malloc in some situations.
50701         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
50702         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
50703         pltexit.
50705 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
50707         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
50708         and CLOCK_BOOTTIME_ALARM.
50710         [BZ #12782]
50711         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
50712         is returned.
50714         * string/_strerror.c (__strerror_r): Print negative errors as signed
50715         numbers.
50717         [BZ #12777]
50718         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
50719         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
50720         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
50722         * configure.in: Fix typo in redirection and correct removal of test
50723         files in two cases.
50725         [BZ #12788]
50726         * locale/setlocale.c (new_composite_name): Fix test to check for
50727         identical name of all categories.
50729         [BZ #12792]
50730         * libio/filedoalloc.c (local_isatty): New function.
50731         (_IO_file_doallocate): Use local_isatty.
50732         * stdio-common/perror.c (perror): In case a new stream is used
50733         forward the stream error.
50734         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
50735         error flag.
50737 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
50739         [BZ #11869]
50740         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
50741         alloca.
50742         * include/alloca.h (extend_alloca_account): Define.
50744         [BZ #11857]
50745         * posix/regex.h: Fix comments with documentation of user-accessible
50746         fields after compilation and describe correct free'ing of pattern
50747         after re_compile_pattern.
50748         Patch by Reuben Thomas <rrt@sc3d.org>.
50750 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
50752         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
50753         and -mno-altivec to prevent the compiler from using Altivec and/or
50754         VSX instructions when the corresponding registers are not available.
50756 2011-05-19  Andreas Schwab  <schwab@redhat.com>
50758         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
50760 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
50762         * libio/freopen.c (freopen): Use __dup2, not dup2.
50763         * libio/freopen64.c (freopen64): Likewise.
50765 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
50767         [BZ #12775]
50768         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
50769         * math/Makefile (tests): Add test-powl.
50770         (CFLAGS-test-powl.c): Define.
50771         * math/test-powl.c: New file.
50773 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50775         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
50777 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
50779         [BZ #11837]
50780         * iconvdata/gb18030.c: Update to GB18020-2005.
50782 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
50784         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
50785         RE_SYNTAX_POSIX_AWK): Update to match recent development.
50786         Patch by Aharon Robbins <arnold@skeeve.com>.
50788         [BZ #11892]
50789         * stdlib/putenv.c (putenv): Don't always create copy of the variable
50790         on the stack.
50792         [BZ #11895]
50793         * misc/pselect.c (__pselect): Handle timeout value errors hidden
50794         through underflows.
50796         [BZ #12766]
50797         * misc/error.c (error_at_line): Ensure file_name and old_file_name
50798         point to strings before performing equality test for error_one_per_line
50799         mode.
50801         [BZ #11697]
50802         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
50804         [BZ #11820]
50805         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
50806         (struct user_fpregs_struct): Avoid __uint*_t types.
50808         [BZ #6420]
50809         * malloc/mtrace.c (tr_where): Add additional parameter to point to
50810         symbol info.  Use it instead of calling _dl_addr locally.
50811         (lock_and_info): New function.
50812         (tr_freehook): Call lock_and_info and pass symbol info as additional
50813         parameter to tr_where.
50814         (tr_mallochook): Likewise.
50815         (tr_reallochook): Likewise.
50816         (tr_memalignhook): Likewise.
50818         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
50819         used and couldn't be at all thread-safe.
50821 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
50823         * libio/freopen.c (freopen): Don't close old file descriptor
50824         before the new one is opened.  Instead dup the new file descriptor
50825         to the old one after the new stream is created.
50826         * libio/freopen64.c (freopen64): Likewise.
50827         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
50828         * libio/fileops.c (_IO_new_file_close_it): Handle new
50829         _IO_FLAGS2_NOCLOSE flag.
50830         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
50831         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
50832         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
50833         _IO_FLAGS2_NOCLOSE flag.
50834         * include/unistd.h: Add hidden_proto for dup3.
50835         Define __have_dup3.
50836         * io/dup3.c: Define hidden symbol.
50837         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
50839         [BZ #7101]
50840         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
50841         when an incomplete long option is used.
50842         * posix/tst-getopt_long1.c: New file.
50843         * posix/Makefile (tests): Add tst-getopt_long1.
50845         [BZ #10138]
50846         * scripts/config.guess: Update from autoconf-2.68.
50847         * scripts/config.sub: Likewise.
50849         [BZ #10157]
50850         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
50851         tests into ...
50852         (has_cpuclock): ...this.  New function.
50853         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
50854         macro here based on has_cpuclock code.
50856         [BZ #10149]
50857         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50858         First byte (not low byte) is now always NUL.
50859         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
50861         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
50862         Use non-cancelable interfaces.
50864         [BZ #9809]
50865         * locale/iso-639.def: Add entry for Sorani.
50867         [BZ #11901]
50868         * include/stdlib.h: Move include protection to the right place.
50869         Define abort_msg_s.  Declare __abort_msg with it.
50870         * stdlib/abort.c (__abort_msg): Adjust type.
50871         * assert/assert.c (__assert_fail_base): New function.  Majority
50872         of code from __assert_fail.  Allocate memory for __abort_msg with
50873         mmap.
50874         (__assert_fail): Now call __assert_fail_base.
50875         * assert/assert-perr.c: Remove bulk of implementation.  Use
50876         __assert_fail_base.
50877         * include/assert.hL Declare __assert_fail_base.
50878         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
50879         mmap.
50880         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
50882 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
50884         [BZ #11952]
50885         [BZ #12453]
50886         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
50887         until all modules are registered in the DTV.
50888         * elf/Makefile: Add rules to build and run tst-tls19.
50889         * elf/tst-tls19.c: New file.
50890         * elf/tst-tls19mod1.c: New file.
50891         * elf/tst-tls19mod2.c: New file.
50892         * elf/tst-tls19mod3.c: New file.
50893         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
50895         [BZ #12083]
50896         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
50897         correctly.
50899         [BZ #12601]
50900         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
50901         two-byte sequence errors.
50902         * iconvdata/Makefile (tests): Add bug-iconv8.
50903         * iconvdata/bug-iconv8.c: New file.
50905         [BZ #12626]
50906         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
50907         buf2 definition.
50909         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
50911         [BZ #12432]
50912         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
50913         (dummy_getcfa): New function.
50914         (init): Get _Unwind_GetCFA address, use dummy if not found.
50915         (backtrace_helper): In recursion check, also check whether CFA changes.
50916         (__backtrace): Completely initialize arg.
50918         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
50919         storing incomplete byte sequence in state object.  Avoid testing for
50920         guaranteed too small input if we know there is enough data available.
50922 2011-05-11  Andreas Schwab  <schwab@redhat.com>
50924         * Makeconfig (+link-pie): Indent.
50925         * Rules (binaries-pie): Define if $(have-fpie) and
50926         $(build-shared).
50927         (binaries-shared): Also filter out $(binaries-pie).
50928         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
50929         * nscd/Makefile (others-pie): Add nscd.
50930         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
50931         ($(objpfx)nscd): Remove command override.
50932         * login/Makefile (others-pie): Add pt_chown.
50933         ($(objpfx)pt_chown): Remove command override.
50934         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
50935         remove command overrides.
50937 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
50939         * libio/tst_putwc.c: Fix error messages.
50941         [BZ #12724]
50942         * libio/fileops.c (_IO_new_file_close_it): Always flush when
50943         currently writing and seek to current position when not.
50944         * libio/Makefile (tests): Add bug-fclose1.
50945         * libio/bug-fclose1.c: New file.
50947 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
50949         [BZ #12511]
50950         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
50951         don't set DF_1_NODELETE here.
50952         (do_lookup_x): When entering new entry test for copy relocation
50953         and if necessary set DF_1_NODELETE flag.
50954         * elf/tst-unique4.cc: New file.
50955         * elf/tst-unique4.h: New file.
50956         * elf/tst-unique4lib.cc: New file.
50957         * elf/Makefile: Add rules to build and run tst-unique4.
50958         Patch by Piotr Bury <pbury@goahead.com>.
50960 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
50962         [BZ #12052]
50963         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
50965         [BZ #12625]
50966         * misc/mntent_r.c (addmntent): Flush the stream after the output
50968         [BZ #12393]
50969         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
50970         (is_trusted_path_normalize): Skip initial colon.  Append slash
50971         to empty buffer.  Duplicate is_trusted_path code but allow
50972         constructed patch to be prefix.
50973         (is_dst): Allow $ORIGIN followed by /.
50974         (_dl_dst_substitute): Correct clearing of check_for_trusted.
50975         Correct testing of result of is_trusted_path_normalize
50976         (decompose_rpath): Fix warning.
50978 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
50980         [BZ #11257]
50981         * grp/initgroups.c (internal_getgrouplist): When we found the service
50982         list through the initgroups entry in nsswitch.conf do not always
50983         continue on a successful lookup.  Don't always use the
50984         __nss_group_database value if it is set.
50985         * nss/nsswitch.conf (initgroups): Change action for successful db
50986         lookup to continue for compatibility.
50988 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
50990         [BZ #11532]
50991         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
50992         and CP774 modules.
50993         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
50994         and CP774 modules.
50995         * iconvdata/tst-tables.sh: Likewise.
50996         * iconvdata/cp770.c: New file.
50997         * iconvdata/cp771.c: New file.
50998         * iconvdata/cp772.c: New file.
50999         * iconvdata/cp773.c: New file.
51000         * iconvdata/cp774.c: New file.
51001         * iconvdata/testdata/CP770: New file.
51002         * iconvdata/testdata/CP770..UTF8: New file.
51003         * iconvdata/testdata/CP771: New file.
51004         * iconvdata/testdata/CP771..UTF8: New file.
51005         * iconvdata/testdata/CP772: New file.
51006         * iconvdata/testdata/CP772..UTF8: New file.
51007         * iconvdata/testdata/CP773: New file.
51008         * iconvdata/testdata/CP773..UTF8: New file.
51009         * iconvdata/testdata/CP774: New file.
51010         * iconvdata/testdata/CP774..UTF8: New file.
51012         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
51013         END CHARMAP line.
51014         * iconvdata/gen-8bit-gap.sh: Likewise.
51015         * iconvdata/gen-8bit.sh: Likewise.
51017         * locale/iso-639.def: Add ary entry.
51019         [BZ #11258]
51020         * locale/C-translit.h.in: Add U20A1 transliteration.
51022         [BZ #12178]
51023         * locale/iso-639.def: Add wae entry.
51024         Patch by Kevin Bortis <bortis@translate-wae.ch>.
51026         [BZ #12545]
51027         * locale/programs/localedef.c (construct_output_path): Use ssize_t
51028         for n.
51030         [BZ #12711]
51031         * locale/C-translit.h.in: Add entry for U20B9.
51032         Patch by pravin.d.s@gmail.com.
51034 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
51036         [BZ #12713]
51037         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
51038         ENAMETOOLONG use generic getcwd.
51039         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
51040         in rtld.  Use *stat64.
51041         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
51042         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
51043         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
51044         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
51045         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
51046         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
51047         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
51048         __fstatat64 macros.
51049         * include/dirent.h: Add libc_hidden_proto for rewinddir.
51050         * dirent/rewinddir.c: Add libc_hidden_def.
51051         * sysdeps/mach/hurd/rewinddir.c: Likewise.
51052         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
51054         * include/dirent.h (__alloc_dir): Add flags parameter.
51055         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
51056         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
51057         __alloc_dir.
51058         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
51059         from fdopendir if O_CLOEXEC is already set.
51061 2011-03-15  Alan Modra  <amodra@gmail.com>
51063         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
51064         l_tls_firstbyte_offset non-zero.  Save padding offset in
51065         l_tls_firstbyte_offset for later use.
51066         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
51067         freeing static tls block.
51069 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
51071         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
51072         where #ifdef was intended.  The intent is to prevent ARG_MAX from
51073         being defined by the kernel headers.
51075 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
51077         [BZ #12734]
51078         * resolv/resolv.h: Define RES_NOTLDQUERY.
51079         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
51080         no-tld-query and set RES_NOTLDQUERY.
51081         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
51082         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
51083         modern BIND to search name as TLD unless forbidden.
51085 2011-05-07  Petr Baudis  <pasky@suse.cz>
51086             Ulrich Drepper  <drepper@gmail.com>
51088         [BZ #12393]
51089         * elf/dl-load.c (fillin_rpath): Move trusted path check...
51090         (is_trusted_path): ...to here.
51091         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
51092         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
51093         using is_trusted_path_normalize() in setuid scripts.
51095 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
51097         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
51098         __BEGIN/__END_DECLS.
51100 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
51102         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
51103         NSS_STATUS_NOTFOUND if no record was found.
51105 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51107         * sunrpc/Makefile (headers): Add rpc/netdb.h.
51108         (headers-not-in-tirpc): Remove rpc/netdb.h
51109         * resolv/netdb.h: Revert last change.
51111 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
51113         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
51114         circular dependency between libgcc.a and libc.a.
51116 2011-05-05  Andreas Schwab  <schwab@redhat.com>
51118         * resolv/netdb.h: Don't include <rpc/netdb.h>.
51119         * nis/Makefile: Don't install rpcsvc/*.
51120         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
51121         instead of <rpc/types.h>.
51122         (MAXHOSTNAMELEN): Define.
51124 2011-05-03  Andreas Schwab  <schwab@redhat.com>
51126         * elf/ldconfig.c (add_dir): Don't crash on empty path.
51128 2011-04-28  Maciej Babinski  <mbabinski@google.com>
51130         [BZ #12714]
51131         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
51132         gethostbyname4_r when IPv6 results are possible.
51134 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
51136         [BZ #12723]
51137         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
51138         _PC_PIPE_BUF handling.
51140 2011-04-30  Bruno Haible  <bruno@clisp.org>
51142         [BZ #12717]
51143         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
51144         * resolv/netdb.h (getnameinfo): Change type of flags parameter
51145         to 'int'.
51146         * inet/getnameinfo.c (getnameinfo): Likewise.
51148 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
51150         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
51151         to groups setting in database lookup.
51152         * nss/nsswitch.conf: Add initgroups entry.
51154 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
51156         [BZ #12685]
51157         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
51158         mode string.
51159         Patch by Eric Blake <eblake@redhat.com>.
51161 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
51163         * sunrpc/Makefile (need-export-routines): Add svc_run.
51164         (routines): Remove svc_run.
51165         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
51166         * sunrpc/clnt_perr.c (clnt_perrno): Export.
51167         * sunrpc/svc_run.c (svc_run): Likewise.
51168         * sunrpc/svc_udp.c (svcudp_create): Likewise.
51170 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
51172         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
51173         problem in reallocation in last patch.
51175 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
51177         * sunrpc/Makefile: Move inclusion of Rules.
51179 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51181         * nss/nss_files/files-initgroups.c: New file.
51182         * nss/Makefile (libnss_files-routines): Add files-initgroups.
51183         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
51184         _nss_files_initgroups_dyn.
51186 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
51188         * elf/elf.h (R_ARM_IRELATIVE): Define.
51190 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
51192         * po/ru.po: Update from translation team.
51194 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51196         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
51197         dependencies.
51199 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
51201         [BZ #12653]
51202         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
51203         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
51204         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
51205         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
51206         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
51208 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
51210         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
51211         differing bytes.
51212         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
51213         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
51214         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
51216 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
51218         [BZ #12420]
51219         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
51220         storing it.
51221         * stdlib/bug-getcontext.c: New file.
51222         * stdlib/Makefile: Add rules to build and run bug-getcontext.
51224 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51226         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
51227         instructions into .machine "z9-109".
51228         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
51229         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
51231 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51233         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
51234         between environment variables and auxiliary vector.
51236 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
51238         * Makefile: Add rules to build linkobj/libc.so.
51239         * include/libc-symbols.h: Define libc_hidden_nolink.
51240         * include/rpc/auth.h: Mark functions which are to be hidden.
51241         * include/rpc/auth_des.h: Likewise.
51242         * include/rpc/auth_unix.h: Likewise.
51243         * include/rpc/clnt.h: Likewise.
51244         * include/rpc/des_crypt.h: Likewise.
51245         * include/rpc/key_prot.h: Likewise.
51246         * include/rpc/pmap_clnt.h: Likewise.
51247         * include/rpc/pmap_prot.h: Likewise.
51248         * include/rpc/pmap_rmt.h: Likewise.
51249         * include/rpc/rpc_msg.h: Likewise.
51250         * include/rpc/svc.h: Likewise.
51251         * include/rpc/svc_auth.h: Likewise.
51252         * include/rpc/xdr.h: Likewise.
51253         * nis/Makefile: Link all DSOs against linkobj/libc.so.
51254         * nss/Makefile: Likewise.
51255         * sunrpc/Makefile: Don't install headers.  Build library with normal
51256         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
51257         * sunrpc/auth_des.c: Hide exported symbols by default, export some
51258         for the compat linking library.  Remove use of INTDEF/INTUSE.
51259         * sunrpc/auth_none.c: Likewise.
51260         * sunrpc/auth_unix.c: Likewise.
51261         * sunrpc/authdes_prot.c: Likewise.
51262         * sunrpc/authuxprot.c: Likewise.
51263         * sunrpc/clnt_gen.c: Likewise.
51264         * sunrpc/clnt_perr.c: Likewise.
51265         * sunrpc/clnt_raw.c: Likewise.
51266         * sunrpc/clnt_simp.c: Likewise.
51267         * sunrpc/clnt_tcp.c: Likewise.
51268         * sunrpc/clnt_udp.c: Likewise.
51269         * sunrpc/clnt_unix.c: Likewise.
51270         * sunrpc/des_crypt.c: Likewise.
51271         * sunrpc/des_soft.c: Likewise.
51272         * sunrpc/get_myaddr.c: Likewise.
51273         * sunrpc/key_call.c: Likewise.
51274         * sunrpc/key_prot.c: Likewise.
51275         * sunrpc/netname.c: Likewise.
51276         * sunrpc/pm_getmaps.c: Likewise.
51277         * sunrpc/pm_getport.c: Likewise.
51278         * sunrpc/pmap_clnt.c: Likewise.
51279         * sunrpc/pmap_prot.c: Likewise.
51280         * sunrpc/pmap_prot2.c: Likewise.
51281         * sunrpc/pmap_rmt.c: Likewise.
51282         * sunrpc/publickey.c: Likewise.
51283         * sunrpc/rpc_cmsg.c: Likewise.
51284         * sunrpc/rpc_common.c: Likewise.
51285         * sunrpc/rpc_dtable.c: Likewise.
51286         * sunrpc/rpc_prot.c: Likewise.
51287         * sunrpc/rpc_thread.c: Likewise.
51288         * sunrpc/rtime.c: Likewise.
51289         * sunrpc/svc.c: Likewise.
51290         * sunrpc/svc_auth.c: Likewise.
51291         * sunrpc/svc_authux.c: Likewise.
51292         * sunrpc/svc_raw.c: Likewise.
51293         * sunrpc/svc_run.c: Likewise.
51294         * sunrpc/svc_simple.c: Likewise.
51295         * sunrpc/svc_tcp.c: Likewise.
51296         * sunrpc/svc_udp.c: Likewise.
51297         * sunrpc/svc_unix.c: Likewise.
51298         * sunrpc/svcauth_des.c: Likewise.
51299         * sunrpc/xcrypt.c: Likewise.
51300         * sunrpc/xdr.c: Likewise.
51301         * sunrpc/xdr_array.c: Likewise.
51302         * sunrpc/xdr_float.c: Likewise.
51303         * sunrpc/xdr_intXX_t.c: Likewise.
51304         * sunrpc/xdr_mem.c: Likewise.
51305         * sunrpc/xdr_rec.c: Likewise.
51306         * sunrpc/xdr_ref.c: Likewise.
51307         * sunrpc/xdr_sizeof.c: Likewise.
51308         * sunrpc/xdr_stdio.c: Likewise.
51310 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
51312         [BZ #12650]
51313         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
51314         * sysdeps/ia64/dl-tls.h: Likewise.
51315         * sysdeps/powerpc/dl-tls.h: Likewise.
51316         * sysdeps/s390/dl-tls.h: Likewise.
51317         * sysdeps/sh/dl-tls.h: Likewise.
51318         * sysdeps/sparc/dl-tls.h: Likewise.
51319         * sysdeps/x86_64/dl-tls.h: Likewise.
51320         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
51322 2011-03-14  Andreas Schwab  <schwab@redhat.com>
51324         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
51325         rpath element also skip the following colon.
51326         (expand_dynamic_string_token): Add is_path parameter and pass
51327         down to DL_DST_REQUIRED and _dl_dst_substitute.
51328         (decompose_rpath): Call expand_dynamic_string_token with
51329         non-zero is_path.  Ignore empty rpaths.
51330         (_dl_map_object_from_fd): Call expand_dynamic_string_token
51331         with zero is_path.
51333 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
51335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
51336         Make cancelable.
51338 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
51340         [BZ #12655]
51341         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
51342         Patch by Filipe David Manana <fdmanana@apache.org>.
51344 2011-04-07  Andreas Schwab  <schwab@redhat.com>
51346         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
51347         Maintain aligned stack.
51348         (CHECK_RSP): Remove unused macro.
51350 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
51352         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
51353         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
51355 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
51357         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
51359         * include/features.h: Mention __USE_XOPEN2K8 in comment.
51361 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
51363         [BZ #12518]
51364         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
51365         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
51366         * sysdeps/x86_64/memmove.c: New file.
51367         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
51368         (memcpy): Renamed to ...
51369         (__new_memcpy): This.
51370         (memcpy): Provide GLIBC_2_14 memcpy.
51371         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
51372         (memcpy): Provide GLIBC_2_2_5 memcpy.
51374 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51376         [BZ #12631]
51377         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
51379 2011-03-30  Andreas Schwab  <schwab@redhat.com>
51381         * misc/syncfs.c: New file.
51382         * misc/Makefile (routines): Add syncfs.
51383         * posix/unistd.h: Declare syncfs.
51384         * sysdeps/unix/syscalls.list: Add syncfs.
51386 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51388         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
51389         open_by_handle_at.
51390         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
51391         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51392         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51393         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51394         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51395         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
51396         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51398 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51400         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
51401         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51402         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
51403         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51404         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51405         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51406         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51408         * io/Makefile: Compile fallocate.c, fallocate64.c, and
51409         sync_file_range.c with -fexceptions.
51410         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
51411         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
51412         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
51413         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
51414         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
51415         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
51416         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
51417         sync_file_range as cancellation point
51418         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
51419         now a wrapper around __call_sync_file_range with cancellation handling.
51420         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
51421         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
51422         function name to __call_sync_file_range.
51423         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
51424         Add call_sync_file_range.
51426 2011-04-01  Andreas Schwab  <schwab@redhat.com>
51428         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
51429         bits/timex.h.
51431 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
51433         * iconv/iconv.h: Fix typo in comment.
51434         * io/fcntl.h: Likewise.
51435         * libio/stdio.h: Likewise.
51436         * posix/spawn.h: Likewise.
51437         * posix/unistd.h: Likewise.
51438         * stdlib/stdlib.h: Likewise.
51439         * time/time.h: Likewise.
51440         * wcsmbs/wchar.h: Likewise.
51442         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
51443         open_by_handle): Add.
51444         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
51445         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
51446         Augment a few comments.
51447         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
51448         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
51449         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
51450         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
51451         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
51452         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
51453         open_by_handle.
51455         * io/fcntl.h (AT_EMPTY_PATH): Define.
51457 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
51459         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
51460         * sysdeps/unix/sysv/linux/bits/time.h: New file.
51461         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
51462         to...
51463         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
51464         * Versions.def: Add GLIBC_2.14.
51465         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
51466         Export.
51468 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
51470         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
51471         round counter.
51472         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51474 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
51476         [BZ #12597]
51477         * string/test-strncmp.c (do_page_test): New function.
51478         (check2): Likewise.
51479         (test_main): Call check2.
51480         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
51482 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
51484         [BZ #12587]
51485         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
51486         Handle cache information in CPU leaf 4.
51487         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
51489 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
51491         [BZ #12583]
51492         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
51493         character representation.
51494         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
51496 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
51498         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
51499         END(__isnan) to END(__isnanf) to match function entry point/label
51500         EALIGN(__isnanf,...).
51502 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
51504         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
51506 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
51508         [BZ #12510]
51509         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
51510         copy from the symbol referenced in the relocation to initialize the
51511         used variable.
51512         Patch by Piotr Bury <pbury@goahead.com>.
51513         * elf/Makefile: Add rules to build and tst-unique3.
51514         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
51515         * elf/tst-unique3.cc: New file.
51516         * elf/tst-unique3.h: New file.
51517         * elf/tst-unique3lib.cc: New file.
51518         * elf/tst-unique3lib2.cc: New file.
51520         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
51522 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
51524         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
51525         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
51526         to _start.
51528 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
51530         * elf/dl-load.c (_dl_map_object): If we are looking for the first
51531         to-be-loaded object along a path to loader is ld.so.
51533 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51534             Ulrich Drepper  <drepper@gmail.com>
51536         * sysdeps/x86_64/memset.S: After aligning destination, code
51537         branches to different locations depending on the value of
51538         misalignment, when multiarch is enabled. Fix this.
51540 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
51542         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
51543         Set _x86_64_preferred_memory_instruction for AMD processsors.
51544         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51545         Set bit_Prefer_SSE_for_memop for AMD processors.
51547 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
51549         * libio/fmemopen.c (fmemopen): Optimize a bit.
51551 2011-03-03  Andreas Schwab  <schwab@redhat.com>
51553         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
51555 2011-03-03  Roland McGrath  <roland@redhat.com>
51557         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
51559 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
51561         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
51562         __bzero_ultra1 instead of __memset_ultra1.
51564 2011-02-23  Andreas Schwab  <schwab@redhat.com>
51565             Ulrich Drepper  <drepper@gmail.com>
51567         [BZ #12509]
51568         * include/link.h (struct link_map): Add l_orig_initfini.
51569         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
51570         returning unsuccessfully.
51571         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
51572         close of a file loaded at startup, restore the original l_initfini
51573         list.
51574         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
51575         list, store the pointer.
51576         * elf/Makefile ($(objpfx)noload-mem): New rule.
51577         (noload-ENV): Define.
51578         (tests): Add $(objpfx)noload-mem.
51579         * elf/noload.c: Include <memcheck.h>.
51580         (main): Call mtrace.  Close all opened handles.
51582 2011-02-17  Andreas Schwab  <schwab@redhat.com>
51584         [BZ #12454]
51585         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
51586         dependencies are missing.
51588 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51590         Fix __if_freereq crash: Unlike the generic version which uses free,
51591         Hurd needs munmap.
51592         * sysdeps/mach/hurd/ifreq.h: New file.
51594 2011-01-27  Petr Baudis  <pasky@suse.cz>
51595             Ulrich Drepper  <drepper@gmail.com>
51597         [BZ 12445]#
51598         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
51599         to extend_alloca().
51600         * stdio-common/bug23.c: New file.
51601         * stdio-common/Makefile (tests): Add bug23.
51603 2010-09-28  Andreas Schwab  <schwab@redhat.com>
51604             Ulrich Drepper  <drepper@gmail.com>
51606         [BZ #12489]
51607         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
51608         before performing relro protection.  At old place add assertion
51609         to make sure nothing changed.
51611 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
51612             Glauber de Oliveira Costa  <glommer@gmail.com>
51614         * elf/elf.h: Add new ARM TLS relocs.
51616 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
51618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
51619         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
51620         cast from r3.
51621         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
51622         'tests' variable.
51623         * sysdeps/wordsize-64/tst-writev.c: New file.
51625 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
51627         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
51628         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
51629         insns in _dl_start to prevent a TOC reference before relocs are
51630         resolved.
51632 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
51634         [BZ #12469]
51635         * Makeconfig: Remove RANLIB definition.
51636         * Makerules: Don't use RANLIB.
51637         * aclocal.m4: Remove ranlib test.
51638         * configure.in: No need to check for ranlib.
51639         * elf/rtld-Rules: Don't use RANLIB.
51641 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51643         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
51644         protection macro.
51645         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
51646         inclusion protection macro.
51648         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
51649         SIGRTMIN and SIGRTMAX and print information in that case only when
51650         SIGRTMIN is defined.
51652 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
51654         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
51655         arginfo fn returning -1.
51657         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
51658         and thousands string is zero terminated.
51660 2011-02-03  Andreas Schwab  <schwab@redhat.com>
51662         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
51663         sysdeps/unix/sysv/linux/bits/socket.h.
51665 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51667         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
51668         (__CPU_COUNT): Remove old macros.
51669         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
51670         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
51671         (__CPU_ALLOC, __CPU_FREE): Add macros.
51672         (__sched_cpualloc, __sched_cpufree): Add declarations.
51674 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
51676         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
51677         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
51678         * nscd/aicache.c (addhstaiX): Return timeout of added value.
51679         (readdhstai): Return value of addhstaiX call.
51680         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
51681         (addgrbyX): Return value returned by cache_addgr.
51682         (readdgrbyname): Return value returned by addgrbyX.
51683         (readdgrbygid): Likewise.
51684         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
51685         (addpwbyX): Return value returned by cache_addpw.
51686         (readdpwbyname): Return value returned by addhstbyX.
51687         (readdpwbyuid): Likewise.
51688         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
51689         (addservbyX): Return value returned by cache_addserv.
51690         (readdservbyname): Return value returned by addservbyX:
51691         (readdservbyport): Likewise.
51692         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
51693         (addhstbyX): Return value returned by cache_addhst.
51694         (readdhstbyname): Return value returned by addhstbyX.
51695         (readdhstbyaddr): Likewise.
51696         (readdhstbynamev6): Likewise.
51697         (readdhstbyaddrv6): Likewise.
51698         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
51699         (readdinitgroups): Return value returned by addinitgroupsX.
51700         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
51701         (prune_cache): Keep track of timeout value of re-added entries.
51702         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
51703         * nscd/nscd.h: Adjust prototypes of readd* functions.
51705 2011-02-04  Roland McGrath  <roland@redhat.com>
51707         * nis/nis_server.c (nis_servstate): Use the right name for 0.
51708         (nis_stats): Likewise.
51709         * nis/nis_modify.c (nis_modify): Likewise.
51710         * nis/nis_remove.c (nis_remove): Likewise.
51711         * nis/nis_add.c (nis_add): Likewise.
51713         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
51715         * posix/fnmatch_loop.c: Add some consts.
51717         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
51719 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
51721         [BZ #12460]
51722         * config.make.in (config-cflags-novzeroupper): Define.
51723         * configure.in: Substitute libc_cv_cc_novzeroupper.
51724         * elf/Makefile (AVX-CFLAGS): Define.
51725         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
51726         (CFLAGS-tst-auditmod4a.c): Likewise.
51727         (CFLAGS-tst-auditmod4b.c): Likewise.
51728         (CFLAGS-tst-auditmod6b.c): Likewise.
51729         (CFLAGS-tst-auditmod6c.c): Likewise.
51730         (CFLAGS-tst-auditmod7b.c): Likewise.
51731         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
51733 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
51735         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
51736         function to the callback.
51737         Patch partly by Jiri Olsa <jolsa@redhat.com>.
51739 2011-02-02  Andreas Schwab  <schwab@redhat.com>
51741         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
51742         of errno.
51744 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
51746         [BZ #11724]
51747         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
51748         of constructors.
51749         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
51750         of destructors.
51751         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
51753         [BZ #11724]
51754         * elf/Makefile: Add rules to build and run new test.
51755         * elf/tst-initorder.c: New file.
51756         * elf/tst-initorder.exp: New file.
51757         * elf/tst-initordera1.c: New file.
51758         * elf/tst-initordera2.c: New file.
51759         * elf/tst-initordera3.c: New file.
51760         * elf/tst-initordera4.c: New file.
51761         * elf/tst-initorderb1.c: New file.
51762         * elf/tst-initorderb2.c: New file.
51763         * elf/tst-order-a1.c: New file.
51764         * elf/tst-order-a2.c: New file.
51765         * elf/tst-order-a3.c: New file.
51766         * elf/tst-order-a4.c: New file.
51767         * elf/tst-order-b1.c: New file.
51768         * elf/tst-order-b2.c: New file.
51769         * elf/tst-order-main.c: New file.
51770         New test case by George Gensure <werkt0@gmail.com>.
51772 2010-10-01  Andreas Schwab  <schwab@redhat.com>
51774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51775         decoding ACE if AI_CANONIDN.
51777 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
51779         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
51781 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
51783         * version.h (RELEASE): Bump for 2.13 release.
51784         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
51786         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
51788         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
51789         MADV_NOHUGEPAGE.
51790         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
51791         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
51792         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
51793         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
51794         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
51795         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
51797         * posix/getconf.c: Update copyright year.
51798         * catgets/gencat.c: Likewise.
51799         * csu/version.c: Likewise.
51800         * debug/catchsegv.sh: Likewise.
51801         * debug/xtrace.sh: Likewise.
51802         * elf/ldconfig.c: Likewise.
51803         * elf/ldd.bash.in: Likewise.
51804         * elf/sprof.c (print_version): Likewise.
51805         * iconv/iconv_prog.c: Likewise.
51806         * iconv/iconvconfig.c: Likewise.
51807         * locale/programs/locale.c: Likewise.
51808         * locale/programs/localedef.c: Likewise.
51809         * malloc/memusage.sh: Likewise.
51810         * malloc/mtrace.pl: Likewise.
51811         * nscd/nscd.c (print_version): Likewise.
51812         * nss/getent.c: Likewise.
51814         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
51815         PF_CAIF, and PF_ALG.
51816         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51818 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
51820         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
51821         (modules-names): Use them.
51822         (ifunc-test-modules, ifunc-pie-tests): Define.
51823         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
51824         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
51825         (test-extras): Likewise.
51826         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
51827         $(compile-command.c).
51828         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
51829         (all-built-dso): Define.
51830         (check-textrel.out, check-execstack.out): Depend on it.
51832         * configure.in: Don't override --enable-multi-arch.
51834 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
51836         [BZ #6812]
51837         * nscd/hstcache.c (tryagain): Define.
51838         (cache_addhst): Return tryagain not notfound for temporary errors.
51839         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
51840         failed.
51842 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
51844         [BZ #10563]
51845         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
51846         to make the syscall.
51847         * sysdeps/unix/sysv/linux/setgroups.c: New file.
51849         [BZ #12378]
51850         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
51851         and fall back to matching as normal character if the string ends before
51852         the matching ']' is found.  This is what POSIX requires.
51853         * posix/testfnm.c: Adjust test result.
51854         * posix/globtest.sh: Adjust test result.  Add new test.
51855         * posix/tst-fnmatch.input: Likewise.
51856         * posix/tst-fnmatch2.c: Add new test.
51858 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
51860         * elf/Makefile (check-execstack): Revert last change.  Depend on
51861         check-execstack.h.
51862         (check-execstack.h): New target.
51863         (generated): Add check-execstack.h.
51864         * elf/check-execstack.c: Include "check-execstack.h".
51865         (main): Revert last change.
51866         (handle_file): Return zero if GNU_STACK is absent and
51867         DEFAULT_STACK_PERMS doesn't include PF_X.
51869 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
51871         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
51872         in child fails because the descriptor is already closed.
51873         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
51874         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
51875         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
51877         [BZ #12397]
51878         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
51879         syscall.
51881         [BZ #10484]
51882         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
51883         temporary buffer used to handle multi lookups locally.
51884         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
51886 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51888         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
51889         loader is ld.so.
51891 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
51893         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
51894         alignment for SSE2.
51896 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
51898         [BZ #12394]
51899         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
51900         characters.  When rounding increased number of integer digits recompute
51901         number of groups.
51902         * stdio-common/tst-grouping.c: New file.
51903         * stdio-common/Makefile: Add rules to build and run tst-grouping.
51905 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
51907         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
51908         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
51910         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
51911         void.
51912         * bits/select.h: Likewise.
51914 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
51916         * po/ja.po: Update from translation team.
51918 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
51920         [BZ #11155]
51921         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
51922         implementation just like for lxstat, fxstatat, et al.
51924 2010-12-27  Jim Meyering  <meyering@redhat.com>
51926         [BZ #12348]
51927         * posix/regexec.c (build_trtable): Return failure indication upon
51928         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
51930 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
51932         [BZ #12201]
51933         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
51934         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
51935         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
51936         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
51938         [BZ #12207]
51939         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
51941         [BZ #12204]
51942         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
51943         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
51945 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
51947         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
51948         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
51949         script has SORT_BY_INIT_PRIORITY.
51950         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
51951         NO_CTORS_DTORS_SECTIONS is defined.
51952         * elf/soinit.c: Likewise.
51953         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
51954         NO_CTORS_DTORS_SECTIONS is defined.
51955         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
51956         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
51957         * sysdeps/sh/init-first.c: Likewise.
51958         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
51960 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
51962         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
51963         always use the slow path.
51965 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
51967         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
51968         similar rule which adds the sysdep directories to the header search in
51969         order to pick up the correct platform stackinfo.h.
51970         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
51971         perform test if it is, otherwise return successfully without testing.
51972         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
51973         DEFAULT_STACK_PERMS define in stackinfo.h.
51974         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
51975         defined in stackinfo.h.
51976         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
51977         DEFAULT_STACK_PERMS defined in stackinfo.h.
51978         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
51979         * sysdeps/ia64/stackinfo.h: Likewise.
51980         * sysdeps/s390/stackinfo.h: Likewise.
51981         * sysdeps/sh/stackinfo.h: Likewise.
51982         * sysdeps/sparc/stackinfo.h: Likewise.
51983         * sysdeps/x86_64/stackinfo.h: Likewise.
51984         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
51985         PF_X for powerpc64.  Retain PF_X for powerpc32.
51987 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
51989         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
51990         accurately.
51991         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
51992         GETDENTS_64BIT_ALIGNED.
51994 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
51996         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
51998 2010-12-10  Andreas Schwab  <schwab@redhat.com>
52000         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
52001         _GNU_SOURCE.
52003         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
52004         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
52005         Remove __restrict.
52006         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
52007         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
52009 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
52011         [BZ #11655]
52012         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
52013         are initialized.
52015 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
52017         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
52019 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
52021         * po/it.po: Update from translation team.
52023 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
52025         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
52026         unused codes.
52028 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
52030         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
52032 2010-11-24  Andreas Schwab  <schwab@redhat.com>
52034         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
52035         specially.
52036         (gaih_getanswer_slice): Likewise.
52038 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
52040         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
52042 2010-05-31  Petr Baudis  <pasky@suse.cz>
52044         [BZ #11149]
52045         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
52046         silently even in the chroot mode.
52048 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
52050         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
52051         last patch a bit.  Pretty printing
52053 2010-05-31  Petr Baudis <pasky@suse.cz>
52055         [BZ #10085]
52056         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
52057         initialization of skip_initgroups_dyn.
52059 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
52061         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
52062         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
52064 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
52066         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
52068 2010-11-11  Andreas Schwab  <schwab@redhat.com>
52070         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
52071         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
52072         (tst-fnmatch-ENV): Set MALLOC_TRACE.
52073         ($(objpfx)tst-fnmatch-mem): New rule.
52074         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
52075         * posix/tst-fnmatch.c (main): Call mtrace.
52077 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
52079         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52080         Support Intel processor model 6 and model 0x2c.
52082 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
52084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
52085           signed comparison.
52087 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
52089         [BZ #12205]
52090         * string/test-strncasecmp.c (check_result): New function.
52091         (do_one_test): Use it.
52092         (check1): New function.
52093         (test_main): Use it.
52094         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
52095         Support strcasecmp and strncasecmp.
52097 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
52099         [BZ #12194]
52100         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
52101         * sysdeps/x86_64/bits/byteswap.h: Likewise.
52103 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
52105         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
52106         IFUNC support.
52107         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52108         memset-x86-64.
52109         * sysdeps/x86_64/multiarch/bzero.S: New file.
52110         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
52111         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
52112         * sysdeps/x86_64/multiarch/memset.S: New file.
52113         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
52114         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52115         Set bit_Prefer_SSE_for_memop for Intel processors.
52116         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
52117         Define.
52118         (index_Prefer_SSE_for_memop): Define.
52119         (HAS_PREFER_SSE_FOR_MEMOP): Define.
52121 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
52123         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
52124         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
52126 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
52128         [BZ #12191]
52129         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52130         (__x86_64_raw_data_cache_size_half): Likewise.
52131         (__x86_64_raw_shared_cache_size): Likewise.
52132         (__x86_64_raw_shared_cache_size_half): Likewise.
52134         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
52135         (__x86_64_raw_data_cache_size_half): Likewise.
52136         (__x86_64_raw_shared_cache_size): Likewise.
52137         (__x86_64_raw_shared_cache_size_half): Likewise.
52138         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
52139         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
52140         and __x86_64_raw_shared_cache_size_half.  Round
52141         __x86_64_data_cache_size_half, __x86_64_data_cache_size
52142         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
52143         to multiple of 256 bytes.
52145 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
52147         [BZ #12167]
52148         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
52149         of inacessible symlinks.  Verify result of symlink before returning it.
52150         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
52151         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
52153 2010-10-28  Erich Ritz  <erichritz@gmail.com>
52155         * math/math.h (isinf): Fix typo in comment.
52157 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
52159         * po/da.po: Update from translation team.
52161 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
52163         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
52164         is added to the list.
52166 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52167             Ulrich Drepper  <drepper@gmail.com>
52169         * elf/dl-object.c (_dl_new_object): Don't append the new object to
52170         the global list here.  Move code to...
52171         (_dl_add_to_namespace_list): ...here.  New function.
52172         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
52173         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
52174         * elf/dl-load.c (lose): Don't remove the element from the list.
52175         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
52176         (_dl_map_object): Likewise.
52178 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
52180         [BZ #12159]
52181         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
52182         into all bytes of SSE register.
52183         Patch by Richard Li <richardpku@gmail.com>.
52185 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
52187         [BZ #12140]
52188         * malloc/malloc.c (_int_free): Fill correct number of bytes when
52189         perturbing.
52191 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
52193         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
52194         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
52195         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
52196         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
52197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
52198         submachine.
52199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
52201 2010-10-22  Andreas Schwab  <schwab@redhat.com>
52203         * include/dlfcn.h (__RTLD_SECURE): Define.
52204         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
52205         mode & __RTLD_SECURE instead.
52206         (open_path): Rename preloaded parameter to secure.
52207         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
52208         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
52209         * elf/dl-deps.c (openaux): Likewise.
52210         * elf/rtld.c (struct map_args): Remove is_preloaded.
52211         (map_doit): Don't use it.
52212         (dl_main): Likewise.
52213         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
52214         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
52216 2010-09-09  Andreas Schwab  <schwab@redhat.com>
52218         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
52219         (sysd-rules-targets): Remove duplicates.
52220         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
52221         rtld-%.$o dependency.
52223 2010-10-18  Andreas Schwab  <schwab@redhat.com>
52225         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
52226         _dl_map_object do it.
52228 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
52230         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
52231         fast fma builtins, define the macros in the C99 standard.
52232         (FP_FAST_FMAF): Likewise.
52233         (FP_FAST_FMAL): Likewise.
52234         * sysdeps/x86_64/bits/mathdef.h: Likewise.
52236         * bits/mathdef.h: Update copyright year.
52237         * sysdeps/powerpc/bits/mathdef.h: Likewise.
52239 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
52241         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
52242         builtins, define the macros in the C99 standard.
52243         (FP_FAST_FMAF): Likewise.
52244         (FP_FAST_FMAL): Likewise.
52245         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
52246         multiply/add.
52247         (FP_FAST_FMAF): Likewise.
52249 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
52251         [BZ #3268]
52252         * math/libm-test.inc (fma_test): Some new testcases.
52253         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
52254         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
52255         y and infinite z.  Do multiplication by C already in long double.
52256         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
52257         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
52258         y and infinite z.  Do bitwise or of inexact bit into u.d.
52259         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
52260         * sysdeps/i386/fpu/s_fmaf.S: Removed.
52261         * sysdeps/i386/fpu/s_fma.S: Removed.
52262         * sysdeps/i386/fpu/s_fmal.S: Removed.
52264 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
52266         [BZ #3268]
52267         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
52268         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
52269         computation is not scheduled after fetestexcept.  Fix value
52270         of minimum denormal long double.
52272 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
52274         [BZ #3268]
52275         * math/libm-test.inc (fma_test): Add some more tests.
52276         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
52277         correctly.
52279 2010-10-15  Andreas Schwab  <schwab@redhat.com>
52281         * scripts/data/localplt-s390-linux-gnu.data: New file.
52282         * scripts/data/localplt-s390x-linux-gnu.data: New file.
52284 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
52286         [BZ #3268]
52287         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
52288         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
52289         instead of dbl-64.
52290         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
52291         inlines.
52292         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
52293         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
52294         if one of x and y is very large and the other is subnormal.
52295         * sysdeps/s390/fpu/s_fmaf.c: New file.
52296         * sysdeps/s390/fpu/s_fma.c: New file.
52297         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
52298         * sysdeps/powerpc/fpu/s_fma.S: New file.
52299         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
52300         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
52301         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
52303 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
52305         [BZ #3268]
52306         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
52307         fma tests.
52308         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
52309         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
52310         * sysdeps/i386/i686/multiarch/s_fma.c: Include
52311         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
52312         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
52313         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
52314         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
52316 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
52318         [BZ #12078]
52319         * posix/regcomp.c (parse_branch): One more memory leak plugged.
52320         * posix/bug-regex31.input: Add test case.
52322 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52324         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
52325         * posix/bug-regex31.input: New file.
52327         [BZ #12078]
52328         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
52329         (parse_sub_exp): Fix last change, use postorder.
52331         * posix/bug-regex31.c: New file.
52332         * posix/Makefile: Add rules to build and run bug-regex31.
52334         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
52336         [BZ #12078]
52337         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
52339         [BZ #12108]
52340         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
52341         to have entries in sys_siglist.
52343         [BZ #12093]
52344         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
52345         be NULL.
52347 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
52349         [BZ #3268]
52350         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
52351         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
52352         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
52353         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
52354         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52355         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
52356         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
52357         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
52358         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
52359         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
52360         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
52361         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
52362         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
52363         * math/ftestexcept.c (fetestexcept): Likewise.
52364         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
52365         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
52366         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
52367         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
52368         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
52369         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
52370         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
52372 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
52374         [BZ #12107]
52375         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
52376         newline.
52378 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
52380         * string/bug-strstr1.c: New file.
52381         * string/Makefile: Add rules to build and run bug-strstr1.
52383 2010-10-05  Eric Blake  <eblake@redhat.com>
52385         [BZ #12092]
52386         * string/str-two-way.h (two_way_long_needle): Always clear memory
52387         when skipping input due to the shift table.
52389 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
52391         [BZ #12005]
52392         * malloc/mcheck.c: Handle large requests.
52394         [BZ #12077]
52395         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
52396         for strncmp and strncasecmp.
52397         * string/stratcliff.c: Add tests for strcmp and strncmp.
52398         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
52400 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
52402         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
52403         __set_fpscr.
52405 2010-09-30  Andreas Jaeger  <aj@suse.de>
52407         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
52408         (CGROUP_SUPER_MAGIC): Define.
52409         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52410         Handle btrfs and cgroup file systems.
52411         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52412         Likewise.
52414 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
52416         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
52417         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
52419 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52421         [BZ #12067]
52422         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
52423         trying to locate the ELF header.
52425 2010-09-27  Andreas Schwab  <schwab@redhat.com>
52427         [BZ #11611]
52428         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
52429         Mask out sign-bit copies when constructing f_fsid.
52431 2010-09-24  Petr Baudis <pasky@suse.cz>
52433         * debug/stack_chk_fail_local.c: Add missing licence exception.
52434         * debug/warning-nop.c: Likewise.
52436 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
52438         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
52439         implementing getdents64 using getdents syscall, set d_type if
52440         __ASSUME_GETDENTS32_D_TYPE.
52442 2010-09-16  Andreas Schwab  <schwab@redhat.com>
52444         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
52445         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
52447 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
52449         [BZ #12037]
52450         * posix/unistd.h: Undo change of feature selection for ftruncate from
52451         2010-01-11.
52453 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
52455         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
52456         detection.
52458 2010-09-20  Andreas Schwab  <schwab@redhat.com>
52460         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
52461         fanotify_mark.
52462         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52464 2010-09-14  Andreas Schwab  <schwab@redhat.com>
52466         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
52467         variables after CHECK_SP call.
52468         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
52470 2010-09-13  Andreas Schwab  <schwab@redhat.com>
52471             Ulrich Drepper  <drepper@redhat.com>
52473         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
52474         re-relocationg ld.so.
52475         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
52476         _dl_init_paths call.
52477         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
52478         here anymore.
52480 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
52482         * resolv/res_init.c (__res_vinit): Count the default server we added.
52484 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
52485             Ulrich Drepper  <drepper@redhat.com>
52487         [BZ #11968]
52488         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52489         (____longjmp_chk): Use %ebx for saving value across system call.
52490         Add unwind info.
52492 2010-09-06  Andreas Schwab  <schwab@redhat.com>
52494         * manual/Makefile: Don't mix pattern rules with normal rules.
52496 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
52498         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
52499         operation.
52500         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
52501         * libio/iofopncook.c (_IO_cookie_init): Likewise.
52502         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
52503         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
52504         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52505         Likewise.
52507 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
52509         [BZ #11979]
52510         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
52511         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
52513 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
52515         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
52516         * sysdeps/x86_64/addmul_1.S: Likewise.
52517         * sysdeps/x86_64/lshift.S: Likewise.
52518         * sysdeps/x86_64/mul_1.S: Likewise.
52519         * sysdeps/x86_64/rshift.S: Likewise.
52520         * sysdeps/x86_64/sub_n.S: Likewise.
52521         * sysdeps/x86_64/submul_1.S: Likewise.
52523 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52525         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
52526         Define __sched_param instead of SCHED_* and sched_param when
52527         <bits/sched.h> is included with __need_schedparam defined.
52528         * bits/sched.h [__need_schedparam]
52529         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
52530         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
52531         (__defined_schedparam): Define to 1.
52532         (__sched_param): New structure, identical to sched_param.
52533         (__need_schedparam): Undefine.
52535 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
52537         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
52538         (epoll_create1): Declare.
52540         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
52542 2010-08-31  Andreas Schwab  <schwab@redhat.com>
52544         [BZ #7066]
52545         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
52546         shifting retval into place.
52548 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
52550         * nis/rpcsvc/nis.h: Update copyright notice.
52551         * nis/rpcsvc/nis.x: Likewise.
52552         * nis/rpcsvc/nis_callback.h: Likewise.
52553         * nis/rpcsvc/nis_callback.x: Likewise.
52554         * nis/rpcsvc/nis_object.x: Likewise.
52555         * nis/rpcsvc/nis_tags.h: Likewise.
52556         * nis/rpcsvc/yp.h: Likewise.
52557         * nis/rpcsvc/yp.x: Likewise.
52558         * nis/rpcsvc/ypupd.h: Likewise.
52559         * nis/yp_xdr.c: Likewise.
52560         * nis/ypupdate_xdr.c: Likewise.
52562         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
52563         mainly the body of pmap_getport.  Add parameters to specify timeouts.
52564         (pmap_getport): Use __libc_rpc_getport.
52565         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
52566         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
52567         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
52569 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
52571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
52572         fanotify_mark.
52574 2010-08-27  Roland McGrath  <roland@redhat.com>
52576         * sysdeps/i386/i686/multiarch/Makefile
52577         (CFLAGS-varshift.c): New variable.
52579 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
52581         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
52582         * sysdeps/i386/i686/multiarch/varshift.c: New file.
52584         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
52586         * sysdeps/x86_64/strlen.S: Minimal code improvement.
52588 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
52590         * sysdeps/x86_64/strlen.S: Unroll the loop.
52591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52592         strlen-sse2 strlen-sse2-bsf.
52593         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
52594         __strlen_no_bsf if bit_Slow_BSF is set.
52595         (__strlen_sse42): Removed.
52596         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
52597         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
52599 2010-08-25  Roland McGrath  <roland@redhat.com>
52601         * sysdeps/x86_64/multiarch/varshift.S: File removed.
52602         * sysdeps/x86_64/multiarch/varshift.c: New file.
52603         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
52604         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
52605         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
52606         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
52608 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
52610         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52611         strlen-sse2 strlen-sse2-bsf.
52612         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
52613         __strlen_sse2_bsf if bit_Slow_BSF is unset.
52614         (__strlen_sse2): Removed.
52615         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
52616         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
52617         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
52618         bit_Slow_BSF for Atom.
52619         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
52620         (index_Slow_BSF): Define.
52621         (HAS_SLOW_BSF): Define.
52623 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
52625         [BZ #10851]
52626         * resolv/res_init.c (__res_vinit): When no server address at all
52627         is given default to loopback.
52629 2010-08-24  Roland McGrath  <roland@redhat.com>
52631         * configure.in: Remove config-name.h generation.
52632         * configure: Regenerated.
52633         * config-name.in: File removed.
52634         * scripts/config-uname.sh: New file.
52635         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
52636         ($(objdir)config-name.h): New target.
52638         * sunrpc/rpc_parse.h: Avoid nested comment.
52640 2010-08-24  Richard Henderson  <rth@redhat.com>
52641             Ulrich Drepper  <drepper@redhat.com>
52642             H.J. Lu  <hongjiu.lu@intel.com>
52644         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
52645         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
52646         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
52647         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
52648         _mm_alignr_epi8 with _mm_loadu_si128.
52649         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
52650         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
52651         (__m128i_shift_right): Removed.
52652         * sysdeps/i386/i686/multiarch/varshift.h: New file.
52653         * sysdeps/i386/i686/multiarch/varshift.S: New file.
52654         * sysdeps/x86_64/multiarch/varshift.h: New file.
52655         * sysdeps/x86_64/multiarch/varshift.S: New file.
52657 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
52659         * configure.in: Move assembler checks to before sysdep dir checking.
52661 2010-08-20  Petr Baudis  <pasky@suse.cz>
52663         * LICENSES: Sync the sunrpc license.
52665 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
52667         * sunrpc/auth_des.c: Update copyright notice once again.
52668         * sunrpc/auth_none.c: Likewise.
52669         * sunrpc/auth_unix.c: Likewise.
52670         * sunrpc/authdes_prot.c: Likewise.
52671         * sunrpc/authuxprot.c: Likewise.
52672         * sunrpc/bindrsvprt.c: Likewise.
52673         * sunrpc/clnt_gen.c: Likewise.
52674         * sunrpc/clnt_perr.c: Likewise.
52675         * sunrpc/clnt_raw.c: Likewise.
52676         * sunrpc/clnt_simp.c: Likewise.
52677         * sunrpc/clnt_tcp.c: Likewise.
52678         * sunrpc/clnt_udp.c: Likewise.
52679         * sunrpc/clnt_unix.c: Likewise.
52680         * sunrpc/des_crypt.c: Likewise.
52681         * sunrpc/des_soft.c: Likewise.
52682         * sunrpc/get_myaddr.c: Likewise.
52683         * sunrpc/getrpcport.c: Likewise.
52684         * sunrpc/key_call.c: Likewise.
52685         * sunrpc/key_prot.c: Likewise.
52686         * sunrpc/openchild.c: Likewise.
52687         * sunrpc/pm_getmaps.c: Likewise.
52688         * sunrpc/pm_getport.c: Likewise.
52689         * sunrpc/pmap_clnt.c: Likewise.
52690         * sunrpc/pmap_prot.c: Likewise.
52691         * sunrpc/pmap_prot2.c: Likewise.
52692         * sunrpc/pmap_rmt.c: Likewise.
52693         * sunrpc/rpc/auth.h: Likewise.
52694         * sunrpc/rpc/auth_unix.h: Likewise.
52695         * sunrpc/rpc/clnt.h: Likewise.
52696         * sunrpc/rpc/des_crypt.h: Likewise.
52697         * sunrpc/rpc/key_prot.h: Likewise.
52698         * sunrpc/rpc/netdb.h: Likewise.
52699         * sunrpc/rpc/pmap_clnt.h: Likewise.
52700         * sunrpc/rpc/pmap_prot.h: Likewise.
52701         * sunrpc/rpc/pmap_rmt.h: Likewise.
52702         * sunrpc/rpc/rpc.h: Likewise.
52703         * sunrpc/rpc/rpc_des.h: Likewise.
52704         * sunrpc/rpc/rpc_msg.h: Likewise.
52705         * sunrpc/rpc/svc.h: Likewise.
52706         * sunrpc/rpc/svc_auth.h: Likewise.
52707         * sunrpc/rpc/types.h: Likewise.
52708         * sunrpc/rpc/xdr.h: Likewise.
52709         * sunrpc/rpc_clntout.c: Likewise.
52710         * sunrpc/rpc_cmsg.c: Likewise.
52711         * sunrpc/rpc_common.c: Likewise.
52712         * sunrpc/rpc_cout.c: Likewise.
52713         * sunrpc/rpc_dtable.c: Likewise.
52714         * sunrpc/rpc_hout.c: Likewise.
52715         * sunrpc/rpc_main.c: Likewise.
52716         * sunrpc/rpc_parse.c: Likewise.
52717         * sunrpc/rpc_parse.h: Likewise.
52718         * sunrpc/rpc_prot.c: Likewise.
52719         * sunrpc/rpc_sample.c: Likewise.
52720         * sunrpc/rpc_scan.c: Likewise.
52721         * sunrpc/rpc_scan.h: Likewise.
52722         * sunrpc/rpc_svcout.c: Likewise.
52723         * sunrpc/rpc_tblout.c: Likewise.
52724         * sunrpc/rpc_util.c: Likewise.
52725         * sunrpc/rpc_util.h: Likewise.
52726         * sunrpc/rpcinfo.c: Likewise.
52727         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
52728         * sunrpc/rpcsvc/key_prot.x: Likewise.
52729         * sunrpc/rpcsvc/klm_prot.x: Likewise.
52730         * sunrpc/rpcsvc/mount.x: Likewise.
52731         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
52732         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
52733         * sunrpc/rpcsvc/rex.x: Likewise.
52734         * sunrpc/rpcsvc/rstat.x: Likewise.
52735         * sunrpc/rpcsvc/rusers.x: Likewise.
52736         * sunrpc/rpcsvc/sm_inter.x: Likewise.
52737         * sunrpc/rpcsvc/spray.x: Likewise.
52738         * sunrpc/rpcsvc/yppasswd.x: Likewise.
52739         * sunrpc/rtime.c: Likewise.
52740         * sunrpc/svc.c: Likewise.
52741         * sunrpc/svc_auth.c: Likewise.
52742         * sunrpc/svc_authux.c: Likewise.
52743         * sunrpc/svc_raw.c: Likewise.
52744         * sunrpc/svc_run.c: Likewise.
52745         * sunrpc/svc_simple.c: Likewise.
52746         * sunrpc/svc_tcp.c: Likewise.
52747         * sunrpc/svc_udp.c: Likewise.
52748         * sunrpc/svc_unix.c: Likewise.
52749         * sunrpc/svcauth_des.c: Likewise.
52750         * sunrpc/xcrypt.c: Likewise.
52751         * sunrpc/xdr.c: Likewise.
52752         * sunrpc/xdr_array.c: Likewise.
52753         * sunrpc/xdr_float.c: Likewise.
52754         * sunrpc/xdr_mem.c: Likewise.
52755         * sunrpc/xdr_rec.c: Likewise.
52756         * sunrpc/xdr_ref.c: Likewise.
52757         * sunrpc/xdr_sizeof.c: Likewise.
52758         * sunrpc/xdr_stdio.c: Likewise.
52760         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
52761         handling.
52763 2010-08-19  Andreas Schwab  <schwab@redhat.com>
52765         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
52767 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
52769         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
52770         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
52771         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
52772         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
52773         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
52774         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
52775         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
52776         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
52777         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
52778         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
52779         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
52780         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
52781         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
52782         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
52784 2010-07-26  Anton Blanchard  <anton@samba.org>
52786         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
52787         * malloc/arena.c (heap_trim): Likewise.
52789 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
52791         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
52792         here.  Not...
52793         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
52794         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
52796 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
52798         * sysdeps/i386/elf/Makefile: New file.
52800 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52802         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
52803         from fanotify_init.
52804         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
52805         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52807 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
52809         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
52810         of strncasecmp_l.
52811         * sysdeps/multiarch/strcmp.S: Likewise.
52813 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
52815         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52816         strncase_l-nonascii.
52817         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52818         Add strncase_l-ssse3.
52819         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
52820         * sysdeps/x86_64/strcmp.S: Likewise.
52821         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
52822         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
52823         * sysdeps/x86_64/strncase.S: New file.
52824         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
52825         * sysdeps/x86_64/strncase_l.S: New file.
52826         * string/Makefile (strop-tests): Add strncasecmp.
52827         * string/test-strncasecmp.c: New file.
52829         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
52830         warning.
52832         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
52833         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
52835 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
52837         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
52839 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
52841         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
52842         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
52843         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
52845 2010-05-01  Alan Modra  <amodra@gmail.com>
52847         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
52848         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
52849         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
52850         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
52851         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
52852         tidying.  Don't tail-call __sigjmp_save for static lib.
52853         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
52854         save location.
52855         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
52856         (CALL_MCOUNT): Add eh info, and nop after bl.
52857         (TAIL_CALL_SYSCALL_ERROR): New macro.
52858         (PSEUDO_RET): Use it.
52859         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
52860         Correct save location of integer regs and cr.
52861         (_dl_profile_resolve): Correct cr save location.  Delete nops
52862         after bl when SHARED.  Reduce cfi size a little by better
52863         placement of cfi directives.
52864         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
52865         make a stack frame.  Instead use parm save area as a temp.
52866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
52867         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
52868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
52869         Don't make a stack frame for parent, use parm save area.
52870         Increase child stack frame to 112 bytes.  Don't save unused reg,
52871         and adjust reg usage.  Set up cfi on error recovery and
52872         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
52873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
52874         (__makecontext): Add dummy nop after jump to exit.
52875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
52876         Use correct parm save area and cr save, reduce stack frame.
52877         Correct cfi for possible PSEUDO_RET frame setup.
52878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
52879         Branch to local label emitted by PSEUDO_RET rather than
52880         __syscall_error.
52882 2010-08-12  Andreas Schwab  <schwab@redhat.com>
52884         [BZ #11904]
52885         * locale/programs/locale.c (print_assignment): New function.
52886         (show_locale_vars): Use it.
52888 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
52890         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
52891         field.
52892         (struct statfs64): Likewise.
52893         (_STATFS_F_FLAGS): Define.
52894         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
52895         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52896         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
52897         (ST_VALID): Define locally.
52898         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
52899         __statvfs_getflags, use the provided value.
52900         * sysdeps/unix/sysv/linux/kernel-features.h: Define
52901         __ASSUME_STATFS_F_FLAGS.
52903         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
52905         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
52906         Add sys/fanotify.h.
52907         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
52908         fanotify_mask for GLIBC_2.13.
52909         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
52910         fanotify_init and fanotify_mark.
52911         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
52912         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
52914         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
52915         Add prlimit.
52916         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
52917         prlimit64 for GLIBC_2.13.
52918         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
52919         prlimit64.
52920         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
52921         syscall.
52922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
52923         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
52924         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
52925         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
52926         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
52927         add prlimit alias.
52928         * sysdeps/unix/sysv/linux/prlimit.c: New file.
52930         [BZ #11903]
52931         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
52932         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
52934         * nss/Makefile: Add rules to build and run tst-nss-test1.
52935         * shlib-versions: Add entry for libnss_test1.
52936         * nss/nss_test1.c: New file.
52937         * nss/tst-nss-test1.c: New file.
52939         * nss/nsswitch.c (__nss_database_custom): Define new variable.
52940         (__nss_configure_lookup): Set appropriate entry in
52941         __nss_configure_lookup to true.
52942         * nss/nsswitch.h: Define enum with indeces of databases in
52943         databases and __nss_database_custom arrays.  Declare
52944         __nss_database_custom.
52945         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
52946         to avoid using nscd when custom rules are installed.
52947         * nss/getXXbyYY_r.c: Likewise.
52948         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
52950         * nss/nss_files/files-parse.c: Whitespace fixes.
52952 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
52954         [BZ #11883]
52955         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
52956         * posix/fnmatch_loop.c: Likewise.
52958 2010-07-17  Andi Kleen  <ak@linux.intel.com>
52960         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
52961         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
52962         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
52963         * Versions.def [GLIBC_2.13]: Add.
52965 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
52967         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
52968         Also fail if tpwd after pwuid call is NULL.
52970 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52972         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
52973         when converting to ms.
52975 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52977         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
52978         EOPNOTSUPP errors with ENOTTY.
52979         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
52980         EOPNOTSUPP errors with ENOTTY.
52982 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
52984         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
52985         Add strcasecmp_l-ssse3.
52986         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
52987         strcasecmp.
52988         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
52989         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
52990         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
52992 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
52994         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
52996         * string/Makefile (strop-tests): Add strcasecmp.
52997         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
52998         strcasecmp_l-nonascii.
52999         (gen-as-const-headers): Add locale-defines.sym.
53000         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
53001         * sysdeps/x86_64/strcasecmp.S: New file.
53002         * sysdeps/x86_64/strcasecmp_l.S: New file.
53003         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
53004         * sysdeps/x86_64/locale-defines.sym: New file.
53005         * string/test-strcasecmp.c: New file.
53007         * string/test-strcasestr.c: Test both ends of the range of characters.
53008         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
53010 2010-07-29  Roland McGrath  <roland@redhat.com>
53012         [BZ #11856]
53013         * manual/locale.texi (Yes-or-No Questions): Fix example code.
53015 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
53017         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
53018         for ld.so.
53020 2010-07-27  Andreas Schwab  <schwab@redhat.com>
53022         * manual/memory.texi (Malloc Tunable Parameters): Document
53023         M_PERTURB.
53025 2010-07-26  Roland McGrath  <roland@redhat.com>
53027         [BZ #11840]
53028         * configure.in (-fgnu89-inline check): Set and substitute
53029         gnu89_inline, not libc_cv_gnu89_inline.
53030         * configure: Regenerated.
53031         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
53033 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
53035         * string/test-strnlen.c: New file.
53036         * string/Makefile (strop-tests): Add strnlen.
53037         * string/tester.c (test_strnlen): Add a few more test cases.
53038         * string/tst-strlen.c: Better error reporting.
53040         * sysdeps/x86_64/strnlen.S: New file.
53042 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
53044         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
53045         lower-latency instructions.
53047 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
53049         * string/test-strcasestr.c: New file.
53050         * string/test-strstr.c: New file.
53051         * string/Makefile (strop-tests): Add strstr and strcasestr.
53052         * string/str-two-way.h: Don't undefine MAX.
53053         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
53055 2010-07-21  Andreas Schwab  <schwab@redhat.com>
53057         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53058         strcasestr-nonascii.
53059         (CFLAGS-strcasestr-nonascii.c): Define.
53060         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
53061         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
53062         Remove unused attribute.
53064 2010-07-20  Roland McGrath  <roland@redhat.com>
53066         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
53067         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
53068         ld.so.cache was broken.  With it, there is no way to disable dsocaps
53069         like LD_HWCAP_MASK can disable hwcaps.
53071 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53073         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
53075 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
53077         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
53078         call in strcasestr.
53079         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
53080         __strcasestr_sse42_nonascii.
53081         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
53082         strcasestr-nonascii.c.
53083         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
53085 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
53087         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
53088         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
53089         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
53090         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
53092 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
53094         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
53095         fcntl.
53097 2010-07-06  Andreas Schwab  <schwab@redhat.com>
53099         [BZ #11577]
53100         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
53101         dl_signal_cerror.
53103 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
53105         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
53106         _PC_PIPE_BUF using F_GETPIPE_SZ.
53108 2010-07-05  Roland McGrath  <roland@redhat.com>
53110         * manual/arith.texi (Rounding Functions): Fix rint description
53111         implicit in round description.
53113 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
53115         * elf/Makefile: Fix linking for a few tests to make recent linker
53116         happy.
53118 2010-06-30  Andreas Schwab  <schwab@redhat.com>
53120         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53121         $(common-objpfx)libc_nonshared.a.
53123 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
53125         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
53126         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
53127         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53128         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53129         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
53130         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
53131         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53132         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
53134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
53135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
53136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
53137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
53138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
53139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
53140         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
53141         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
53142         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
53143         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
53144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
53145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
53146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
53147         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
53148         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
53149         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
53150         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
53151         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
53152         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
53153         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
53154         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
53155         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
53156         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
53157         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
53158         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
53159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
53160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
53161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
53162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
53163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
53164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
53165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
53166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
53167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
53168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
53169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
53170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
53171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
53172         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
53174 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
53176         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
53177         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
53178         * string/memmove.c (memmove): Renamed to ...
53179         (MEMMOVE): ...this.  Default to memmove.
53180         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
53181         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
53182         (END_CHK): Define.
53183         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53184         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
53185         mempcpy-ssse3-back memmove-ssse3-back.
53186         * sysdeps/x86_64/multiarch/bcopy.S: New file .
53187         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
53188         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
53189         * sysdeps/x86_64/multiarch/memcpy.S: New file.
53190         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
53191         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
53192         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
53193         * sysdeps/x86_64/multiarch/memmove.c: New file.
53194         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
53195         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
53196         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
53197         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
53198         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
53199         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
53200         Define.
53201         (index_Fast_Copy_Backward): Define.
53202         (HAS_ARCH_FEATURE): Define.
53203         (HAS_FAST_REP_STRING): Define.
53204         (HAS_FAST_COPY_BACKWARD): Define.
53206 2010-06-21  Andreas Schwab  <schwab@redhat.com>
53208         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
53209         Restore proper fallback handling.
53211 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
53213         [BZ #11701]
53214         * posix/group_member.c (__group_member): Correct checking loop.
53216         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
53217         OOM in getpwuid_r correctly.  Return error number when the caller
53218         should return, otherwise -1.
53219         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
53220         call returning > 0 value.
53221         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
53223 2010-06-07  Andreas Schwab  <schwab@redhat.com>
53225         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
53226         libc_nonshared.a from targets in modules-names.
53228 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
53230         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
53231         requires it.
53233 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
53235         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
53236         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
53237         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
53238         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
53240 2010-06-02  Andreas Schwab  <schwab@redhat.com>
53242         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
53244 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
53246         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
53247         and F_GETPIPE_SZ.
53248         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
53249         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53251         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53252         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53253         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
53255 2010-06-14  Roland McGrath  <roland@redhat.com>
53257         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
53259 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
53261         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
53262         __REDIRECT followed by __THROW.
53263         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
53264         * posix/getopt.h (getopt): Likewise.
53266 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
53268         * hurd/lookup-at.c (__file_name_lookup_at): Accept
53269         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
53270         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
53271         in AT_FLAGS.
53272         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
53273         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
53275 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
53277         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
53279 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
53281         [BZ #11640]
53282         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53283         Properly check family and model.
53285 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
53287         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
53289 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
53291         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
53293 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
53295         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
53296         symbol reference.
53298 2010-05-19  Andreas Schwab  <schwab@redhat.com>
53300         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
53301         symbol reference.
53303 2010-05-21  Andreas Schwab  <schwab@redhat.com>
53305         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
53306         and internal_recvmmsg.
53307         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
53308         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
53309         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
53310         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
53312         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
53313         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
53314         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
53316 2010-05-20  Andreas Schwab  <schwab@redhat.com>
53318         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
53320 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
53322         POWER7 optimizations.
53323         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
53324         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
53326 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
53328         * version.h: Update for 2.13 development version.
53330 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
53332         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
53333         exceptions.  Return 0.
53335 2010-05-07  Roland McGrath  <roland@redhat.com>
53337         * elf/ldconfig.c (main): Add a const.
53339 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
53341         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
53342         (args_options): Add no-idn option.
53343         (ahosts_keys_int): Add idn_flags to ai_flags.
53344         (parse_option): Handle 'i' option to clear idn_flags.
53346         * malloc/malloc.c (_int_free): Possible race in the most recently
53347         added check.  Only act on the data if no current modification
53348         happened.
53350 See ChangeLog.17 for earlier changes.